ran into a strange problem.
After booting my machine within dmesg
I can clearly see the USB subsystem being
initialized, devices recognized even those
requiring extra firmware download.
HOWEVER regardless that drivers should
register devices under /dev/usb/
there are no devices at all there. To be
exact there is NO /dev/usb directory at all.
Guess it is an udev issue, although
haven’t touched udev rules at all.
What am I missing?
Thanks,
I have no /dev/usb until I plug in a usb device that equates as /dev/usb but then my devices all equate as tty0USB … tty9USB when they are hotplugged. So can’t assume a udev problem yet.
well all my devices are plugged in already,
in /sys/bus/usb/drivers i can clearly see
what drivers (all) are loaded, and I can
see under the given drivers directory
(like ftdi_sio) the bound device id as well.
So udev is actually working, but I have
zero registered devices under /dev/usb
Not quite sure what you’re driving at, (but I think you may be confused anyway). The following command can show you a list of attached usb devices:
lsusb
If you’re concerned about storage devices in particular, these are handled by hal and desktop. Any device capable of being mounted should be listed with this terminal command (as root):
fdisk -l
If you explain your problem (or expectation) in further detail, we may be able to offer more direct advice.
I am talking about for example a simple
Dell USB keyboard (413c:2003).
lsusb sees the devices just fine.
under /sys/bus/usb/drivers/usbhid
I can see the physical USB device being assigned.
with dir /sys/bus/usb/devices/1-1/1-1:1.0
I can clearly list see the keyboard.
HOWEVER
there is no /dev/usb/hiddev* entry at all.
I don’t know much about this. You may require the hid kernel module to be loaded first. The udev subsystem is key to how usb devices (along with others) get treated, so you may need to do a bit of searching to create a suitable udev rule. These may (or may not be relevant):
actually I’ve realized that the devices are
indeed THERE.
Just that they are not bound to /dev/usb
but to only /dev.
I.e. instead of /dev/usb/hiddev0 I have
/dev/hiddev0
Any idea why was that changed?
I tried to compare the udev rules, but they
are completely different compared to 10.2
Nevertheless I can overcome this via adding
custom udev rules to symlink certain devices
to /dev/usb