| Witam, od około miesiąca jestem szczęśliwym posiadaczem routera Asus RT-N16 z tomato 110-PL AIO. Niedawno zakupiłem czytnik Omnikey 3121, pobrałem odpowiednią paczkę: 
 
 root@unknown:/tmp/home/root# opkg install ccidInstalling ccid (1.4.5-1) to root...
 Downloading http://wl500g-repo.googlecode.com/sv...-1_entware.ipk.
 Installing libusb-1.0 (1.0.9-1) to root...
 Downloading http://wl500g-repo.googlecode.com/sv...-1_entware.ipk.
 Installing libpcsclite (1.8.2-1) to root...
 Downloading http://wl500g-repo.googlecode.com/sv...-1_entware.ipk.
 Configuring libusb-1.0.
 Configuring libpcsclite.
 Configuring ccid.
 root@unknown:/tmp/home/root# opkg install pcscd
 Installing pcscd (1.8.2-1) to root...
 Downloading http://wl500g-repo.googlecode.com/sv...-1_entware.ipk.
 Configuring pcscd.
 Pytanie moje jak wystartować automatycznie ten czytnik (ważne aby uruchomił się przed oscam) gdyż po:
 wpisaniu pcscd -d -f mam:
 
 
 00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout00001124 pcscdaemon.c:364:main() file /var/run/pcscd/pcscd.comm already exists.
 00000630 pcscdaemon.c:366:main() Another pcscd (pid: 1035) seems to be running.
 Wtedy zabijam proces killall -9 pcscd a następnie daje pcscd -d -f i czytnik w końcu startuje:
 
 
 root@unknown:/tmp/home/root# killall -9 pcscdroot@unknown:/tmp/home/root# pcscd -d -f
 00000000 pcscdaemon.c:233:main() pcscd set to foreground with debug send to stdout
 00000860 configfile.l:245BGetReaderListDir() Parsing conf directory: /opt/etc/reader.conf.d
 00000244 pcscdaemon.c:518:main() pcsc-lite 1.8.2 daemon ready.
 00044059 hotplug_libusb.c:514:HPAddHotPluggable() Adding USB device: 2:2:0
 00000908 readerfactory.c:936:RFInitializeReader() Attempting startup of OmniKey CardMan 3121 00 00 using /opt/lib/pcsc/drivers/ifd-ccid.bundle/Contents/Linux/libccid.so
 00002447 readerfactory.c:826:RFBindFunctions() Loading IFD Handler 3.0
 02197354 readerfactory.c:296:RFAddReader() Using the reader polling thread
 00006134 hotplug_libusb.c:421:HPEstablishUSBNotifications() Driver ifd-ccid.bundle does not support IFD_GENERATE_HOTPLUG. Using active polling instead.
 00000106 hotplug_libusb.c:430:HPEstablishUSBNotifications() Polling forced every 1 second(s)
 00001103 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00018560 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00019983 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00019975 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00020000 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00020002 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00020008 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00020074 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00019917 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00020002 readerfactory.c:1303:RFWaitForReaderInit() Waiting init for reader: OmniKey CardMan 3121 00 00
 00011212 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
 00000160 Card ATR: 3B F7 11 00 01 40 96 70 70 07 0E 6C B6 D6
 05016710 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
 Jak widać odczytuje poprawnie ATR karty, problem polega na tym, że jak mam spadek napięcia albo wyłączą mi prąd a mnie nie ma w domu to żona i dzieciak pozostaje bez TV.
 Czy ktoś z szanownych forumowiczów ma pomysł jak to rozwiązać?
 Pozdrawiam
 
 Tenda AC15 + FreshTomato Firmware 2020.6 K26ARM USB VPN-64K |