Greg KH wrote:
> On Mon, Dec 11, 2006 at 11:27:40AM +0000, Adam Laurie wrote:
>> Folks,
>>
>> 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:


# modprobe ftdi_sio vendor=0x0403 product=0xdd20
[17261232.336000] usb 4-1: new full speed USB device using uhci_hcd and 
address 4
[17261232.484000] ftdi_sio 4-1:1.0: FTDI USB Serial Device converter 
detected
[17261232.484000] drivers/usb/serial/ftdi_sio.c: ftdi_sio_attach
[17261232.484000] drivers/usb/serial/ftdi_sio.c: ftdi_determine_type: 
bcdDevice = 0x400, bNumInterfaces = 1
[17261232.484000] drivers/usb/serial/ftdi_sio.c: Detected FT232BM
[17261232.484000] drivers/usb/serial/ftdi_sio.c: create_sysfs_attrs
[17261232.484000] drivers/usb/serial/ftdi_sio.c: sysfs attributes for 
FT232BM
[17261232.484000] usb 4-1: FTDI USB Serial Device converter now attached 
to ttyUSB0

cheers,
Adam
-- 
Adam Laurie                         Tel: +44 (0) 1304 814800
The Bunker Secure Hosting Ltd.      Fax: +44 (0) 1304 814899
Ash Radar Station                   http://www.thebunker.net
Marshborough Road
Sandwich                            mailto:[EMAIL PROTECTED]
Kent
CT13 0PL
UNITED KINGDOM                      PGP key on keyservers

-------------------------------------------------------------------------
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