On Fr, Sep 08, 2006 at 02:09:58 -0700, Greg KH wrote:
> Is it really needed for the "Horrible hack"?  I didn't think they were
> making chips anymore that needed it.

Without "Horrible hack" _two_ ttyUSBx are created of which only the
second one is working. For Stephen's device the second ttyUSBx was
usable. My device generated a segfault when submitting the interrupt
urb near the end of pl2303_open. To avoid the segfault I had to guard
the urb by

  if (port->interrupt_in_urb) {
         [...]  
  } else {
         dbg("%s - interrupt_in_urb is empty!", __FUNCTION__);
  }

which is also used in cypress_m8. With "Horrible hack" only one ttyUSB
is created and the interrupt urb is not empty.

So yes, the "Horrible hack" is really needed for this device.

BTW another hint may or may not be: cdc-acm warns "The
data interface has switched endpoints" (as long as device is not
blacklisted in hid-core).

Regards

Johannes

-------------------------------------------------------------------------
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-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to