|
USB debugging with usbmon: msg#00019handhelds.ipaq.synce.devel
To enable usbmon in the 2.6.x kernel, follow these steps :- 1) Compile the USB_MON module (Device Drivers / USB Support / USB Monitor) or compile it into the kernel 2) Enable debugfs in the kernel, rebuild the kernel and reboot using the new kernel 3) mount -t debugfs none_debugs /sys/kernel/debug 4) modprobe usbmon 5) Find the Bus to which the USB device connects (cat /proc/bus/usb/devices and look for the 'T:' line which gives the bus number 6) cat /sys/kernel/debug/usbmon/<Bus Number>t > /tmp/Bus<Bus Number>.txt (NOTE : It's <Bus Number>t, not just <Bus Number>) 7) Use the USB device 8) Kill the 'cat' command 9) Examine the file /tmp/Bus<Bus Number>.txt Read /usr/src/linux/Documentation/usb/usbmon.txt to decode the output :-) Peter ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: raki's usability: 00019, Volker Christian |
|---|---|
| Next by Date: | Updated WM5 patch: 00019, Ole André Vadla Ravnås |
| Previous by Thread: | Summer of Code 2006i: 00019, Volker Christian |
| Next by Thread: | Updated WM5 patch: 00019, Ole André Vadla Ravnås |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |