Jump to content
Na forum sat-4-all.com obowiązuje bezwzględny zakaz oferowania sharingu oraz umieszczania linków do treści łamiących prawa autorskie.
Sign in to follow this  
ketjow17

OSCam + Raspberry PI 3 + ARTYSAT Phoenix USB 3.57/6Mhz

Recommended Posts

Cześć!

 

Jestem nowy w temacie OSCam'a, przeszukałem już trochę wątków, niestety nie udało mi się doprowadzić tego do porządku :(

 

Posiadam Raspberry PI 3, z zainstalowanym Raspbian'em oraz OSCam'em zgodnie z instrukcją w tego blogu:

http://padmathilaka-wanigasekara.blogspot.com/2017/08/how-to-install-oscam-on-raspberry-pi-no.html

 

Czytnik ARTYSAT Phoenix USB 3.57/6Mhz, jest to czytnik USB AB.

 

Aktualnie mam problem z podłączeniem czytnika pod OSCama, w logach mam:

 

10:32:24 32BED7F6 r   (reader) reader10 [mp35] Buffers readed  0 bytes total time_us 75148
10:32:25 32BED7F6 r   (reader) reader10 [mp35] ERROR: mp35_reader_init returned error
10:32:25 32BED7F6 r   (reader) reader10 [mp35] Cannot open device: /dev/ttyUSB0
10:32:27 32BED7F6 r   (reader) reader10 [mp35] mp35_reader_init: started
10:32:29 32BED7F6 r   (reader) reader10 [mp35] Buffers readed  0 bytes total time_us 75118
10:32:30 32BED7F6 r   (reader) reader10 [mp35] ERROR: mp35_reader_init returned error
10:32:30 32BED7F6 r   (reader) reader10 [mp35] Cannot open device: /dev/ttyUSB0
10:32:32 32BED7F6 r   (reader) reader10 [mp35] mp35_reader_init: started
10:32:34 32BED7F6 r   (reader) reader10 [mp35] Buffers readed  0 bytes total time_us 75118
10:32:35 32BED7F6 r   (reader) reader10 [mp35] ERROR: mp35_reader_init returned error
10:32:35 32BED7F6 r   (reader) reader10 [mp35] Cannot open device: /dev/ttyUSB0

 

Próbowałem podłączyć na różne sposoby... niestety brak powodzenia

 

 

dmesg

 

[ 2786.010247] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[ 2786.010338] ftdi_sio 1-1.5:1.0: device disconnected
[ 2789.377045] usb 1-1.5: new full-speed USB device number 8 using dwc_otg
[ 2789.540071] usb 1-1.5: New USB device found, idVendor=0403, idProduct=6001
[ 2789.540082] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2789.540086] usb 1-1.5: Product: ARTYSAT Phoenix USB Interface
[ 2789.540091] usb 1-1.5: Manufacturer: ARTYSAT
[ 2789.540095] usb 1-1.5: SerialNumber: 10121010
[ 2789.552110] ftdi_sio 1-1.5:1.0: FTDI USB Serial Device converter detected
[ 2789.552218] usb 1-1.5: Detected FT232RL
[ 2789.552926] usb 1-1.5: FTDI USB Serial Device converter now attached to ttyUSB0

 

lsusb

Bus 001 Device 008: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 001 Device 005: ID 17ef:608d Lenovo
Bus 001 Device 004: ID 413c:2107 Dell Computer Corp.
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Mogę prosić o pomoc?

Pozdrawiam

Share this post


Link to post
Share on other sites

udało się :) chociaż nie wiem dlaczego, zmieniłem port USB, zmienił się adres urządzenia na ttyUSB1

 

i w takiej konfiguracji zadziałało tak:

 

[reader]
label     = reader1
protocol  = mouse
detect    = CD
device    = /dev/ttyUSB1
aeskey    = 0102030405060708090a0b0c0d0e0f10
group     = 1
emmcache  = 1,3,2
services  = services1
caid      = 0100

 

w poprzednim porcie USB jako ttyUSB0, tak nie chciało ruszyć :/

Share this post


Link to post
Share on other sites

Zamiast /dev/ttyUSBx ustaw po ID a dane znajdziesz w /dev/serial/by-id/... i nie będzie problemów.

Przykład:

device                        = /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_XXXXXXXX-if00-port0

Gdzie "XXXXXXXX" - właściwy serial.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.