Hello. This is a patch against 2.6.21.1 but it really should not matter since the patch is so small. Patch is for ftdi_sio.c, the single-port FTDI USB/Serial converter.
The new FT232RL allows setting and getting the value of the latency timer, like on the FT232BM. However, the driver will not create the sysfs entries for the RL without this one-line patch. I have tested it on two systems with successful results. Please look over and add to kernel if possible. Thank you Steve
--- linux-2.6.21.1/drivers/usb/serial/ftdi_sio.c 2007-04-27 17:49:26.000000000 -0400
+++ ../linux/drivers/usb/serial/ftdi_sio.c 2007-05-09 14:37:25.000000000 -0400
@@ -1137,7 +1137,8 @@
dbg("sysfs attributes for %s", ftdi_chip_name[priv->chip_type]);
retval = device_create_file(&port->dev, &dev_attr_event_char);
if ((!retval) &&
- (priv->chip_type == FT232BM || priv->chip_type == FT2232C)) {
+ (priv->chip_type == FT232BM || priv->chip_type == FT2232C || priv->chip_type == FT232RL)) {
retval = device_create_file(&port->dev,
&dev_attr_latency_timer);
}
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
