Hi all,
I think my question is fairly simply..
I bought a uchameleon device that needs to use the ftdi_sio driver. On my linux box the ftdi_sio driver is present but when I plug in the device it say something like 'device not claimed by active driver'. This seems correct because in the information I got for the device one has to patch the kernel first before it will work.
Below is the patch script that was included.
However, the ftdi_sio driver is already present on my system.. and I can load it with modprobe.. but it won't recognize my hardware.
Is there a way of still having the driver recognize the device without patching and recompiling the whole kernel? I know how to recompile a kernel, for for various reasons in this case i prefer not to do this.
Is there a place in the system where I can add the vendor id and product id and and the driver will just recognize the device?
Cheers,
Alex
diff -uprN linux-2.6.15-vanilla/drivers/usb/serial/ftdi_sio.c linux-2.6.15/drivers/usb/serial/ftdi_sio.c
--- linux-2.6.15-vanilla/drivers/usb/serial/ftdi_sio.c 2006-06-23 16:36:56.000000000 +0200
+++ linux-2.6.15/drivers/usb/serial/ftdi_sio.c 2006-05-23 17:34:23.000000000 +0200
@@ -311,7 +311,8 @@ static struct usb_device_id id_table_com
{ USB_DEVICE(FTDI_VID, FTDI_SIO_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_8U232AM_ALT_PID) },
- { USB_DEVICE(FTDI_VID, FTDI_8U2232C_PID) },
+ { USB_DEVICE(FTDI_VID, FTDI_8U2232C_PID) },
+ { USB_DEVICE(FTDI_VID, FTDI_MICRO_CHAMELEON_PID) },
{ USB_DEVICE(FTDI_VID, FTDI_RELAIS_PID) },
{ USB_DEVICE(INTERBIOMETRICS_VID, INTERBIOMETRICS_IOBOARD_PID) },
{ USB_DEVICE(INTERBIOMETRICS_VID, INTERBIOMETRICS_MINI_IOBOARD_PID) },
diff -uprN linux-2.6.15-vanilla/drivers/usb/serial/ftdi_sio.h linux-2.6.15/drivers/usb/serial/ftdi_sio.h
--- linux-2.6.15-vanilla/drivers/usb/serial/ftdi_sio.h 2006-06-23 16:37:35.000000000 +0200
+++ linux-2.6.15/drivers/usb/serial/ftdi_sio.h 2006-05-23 19:29:30.000000000 +0200
@@ -31,6 +31,9 @@
#define FTDI_NF_RIC_VID 0x0DCD /* Vendor Id */
#define FTDI_NF_RIC_PID 0x0001 /* Product Id */
+/*
www.starting-point-systems.com µChameleon device */
+#define FTDI_MICRO_CHAMELEON_PID 0xCAA0 /* Product Id */
+
/*
www.irtrans.de device */
#define FTDI_IRTRANS_PID 0xFC60 /* Product Id */