Why "lsusb" return nothing?
linux at tjworld.net
Sun Sep 30 18:49:13 EDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 29/09/12 02:42, Peter Teoh wrote:
> I entered "lsusb" at the command line (as root) and nothing is return, not even any error message.
> Doing a strace the last few lines are:
> open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file
> or directory)
> What happened?
> This is Ubuntu 10.04 (it used NOT to be like that, not sure I what did wrong last time).
Ubuntu 10.04 Lucid uses kernel version 2.6.32. This was the first kernel version used in Ubuntu
that uses devtmpfs for /dev/.
$ grep DEVTMPFS /boot/config-2.6.32-37-generic
Your system appears to be missing the /dev/ structures created by the kernel in devtmpfs. Check that the kernel version is 2.6.32 or later.
$ uname -a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the Kernelnewbies