<html><head/><body><html><head></head><body>What does &#39;find /dev/ | grep dev&#39; show<br><br><div class="gmail_quote">Peter Teoh &lt;htmldeveloper@gmail.com&gt; 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">what are the implication (or symptoms) of that statement?   how do i know that?<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">ps -ef |grep usb<br /></blockquote>root       232     2  0 07:44 ?        00:00:18 [usb-storage]<br />root       266     2  0 07:44 ?        00:00:14 [usb-storage]<br />root      6757     2  0 13:05 ?        00:00:00 [usb-storage]<br />root      6831  5920  0 13:05 pts/0    00:00:00 grep --color=auto usb<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">lsmod |grep usb<br /></blockquote>usbhid                 39214  0<br />hid                    89444  1 usbhid<br />usb_storage            49986  4<br /><br />right now, i have no problem in accessing any USB devices.   when i<br />mirror the internal partition into an external USB storage disk, the<br />external USB storage partition successfully the exact identical OS -<br />with exactly the same sympton:   "lsusb" returning nothing.<br /><br />it used to be working, and there is completely no change in the kernel<br />or module, as far as i am aware.   and "working" means "lsusb" used to<br />return everything.<br /><br />On Sat, Sep 29, 2012 at 10:21 AM, Mark Bishop &lt;mark@bish.net&gt; wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">You don't have the USB module loaded or it isn't compiled into your kernel.<br /><br />Peter Teoh &lt;htmldeveloper@gmail.com&gt; wrote:<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">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 /><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></blockquote><br /><br />--<br />Sent from my Android phone with K-9 Mail. Please excuse my brevity.</blockquote><br /><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.</body></html></body></html>