Current-Users archive

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

increasing number of USB devices



I ran usbdevs on a normal adm64 desktop (Dell, about 5 years old).  It
has a 2-port USB3 card, and a USB cable to a monitor (USB hub), and
plugged into that an old thinkpad keyboard (hub, keyboard, trackpad).

usbdevs didn't show all the devices, and it turns out I have 10 usb root
devices (two of which are uhci/ehci quads), and now 12 hubs.  MAKEDEV of
devices for more hubs resolved this.

My situation doesn't feel odd these days, so I wonder what people think
of the following, realizing it will avoid mysterious bugs on big systems
and waste inodes on vaxes.


--- 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



Home | Main Index | Thread Index | Old Index