Re: usbmon packet data format

Paolo Abeni <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Tue, 2007-02-27 at 13:47 -0500, Jon Smirl wrote:
> I'm not too keen on using an ASCII 'S' in the setup field to tell
> whether setup[8] is in use or not. Am I correct in thinking that
> setup[8] is always active on an URB submission and never active on a
> completion or error? 

Well, not exactly. 

The setup array is valid if setup_flag is 0 (ascii '\0').

If the data has been transferred using DMA, the setup array is active
only on certain architecture (currently i386). The same for the URB
data. 

ciao,

Paolo

 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Questo inverno scaldale il cuore, con il prezioso calore di un Diamante.
* Non lasciarti sfuggire lo sconto del 20% riservato a te! 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5630&d=28-2

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.