[Ftdi-usb-sio-devel] FT232BM with different bcdDevice
Brought to you by:
bryder
From: Syed A. G. <am...@sy...> - 2008-08-14 08:34:07
|
I have a bunch of FT232BL here which is the lead free versions of the FT232BM. They have a different bcdDevice version then the kernel driver expects: ftdi_determine_type: bcdDevice = 0x200, bNumInterfaces = 1 With that Version they are detected as FT8U232AM which does not work. When I force them to be detected as FT232BM they work fine. So now I'm not sure how to change the detection routine, without breaking detection for the other chips. This would work: --- ftdi_sio.c.orig 2008-08-14 10:18:40.000000000 +0200 +++ ftdi_sio.c 2008-08-14 10:21:16.000000000 +0200 @@ -825,6 +825,9 @@ dbg("%s: something fishy - bcdDevice too low for multi interface device", __FUNCTION__); } + } else if (version == 0x200) { + // Assume its an FT232BL (lead free version of FT232BM) + priv->chip_type = FT232BM; } else if (version < 0x200) { /* Old device. Assume its the original SIO. */ priv->chip_type = SIO; But since I did not found a list of all bcdDevice for all ftdi chips, I don't know if there is a FT8U232AM with the same bcdDevice and I need to make a complete different detection. |