device_out_endpoint = 0x81 # Smargo Triple Reader port 1
device_out_endpoint = 0x83 # Smargo Triple Reader port 2
device_out_endpoint = 0x85 # Smargo Triple Reader port 3
#Place the file in /etc/udev/rules.d/
#By reconnect the triple reader it will be assigned to the new device names.
#Read the serial number of the triplereader: lsusb -d 403:6011 -v | grep iSerial
======================================================================
SUBSYSTEMS=="usb" ENV{ID_IFACE}="$attr{bInterfaceNumber}"
KERNEL=="ttyUSB*", ATTRS{serial}=="00000001" SYMLINK+="triplereader_TEST$env{ID_IFACE}"
======================================================================
#Serial number: 00000001
#Readername: triplereader_TEST
#The new names for the triplereader with serial number 00000001 will be:
#P1 = /dev/triplereader_TEST00
#P2 = /dev/triplereader_TEST01
#P3 = /dev/triplereader_TEST02
======================================================================
SUBSYSTEMS=="usb" ENV{ID_IFACE}="$attr{bInterfaceNumber}"
KERNEL=="ttyUSB*", ATTRS{serial}=="0000ABCD" SYMLINK+="my_READER$env{ID_IFACE}"
======================================================================
#Serial number: 0000ABCD
#Readername: my_READER
#The new names for the triplereader with serial number 0000ABCD will be:
#P1 = /dev/my_READER00
#P2 = /dev/my_READER01
#P3 = /dev/my_READER02
device_out_endpoint = 0x81
device_out_endpoint = 0x83
device_out_endpoint = 0x85
SUBSYSTEMS=="usb" ENV{ID_IFACE}="$attr{bInterfaceNumber}"
KERNEL=="ttyUSB*", ATTRS{serial}=="00000a3a" SYMLINK+="my_READER$env{ID_IFACE}"
device = /dev/my_READER00
device_out_endpoint = 0x81
device = /dev/my_READER00
device_out_endpoint = 0x81
device = /dev/my_READER01
device_out_endpoint = 0x83
device = /dev/my_READER02
device_out_endpoint = 0x85
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?
Wir verwenden Cookies und ähnliche Technologien für folgende Zwecke:
Akzeptieren Sie Cookies und diese Technologien?