6

[ubuntu] 3+ Smargo cardreader udev rule

view full story
linux-howto

http://ubuntuforums.org – Hello, i have 3 (soon 5) Smargo card reader on my Linux server (ubuntu 8.10) Quote: [ 13.462082] usbcore: registered new interface driver usbserial [ 13.462140] usbserial: USB Serial support registered for generic [ 13.462228] usbcore: registered new interface driver usbserial_generic [ 13.462233] usbserial: USB Serial Driver core [ 13.547759] usbserial: USB Serial support registered for FTDI USB Serial Device [ 13.547829] ftdi_sio 4-3.2:1.0: FTDI USB Serial Device converter detected [ 13.547895] ftdi_sio: Detected FT232BM [ 13.548334] usb 4-3.2: FTDI USB Serial Device converter now attached to ttyUSB0 [ 13.548369] ftdi_sio 2-2.2:1.0: FTDI USB Serial Device converter detected [ 13.548435] ftdi_sio: Detected FT232BM [ 13.548766] usb 2-2.2: FTDI USB Serial Device converter now attached to ttyUSB1 [ 13.548795] ftdi_sio 2-2.3:1.0: FTDI USB Serial Device converter detected [ 13.548861] ftdi_sio: Detected FT232BM [ 13.549141] usb 2-2.3: FTDI USB Serial Device converter now attached to ttyUSB2 [ 13.549176] usbcore: registered new interface driver ftdi_sio [ 13.549181] ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver Sometimes, when i reboot the server, the card readers are detected in a different order, so that the card in reader1 gets different parameters than needed. Is there a way to specifiy the /dev/ttyUSBx to a port/USB device: Quote: root@server:/home/xxx# lsusb Bus 004 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC Bus 004 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 009: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC Bus 002 Device 008: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC Bus 002 Device 007: ID 05e3:0604 Genesys Logic, Inc. USB 1.1 Hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 005: ID 046d:c30a Logitech, Inc. iTouch Composite Bus 001 Device 004: ID 051d:0002 American Power Conversion Uninterruptible Power Supply Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub I know how to address the device using the vendor, but as the vendor and product is always the same, i can't use only those parms. Thanks (Hardware)