<html><head/><body><html><head></head><body>You don't have the USB module loaded or it isn't compiled into your kernel.<br><br><div class="gmail_quote">Peter Teoh <htmldeveloper@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px">I entered "lsusb" at the command line (as root) and nothing is return,<br />not even any error message.<br /><br />Doing a strace the last few lines are:<br /><br />open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1<br />ENOENT (No such file or directory)<br />open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1<br />ENOENT (No such file or directory)<br /><br />What happened?<br /><br />This is Ubuntu 10.04 (it used NOT to be like that, not sure I what did<br />wrong last time). But running a VirtualBox INSIDE this same OS, I<br />was able to get result from "lsusb" (after enabling the USB devices in<br />VirtualBox interface) and strace gives result:<br /><br />open("/dev/bus/usb/001/002", O_RDWR) = 3<br />ioctl(3, USBDEVFS_IOCTL, 0xbff6f75c) = -1 ENOTTY (Inappropriate<br />ioctl for device)<br />close(3) = 0<br />open("/dev/bus/usb/001/001", O_RDWR) = 3<br /><br />Why the difference?<br /><br />--<br />Regards,<br />Peter Teoh<br /><br /><hr /><br />Kernelnewbies mailing list<br />Kernelnewbies@kernelnewbies.org<br /><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br /><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.</body></html></body></html>