Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: USB Phoenix OrangePi

  1. #1

    USB Phoenix OrangePi

    Здравейте.Опитвам се да подкарам една черга на OrangePi с инсталиран Oscam и USB Smartmouse Phoenix програматор в режим Phoenix,5V и кварц 10MHz от снимката:
    mousse.jpg
    Картата до момента се чете и ъпва без проблеми в DM500.Проблема се състои в това,че не се чете картата.При поставена карта в програматора и старт на OrangePi :
    Code:
    2016/11/26 09:17:07 00000000 s     (main) System name    = Linux
    2016/11/26 09:17:07 00000000 s     (main) Host name      = orangepi
    2016/11/26 09:17:07 00000000 s     (main) Release        = 3.4.39
    2016/11/26 09:17:07 00000000 s     (main) Version        = #41 SMP PREEMPT Sun Jun 21 13:09:26 HKT 2015
    2016/11/26 09:17:07 00000000 s     (main) Machine        = armv7l
    2016/11/26 09:17:07 00000000 s     (main) creating pidfile /tmp/.oscam/oscam.pid with pid 2153
    2016/11/26 09:17:07 00000000 s   (config) userdb reloaded: 20 accounts loaded, 0 expired, 19 disabled
    2016/11/26 09:17:07 00000000 s     (main) signal handling initialized
    2016/11/26 09:17:07 00000000 s   (reader) bulcrypt [mouse] creating thread for device /dev/ttyUSB0
    2016/11/26 09:17:07 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
    2016/11/26 09:17:07 00000000 s     (main) waiting for local card init
    2016/11/26 09:17:07 72E8C26D h    (webif) webif: decompressed 174175 bytes back into 425384 bytes
    2016/11/26 09:17:07 72E8C26D h    (webif) HTTP Server running. ip=0.0.0.0 port=8888
    2016/11/26 09:17:07 1E76E03C r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75155
    2016/11/26 09:17:07 1E76E03C r   (reader) bulcrypt [mouse] Flush readed byte Nr 1 value 3b time_us 11025
    2016/11/26 09:17:07 1E76E03C r   (reader) bulcrypt [mouse] Flush readed byte Nr 2 value 20 time_us 24
    2016/11/26 09:17:07 1E76E03C r   (reader) bulcrypt [mouse] Flush readed byte Nr 3 value 00 time_us 840
    2016/11/26 09:17:07 1E76E03C r   (reader) bulcrypt [mouse] Buffers readed  3 bytes total time_us 87172
    2016/11/26 09:17:07 1E76E03C r   (reader) bulcrypt [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=1000, cardmhz=357)
    2016/11/26 09:17:09 00000000 s     (main) init for all local cards done
    2016/11/26 09:17:09 00000000 s (anticasc) anti cascading disabled
    изваждам и поставям отново картата в програматора:
    Code:
    6/11/26 10:03:58 1E76E03C r   (reader) bulcrypt [mouse] card detected
    2016/11/26 10:03:58 1E76E03C r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75178
    2016/11/26 10:03:59 1E76E03C r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75186
    2016/11/26 10:04:01 1E76E03C r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75183
    2016/11/26 10:04:02 1E76E03C r   (reader) bulcrypt [mouse] ATR: 3B 20 00 
    2016/11/26 10:04:02 1E76E03C r   (reader) bulcrypt [mouse] Init card protocol T0, FI=1, F=372, D=1, N=0
    2016/11/26 10:04:02 1E76E03C r   (reader) bulcrypt [mouse] Setting baudrate to 9600 bps
    2016/11/26 10:04:02 1E76E03C r   (reader) bulcrypt [mouse] Calculated work ETU is 37.20 us reader mhz = 1000
    2016/11/26 10:04:02 1E76E03C r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75166
    2016/11/26 10:04:02 1E76E03C r   (reader) bulcrypt [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 10.00 MHz (specified in reader->mhz)
    2016/11/26 10:04:03 1E76E03C r   (reader) bulcrypt [mouse] Bulcrypt card detected, checking card version.
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [mouse] Bulcrypt v1 card detected.
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [mouse] CAID: 0x4AEE|0x5581, CardType: 0x75, Serial: #############, HexSerial: ###########
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [mouse] Ready for requests.
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [mouse] found card system bulcrypt
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] THIS WAS A SUCCESSFUL START ATTEMPT No  1 out of max alloted of 1
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] Reading subscription info.
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] Subscription data last update    : 2016-11-26 07:37:00 GMT
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] Subscription should be active to : 2016-12-27 07:37:00 GMT
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] Subscription data 1 (0x20a6): +-+--++-
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] Subscription data 2 (0x20a6): +-+--++-
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt]   Package 02 is active: 
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt]   Package 04 is active: 
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt]   Package 20 is active: 
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt]   Package 80 is active: 
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] End subscription info.
    2016/11/26 10:04:04 1E76E03C r   (reader) bulcrypt [bulcrypt] card ejected
    конфига е:
    Code:
    [reader]
    label                         = bulcrypt
    description                   = mouse
    protocol                      = mouse
    device                        = /dev/ttyUSB0
    caid                          = 5581,4AEE
    detect                        = cd
    mhz                           = 1000
    cardmhz                       = 357
    group                         = 1
    emmcache                      = 1,1,2
    lb_weight                     = 300
    заменях параметъра 357 с 500,600 без резултат

    web инфото което се показва е:
    Untitled.jpg

    Моля за съдействие.
    Attached Images Attached Images

  2. #2
    Contributing Member
    Join Date
    20-03-2009
    Posts
    347
    Uploads
    281

    Re: USB Phoenix OrangePi

    Здравей, опитай по този начин с рийдъра
    Code:
    [reader]
    label                         = bulcrypt
    description                   = mouse
    protocol                      = mouse
    device                        = /dev/ttyUSB0
    caid                          = 4AEE
    detect                        = cd
    autospeed                     = 0
    mhz                           = 1000
    cardmhz                       = 357
    group                         = 1
    emmcache                      = 1,1,2
    lb_weight                     = 300

  3. #3

    Re: USB Phoenix OrangePi

    Quote Originally Posted by ceco2000 View Post
    Здравей, опитай по този начин с рийдъра
    Code:
    [reader]
    label                         = bulcrypt
    description                   = mouse
    protocol                      = mouse
    device                        = /dev/ttyUSB0
    caid                          = 4AEE
    detect                        = cd
    autospeed                     = 0
    mhz                           = 1000
    cardmhz                       = 357
    group                         = 1
    emmcache                      = 1,1,2
    lb_weight                     = 300
    няма промяна

  4. #4
    Senior Member
    Join Date
    21-04-2011
    Posts
    103
    Uploads
    0

    Re: USB Phoenix OrangePi

    Това беше при мен,но на Убунто сървър;[reader]label = bulsat
    enable = 0
    protocol = mouse
    device = /dev/ttyUSB0
    pincode = 0000
    cacheex_maxhop = 2
    caid = 4AEE
    detect = cd
    mhz = 2700
    ident = 4AEE:000000
    group = 2
    emmcache = 1,3,2
    blockemm-unknown = 1
    blockemm-s = 1
    blockemm-g = 1
    lb_weight = 350
    cccreshare = 2
    auprovid = 004AEE

  5. #5
    Contributing Member
    Join Date
    20-03-2009
    Posts
    347
    Uploads
    281

    Re: USB Phoenix OrangePi

    Quote Originally Posted by torn View Post
    няма промяна
    Няма клиент и от там мисля идва проблема.

  6. #6

    Re: USB Phoenix OrangePi

    Quote Originally Posted by ceco2000 View Post
    Няма клиент и от там мисля идва проблема.
    Точно така,нямаше свързан клиент.Свързах бокса в който беше картата като клиент и показва че има споделена 1 карта още преди да съм я поставил в програматора.След поставянето и показва че е споделена при клиента,но не се шарва.Нещо пропускам някъде.Лога при сървъра :
    при стартиран сървър с карта
    Code:
    2016/11/27 08:17:09 00000000 s     (main) System name    = Linux
    2016/11/27 08:17:09 00000000 s     (main) Host name      = orangepi
    2016/11/27 08:17:09 00000000 s     (main) Release        = 3.4.39
    2016/11/27 08:17:09 00000000 s     (main) Version        = #41 SMP PREEMPT Sun Jun 21 13:09:26 HKT 2015
    2016/11/27 08:17:09 00000000 s     (main) Machine        = armv7l
    2016/11/27 08:17:09 00000000 s     (main) creating pidfile /tmp/.oscam/oscam.pid with pid 2146
    2016/11/27 08:17:09 00000000 s   (config) userdb reloaded: 2 accounts loaded, 0 expired, 1 disabled
    2016/11/27 08:17:09 00000000 s     (main) signal handling initialized
    2016/11/27 08:17:09 00000000 s      (net) cccam: initialized (fd=4, port=9000)
    2016/11/27 08:17:09 00000000 s   (reader) bulcrypt [mouse] creating thread for device /dev/ttyUSB0
    2016/11/27 08:17:09 00000000 s     (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
    2016/11/27 08:17:09 00000000 s     (main) waiting for local card init
    2016/11/27 08:17:09 0F3CD917 h    (webif) webif: decompressed 174283 bytes back into 424504 bytes
    2016/11/27 08:17:09 0F3CD917 h    (webif) HTTP Server running. ip=0.0.0.0 port=8888
    2016/11/27 08:17:09 7C183D0B r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75170
    2016/11/27 08:17:09 7C183D0B r   (reader) bulcrypt [mouse] Flush readed byte Nr 1 value 3b time_us 11044
    2016/11/27 08:17:09 7C183D0B r   (reader) bulcrypt [mouse] Flush readed byte Nr 2 value 20 time_us 33
    2016/11/27 08:17:09 7C183D0B r   (reader) bulcrypt [mouse] Flush readed byte Nr 3 value 00 time_us 773
    2016/11/27 08:17:09 7C183D0B r   (reader) bulcrypt [mouse] Buffers readed  3 bytes total time_us 87212
    2016/11/27 08:17:09 7C183D0B r   (reader) bulcrypt [mouse] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz=1000, cardmhz=357)
    2016/11/27 08:17:10 00000000 s     (main) init for all local cards done
    2016/11/27 08:17:10 00000000 s (anticasc) anti cascading disabled
    2016/11/27 08:17:10 5A16AE9E c   (client) encrypted cccam-client 192.168.0.50 granted (dm, au=auto (1 reader))
    2016/11/27 08:17:11 5A16AE9E c      (ecm) dm ([email protected]/0000/013A/4F:B2BAC6D29CEC3A9C37C4EE3CFE7C1E56): rejected group (0 ms) (no matching reader)
    2016/11/27 08:17:11 5A16AE9E c      (ecm) dm ([email protected]/0000/0026/4F:5BC89E1746F0632E9EA12DD4C4CD5A4D): rejected group (1 ms) (no matching reader)
    2016/11/27 08:17:11 5A16AE9E c      (ecm) dm ([email protected]/0000/01CF/4F:FC6A79B385E7D974536C9EBE4256982F): rejected group (0 ms) (no matching reader)
    2016/11/27 08:17:11 5A16AE9E c      (ecm) dm ([email protected]/0000/03EB/4F:1C8E319E7328A1881209CB3D0E387F33): rejected group (0 ms) (no matching reader)
    2016/11/27 08:17:13 5A16AE9E c      (ecm) dm ([email protected]/0000/0070/4F:C24BCE564AEDA4142D95D957E954CFD2): rejected group (0 ms) (no matching reader)
    2016/11/27 08:17:14 5A16AE9E c      (ecm) dm ([email protected]/0000/03F5/4F:EA83CC7D94BE6CF138D5D45E57F5E628): rejected group (0 m
    при работещ сървър с изваждане и поставяне на картата
    Code:
    2016/11/27 08:32:55 7C183D0B r   (reader) bulcrypt [mouse] card detected
    2016/11/27 08:32:55 7C183D0B r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75178
    2016/11/27 08:32:55 5A16AE9E c      (ecm) dm ([email protected]/0000/01CF/4F:823DF19640B5151F2243AF0ABDCF3B38): rejected group (0 ms) (no matching reader)
    2016/11/27 08:32:55 5A16AE9E c      (ecm) dm ([email protected]/0000/03EB/4F:DD7294C370760B85C1F27BD86DFEFBF8): rejected group (0 ms) (no matching reader)
    2016/11/27 08:32:56 5A16AE9E c      (ecm) dm ([email protected]/0000/001C/4F:50AA62701D5F392E34D447F9E35B60CB): rejected group (1 ms) (no matching reader)
    2016/11/27 08:32:56 7C183D0B r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75204
    2016/11/27 08:32:56 5A16AE9E c      (ecm) dm ([email protected]/0000/01D2/4F:6C0D4C548C10FD9A6C0FFF0265B47D4D): rejected group (0 ms) (no matching reader)
    2016/11/27 08:32:57 7C183D0B r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75162
    2016/11/27 08:32:58 7C183D0B r   (reader) bulcrypt [mouse] ATR: 3B 20 00 
    2016/11/27 08:32:58 7C183D0B r   (reader) bulcrypt [mouse] Init card protocol T0, FI=1, F=372, D=1, N=0
    2016/11/27 08:32:58 7C183D0B r   (reader) bulcrypt [mouse] Setting baudrate to 9600 bps
    2016/11/27 08:32:58 7C183D0B r   (reader) bulcrypt [mouse] Calculated work ETU is 37.20 us reader mhz = 1000
    2016/11/27 08:32:58 7C183D0B r   (reader) bulcrypt [mouse] Buffers readed  0 bytes total time_us 75167
    2016/11/27 08:32:58 7C183D0B r   (reader) bulcrypt [mouse] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 10.00 MHz (specified in reader->mhz)
    2016/11/27 08:32:59 7C183D0B r   (reader) bulcrypt [mouse] Bulcrypt card detected, checking card version.
    2016/11/27 08:33:00 5A16AE9E c      (ecm) dm ([email protected]/0000/01E2/4F:452149512F43C9DBB2B4043DFB597764): rejected group (0 ms) (no matching reader)
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [mouse] Bulcrypt v1 card detected.
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [mouse] CAID: 0x4AEE|0x5581, CardType: 0x75, Serial: #############, HexSerial: ###########
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [mouse] Ready for requests.
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [mouse] found card system bulcrypt
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] THIS WAS A SUCCESSFUL START ATTEMPT No  1 out of max alloted of 1
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] Reading subscription info.
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] Subscription data last update    : 2016-11-26 07:37:00 GMT
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] Subscription should be active to : 2016-12-27 07:37:00 GMT
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] Subscription data 1 (0x20a6): +-+--++-
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] Subscription data 2 (0x20a6): +-+--++-
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt]   Package 02 is active: 
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt]   Package 04 is active: 
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt]   Package 20 is active: 
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt]   Package 80 is active: 
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] End subscription info.
    2016/11/27 08:33:00 7C183D0B r   (reader) bulcrypt [bulcrypt] card ejected
    2016/11/27 08:33:00 5A16AE9E c      (ecm) dm ([email protected]/0000/01D5/4F:D764DCED17C8A2CACF58FC94E2CCBD88): not found (1 ms) by bulcrypt
    2016/11/27 08:33:02 5A16AE9E c      (ecm) dm ([email protected]/0000/00CF/4F:E5A167F7AEE268B78FDD79FEA9876DAF): rejected group (1 ms) (no matching reader)
    2016/11/27 08:33:04 5A16AE9E c      (ecm) dm ([email protected]/0000/013A/4F:98A4E41D6E76A260F05F0B1406DF9BC5): rejected group (0 ms) (no matching reader)
    2016/11/27 08:33:04 5A16AE9E c      (ecm) dm ([email protected]/0000/0026/4F:D4423FDBFFC31B8138DB999C06B9525B): rejected group (0 ms) (no matching reader)
    2016/11/27 08:33:04 5A16AE9E c      (ecm) dm ([email protected]/0000/01DC/4F:535725421DE6FDBC288213129445E403): rejected group (0 ms) (no matching reader)
    2016/11/27 08:33:05 5A16AE9E c      (ecm) dm ([email protected]/0000/01CF/4F:8946F271BA43FB73C2603C70CD611142): rejected group (0 m

  7. #7
    Contributing Member
    Join Date
    20-03-2009
    Posts
    347
    Uploads
    281

    Re: USB Phoenix OrangePi

    Добре де задй групата на рийдъра и при клиента, инак няма да вижда картата.

  8. #8

    Re: USB Phoenix OrangePi

    всичко е както трябва при клиента....свързва се към друг сървър и работи,а към OrangePi-то показва че е свързан,а не разкодирва.
    при сървъра
    Untitled.jpg

    при клиента
    Untitled_1.jpg

  9. #9
    Contributing Member
    Join Date
    20-03-2009
    Posts
    347
    Uploads
    281

    Re: USB Phoenix OrangePi

    Дай да видя как си описал юзер клиента при сървъра, и рийдъра в 500.

  10. #10

    Re: USB Phoenix OrangePi

    Специални благодарности на #ceco2000 .С негова помощ всичко е ОК.

Page 1 of 2 12 LastLast

Similar Threads

  1. Phoenix/SM USB
    By turbopower in forum More Programmers
    Replies: 4
    Last Post: 18-07-2013, 14:09:50
  2. RS-232 Phoenix
    By turbopower in forum Програматори
    Replies: 12
    Last Post: 08-02-2013, 16:53:19
  3. phoenix v1 0 19 c
    By goody_84 in forum Reality Cam
    Replies: 0
    Last Post: 31-12-2005, 01:03:20
  4. Phoenix v1.0.19
    By hfathollahi in forum Reality Cam
    Replies: 0
    Last Post: 29-11-2005, 08:45:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •