Quantcast
Aktuelles
Digital Eliteboard - Das Digitale Technik Forum

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

Registriere dich noch heute kostenlos, um Mitglied zu werden! Sobald du angemeldet bist, kannst du auf unserer Seite aktiv teilnehmen, indem du deine eigenen Themen und Beiträge erstellst und dich über deinen eigenen Posteingang mit anderen Mitgliedern unterhalten kannst! Zudem bekommst du Zutritt zu Bereichen, welche für Gäste verwehrt bleiben

V14 wird in Smargo nicht gelesen

dekraameise

Ist gelegentlich hier
Registriert
19. April 2009
Beiträge
43
Reaktionspunkte
7
Punkte
28
Ort
near Hannover
Hallo,

ich habe mir ein BananaPi zugelegt und wollte den nun als OScam-Server betreiben. Habe also fein Raspian installiert und Oscam kompilieren lassen.

Configs sehen wie folgt aus:

oscam.conf
[global]
logfile = /usr/local/etc/oscam.log
emmlogdir = /usr/local/etc
maxlogsize = 1024
nice = -1
waitforcards = 0
fallbacktimeout = 2000
clientmaxidle = 0
bindwait = 40
waitforcards_extra_delay = 550
preferlocalcards = 1
dropdups = 1
block_same_ip = 0
lb_mode = 0

[dvbapi]
enabled = 1
user = local
boxtype = dreambox
au = 1

[cache]
delay = 5




[webif]
httpport = *****
httpuser = ******
httppwd = *****
httprefresh = **
httpallowed = ****
httpdyndns = *******

oscam.user
[account]
user = test
pwd = ***
sleep = 180
group = 1
cccmaxhops = 2
cccreshare = 1

oscam.server
[reader]
label = Reader-1
protocol = smargo
device = /dev/ttyUSB0
caid = 098C
boxid = 12345678
ins7e11 = 15
fix9993 = 1
detect = cd
mhz = 357
group = 1
emmcache = 1,3,10
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
saveemm-unknown = 1
saveemm-u = 1
ndsversion = 2

Leider erkennt er damit die V14-Karte nicht.

oscam-Log:
>> OSCam << cardserver started at Sun Jan 18 09:41:00 2015
-------------------------------------------------------------------------------
2015/01/18 09:41:00 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r10201 (arm-linux-gnueabihf)
2015/01/18 09:41:00 0 s System name = Linux
2015/01/18 09:41:00 0 s Host name = lemaker
2015/01/18 09:41:00 0 s Release = 3.4.90
2015/01/18 09:41:00 0 s Version = #2 SMP PREEMPT Tue Aug 5 14:11:40 CST 2014
2015/01/18 09:41:00 0 s Machine = armv7l
2015/01/18 09:41:00 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 2103
2015/01/18 09:41:00 0 s services reloaded: 0 services freed, 1 services loaded, rejected 0
2015/01/18 09:41:00 0 s userdb reloaded: 19 accounts loaded, 0 expired, 0 disabled
2015/01/18 09:41:00 0 s signal handling initialized
2015/01/18 09:41:00 0 s 227 service-id's loaded in 5 ms
2015/01/18 09:41:00 0 s 68 tier-id's loaded
2015/01/18 09:41:00 0 s cs357x: initialized (fd=5, port=13000)
2015/01/18 09:41:00 0 s cccam: initialized (fd=6, port=24012)
2015/01/18 09:41:00 0 s Reader-1 [smargo] creating thread for device /dev/ttyUSB0
2015/01/18 09:41:00 0 s loadbalancer: can't read from file /tmp/.oscam/stat
2015/01/18 09:41:00 0 s anti cascading disabled
2015/01/18 09:41:00 F7F5A8 h webif: decompressed 145443 bytes back into 361124 bytes
2015/01/18 09:41:00 F7F5A8 h HTTP Server running. ip=0.0.0.0 port=17005
2015/01/18 09:41:00 B6A00618 r Reader-1 [smargo] smargo init type is smargo
2015/01/18 09:41:00 B6A00618 r Reader-1 [smargo] Buffers readed 0 bytes total time_us 77880
2015/01/18 09:41:00 B6A00618 r Reader-1 [smargo] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz= AUTO, cardmhz=369)
2015/01/18 09:41:01 B6A00618 r Reader-1 [smargo] card detected
2015/01/18 09:41:05 B6A00618 r Reader-1 [smargo] ATR: 3F 03 40 37 5B
2015/01/18 09:41:05 B6A00618 r Reader-1 [smargo] Init card protocol T0, FI=1, F=372, D=1, N=0
2015/01/18 09:41:05 B6A00618 r Reader-1 [smargo] Calculated work ETU is 69.66 us reader mhz = 534
2015/01/18 09:41:05 B6A00618 r Reader-1 [smargo] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.34 MHz (specified in reader->mhz)
2015/01/18 09:41:06 B6A00618 r Reader-1 [smargo] card system not supported
2015/01/18 09:41:06 B6A00618 r Reader-1 [smargo] Normal mode failed, reverting to Deprecated Mode
2015/01/18 09:41:10 B6A00618 r Reader-1 [smargo] ATR: 3F FD 13 25 02 50 80 0F 41 B0 0A 69 FF 4A 50 F0 00 00 50 31 03
2015/01/18 09:41:10 B6A00618 r Reader-1 [smargo] Init card protocol T0, FI=1, F=372, D=4, N=2
2015/01/18 09:41:10 B6A00618 r Reader-1 [smargo] Calculated work ETU is 69.66 us reader mhz = 534
2015/01/18 09:41:11 B6A00618 r Reader-1 [smargo] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.34 MHz (specified in reader->mhz)
2015/01/18 09:41:12 B6A00618 r Reader-1 [smargo] card system not supported
2015/01/18 09:41:12 B6A00618 r Reader-1 [smargo] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
2015/01/18 09:41:12 B6A00618 r Reader-1 [smargo] card initializing error

In den Thins läuft aber genau diese Configs einwandfrei.
Wo liegt mein Fehler?


Falls die Frage hier von mir falsch plaziert ist, bitte ich einen Mod den Threat entsprechend zu verschieben....thx
 
Zuletzt bearbeitet:
AW: BananPi als Oscam Server betreiben..?

leider kein Erfolg:

  • 2015/01/18 15:31:11 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r10201 (arm-linux-gnueabihf)
  • 2015/01/18 15:31:11 0 s System name = Linux
  • 2015/01/18 15:31:11 0 s Host name = lemaker
  • 2015/01/18 15:31:11 0 s Release = 3.4.90
  • 2015/01/18 15:31:11 0 s Version = #2 SMP PREEMPT Tue Aug 5 14:11:40 CST 2014
  • 2015/01/18 15:31:11 0 s Machine = armv7l
  • 2015/01/18 15:31:11 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 4497
  • 2015/01/18 15:31:11 0 s services reloaded: 0 services freed, 1 services loaded, rejected 0
  • 2015/01/18 15:31:11 0 s userdb reloaded: 19 accounts loaded, 0 expired, 0 disabled
  • 2015/01/18 15:31:11 0 s signal handling initialized
  • 2015/01/18 15:31:11 0 s 227 service-id's loaded in 1 ms
  • 2015/01/18 15:31:11 0 s 68 tier-id's loaded
  • 2015/01/18 15:31:11 0 s cs357x: initialized (fd=5, port=13000)
  • 2015/01/18 15:31:11 0 s cccam: initialized (fd=6, port=24012)
  • 2015/01/18 15:31:11 0 s Reader-1 [smargo] creating thread for device /dev/ttyUSB0
  • 2015/01/18 15:31:11 0 s server1 [cccam] creating thread for device 192.168.178.18
  • 2015/01/18 15:31:11 0 s loadbalancer: can't read from file /tmp/.oscam/stat
  • 2015/01/18 15:31:11 0 s anti cascading disabled
  • 2015/01/18 15:31:11 1E84BA8 p 192.168.178.18: resolved ip=192.168.178.18
  • 2015/01/18 15:31:11 1E84BA8 p server1 [cccam] connecting to 192.168.178.18:12000
  • 2015/01/18 15:31:11 1E82D78 r Reader-1 [smargo] smargo init type is smargo
  • 2015/01/18 15:31:11 1E84BA8 p server1 [cccam] proxy initialized, server 192.168.178.18:12000
  • 2015/01/18 15:31:11 1E7B5A8 h webif: decompressed 145443 bytes back into 361124 bytes
  • 2015/01/18 15:31:11 1E7B5A8 h HTTP Server running. ip=0.0.0.0 port=17005
  • 2015/01/18 15:31:12 1E82D78 r Reader-1 [smargo] Buffers readed 0 bytes total time_us 75148
  • 2015/01/18 15:31:12 1E82D78 r Reader-1 [smargo] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz= AUTO, cardmhz=369)
  • 2015/01/18 15:31:12 1E82D78 r Reader-1 [smargo] card detected
  • 2015/01/18 15:31:17 1E82D78 r Reader-1 [smargo] ATR: 3F FD 13 25 02 50 80 0F 41 B0 0A 69 FF 4A 50 F0 00 00 50 31 03
  • 2015/01/18 15:31:17 1E82D78 r Reader-1 [smargo] Init card protocol T0, FI=1, F=372, D=4, N=2
  • 2015/01/18 15:31:17 1E82D78 r Reader-1 [smargo] Calculated work ETU is 17.42 us reader mhz = 534
  • 2015/01/18 15:31:17 1E82D78 r Reader-1 [smargo] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.34 MHz (specified in reader->mhz)
  • 2015/01/18 15:31:18 1E82D78 r Reader-1 [smargo] card system not supported
  • 2015/01/18 15:31:18 1E82D78 r Reader-1 [smargo] Normal mode failed, reverting to Deprecated Mode
  • 2015/01/18 15:31:21 1E82D78 r Reader-1 [smargo] ATR: 3F FD 13 25 02 50 80 0F 41 B0 0A 69 FF 4A 50 F0 00 00 50 31 03
  • 2015/01/18 15:31:21 1E82D78 r Reader-1 [smargo] Init card protocol T0, FI=1, F=372, D=4, N=2
  • 2015/01/18 15:31:21 1E82D78 r Reader-1 [smargo] Calculated work ETU is 69.66 us reader mhz = 534
  • 2015/01/18 15:31:22 1E82D78 r Reader-1 [smargo] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.34 MHz (specified in reader->mhz)
  • 2015/01/18 15:31:23 1E82D78 r Reader-1 [smargo] card system not supported
  • 2015/01/18 15:31:23 1E82D78 r Reader-1 [smargo] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
  • 2015/01/18 15:31:23 1E82D78 r Reader-1 [smargo] card initializing error
 
Zuletzt bearbeitet von einem Moderator:
AW: BananPi als Oscam Server betreiben..?

mach mal testweise erstmal den fastmode Eintrag raus und starte mal neu
laut ATR ändert sich die Baudrate auf 15 nicht
 
AW: BananPi als Oscam Server betreiben..?

Mein REader sieht beim Smargo so aus:
Code:
[reader]
label                         = v14
description                   = v14
protocol                      = smartreader
device                        = Serial:[COLOR=#ff0000]DEINE[/COLOR]
fallback                      = 1
caid                          = 098C
boxid                         = 12345678
ins7e11                       = 15
detect                        = cd
mhz                           = 534
cardmhz                       = 369
group                         = 1
emmcache                      = 1,1,2
blockemm-unknown              = 1
blockemm-s                    = 1
blockemm-g                    = 1
saveemm-u                     = 1
ndsversion                    = 2

Ich verwende allerdings das Smartreader-Protokoll.

P.S.: Ich verschieb dein Anliegen mal in den OScam-Bereich. Hat nix mit dem Banana Pi direkt zu tun.
 
AW: BananPi als Oscam Server betreiben..?

nixe:
  • 015/01/18 15:39:54 0 s cs357x: initialized (fd=5, port=13000)
  • 2015/01/18 15:39:54 0 s cccam: initialized (fd=6, port=24012)
  • 2015/01/18 15:39:54 0 s Reader-1 [smargo] creating thread for device /dev/ttyUSB0
  • 2015/01/18 15:39:54 0 s server1 [cccam] creating thread for device 192.168.178.18
  • 2015/01/18 15:39:54 142D78 r Reader-1 [smargo] smargo init type is smargo
  • 2015/01/18 15:39:54 0 s loadbalancer: can't read from file /tmp/.oscam/stat
  • 2015/01/18 15:39:54 0 s anti cascading disabled
  • 2015/01/18 15:39:54 144BA8 p 192.168.178.18: resolved ip=192.168.178.18
  • 2015/01/18 15:39:54 144BA8 p server1 [cccam] connecting to 192.168.178.18:12000
  • 2015/01/18 15:39:54 13B5A8 h webif: decompressed 145443 bytes back into 361124 bytes
  • 2015/01/18 15:39:54 13B5A8 h HTTP Server running. ip=0.0.0.0 port=17005
  • 2015/01/18 15:39:54 144BA8 p server1 [cccam] proxy initialized, server 192.168.178.18:12000
  • 2015/01/18 15:39:54 142D78 r Reader-1 [smargo] Buffers readed 0 bytes total time_us 75165
  • 2015/01/18 15:39:54 142D78 r Reader-1 [smargo] Reader initialized (device=/dev/ttyUSB0, detect=cd, mhz= AUTO, cardmhz=369)
  • 2015/01/18 15:39:55 142D78 r Reader-1 [smargo] card detected
  • 2015/01/18 15:39:58 142D78 r Reader-1 [smargo] ATR: 3F 03 40 37 5B
  • 2015/01/18 15:39:58 142D78 r Reader-1 [smargo] Init card protocol T0, FI=1, F=372, D=1, N=0
  • 2015/01/18 15:39:58 142D78 r Reader-1 [smargo] Calculated work ETU is 69.66 us reader mhz = 534
  • 2015/01/18 15:39:59 142D78 r Reader-1 [smargo] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.34 MHz (specified in reader->mhz)
  • 2015/01/18 15:40:00 142D78 r Reader-1 [smargo] card system not supported
  • 2015/01/18 15:40:00 142D78 r Reader-1 [smargo] Normal mode failed, reverting to Deprecated Mode
  • 2015/01/18 15:40:04 142D78 r Reader-1 [smargo] ATR: 3F FD 13 25 02 50 80 0F 41 B0 0A 69 FF 4A 50 F0 00 00 50 31 03
  • 2015/01/18 15:40:04 142D78 r Reader-1 [smargo] Init card protocol T0, FI=1, F=372, D=4, N=2
  • 2015/01/18 15:40:04 142D78 r Reader-1 [smargo] Calculated work ETU is 69.66 us reader mhz = 534
  • 2015/01/18 15:40:04 142D78 r Reader-1 [smargo] ATR Fsmax is 5 MHz, clocking card to wanted user cardspeed off 5.34 MHz (specified in reader->mhz)
  • 2015/01/18 15:40:05 142D78 r Reader-1 [smargo] card system not supported
  • 2015/01/18 15:40:05 142D78 r Reader-1 [smargo] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
  • 2015/01/18 15:40:05 142D78 r Reader-1 [smargo] card initializing error
 
AW: V14 wird in Smargo nicht gelesen

tja, da muss ich mit einem klaren "ich weis das net, weil noch nie gebraucht hatte...."peinlich
 
AW: V14 wird in Smargo nicht gelesen

So lief die V14 bei mir einigermaßen im Smargo, mit den bekannt schlechten ECM Zeiten halt:
[reader]
label = V14
protocol = smartreader
device = Serial:12345678
autospeed = 0
caid = 098C
boxid = 12345678
ins7e11 = 15
detect = cd
mhz = 369
cardmhz = 369
group = 1
emmcache = 1,1,10
blockemm-unknown = 1
blockemm-u = 1
blockemm-s = 1
blockemm-g = 1
saveemm-unknown = 1
saveemm-u = 1
ndsversion = 2

Tu dir selbst einen gefallen, kauf eine Easymouse2 für 20€ und du wirst garantiert glücklich werden (anders als mit dem Smargo).

-supraracer
 
AW: V14 wird in Smargo nicht gelesen

ist es auf jeden fall die alte (blaue) version V1?
ruf mal das oscam webif auf unter readers auf scan usb gehen, da steht evtl. die serial
 
AW: V14 wird in Smargo nicht gelesen

Glückwunsch, Easymouse über udev verlinken, Schalter oben-unten-unten-unten und diesen Reader:
Code:
[reader]
label                         = V14
protocol                      = mouse
device                        = /dev/v141
autospeed                     = 0
caid                          = 098C
boxid                         = 12345678
ins7e11                       = 15
detect                        = cd
mhz                           = 358
cardmhz                       = 358
group                         = 1
emmcache                      = 1,1,10
blockemm-unknown              = 1
blockemm-u                    = 1
blockemm-s                    = 1
blockemm-g                    = 1
saveemm-unknown               = 1
saveemm-u                     = 1
ndsversion                    = 2

-supraracer
 
AW: V14 wird in Smargo nicht gelesen

für heute gebe ich auf, habe Seriennummer der Easymouse per web-if ausgelesen (A9EHXZBJ), dann eine UDEV-Regel erstellt :
Als nächstes müssen wir eine Datei in /etc/udev/rules.d/ erstellen mit dem Namen 10-usbadapter.rules, was wir unter Linux mit


nano /etc/udev/rules.d/10-usbadapter.rules
schnell erledigt haben und dort kommt die Zeile


SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="A9EHXZBJ", SYMLINK+="V141"

restart des BananaPi

dann folgender Log:
  • 2015/01/18 16:23:07 0 s Version = #2 SMP PREEMPT Tue Aug 5 14:11:40 CST 2014
  • 2015/01/18 16:23:07 0 s Machine = armv7l
  • 2015/01/18 16:23:07 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 2420
  • 2015/01/18 16:23:07 0 s services reloaded: 0 services freed, 1 services loaded, rejected 0
  • 2015/01/18 16:23:07 0 s userdb reloaded: 19 accounts loaded, 0 expired, 0 disabled
  • 2015/01/18 16:23:07 0 s signal handling initialized
  • 2015/01/18 16:23:07 0 s 227 service-id's loaded in 2 ms
  • 2015/01/18 16:23:07 0 s 68 tier-id's loaded
  • 2015/01/18 16:23:07 0 s cs357x: initialized (fd=5, port=13000)
  • 2015/01/18 16:23:07 0 s cccam: initialized (fd=6, port=24012)
  • 2015/01/18 16:23:07 0 s Reader-1 [mouse] creating thread for device /dev/V141
  • 2015/01/18 16:23:07 0 s server1 [cccam] creating thread for device 192.168.178.18
  • 2015/01/18 16:23:07 0 s loadbalancer: can't read from file /tmp/.oscam/stat
  • 2015/01/18 16:23:07 0 s anti cascading disabled
  • 2015/01/18 16:23:07 B6A02598 p 192.168.178.18: resolved ip=192.168.178.18
  • 2015/01/18 16:23:07 B6A02598 p server1 [cccam] connecting to 192.168.178.18:12000
  • 2015/01/18 16:23:07 BE35A8 h webif: decompressed 145443 bytes back into 361124 bytes
  • 2015/01/18 16:23:07 BE35A8 h HTTP Server running. ip=0.0.0.0 port=17005
  • 2015/01/18 16:23:07 B6A00618 r Reader-1 [mouse] ERROR: Opening device /dev/V141 (errno=2 No such file or directory)
  • 2015/01/18 16:23:07 B6A00618 r Reader-1 [mouse] Cannot open device: /dev/V141
  • 2015/01/18 16:23:07 B6A02598 p server1 [cccam] proxy initialized, server 192.168.178.18:12000
  • 2015/01/18 16:23:09 B6A00618 r Reader-1 [mouse] ERROR: Opening device /dev/V141 (errno=2 No such file or directory)
  • 2015/01/18 16:23:09 B6A00618 r Reader-1 [mouse] Cannot open device: /dev/V141
  • 2015/01/18 16:23:11 B6A00618 r Reader-1 [mouse] ERROR: Opening device /dev/V141 (errno=2 No such file or directory)
  • 2015/01/18 16:23:11 B6A00618 r Reader-1 [mouse] Cannot open device: /dev/V141
  • 2015/01/18 16:23:13 B6A00618 r Reader-1 [mouse] ERROR: Opening device /dev/V141 (errno=2 No such file or directory)

Ich habe fast das Gefühl, das etwas mit der kompilerten OScam oder dem Raspbian net stimmt...
 
AW: V14 wird in Smargo nicht gelesen

Rechte der 10-usbadapter.rules auf 644 gesetzt?

-supraracer
 
Zurück
Oben