It depends on what you mean. Individual packets in USB don't form a
complete communication; not much below the level of a transaction is
meaningful. If that's good enough for you (a Setup transaction
followed by an IN or OUT transaction for instance), you can do it by
hacking the host controller drivers.
If you really want control at the level of single packets, you will
have to build your own hardware. Normal host controllers don't provide
that capability.
But why would you want to do this? What's wrong with the existing
facilities? I don't see any point in, say, just sending a SETUP
packet. You won't know whether the device has processed it without
going through the remainder of the control transfer (data stage and
status stage). And if you're going to go through all that anyway, then
why not let the existing drivers take care of the details for you?
Alan Stern
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel