На плате BBB используется один из последних дистрибутивов GNU/Linux Debian 8, в котором есть пакетный репозитарий.
Мы подключаемся по RS-232 к BBB через собранную на коленке плату-конвертор. Подробнее
тут . На нашей рабочей ОС Ubuntu 14.04 amd64 зайдем в терминал и установим связь:
sudo screen /dev/ttyS0 115200,cs8
Подключим BeagleBone Black через коммутатор к сети и поставим уже собранные пакеты демона (
pcscd) и драйвера (
libacsccid) (middleware-библиотека
libpcsclite уже стоит):
sudo apt-get update
sudo apt-get install pcscd
sudo apt-get install libacsccid1
Команда
lsusb (
sudo lsusb) видит картридер ACR1251:
Bus 001 Device 007: ID 072f:221a Advanced Card Systems, Ltd
Bus 001 Device 006: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Команда
lsusb -d 072f:221a -v :
Посмотреть вывод...
Bus 001 Device 007: ID 072f:221a Advanced Card Systems, Ltd
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x072f Advanced Card Systems, Ltd
idProduct 0x221a
bcdDevice 2.00
iManufacturer 1 ACS
iProduct 2 ACR1251 Dual Reader
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 177
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 200mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 11 Chip/SmartCard
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 4 ACR1251 Dual Reader PICC
ChipCard Interface Descriptor:
bLength 54
bDescriptorType 33
bcdCCID 1.00
nMaxSlotIndex 0
bVoltageSupport 7 5.0V 3.0V 1.8V
dwProtocols 2 T=1
dwDefaultClock 4000
dwMaxiumumClock 4000
bNumClockSupported 0
dwDataRate 10752 bps
dwMaxDataRate 250000 bps
bNumDataRatesSupp. 0
dwMaxIFSD 512
dwSyncProtocols 00000000
dwMechanical 00000000
dwFeatures 00040040
Auto parameter negotation made by CCID
Short and extended APDU level exchange
dwMaxCCIDMsgLen 522
bClassGetResponse 00
bClassEnvelope 00
wlcdLayout none
bPINSupport 0
bMaxCCIDBusySlots 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 11 Chip/SmartCard
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 5 ACR1251 Dual Reader SAM
ChipCard Interface Descriptor:
bLength 54
bDescriptorType 33
bcdCCID 1.10 (Warning: Only accurate for version 1.0)
nMaxSlotIndex 0
bVoltageSupport 7 5.0V 3.0V 1.8V
dwProtocols 3 T=0 T=1
dwDefaultClock 4800
dwMaxiumumClock 4800
bNumClockSupported 0
dwDataRate 12903 bps
dwMaxDataRate 344100 bps
bNumDataRatesSupp. 0
dwMaxIFSD 254
dwSyncProtocols 00000000
dwMechanical 00000000
dwFeatures 000200BA
Auto configuration based on ATR
Auto voltage selection
Auto clock change
Auto baud rate change
Auto PPS made by CCID
Short APDU level exchange
dwMaxCCIDMsgLen 288
bClassGetResponse 00
bClassEnvelope 00
wlcdLayout none
bPINSupport 3 verification modification
bMaxCCIDBusySlots 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)
Запустим демон в режиме отладки (/usr/sbin/pcscd -fd), чтобы увидеть, что драйвер картридера libacsccid корректно загрузился при подключении устройства.
Посмотреть вывод...
root@arm:~# /usr/sbin/pcscd -fd
00000000 debuglog.c:292:DebugLogSetLevel() debug level=debug
00006122 configfile.l:283:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000772 configfile.l:355:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000747 configfile.l:317:DBGetReaderListDir() Skipping non regular file: .
00003269 configfile.l:317:DBGetReaderListDir() Skipping non regular file: ..
00000558 pcscdaemon.c:569:main() pcsc-lite 1.8.13 daemon ready.
00025372 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00005945 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00002854 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1A40, PID: 0x0101, path: /dev/bus/usb/001/005
00001112 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x0EEF, PID: 0x0001, path: /dev/bus/usb/001/006
00001000 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1A40, PID: 0x0101, path: /dev/bus/usb/001/005
00007906 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x072F, PID: 0x221A, path: /dev/bus/usb/001/007
00005213 hotplug_libudev.c:435:HPAddDevice() Adding USB device: ACS ACR1251 1S CL Reader
00000865 readerfactory.c:1012:RFInitializeReader() Attempting startup of ACS ACR1251 1S CL Reader [ACR1251 Dual Reader PICC] 00 00 using /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
00001431 readerfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0
00000896 ifdhandler.c:2330:init_driver() Driver version: 1.0.8
00001495 ifdhandler.c:2343:init_driver() LogLevel: 0x0003
00001407 ifdhandler.c:2363:init_driver() DriverOptions: 0x00C0
00002572 ifdhandler.c:2390:init_driver() ACR38CardVoltage: 0
00009550 ifdhandler.c:2397:init_driver() ACR38CardType: 0
00004932 ifdhandler.c:94:IFDHCreateChannelByName() lun: 0, device: usb:072f/221a:libudev:0:/dev/bus/usb/001/007
00071373 ccid_usb.c:375:OpenUSBByName() Manufacturer: Advanced Card Systems Ltd.
00001707 ccid_usb.c:385:OpenUSBByName() ProductString: ACS CCID driver
00001334 ccid_usb.c:391:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00256791 ccid_usb.c:652:OpenUSBByName() Found Vendor/Product: 072F/221A (ACS ACR1251 1S CL Reader)
00001941 ccid_usb.c:654:OpenUSBByName() Using USB bus/device: 001/007
00004418 ifdhandler.c:220:IFDHCreateChannelByName() dwFeatures: 0x00040040
00000721 ifdhandler.c:221:IFDHCreateChannelByName() wLcdLayout: 0x0000
00000364 ifdhandler.c:222:IFDHCreateChannelByName() bPINSupport: 0x00
00000376 ifdhandler.c:223:IFDHCreateChannelByName() dwMaxCCIDMessageLength: 522
00000355 ifdhandler.c:224:IFDHCreateChannelByName() dwMaxIFSD: 512
00000483 ifdhandler.c:225:IFDHCreateChannelByName() dwDefaultClock: 4000
00000362 ifdhandler.c:226:IFDHCreateChannelByName() dwMaxDataRate: 250000
00000352 ifdhandler.c:227:IFDHCreateChannelByName() bMaxSlotIndex: 0
00000345 ifdhandler.c:228:IFDHCreateChannelByName() bCurrentSlotIndex: 0
00000342 ifdhandler.c:229:IFDHCreateChannelByName() bInterfaceProtocol: 0x00
00000338 ifdhandler.c:230:IFDHCreateChannelByName() bNumEndpoints: 3
00000339 ifdhandler.c:231:IFDHCreateChannelByName() bVoltageSupport: 0x07
00000423 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB3, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00000058 readerfactory.c:350:RFAddReader() Using the pcscd polling thread
00012055 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFAE, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00000073 ifdhandler.c:633:IFDHGetCapabilities() Reader supports 2 slot(s)
00000034 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFAC, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00000025 readerfactory.c:1012:RFInitializeReader() Attempting startup of ACS ACR1251 1S CL Reader [ACR1251 Dual Reader PICC] 00 01 using /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
00000022 readerfactory.c:811:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
00000062 readerfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0
00000117 ifdhandler.c:94:IFDHCreateChannelByName() lun: 1, device: usb:072f/221a:libudev:0:/dev/bus/usb/001/007
00001540 ccid_usb.c:375:OpenUSBByName() Manufacturer: Advanced Card Systems Ltd.
00000802 ccid_usb.c:385:OpenUSBByName() ProductString: ACS CCID driver
00000755 ccid_usb.c:391:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00259159 ccid_usb.c:633:OpenUSBByName() Wrong interface for USB device 001/007. Checking next one.
00001663 ccid_usb.c:652:OpenUSBByName() Found Vendor/Product: 072F/221A (ACS ACR1251 1S CL Reader)
00000584 ccid_usb.c:654:OpenUSBByName() Using USB bus/device: 001/007
00004978 ifdhandler.c:220:IFDHCreateChannelByName() dwFeatures: 0x000200BA
00000747 ifdhandler.c:221:IFDHCreateChannelByName() wLcdLayout: 0x0000
00000428 ifdhandler.c:222:IFDHCreateChannelByName() bPINSupport: 0x03
00000370 ifdhandler.c:223:IFDHCreateChannelByName() dwMaxCCIDMessageLength: 288
00000348 ifdhandler.c:224:IFDHCreateChannelByName() dwMaxIFSD: 254
00000369 ifdhandler.c:225:IFDHCreateChannelByName() dwDefaultClock: 4800
00000378 ifdhandler.c:226:IFDHCreateChannelByName() dwMaxDataRate: 344100
00000348 ifdhandler.c:227:IFDHCreateChannelByName() bMaxSlotIndex: 0
00000339 ifdhandler.c:228:IFDHCreateChannelByName() bCurrentSlotIndex: 0
00000336 ifdhandler.c:229:IFDHCreateChannelByName() bInterfaceProtocol: 0x00
00000343 ifdhandler.c:230:IFDHCreateChannelByName() bNumEndpoints: 3
00000207 ifdhandler.c:231:IFDHCreateChannelByName() bVoltageSupport: 0x07
00021693 ifdhandler.c:1349:IFDHPowerICC() action: PowerUp, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00022460 eventhandler.c:289:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000097 Card ATR: 3B 8F 80 01 80 4F 0C A0 00 00 03 06 03 00 01 00 00 00 00 6A
00010624 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB3, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00000080 readerfactory.c:516:RFAddReader() Using the pcscd polling thread
00000843 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x072F, PID: 0x221A, path: /dev/bus/usb/001/007
00000074 hotplug_libudev.c:435:HPAddDevice() Adding USB device: ACS ACR1251 1S CL Reader
00000202 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFAF, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00000027 readerfactory.c:680:RFSetReaderName() Support 16 simultaneous readers
00000023 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFAF, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00000019 readerfactory.c:680:RFSetReaderName() Support 16 simultaneous readers
00000031 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFAD, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00000019 readerfactory.c:297:RFAddReader() Driver is thread safe
00000021 readerfactory.c:1012:RFInitializeReader() Attempting startup of ACS ACR1251 1S CL Reader [ACR1251 Dual Reader SAM] 01 00 using /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
00000022 readerfactory.c:811:RFLoadReader() Reusing already loaded driver for /usr/lib/pcsc/drivers/ifd-acsccid.bundle/Contents/Linux/libacsccid.so
00000067 readerfactory.c:897:RFBindFunctions() Loading IFD Handler 3.0
00000113 ifdhandler.c:94:IFDHCreateChannelByName() lun: 10000, device: usb:072f/221a:libudev:1:/dev/bus/usb/001/007
00001409 ccid_usb.c:375:OpenUSBByName() Manufacturer: Advanced Card Systems Ltd.
00000794 ccid_usb.c:385:OpenUSBByName() ProductString: ACS CCID driver
00000754 ccid_usb.c:391:OpenUSBByName() Copyright: This driver is protected by terms of the GNU Lesser General Public License version 2.1, or (at your option) any later version.
00017180 ifdhandler.c:1349:IFDHPowerICC() action: PowerUp, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00226196 commands.c:231:CmdPowerOn Card absent or mute
00068783 ccid_usb.c:645:OpenUSBByName() Can't claim interface 001/007: Device or resource busy
00173381 commands.c:231:CmdPowerOn Card absent or mute
00001270 ifdhandler.c:1437:IFDHPowerICC() PowerUp failed
00000428 eventhandler.c:304:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
00000787 eventhandler.c:305:EHStatusHandlerThread() Error powering up card: -2146435050 0x80100016
00015636 ifdhandler.c:1349:IFDHPowerICC() action: PowerDown, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00002484 eventhandler.c:478:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
00003045 eventhandler.c:358:EHStatusHandlerThread() Card Removed From ACS ACR1251 1S CL Reader [ACR1251 Dual Reader PICC] 00 01
00171069 ifdhandler.c:118:IFDHCreateChannelByName() failed
00006330 readerfactory.c:1043:RFInitializeReader() Open Port 0x200001 Failed (usb:072f/221a:libudev:1:/dev/bus/usb/001/007)
00000609 readerfactory.c:335:RFAddReader() ACS ACR1251 1S CL Reader [ACR1251 Dual Reader SAM] init failed.
00000420 readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
00000355 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of ACS ACR1251 1S CL Reader [ACR1251 Dual Reader SAM] 01 00.
00001058 hotplug_libudev.c:296:get_driver() Looking for a driver for VID: 0x1A40, PID: 0x0101, path: /dev/bus/usb/001/005
^C09049223 pcscdaemon.c:750:signal_trap() Received signal: 2
00000058 pcscdaemon.c:769:signal_trap() Preparing for suicide
00002007 hotplug_libudev.c:676:HPStopHotPluggables() Hotplug stopped
01000744 readerfactory.c:1296:RFCleanupReaders() entering cleaning function
00000083 readerfactory.c:1305:RFCleanupReaders() Stopping reader: ACS ACR1251 1S CL Reader [ACR1251 Dual Reader PICC] 00 00
00000028 readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
00000022 eventhandler.c:179:EHDestroyEventHandler() Stomping thread.
00000058 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB1, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00000022 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB2, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00000018 eventhandler.c:208:EHDestroyEventHandler() Waiting polling thread
00077164 eventhandler.c:501:EHStatusHandlerThread() Die
00000256 eventhandler.c:219:EHDestroyEventHandler() Thread stomped.
00000033 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of ACS ACR1251 1S CL Reader [ACR1251 Dual Reader PICC] 00 00.
00000041 ifdhandler.c:437:IFDHCloseChannel() usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 0)
00002116 readerfactory.c:558:RFRemoveReader() UnrefReader() count was: 1
00000072 eventhandler.c:179:EHDestroyEventHandler() Stomping thread.
00000024 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB1, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00000022 ifdhandler.c:536:IFDHGetCapabilities() tag: 0xFB2, usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00000016 eventhandler.c:208:EHDestroyEventHandler() Waiting polling thread
00094868 eventhandler.c:501:EHStatusHandlerThread() Die
00000718 eventhandler.c:219:EHDestroyEventHandler() Thread stomped.
00000153 readerfactory.c:1063:RFUnInitializeReader() Attempting shutdown of ACS ACR1251 1S CL Reader [ACR1251 Dual Reader PICC] 00 01.
00000033 ifdhandler.c:437:IFDHCloseChannel() usb:072f/221a:libudev:0:/dev/bus/usb/001/007 (lun: 1)
00013316 readerfactory.c:934:RFUnloadReader() Unloading reader driver.
00000306 winscard_svc.c:154:ContextsDeinitialize() remaining threads: 0
00000032 pcscdaemon.c:694:at_exit() cleaning /var/run/pcscd
Возникает ошибка: "
Can't claim interface 001/007: Device or resource busy".
При загрузке ядра на BBB мы получаем следующие сообщения инициализации USB (
dmesg | grep usb).
Посмотреть вывод...
root@arm:~# dmesg | grep usb
[ 2.699922] usbcore: registered new interface driver usbfs
[ 2.699993] usbcore: registered new interface driver hub
[ 2.700057] usbcore: registered new device driver usb
[ 3.878537] usbcore: registered new interface driver udl
[ 3.896451] usbcore: registered new interface driver dln2
[ 4.171608] usbcore: registered new interface driver usb-storage
[ 4.178746] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 4.187389] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 4.187402] musb-hdrc: MHDRC RTL version 2.0
[ 4.187409] musb-hdrc: setup fifo_mode 4
[ 4.187426] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 4.188339] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 4.196878] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 4.196889] musb-hdrc: MHDRC RTL version 2.0
[ 4.196895] musb-hdrc: setup fifo_mode 4
[ 4.196909] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 4.197004] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 4.203050] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 4.211061] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.217902] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.225164] usb usb1: Product: MUSB HDRC host driver
[ 4.230147] usb usb1: Manufacturer: Linux 4.1.0-rc1-bone0 musb-hcd
[ 4.236360] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 4.418536] usbcore: registered new interface driver usbhid
[ 4.424198] usbhid: USB HID core driver
[ 4.652917] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 4.793105] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[ 4.793116] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 4.793121] usb 1-1: Product: USB 2.0 Hub
[ 5.073114] usb 1-1.1: new low-speed USB device number 3 using musb-hdrc
[ 5.187225] usb 1-1.1: New USB device found, idVendor=0eef, idProduct=0001
[ 5.194200] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.201539] usb 1-1.1: Product: Touch
[ 5.205227] usb 1-1.1: Manufacturer: eGalax Inc.
[ 5.241303] input: eGalax Inc. Touch as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:0EEF:0001.0001/input/input0
[ 5.272965] input: eGalax Inc. Touch as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1.auto/usb1/1-1/1-1.1/1-1.1:1.0/0003:0EEF:0001.0001/input/input1
[ 5.303917] hid-generic 0003:0EEF:0001.0001: input,hidraw0: USB HID v1.12 Pointer [eGalax Inc. Touch] on usb-musb-hdrc.1.auto-1.1/input0
[ 5.403049] usb 1-1.3: new full-speed USB device number 4 using musb-hdrc
[ 5.514380] usb 1-1.3: New USB device found, idVendor=072f, idProduct=221a
[ 5.521321] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5.528699] usb 1-1.3: Product: ACR1251 Dual Reader
[ 5.533609] usb 1-1.3: Manufacturer: ACS
[ 9.699806] usbcore: registered new interface driver usbtouchscreen
Однако, несмотря на ошибки, картридер корректно выполняет чтение и запись на карту. Моё приложение, использующее динамическую библиотеку
libpcsclite, корректно работает (даже при соединение через USB2.0 Hub, что по непонятным для меня причинам мешало работать другому картридеру ACR122, возможно, поддержка последним только USB1.0 (?)).