Thread (9 messages) 9 messages, 4 authors, 2012-10-03

Why "lsusb" return nothing?

From: TJ <hidden>
Date: 2012-09-30 22:49:13

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y

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

See: http://lwn.net/Articles/345480/




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBozGkACgkQ7+w3pCnNYIBWEwCgjrCU06IOo+rZV00gIWuZkiGV
Y0EAoONSj9CMHwGC5LAUAAPVb71sh585
=fCgu
-----END PGP SIGNATURE-----
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help