How can I use more than one input pipes with a USB driver?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am developing a USB linux driver for a special USB 
high speed device of our company. I need more than one read 
function as I have more than one bulk input endpoints. 
How can I do that? (debian 5.03)

I can register only one interface with only one minor number and 
therefore can use only one struct fileoperations with only one read 
function from the user space. Is there a trick to overcome this?
Is using the ioctl function instead of the read function the only way?

btw, we have a wMaxPacketSize of 64 for one bulk endpoint
and 1024 for the other and I see a message in var/log/messages
that these are wrong sizes? can I ignore it?

thanks,

Wolfgang

-----
Dr. Wolfgang Wilhelm, FAST ComTec GmbH
Gruenwalder Weg 28a, 82041 Oberhaching, Germany
Phone +49 89 665180 28, Fax +49 89 665180 40
mailto:wilhelm@xxxxxxxxxxxxxx http://www.fastcomtec.com
Handelsregister Muenchen HRB 73004
General Manager: Dr. Wolfgang Wagner


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux