Thread (15 messages) 15 messages, 7 authors, 2012-01-10
  • BCM43231 · Abimanyu Gottumukkala <hidden> · 2011-12-30
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2011-12-31
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2012-01-09
  • Re: BCM43231 · Larry Finger <hidden> · 2012-01-09
  • Re: BCM43231 · Arend van Spriel <hidden> · 2012-01-10
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2012-01-10
  • Re: BCM43231 · Arend van Spriel <hidden> · 2012-01-10
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2012-01-09
  • Re: BCM43231 · Peter Stuge <hidden> · 2012-01-09
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2012-01-09
  • Re: BCM43231 · Gábor Stefanik <hidden> · 2012-01-09
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2012-01-10
  • Re: BCM43231 · Rafał Miłecki <zajec5@gmail.com> · 2012-01-10
  • Re: BCM43231 · Michael Büsch <m@bues.ch> · 2012-01-10
  • Re: BCM43231 · Peter Stuge <hidden> · 2012-01-10

Re: BCM43231

From: Rafał Miłecki <zajec5@gmail.com>
Date: 2012-01-10 07:00:49

W dniu 9 stycznia 2012 23:25 użytkownik Peter Stuge [off-list ref] napisał:
Rafał Miłecki wrote:
quoted
I've been using "usbmon" to dump traffic.
The tool at http://people.redhat.com/zaitcev/linux/usbmon-6.tar.gz
and not simply cat on the usbmon files in debugfs I hope.

debugfs only shows the first bytes of long transfers, but the API
used by the usbmon-6 tool shows complete traffic.
I think I start to understand. The number before "<" or "=" or ">" is
amount of bytes. For example:

ea700b40 493839847 S Bi:2:003:6 -115 8 <
We just asked for 8 bytes

ea700b40 493840818 C Bi:2:003:6 0 8 = 00060456 00000000
Here we received the 8 bytes.

f3dad540 493840838 S Bi:2:003:6 -115 13 <
We asked for 13 bytes.

f3dad540 493840923 C Bi:2:003:6 0 13 = 55534253 0a1a0000 00000000 00
The requested 13 bytes.

Now some bigger amount:

eb48d640 504977573 S Ci:2:010:0 s 80 06 0200 0000 0027 39 <
Asking for 39bytes?

eb48d640 504977936 C Ci:2:010:0 0 39 = 09022700 010100a0 64090400
0003ff02 ff000705 81031000 04070582 02000200
Only 32bytes received?

Is this the issue you meant? Am I correctly parsing that dumps?



I've quickly tried usbmon userspace tool, but not much more luck with
it. Example from this tool:

f2c19e40 6.317817 S Ci:2:013:0 s 80 06 0200 0000 0027 39 <
f2c19e40 6.318305 C Ci:2:013:0 0 39 =
    09022700 010100a0 64090400 0003ff02 ff000705 81031000 04070582 02000200
     . . ' .  . . . .  d . . .  . . . .  . . . .  . . . .  . . . .  . . . .

Maybe it requires some switch or sth... unfortunately it's not
documented at all ;/

-- 
Rafał
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help