Tryck på: "Restart Reader: din reader"
Hej behöver lite support här av er experter. Har precis startat upp en pi (modell 3) med oscam som jag har tänkt att flytta över min befintliga server till p.g.a att jag vill köra 3 kort i och nu går den på en vu+duo som bara har 2 läsare. Korten jag har nu är via+ canal och ska fösöka med att få igång ett norskt canal digital kort också. Har kommit så långt att jag kommer åt oscam via webif. Har inte konfiguerat nåt än mer än det som är i guiden. Kortläsaren jag vill använda är en argolis triple smart reader som jag inte riktigt vet hur jag ska ställa in i filerna. Nu testar jag bara utan nåt kort i läsarna.
kör jag scan usb i oscam webif får jag fram detta
USB Devices
Bus 001 Device 005: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
iProduct 2 Microsoft® 2.4GHz Transceiver v8.0
iSerial 0
Bus 001 Device 004: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
iProduct 2 Triple Reader+
iSerial 3 00000c8c
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
iProduct 0
iSerial 0
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
iProduct 0
iSerial 0
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
iProduct 2 DWC OTG Controller
iSerial 1 3f980000.usb
kör jag pcsc_scan på raspberryn får jag detta
root@raspberrypi:~# pcsc_scan
PC/SC device scanner
V 1.4.23 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.11
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...
kör utan nån usb hubb. Så det verkar som att läsarna inte hittas ? eller måste det va nåt kort i
Först och främst så kan vi glömma pcsc_scan i detta fallet eftersom den bara är relevant för PC/SC-läsare och Argolis Triple Reader är inte en sådan.
Sedan är Argolis Triple Reader lite svårkonfigurerad och jag har tyvärr ingen sådan läsare att prova med själv. :(
Jag kan försöka guida dig lite här men eftersom jag inte kan prova själv så blir det lite "trial and error"...
Vad säger kommandot:
lsusb -d 403:6011 -v
?
då kommer detta
root@raspberrypi:~# lsusb -d 403:6011 -v
Bus 001 Device 009: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6011 FT4232H Quad HS USB-UART/FIFO IC
bcdDevice 5.00
iManufacturer 1 Argolis
iProduct 2 Triple Reader+
iSerial 3 00000c8c
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 150mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 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 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 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 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 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 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0xe438
(Bus Powered)
root@raspberrypi:~# lsusb -d 403:6011 -v
Bus 001 Device 009: ID 0403:6011 Future Technology Devices International, Ltd FT4232H Quad HS USB-UART/FIFO IC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6011 FT4232H Quad HS USB-UART/FIFO IC
bcdDevice 5.00
iManufacturer 1 Argolis
iProduct 2 Triple Reader+
iSerial 3 00000c8c
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 78
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 150mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 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 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 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 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 Triple Reader+
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 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 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
Device Status: 0x7438
(Bus Powered)
root@raspberrypi:~#
men då kanske det inte är nåt fel. För jag trodde ju man skulle se läsarna med pcsc_scan
och sen undrar jag med vilket protocol dom ska gå i och även det med device.Blir väl lite ändrat där när man kör med usb läsare antar jag:rolleyes:
Smargo och särskilt Triple Reader är som sagt lite knepiga och du kan läsa många olika åsikter på nätet om vad som är bäst inställningar för dem... Jag är ingen expert på Smargo och brukar undvika dem för jag ser inte att de tillför något.
Vad gäller protokoll kan man köra dem med tre olika protokoll, phoenix, smargo och smartreader. Alla kräver lite olika inställningar. Efter att jag ställde frågan för några år sedan i forumet så kom jag då fram till att bäst är att köra dem med smargo protokoll mot /dev/ttyUSBx. Men det kan som sagt finnas olika åsikter om saken.
Eftersom Smargo inte alls använder pcsc-systemet så kommer inte Smargo-läsarna att upptäckas av pcsc_scan.
Kolla vilka devices du har med kommandot:
ls -l /dev/ttyUSB*
Om du inte ser några devices så prova att köra kommandot:
modprobe ftdi_sio
och sedan:
ls -l /dev/ttyUSB*
igen. Om du nu ser tre st. /dev/ttyUSBx devices så är det dina kortläsare och de devices du ska konfigurera i oscam.
För att få modulen ftdi_sio att ladda automatiskt vid boot kan du lägga till en rad sist i filen /etc/modules. Lägg bara till ordet:
ftdi_sio
ensamt på en rad.
med ls -l /dev/ttyUSB* kom detta
pi@raspberrypi:~ $ su -
Password:
root@raspberrypi:~# ls -l /dev/ttyUSB*
crw-rw---- 1 root dialout 188, 0 Dec 1 12:10 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Dec 1 12:10 /dev/ttyUSB1
crw-rw---- 1 root dialout 188, 2 Dec 1 12:10 /dev/ttyUSB2
root@raspberrypi:~#
ja då prövar jag så med smargo protocol
/dev/ttyUSB0
/dev/ttyUSB1
/dev/ttyUSB2
detta du skrev behövs det ?
För att få modulen ftdi_sio att ladda automatiskt vid boot kan du lägga till en rad sist i filen /etc/modules. Lägg bara till ordet:
ftdi_sio
ensamt på en rad.
kanon tackar så mycket för detta .Men jag tror jag kommer att besvära er mera för än är jag inte i hamn:)