Re: Why "lsusb" return nothing?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux