Re: transparent BULK message passthrough

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sat, Apr 14, 2007 at 12:39:46PM +1000, Julian PG wrote:
> Hi,
> Is it possible to be able to pass usb BULK messages (READ/WRITE) directly to a 
> device while its already been claimed by a driver?

>From userspace, or from within another driver in the kernel?

> Is it trivial to add support for this?I understand that this can
> already be done with CONTROL messages. However it doesnt seem so with
> BULK. 

That is because the control endpoint is not "owned" by any driver, but
the bulk ones are.

> It would an advantage for us to have this support included in usbfs, 
> specifically for a tool like usbreplay 
> http://mcentral.de/wiki/index.php/Usbreplay.
> By replaying windows usb logs back to the device under linux, while trouble 
> shooting/developing drivers that are already loaded for the device, as you 
> know it makes it possible to get usb devices supported quickly.

How would adding such a function to the kernel allow this to work any
easier?  You want to try to talk to a device at the same time another
driver is controling it?  That's a recipe for disaster...

thanks,

greg k-h

-------------------------------------------------------------------------
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.