On Tue, Jan 22, 2008 at 02:08:41AM +0000, Christian Schoenebeck wrote:
> Hi!
> 
> I'm currently writing a USB driver and wonder if I just hit a limitation of 
> the USB framework of Linux.
> 
> I'm using usb_register_dev() to create USB character devices under /dev. As 
> far as I can see it however one can only create one device for the same USB 
> interface, correct?
> 
> Here's what I'd like to do:
> 
> USB Device
>   +--- USB Interface 1
>           +--- Endpoint 1 (in/out)  -> /dev/foo_a  (character device)
>           +--- Endpoint 2 (in/out)  -> /dev/foo_b  (character device)

Hm, exactly how the usbfs2 endpoints are exported, right?  :)

Have you looked at that code?  You might just need to hook up the needed
character operations, and add the async i/o stuff that Sarah is working
on, and you would be done.  Take a look at her posts in the archives for
working code and what is needed to be completed.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to