Results 1 to 7 of 7

Thread: Missing /dev/usb/* devices in 11.1?

  1. #1

    Default Missing /dev/usb/* devices in 11.1?

    Hi,

    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,

  2. #2
    Join Date
    Jul 2009
    Location
    Rockyford Alberta Canada
    Posts
    1,388

    Default Re: Missing /dev/usb/* devices in 11.1?

    Quote Originally Posted by harsszegi View Post
    Hi,

    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.
    When your up to your a** in Alligators it's pretty hard to remember you intended to drain the swamp (author unknown)

  3. #3

    Default Re: Missing /dev/usb/* devices in 11.1?

    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

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: Missing /dev/usb/* devices in 11.1?

    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.

  5. #5

    Default Re: Missing /dev/usb/* devices in 11.1?

    Well deano,

    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.

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    23,704
    Blog Entries
    1

    Default Re: Missing /dev/usb/* devices in 11.1?

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

    No hiddev node in /dev - LinuxQuestions.org

    Udev And Hiddev - openSUSE Forums

    Linux Kernel Documentation :: usb : hiddev.txt

    I presume you have some legacy app that requires this?

  7. #7

    Default Re: Missing /dev/usb/* devices in 11.1?

    Thanks Deano,

    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

    Thanks,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •