Re: usbmon info

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

 



Ok....may be I shall list it step by step on what to do:

 mount -t debugfs none_debugs /sys/kernel/debug

 (modprobe usbmon was not nec for me, because my kernel is compile CONFIG_USB_MON=y)

 cat /proc/bus/usb/devices

Look the device, eg, for me I look for my USB mouse.   Next identify the BUS nos.

 cd /sys/kernel/debug/usbmon

cat BUSnos{t, u, s}

And everytime I shifted my mouse, the following output:

f7b1aa00 608573179 S Ii:4:002:1 -115:8 4 <
f7b1aa00 608709207 C Ii:4:002:1 0:8 4 = 0000ff00
f7b1aa00 608709235 S Ii:4:002:1 -115:8 4 <
f7b1aa00 608717200 C Ii:4:002:1 0:8 4 = 00000100
f7b1aa00 608717218 S Ii:4:002:1 -115:8 4 <

The data format of the above is explained in Docmentation/usb/usbmon.txt.

The last part is the data, and for your case, to look at the TCP/IP data, it should be looking at the last part.







[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