Beh allora? ho fatto bene rigaurdo il file rules? cosa posso fare adesso?
scusami ma non avevi risolto sull´altro 3ad?
Beh a questo punto direi che il thread è risolto perchè funziona tramite smartreader updater 1.7 e inserendo il nome del device per poi creare il cosiddetto Rules
ok perfetto allora vediamo il tuo
Ora posta la tua 10-usbadapter.rules
Usi debian oppure Ubuntu? come ta postato meister85
il tuo primo serial : 87654321 ( dovrebbe essere /dev/sky
il secondo serial : abcd1234 ( dovrebbe essere /dev/redlight
il terzo serial : 12345678 ( dovrebbe essere /dev/tivusat
facci sapere
devo anche dire che il terzo come serial mi sembra un po strano
e nn potrebbe essere che il tuo smargo sia rotto, non funziona a dovere per questo nn ti da il serial
ho avuto anche io diversi problemi con smargo fin quando lo cambiati e ho preso easymouse2 funzionano che e na meraviglia
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="12345678", SYMLINK+="SkyItalia"
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="87654321", SYMLINK+="Tivusat"
cd /etc/udev/rules.d
touch 10-usbadapter.rules
nano 10-usbadapter.rules
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A901LNHI", SYMLINK+="scheda1"
lsusb
root@debian:~# lsusbBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ls -l /dev/ttyUSB*
root@debian:~# ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Jan 18 13:01 /dev/ttyUSB0
[COLOR=#333333]udevadm info -n [/COLOR]/dev/ttyUSB0[COLOR=#333333] -a[/COLOR]
root@debian:~# udevadm info -n /dev/ttyUSB0 -a
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:10.1/usb3/3-1/3-1:1.0/ttyUSB0/tty/ttyUSB0':
KERNEL=="ttyUSB0"
SUBSYSTEM=="tty"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:10.1/usb3/3-1/3-1:1.0/ttyUSB0':
KERNELS=="ttyUSB0"
SUBSYSTEMS=="usb-serial"
DRIVERS=="ftdi_sio"
ATTRS{latency_timer}=="1"
ATTRS{port_number}=="0"
looking at parent device '/devices/pci0000:00/0000:00:10.1/usb3/3-1/3-1:1.0':
KERNELS=="3-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="ftdi_sio"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="02"
ATTRS{bInterfaceClass}=="ff"
ATTRS{bInterfaceSubClass}=="ff"
ATTRS{bInterfaceProtocol}=="ff"
ATTRS{modalias}=="usb:v0403p6001d0600dc00dsc00dp00icFFiscFFipFF"
ATTRS{supports_autosuspend}=="0"
ATTRS{interface}=="FT232R USB UART"
looking at parent device '/devices/pci0000:00/0000:00:10.1/usb3/3-1':
KERNELS=="3-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="a0"
ATTRS{bMaxPower}==" 90mA"
ATTRS{urbnum}=="431786"
ATTRS{idVendor}=="0403"
ATTRS{idProduct}=="6001"
ATTRS{bcdDevice}=="0600"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="8"
ATTRS{speed}=="12"
ATTRS{busnum}=="3"
ATTRS{devnum}=="2"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="FTDI"
ATTRS{product}=="FT232R USB UART"
ATTRS{serial}=="A7031GOU"
looking at parent device '/devices/pci0000:00/0000:00:10.1/usb3':
KERNELS=="usb3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="36"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0001"
ATTRS{bcdDevice}=="0206"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="12"
ATTRS{busnum}=="3"
ATTRS{devnum}=="1"
ATTRS{version}==" 1.10"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 2.6.32-5-686 uhci_hcd"
ATTRS{product}=="UHCI Host Controller"
ATTRS{serial}=="0000:00:10.1"
ATTRS{authorized_default}=="1"
looking at parent device '/devices/pci0000:00/0000:00:10.1':
KERNELS=="0000:00:10.1"
SUBSYSTEMS=="pci"
DRIVERS=="uhci_hcd"
ATTRS{vendor}=="0x1106"
ATTRS{device}=="0x3038"
ATTRS{subsystem_vendor}=="0x1043"
ATTRS{subsystem_device}=="0x81cf"
ATTRS{class}=="0x0c0300"
ATTRS{irq}=="22"
ATTRS{local_cpus}=="ffffffff"
ATTRS{local_cpulist}=="0-31"
ATTRS{modalias}=="pci:v00001106d00003038sv00001043sd000081CFbc0Csc03i00"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
nano 10-usbadapter.rules
root@debian:/etc/udev/rules.d# nano 10-usbadapter.rules
SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A7031GOU", SYMLINK+="skyit"
# oscam.server generated automatically by Streamboard OSCAM 1.20-unstable_svn SVN r582# Read more:Sie müssen registriert sein, um Links zu sehen.
[reader]
label = Tivusat
description =
enable = 1
protocol = smargo
device = /dev/skyit
reconnectdelay = 60000
smargopatch = 1
autospeed = 1
caid = 183D
rsakey = A92DA72F.........
ecmwhitelist = 183D@1F1F1F:8C,B7
detect = cd
nagra_read = 0
mhz = 368
cardmhz = 368
ident = 183D:005411,000000
group = 2
emmcache = 1,3,2
blockemm-unknown = 1
blockemm-u = 0
blockemm-s = 1
blockemm-g = 1
lb_weight = 100
cccreshare = -1
------------------------------------------------------------------------------->> OSCam << cardserver log switched at Sat Jan 18 13:39:28 2014
-------------------------------------------------------------------------------
2014/01/18 13:39:28 976D6A8 h >> OSCam << cardserver log switched, version 1.20-unstable_svn, build r9385 (i486-linux-gnu)
2014/01/18 13:39:28 976D6A8 h WebIf: Origin checked. Result: access from 192.168.178.24 => allowed
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Receiving:
2014/01/18 13:39:29 B7400588 F1 F0 FD FF F0 ED FF FC F0 F6 FF EC EA F6 EE E4
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Timeout in IO_Serial_Read
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IFD: Smargo ATR: 16 bytes
2014/01/18 13:39:29 B7400588 F1 F0 FD FF F0 ED FF FC F0 F6 FF EC EA F6 EE E4
2014/01/18 13:39:29 0 share-updater mode=initfast t=1s i=27
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Smargo: sending F=0174 (372), D=01 (1), Freq=0E6A (3690), N=00 (0), T=00 (0), inv=00 (0)
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 4 char(s), chunksize 4 char(s)
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:29 B7400588 01 01 74 01
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 3 char(s), chunksize 3 char(s)
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:29 B7400588 02 0E 6A
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 2 char(s), chunksize 2 char(s)
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:29 B7400588 03 00
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 2 char(s), chunksize 2 char(s)
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:29 B7400588 04 00
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 2 char(s), chunksize 2 char(s)
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:29 B7400588 05 00
2014/01/18 13:39:29 976D6A8 h WebIf: Origin checked. Result: access from 192.168.178.24 => allowed
2014/01/18 13:39:29 0 --- Skipped 2 duplicated log lines ---
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IFD: Setting parity from Odd to None
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Getting readerstatus...
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Set reader ready to Send
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Read timeout 500000 us, read delay 0 us, to read 33 char(s), chunksize 33 char(s)
2014/01/18 13:39:29 976D6A8 h WebIf: Origin checked. Result: access from 192.168.178.24 => allowed
2014/01/18 13:39:29 0 --- Skipped 1 duplicated log lines ---
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Timeout in IO_Serial_WaitToRead, timeout=500000 us
2014/01/18 13:39:29 B7400588 r Tivusat [smargo] IO: Setting RTS=1
2014/01/18 13:39:30 B7400588 r Tivusat [smargo] IO: Setting RTS=0
2014/01/18 13:39:30 0 share-updater mode=initfast t=1s i=26
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Receiving:
2014/01/18 13:39:31 B7400588 F1 F0 FD FF F0 ED FF FC F0 F6 FF EC EA F6 EE E4
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Timeout in IO_Serial_Read
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IFD: Smargo ATR: 16 bytes
2014/01/18 13:39:31 B7400588 F1 F0 FD FF F0 ED FF FC F0 F6 FF EC EA F6 EE E4
2014/01/18 13:39:31 0 share-updater mode=initfast t=1s i=25
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Smargo: sending F=026A (618), D=01 (1), Freq=1770 (6000), N=00 (0), T=01 (1), inv=00 (0)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 4 char(s), chunksize 4 char(s)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:31 B7400588 01 02 6A 01
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 3 char(s), chunksize 3 char(s)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:31 B7400588 02 17 70
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 2 char(s), chunksize 2 char(s)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:31 B7400588 03 00
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 2 char(s), chunksize 2 char(s)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:31 B7400588 04 01
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Write timeout 1000 us, write delay 0 us, to send 2 char(s), chunksize 2 char(s)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Sending:
2014/01/18 13:39:31 B7400588 05 00
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IFD: Setting parity from None to Even
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Getting readerstatus...
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Set reader ready to Send
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Read timeout 500000 us, read delay 0 us, to read 33 char(s), chunksize 33 char(s)
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Timeout in IO_Serial_WaitToRead, timeout=500000 us
2014/01/18 13:39:31 B7400588 r Tivusat [smargo] IO: Setting RTS=1
2014/01/18 13:39:32 B7400588 r Tivusat [smargo] IO: Setting RTS=0
2014/01/18 13:39:32 0 share-updater mode=initfast t=1s i=24
2014/01/18 13:39:33 B7400588 r Tivusat [smargo] IO: Receiving:
2014/01/18 13:39:33 B7400588 F1 F0 FD FF F0 ED FF FC F0 F6 FF EC EA F6 EE E4
2014/01/18 13:39:33 B7400588 r Tivusat [smargo] IO: Timeout in IO_Serial_Read
2014/01/18 13:39:33 B7400588 r Tivusat [smargo] IFD: Smargo ATR: 16 bytes
2014/01/18 13:39:33 B7400588 F1 F0 FD FF F0 ED FF FC F0 F6 FF EC EA F6 EE E4
2014/01/18 13:39:33 B7400588 r ERROR: this ATR TS byte is 00 and that should be 3B for direct or 3F for inverse convention!
2014/01/18 13:39:33 B7400588 r ERROR, function call reader->crdr.activate(reader, atr) returns error.
2014/01/18 13:39:33 B7400588 r Tivusat [smargo] Error activating card.
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?