Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my Ubuntu 12.04 when I plug in usb device, under dev directory tree usb device is added like this:


On my CentOS 5 added like below:


lsusb needs usb devices to be created under /dev like first one. To solve it when I try to link them manually, OS gives 'No such file or directory error.', but linking same directory can be done under ubuntu without a problem.


ln -s /dev/bus/usb/devices/2-1.4/descriptors /sys/bus/usb/001/001
ln: creating symbolic link `/sys/bus/usb/001/001' to `/dev/bus/usb/devices/2-1.4/descriptors': No such file or directory

In ubuntu creating under /dev/bus/usb is not giving errors.

When I plug in my usb device under CentOS logs are like this:

Dec  5 12:20:18 2012 kernel: [74465.103460] usb 2-1.4: new high-speed
USB device number 36 using ehci_hcd
Dec  5 12:20:18 2012 kernel: [74465.194011] scsi62 : usb-storage 2-1.4:1.0
Dec  5 12:20:18 2012 kernel: [74465.194091] scsi63 : usb-storage 2-1.4:1.1
Dec  5 12:20:19 2012 kernel: [74466.196062] scsi 62:0:0:0: CD-ROM
      HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
Dec  5 12:20:19 2012 kernel: [74466.196441] scsi 63:0:0:0:
Direct-Access     HUAWEI   TF CARD Storage       PQ: 0 ANSI: 2
Dec  5 12:20:19 2012 kernel: [74466.198548] sr0: scsi-1 drive
Dec  5 12:20:19 2012 kernel: [74466.198630] sr 62:0:0:0: Attached scsi
generic sg1 type 5
Dec  5 12:20:19 2012 kernel: [74466.198719] sd 63:0:0:0: Attached scsi
generic sg2 type 0
Dec  5 12:20:19 2012 kernel: [74466.201555] sd 63:0:0:0: [sdb]
Attached SCSI removable disk
Dec  5 12:20:22 2012 udevd-event[18390]: wait_for_sysfs: waiting for
Dec  5 12:20:22 2012 udevd-event[18391]: wait_for_sysfs: waiting for
Dec  5 12:20:25 2012 udevd-event[18443]: wait_for_sysfs: waiting for
Dec  5 12:20:25 2012 udevd-event[18442]: wait_for_sysfs: waiting for

What can be the cause and how can I solve it?

share|improve this question
I dont have time to write an answer but perhaps creating a symlink with udev istelf works, here is some information – artifex Dec 11 '12 at 16:56
up vote 1 down vote accepted

You must upgrade following packages if you have the old versions of them.

  • libusb1-1.0.8-0.1.el5.i386.rpm
  • libusb1-devel-1.0.8-0.1.el5.i386.rpm
  • libusb1-static-1.0.8-0.1.el5.i386.rpm

And then you need to create "usb/bus/001/" directory under "/dev/" directory. if the problem will not solved. you can make node with "mknod" command.

share|improve this answer

I believe that lsusb uses the /sys mounted sysfs to discover devices. I confirmed this by looking at the output of strace lsusb 2>&1 | grep open. Are you sure that you have /sys mounted properly? Here's how my sysfs is mounted on Ubuntu:

$ mount | grep sysfs
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
share|improve this answer

In current systems, the /dev namespace is dynamic and handled by udev(7). Perhaps the configurations asigning device files are different?

share|improve this answer

My impression is that your udev is too old for your kernel. Maybe you need to update your udev if it's not up-to-date. Also please see (especially the patch in cooment #4)

lsusb should be unrelated. But if it's not working, make sure your sysfs is mounted on /sys with correct permissions.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.