On Wed, Nov 29, 2006 at 10:35:02AM +0100, Wojciech Kromer wrote: > Hello. > I'm writing USB firmware for serial device. > What should be implemented to reach usbserial module compatibility???
There is no usbserial protocol due to some "fun" issues with the USB spec group a number of years ago. So this means that you will need to create your own protocol, and write your own driver for it. Or figure out how one of the current usb-serial devices work, and implement the protocol that they use. > Especially i want my device: > - to be recognized as valid usbserial without specyfing id=... > - get flow control to work > > It seems that INT entpoints are not used. For some usb-serial devices, INT endpoints are used, it all depends on what you want to do. > I have also found an example with CLASS_REQUEST in control endpoint, but > it seems they are not called by usbserial. > Should I report one control interface (with INT endpoints) and onother > interface (with IN/OUT data enpoints) , > or just one interface with all enpoints? One interface with all endpoints is the best. I suggest you read up on the usb spec for how devices should work for help with this. good luck, 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 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel