> The driver is tiny, so it could be something simple.

Looks like I was right. The callback to usb_fill_bulk_urb in
anydata_open (l.74 in drivers/usb/serial/anydata.c) should be
usb_serial_generic_read_bulk_callback, not write. With this fixed, I can
talk to the modem when the anydata converter is attached to ttyUSB0.

This fix was actually in the patch by Thomas L. Marshall in
http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg43300.html.

usb_serial_generic_read_bulk_callback also has to be exported from
generic.c.

Regards

Jon

--
Jon Kåre Hellan, Trondheim, Norway




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to