noman1982 Posted November 24, 2013 Share Posted November 24, 2013 witam może mi się dostanie za to pytanie ale gdzie mogę odpalić czytnik phoenix wpięty w usb Quote Link to comment Share on other sites More sharing options...
mickey Posted November 25, 2013 Share Posted November 25, 2013 W /etc/sysconfig/system.conf mamy opcje aktywacji portu szeregowego przez USB: # Konfiguracja USB Serial Port # ftdi --> dla FTDI # pl2303 --> dla PL2303 usb_serial=off Ustawienie to można zmienić edytując plik albo z poziomu E2 PPanel. Potem trzeba jeszcze w /etc/oscam/oscam.server dopisać coś w stylu: [reader] label = phoenix description = cyfra protocol = mouse device = /dev/ttyUSB0 detect = none mhz = 357 cardmhz = 357 group = 1 A czy Ci się "dostanie za pytanie" ... może powinno: http://forum.xunil.pl/index.php?topic=610.msg10651#msg10651, ale chyba faktycznie nie ma na forum jasno napisanego jak odpalić feniksa dla zupełnie zielonych. Quote Link to comment Share on other sites More sharing options...
noman1982 Posted November 25, 2013 Author Share Posted November 25, 2013 dziękuje ślicznie Quote Link to comment Share on other sites More sharing options...
sikorkaaa Posted February 23, 2014 Share Posted February 23, 2014 A ja podbije pytanko czy odpalił ktoś na Graterli dwa czytniki na ftdi ? Quote Link to comment Share on other sites More sharing options...
Guest Biker Posted February 23, 2014 Share Posted February 23, 2014 Nie powinno być problemu przez huba. Tylko odpowiednia konfiguracja oscama i powinno działać. Quote Link to comment Share on other sites More sharing options...
AbrahaM Posted February 24, 2014 Share Posted February 24, 2014 A ja podbije pytanko czy odpalił ktoś na Graterli dwa czytniki na ftdi ? no problemo, podpinasz czytniki przez hub usb (zdecydowanie polecam huby z własnym zasilaniem), drugi czytnik będzie na /dev/ttyUSB1, gdyż numeracja startuje od zera, a pierwszy jest na /dev/ttyUSB0 Quote Link to comment Share on other sites More sharing options...
sikorkaaa Posted February 24, 2014 Share Posted February 24, 2014 ;D Od razu widać że nigdy nie podpinaliście dwóch czytników, gdyby to było tak proste jak na Debianie czy openwrt nie zadawał bym pytania niemniej jednak dzięki za zainteresowanie próby wykonywałem zarówno na nboxe z aktywnym hubem jak i bez huba na uhd jak widać obydwa czytniki system widzi tylko że do dev montuje zawsze jeden a drugi się nie pojawia i tu jest cały problem tuxish-Box:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Bus 002 Device 001: ID 1d6b:0001 Bus 003 Device 001: ID 1d6b:0002 Bus 004 Device 001: ID 1d6b:0001 Bus 002 Device 002: ID 0403:6001 Bus 004 Device 002: ID 0403:6001 tuxish-Box:~# cat /proc/bus/usb/devices T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0001 Rev= 2.06 S: Manufacturer=Linux 2.6.32.28_stm24_0207 ohci_hcd S: Product=stm-ohci S: SerialNumber=stm-ohci.1 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0403 ProdID=6001 Rev= 6.00 S: Manufacturer=FTDI S: Product=FT232R USB UART S: SerialNumber=A600daEn C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 90mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 2.06 S: Manufacturer=Linux 2.6.32.28_stm24_0207 ehci_hcd S: Product=st-ehci S: SerialNumber=stm-ehci.1 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0001 Rev= 2.06 S: Manufacturer=Linux 2.6.32.28_stm24_0207 ohci_hcd S: Product=stm-ohci S: SerialNumber=stm-ohci.0 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0403 ProdID=6001 Rev= 6.00 S: Manufacturer=FTDI S: Product=FT232R USB UART S: SerialNumber=AD023WD2 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 90mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 2.06 S: Manufacturer=Linux 2.6.32.28_stm24_0207 ehci_hcd S: Product=st-ehci S: SerialNumber=stm-ehci.0 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms tuxish-Box:~# kiedyś na debianie odpalałem czytniki po ich unikatowym serialu ale zapomniałem jak to było może znajdę to opiszę co i jak Quote Link to comment Share on other sites More sharing options...
tux Posted February 24, 2014 Share Posted February 24, 2014 Stawiam na niekompletne udev. Pewnie trzeba sobie utworzyć urządzenie wirtualne. Za jakiś czas będzie pełny udev + SysVinit w GOS to powinno samo tworzyć co trzeba. Quote Link to comment Share on other sites More sharing options...
AbrahaM Posted February 24, 2014 Share Posted February 24, 2014 ;D Od razu widać że nigdy nie podpinaliście dwóch czytników, Wyobraź sobie że podpinałem i nawet miałem działające :) ale faktycznie ustawiłem to jakieś pół roku temu (albo dawniej) i faktycznie zapomniałem, że to niestandardowo uruchamiałem. Tak czy inaczej, przyznaję racje: "w standardzie" jest problem, jak pisze tux za jakiś czas problemu z tym już nie będzie. Quote Link to comment Share on other sites More sharing options...
mickey Posted February 24, 2014 Share Posted February 24, 2014 Ja się nie znam, ale w /etc/init.d/rcS.start.sh jest: echo "Uruchamianie USB Serial Port jeżli został aktywowany" MODDIR=/lib/modules if [ $usb_serial == ftdi ]; then echo "FTDI" if [ ! -e /dev/ttyUSB0 ]; then mknod -m 666 /dev/ttyUSB0 c 188 0 fi insmod $MODDIR/usbserial.ko insmod $MODDIR/ftdi_sio.ko elif [ $usb_serial == pl2303 ]; then echo "PL2303" if [ ! -e /dev/ttyUSB0 ]; then mknod -m 666 /dev/ttyUSB0 c 188 0 fi insmod $MODDIR/usbserial.ko insmod $MODDIR/pl2303.ko fi i może wysatrczy powielić komendę mknod dla /dev/ttyUSB1 ? Quote Link to comment Share on other sites More sharing options...
sikorkaaa Posted February 24, 2014 Share Posted February 24, 2014 i już załapały obydwa dzięki za podpowiedz może jeszcze komuś się przyda echo "Uruchamianie USB Serial Port jeżli został aktywowany" MODDIR=/lib/modules if [ $usb_serial == ftdi ]; then echo "FTDI" if [ ! -e /dev/ttyUSB0 ]; then mknod -m 666 /dev/ttyUSB0 c 188 0 fi if [ ! -e /dev/ttyUSB1 ]; then mknod -m 666 /dev/ttyUSB1 c 188 1 fi insmod $MODDIR/usbserial.ko insmod $MODDIR/ftdi_sio.ko elif [ $usb_serial == pl2303 ]; then echo "PL2303" if [ ! -e /dev/ttyUSB0 ]; then mknod -m 666 /dev/ttyUSB0 c 188 0 fi insmod $MODDIR/usbserial.ko insmod $MODDIR/pl2303.ko fi obecna ścieżka to /etc/init.d/gmodules_init #Ĺ‚aduj moduĹ‚y obslugi USB Serial Port if [ -e $MODDIR/usbserial.ko ]; then if [ ! -e /dev/ttyUSB0 ]; then mknod -m 666 /dev/ttyUSB0 c 188 0 fi if [ ! -e /dev/ttyUSB1 ]; then mknod -m 666 /dev/ttyUSB1 c 188 0 fi insmod $MODDIR/usbserial.ko if [ -e $MODDIR/ftdi_sio.ko ]; then insmod $MODDIR/ftdi_sio.ko fi if [ -e $MODDIR/pl2303.ko ]; then insmod $MODDIR/pl2303.ko fi fi Quote Link to comment Share on other sites More sharing options...
tux Posted February 24, 2014 Share Posted February 24, 2014 To niedługo będzie robić sam udev :) Niech tylko skończę prace nad tym co teraz robię. Quote Link to comment Share on other sites More sharing options...
Guest cityboy Posted May 21, 2014 Share Posted May 21, 2014 Witam ... Czy coś się zmieniło od początku tematu? Nie widzę gdzie mogę odpalić czytnik USB ... w /etc/sysconfig/system.conf brak tego wpisu Quote Link to comment Share on other sites More sharing options...
tux Posted May 21, 2014 Share Posted May 21, 2014 Oczywiście. Znowu kłania się brak chęci czytania strony projektu. Wystarczy, że zainstalujesz odpowiedni sterownik poprzez OPKG i OSCam w wersji FULL z OPKG. Po restarcie boxa wszystko samo automagicznie zadziała :) Quote Link to comment Share on other sites More sharing options...
sikorkaaa Posted September 18, 2015 Share Posted September 18, 2015 Przeglądałem dzisiaj repozytorium w poszukiwaniu sterownika do czytnika omnikey i niestety nic nie znalazłem :'( albo przeoczyłem ;) Stąd moje pytanie a zarazem prośba czy była by szansa na sterownik pcscd ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.