Hi Adam,

> >> I've developed an open-source python library for RFID, called RFIDIOt 
> >> (http://rfidiot.org), which works with ACG serial RFID readers. I've 
> >> just acquired the USB version of the reader and wanted to add support 
> >> for it, but it isn't immediately recognised by the usbserial driver and 
> >> I wondered if anyone had any ideas on how to get it fired up?
> >>
> >> Contents of /proc/bus/usb/devices:
> >>
> >>    T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  5 Spd=12  MxCh= 0
> >>    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> >>    P:  Vendor=0403 ProdID=dd20 Rev= 4.00
> >>    S:  Manufacturer=ACG Austria
> >>    S:  Product=USB Converter
> >>    S:  SerialNumber=49502950
> >>    C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> >>    I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
> >>    E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> >>    E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
> >>
> >> When I manually load the driver, I get the following in dmesg:
> >>
> >> # modprobe usbserial vendor=0x0403 product=0xdd20 debug
> > 
> > As you found out, that's not going to really work :)
> > 
> > I suggest you contact the vendor to try to get the protocol used to talk
> > to this device.  Or take it apart and see if it has a chip in it that we
> > already have a driver for (like the pl2303 or ftdi_sio driver.)  Then
> > just add your device id to that driver and you should be fine.
> 
> Thanks for the suggestion... Vendor reported it was an FTDI device, so 
> digging a bit deeper I found that this works correctly:

the attached patch went into the 2.6.17 kernel. So starting with that
kernel it should work for you and the driver should autoload.

Regards

Marcel

commit 20a0f47e18c646bcc772282512fc59e56b2fc968
Author: Ian Abbott <[EMAIL PROTECTED]>
Date:   Thu May 4 11:34:25 2006 +0100

    [PATCH] USB: ftdi_sio: Add support for HCG HF Dual ISO RFID Reader
    
    This patch adds support for ACG Identification Technologies GmbH's HF
    Dual ISO Reader (an RFID tag reader) to the ftdi_sio driver's device ID
    table.  The product ID was supplied by anotonios (anton at goto10 dot
    org) on the ftdi-usb-sio-devel list and subsequently verified by myself
    (Ian Abbott).
    
    Signed-off-by: Ian Abbott <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 8215120..9498da4 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -498,6 +498,7 @@ static struct usb_device_id id_table_combined [] = {
        { USB_DEVICE(FTDI_VID, FTDI_ASK_RDR400_PID) },
        { USB_DEVICE(ICOM_ID1_VID, ICOM_ID1_PID) },
        { USB_DEVICE(PAPOUCH_VID, PAPOUCH_TMU_PID) },
+       { USB_DEVICE(FTDI_VID, FTDI_ACG_HFDUAL_PID) },
        { },                                    /* Optional parameter entry */
        { }                                     /* Terminating entry */
 };
diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h
index 2c55a5e..3e4123f 100644
--- a/drivers/usb/serial/ftdi_sio.h
+++ b/drivers/usb/serial/ftdi_sio.h
@@ -426,6 +426,11 @@
 #define PAPOUCH_VID                    0x5050  /* Vendor ID */
 #define PAPOUCH_TMU_PID                        0x0400  /* TMU USB Thermometer 
*/
 
+/*
+ * ACG Identification Technologies GmbH products (http://www.acg.de/).
+ * Submitted by anton -at- goto10 -dot- org.
+ */
+#define FTDI_ACG_HFDUAL_PID            0xDD20  /* HF Dual ISO Reader (RFID) */
 
 /* Commands */
 #define FTDI_SIO_RESET                 0 /* Reset the port */
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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