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 [17251299.200000] usbcore: registered new driver usbserial [17251299.200000] drivers/usb/serial/usb-serial.c: Had to override the open usb serial operation with the generic one. [17251299.200000] drivers/usb/serial/usb-serial.c: Had to override the write usb serial operation with the generic one. [17251299.200000] drivers/usb/serial/usb-serial.c: Had to override the close usb serial operation with the generic one. [17251299.204000] drivers/usb/serial/usb-serial.c: Had to override the write_room usb serial operation with the generic one. [17251299.204000] drivers/usb/serial/usb-serial.c: Had to override the chars_in_buffer usb serial operation with the generic one. [17251299.204000] drivers/usb/serial/usb-serial.c: Had to override the read_bulk_callback usb serial operation with the generic one. [17251299.204000] drivers/usb/serial/usb-serial.c: Had to override the write_bulk_callback usb serial operation with the generic one. [17251299.204000] drivers/usb/serial/usb-serial.c: USB Serial support registered for generic [17251299.204000] drivers/usb/serial/usb-serial.c: descriptor matches [17251299.204000] drivers/usb/serial/usb-serial.c: found bulk in on endpoint 0 [17251299.204000] drivers/usb/serial/usb-serial.c: found bulk out on endpoint 1 [17251299.204000] usbserial_generic 2-2:1.0: generic converter detected [17251299.204000] drivers/usb/serial/usb-serial.c: get_free_serial 1 [17251299.204000] drivers/usb/serial/usb-serial.c: get_free_serial - minor base = 0 [17251299.204000] drivers/usb/serial/usb-serial.c: usb_serial_probe - setting up 1 port structures for this device [17251299.204000] drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0 [17251299.204000] usb 2-2: generic converter now attached to ttyUSB0 [17251299.204000] usbcore: registered new driver usbserial_generic [17251299.204000] drivers/usb/serial/usb-serial.c: USB Serial Driver core [17251299.236000] drivers/usb/serial/usb-serial.c: serial_open [17251299.236000] drivers/usb/serial/generic.c: usb_serial_generic_open - port 0 [17251299.236000] drivers/usb/serial/usb-serial.c: serial_ioctl - port 0, cmd 0x541e [17251299.236000] drivers/usb/serial/usb-serial.c: serial_close - port 0 [17251299.236000] drivers/usb/serial/generic.c: usb_serial_generic_close - port 0 [17251299.236000] drivers/usb/serial/generic.c: generic_cleanup - port 0 [17251299.236000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 [17251299.236000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - nonzero read bulk status received: -2 Connecting to /dev/ttyUSB0 with cu gets a constant stream of garbage, and dmesg fills up with stuff like this: drivers/usb/serial/usb-serial.c: serial_write - port 0, 1 byte(s) [17251657.588000] drivers/usb/serial/generic.c: usb_serial_generic_write - port 0 [17251657.588000] generic ttyUSB0: usb_serial_generic_write - length = 1, data = 0d [17251657.588000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 [17251657.588000] generic ttyUSB0: usb_serial_generic_read_bulk_callback - length = 4, data = 01 60 c0 00 [17251657.588000] drivers/usb/serial/generic.c: usb_serial_generic_write_bulk_callback - port 0 [17251657.588000] drivers/usb/serial/usb-serial.c: usb_serial_port_softint - port 0 [17251657.588000] drivers/usb/serial/usb-serial.c: usb_serial_port_softint - port 0 [17251657.604000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 [17251657.604000] generic ttyUSB0: usb_serial_generic_read_bulk_callback - length = 8, data = 01 60 c0 c0 00 00 c0 00 [17251657.620000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 [17251657.620000] generic ttyUSB0: usb_serial_generic_read_bulk_callback - length = 2, data = 01 60 [17251657.636000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 [17251657.636000] generic ttyUSB0: usb_serial_generic_read_bulk_callback - length = 2, data = 01 60 [17251657.652000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 [17251657.652000] generic ttyUSB0: usb_serial_generic_read_bulk_callback - length = 2, data = 01 60 [17251657.668000] drivers/usb/serial/generic.c: usb_serial_generic_read_bulk_callback - port 0 Any thoughts would be appreciated. Please note I'm not subscribed to this list, so any replies need to copy me in directly. thanks, 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