Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: increasing number of USB devices



On Mon, Jul 29, 2019 at 08:24:14AM -0400, Greg Troxel wrote:
> --- MAKEDEV.tmpl.~1.204.~	2019-06-29 15:26:18.320963928 -0400
> +++ MAKEDEV.tmpl	2019-07-29 07:58:25.899384262 -0400
> @@ -913,7 +913,7 @@ ramdisk)
>  	;;
>  
>  usbs)
> -	makedev usb usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7
> +	makedev usb usb0 usb1 usb2 usb3 usb4 usb5 usb6 usb7 usb8 usb9 usb10 usb11 usb12 usb13 usb14 usb15
>  	makedev uhid0 uhid1 uhid2 uhid3 uhid4 uhid5
>  	makedev uhid6 uhid7 uhid8 uhid9 uhid10 uhid11
>  	makedev uhid12 uhid13 uhid14 uhid15
>

This is likely the correct thing to do - see my change to the number
of uhids visible just below. It was previously 4, I increased it
to 16 a few months ago because my keyboard alone was using all
of those four.

Expectations have changed over time. These days USB is used for
almost everything and the previous expectation of a couple of
input nodes and maybe a single storage device doesn't really
apply any more. There are also 'virtual' devices and other
weird things going on...

I'd just suggest formating it consistently with the line below it.


Home | Main Index | Thread Index | Old Index