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

Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

    Nobody is reading this thread right now.
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Ich hatte auch diese Fehlermeldung beim einrichten eines Omnikey aber das installieren der Treiber hat geholfen.

Code:
apt-get install libpcsclite1 libpcsclite-dev pcscd
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

das war bei mir alle schon installiert ;)

wenn ich mit lsusb -v aufrufe kommt folgendes, kommt folgendes:

Bus 001 Device 004: ID 076b:3022 OmniKey AGCouldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x076b OmniKey AG
idProduct 0x3022
bcdDevice 2.04
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 93
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 11 Chip/SmartCard
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 0
ChipCard Interface Descriptor:
bLength 54
bDescriptorType 33
bcdCCID 1.00
nMaxSlotIndex 0
bVoltageSupport 7 5.0V 3.0V 1.8V
dwProtocols 3 T=0 T=1
dwDefaultClock 4800
dwMaxiumumClock 8000
bNumClockSupported 4
dwDataRate 10752 bps
dwMaxDataRate 412903 bps
bNumDataRatesSupp. 106
dwMaxIFSD 492
dwSyncProtocols 00000007 2-wire 3-wire I2C
dwMechanical 00000000
dwFeatures 000407B2
Auto configuration based on ATR
Auto clock change
Auto baud rate change
Auto PPS made by CCID
CCID can set ICC in clock stop mode
NAD value other than 0x00 accpeted
Auto IFSD exchange
Short and extended APDU level exchange
dwMaxCCIDMsgLen 502
bClassGetResponse echo
bClassEnvelope echo
wlcdLayout none
bPINSupport 0
bMaxCCIDBusySlots 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 24
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 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 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0

hört sich irgendwie an, als wäre das Problem im OS
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Mach nochmal ein o compile ohne ipv6 Unterstützung, da ich gehört habe das die bin mit ipv6 auf dem RPi bei manchen Probleme verursacht hat.
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Was gibt den pcsc_scan aus? Sollte ungefähr so aussehen:

Code:
root@Pogoplug ~ > pcsc_scan 
PC/SC device scanner
V 1.4.20 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.3
Using reader plug'n play mechanism
Scanning present readers...
0: OMNIKEY AG CardMan 3021 00 00

Wed Oct  1 12:56:26 2014
Reader 0: OMNIKEY AG CardMan 3021 00 00
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

o compile ohne IPv6 hat nichts gebracht, egal ob jetzt nach der Methode Device = Bus:Divice oder Device = 0 klappt nicht

  • 2014/10/01 13:02:26 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r9888 (arm-linux-gnueabihf)
  • 2014/10/01 13:02:26 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 2278
  • 2014/10/01 13:02:26 0 s services reloaded: 0 services freed, 0 services loaded, rejected 0
  • 2014/10/01 13:02:26 0 s userdb reloaded: 1 accounts loaded, 0 expired, 0 disabled
  • 2014/10/01 13:02:26 0 s signal handling initialized
  • 2014/10/01 13:02:26 0 s cs378x: initialized (fd=5, port=12002)
  • 2014/10/01 13:02:26 0 s cccam: initialized (fd=6, port=12001)
  • 2014/10/01 13:02:26 0 s kabelbw_sky [pcsc] creating thread for device 001:004
  • 2014/10/01 13:02:26 0 s loadbalancer: can't read from file /tmp/.oscam/stat
  • 2014/10/01 13:02:26 0 s waiting for local card init
  • 2014/10/01 13:02:26 1DE1A68 h webif: decompressed 149919 bytes back into 365504 bytes
  • 2014/10/01 13:02:26 1DE1A68 h HTTP Server running. ip=0.0.0.0 port=7777
  • 2014/10/01 13:02:26 1DDFC38 r kabelbw_sky [pcsc] Cannot open device: 001:004
  • 2014/10/01 13:05:15 0 --- Skipped 2 duplicated log lines ---
  • 2014/10/01 13:05:15 1DE1A68 h Reader kabelbw_sky restarted by WebIF from 192.168.0.23
  • 2014/10/01 13:05:26 1DDFC38 r kabelbw_sky [pcsc] Cannot open device: 0

pcsc_scan bleibt hängen und liefert kein ergebnis:
pi@raspberrypi ~ $ pcsc_scan
PC/SC device scanner
V 1.4.20 (c) 2001-2011, Ludovic Rousseau <ludovic.rousseau@free.fr>
Compiled with PC/SC lite version: 1.8.3
Using reader plug'n play mechanism
Scanning present readers...
Waiting for the first reader...
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Dann wird dein Reader gar nicht erkannt. Deshalb klappt's auch mit device = 0 nicht.
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

er ist aber bei lsusb aufgezählt !
 
Zuletzt bearbeitet von einem Moderator:
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Probiere noch paar Module nach zu installieren
Code:
 apt-get update && apt-get install pcscd build-essential libssl-dev libpcsclite-dev mercurial cvs subversion libncurses-dev
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Genau! Ich vermute auch, dass da noch Pakete fehlen. Hat ja der scan mehr oder weniger erwiesen.
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

richtig, das ist jetzt nur die Frage welches, die von Link Removed haben leider nichts gebracht... das aktuelle Raspbian habe ich als "Grundlage" verwendet
 
AW: Einrichtung raspberry pi für Kabel BW (V23) Cardsharing

Die installation der Treiber von HID haben weitergeholfen, nun finde ich das Gerät mti pcsc_scan!

Allerdings wechselt der Status nicht auf CARDOK

[TABLE="class: status, width: 1904"]
[TR]
[TH="class: statuscol0, bgcolor: #CCCCCC, colspan: 2"]Hide/Reset[/TH]
[TH="class: statuscol4, bgcolor: #CCCCCC"]Reader/User[/TH]
[TH="class: statuscol5, bgcolor: #CCCCCC"]AU[/TH]
[TH="class: statuscol7, bgcolor: #CCCCCC"]Address[/TH]
[TH="class: statuscol8, bgcolor: #CCCCCC"]Port[/TH]
[TH="class: statuscol9, bgcolor: #CCCCCC"]Protocol[/TH]
[TH="class: statuscol12, bgcolor: #CCCCCC"]CAID:SRVID[/TH]
[TH="class: statuscol13, bgcolor: #CCCCCC"]Current Channel[/TH]
[TH="class: statuscol14, bgcolor: #CCCCCC"]LB Value/Reader[/TH]
[TH="class: statuscol15, bgcolor: #CCCCCC"]Online & Idle*[/TH]
[TH="class: statuscol16, bgcolor: #CCCCCC"]Status[/TH]
[/TR]
[TR]
[TD="class: subheadline, bgcolor: #CCCCCC, colspan: 12"]
Server
2​
/
2​
[/TD]
[/TR]
[TR="class: s"]
[TD="class: statuscol0, bgcolor: #E1E1EF"] [/TD]
[TD="class: statuscol1, bgcolor: #E1E1EF"][/TD]
[TD="class: statuscol4, bgcolor: #E1E1EF"]root[/TD]
[TD="class: statuscol5 statuscol5OFF, bgcolor: #E1E1EF"]OFF[/TD]
[TD="class: statuscol7, bgcolor: #E1E1EF"]127.0.0.1[/TD]
[TD="class: statuscol8, bgcolor: #E1E1EF"]0[/TD]
[TD="class: statuscol9, bgcolor: #E1E1EF"]server[/TD]
[TD="class: statuscol12, bgcolor: #E1E1EF"]0000:0000[/TD]
[TD="class: statuscol13, bgcolor: #E1E1EF"][/TD]
[TD="class: statuscol14, bgcolor: #E1E1EF"][/TD]
[TD="class: statuscol15, bgcolor: #E1E1EF"]01:00:23
00:00:15[/TD]
[TD="class: statuscol16 statuscol16OK, bgcolor: #E1E1EF"]OK[/TD]
[/TR]
[TR="class: h"]
[TD="class: statuscol0, bgcolor: #E1E1EF"] [/TD]
[TD="class: statuscol1, bgcolor: #E1E1EF"][/TD]
[TD="class: statuscol4, bgcolor: #E1E1EF"]root[/TD]
[TD="class: statuscol5 statuscol5OFF, bgcolor: #E1E1EF"]OFF[/TD]
[TD="class: statuscol7, bgcolor: #E1E1EF"]127.0.0.1[/TD]
[TD="class: statuscol8, bgcolor: #E1E1EF"]0[/TD]
[TD="class: statuscol9, bgcolor: #E1E1EF"]http[/TD]
[TD="class: statuscol12, bgcolor: #E1E1EF"]0000:0000[/TD]
[TD="class: statuscol13, bgcolor: #E1E1EF"][/TD]
[TD="class: statuscol14, bgcolor: #E1E1EF"][/TD]
[TD="class: statuscol15, bgcolor: #E1E1EF"]00:58:24
00:03:29[/TD]
[TD="class: statuscol16 statuscol16OK, bgcolor: #E1E1EF"]OK[/TD]
[/TR]
[TR]
[TD="class: subheadline, bgcolor: #CCCCCC, colspan: 12"]
Readers
0​
/1
[/TD]
[/TR]
[TR="class: r"]
[TD="class: statuscol0, bgcolor: #FFF3E7"] [/TD]
[TD="class: statuscol1, bgcolor: #FFF3E7"] [/TD]
[TD="class: statuscol4, bgcolor: #FFF3E7"] [/TD]
[TD="class: statuscol5 statuscol5ON, bgcolor: #FFF3E7"] [/TD]
[TD="class: statuscol7, bgcolor: #FFF3E7"]127.0.0.1[/TD]
[TD="class: statuscol8, bgcolor: #FFF3E7"]0[/TD]
[TD="class: statuscol9, bgcolor: #FFF3E7"]pcsc[/TD]
[TD="class: statuscol12, bgcolor: #FFF3E7"]0000:0000[/TD]
[TD="class: statuscol13, bgcolor: #FFF3E7"][/TD]
[TD="class: statuscol14, bgcolor: #FFF3E7"] [/TD]
[TD="class: statuscol15, bgcolor: #FFF3E7"]00:58:24
00:58:24[/TD]
[TD="class: statuscol16 statuscol16OFF, bgcolor: #FFF3E7"]OFF
[/TD]
[/TR]
[TR]
[TD="class: subheadline, bgcolor: #CCCCCC, colspan: 12"]
Clients
1​
/
1​
(
0​
with ECM within last
25​
seconds)
[/TD]
[/TR]
[TR="class: c"]
[TD="class: statuscol0, bgcolor: #F1F5E6"] [/TD]
[TD="class: statuscol1, bgcolor: #F1F5E6"] [/TD]
[TD="class: statuscol4, bgcolor: #F1F5E6"] [/TD]
[TD="class: statuscol5 statuscol5ON, bgcolor: #F1F5E6"] [/TD]
[TD="class: statuscol7, bgcolor: #F1F5E6"]192.168.0.23[/TD]
[TD="class: statuscol8, bgcolor: #F1F5E6"]8935[/TD]
[TD="class: statuscol9, bgcolor: #F1F5E6"]cccam (2.1.4-3191)[/TD]
[TD="class: statuscol12, bgcolor: #F1F5E6"]0000:0000[/TD]
[TD="class: statuscol13, bgcolor: #F1F5E6"][/TD]
[TD="class: statuscol14, bgcolor: #F1F5E6"][/TD]
[TD="class: statuscol15, bgcolor: #F1F5E6"]00:00:15
00:00:15[/TD]
[TD="class: statuscol16 statuscol16OK, bgcolor: #F1F5E6"]OK[/TD]
[/TR]
[/TABLE]

Hier mein Log beim Starten von Oscam und anschließendem Start von DVBViewer/Acamd
  • 2014/10/04 10:59:12 0 s >> OSCam << cardserver started, version 1.20-unstable_svn, build r9898 (arm-linux-gnueabihf)
  • 2014/10/04 10:59:12 0 s creating pidfile /tmp/.oscam/oscam.pid with pid 352
  • 2014/10/04 10:59:12 0 s userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
  • 2014/10/04 10:59:12 0 s signal handling initialized
  • 2014/10/04 10:59:12 0 s cccam: initialized (fd=5, port=12001)
  • 2014/10/04 10:59:12 0 s kabelbw_sky [pcsc] creating thread for device 0
  • 2014/10/04 10:59:12 0 s loadbalancer: can't read from file /tmp/.oscam/stat
  • 2014/10/04 10:59:12 0 s waiting for local card init
  • 2014/10/04 10:59:12 1764258 r kabelbw_sky [pcsc] Reader initialized (device=0, detect=cd, mhz=357, cardmhz=357)
  • 2014/10/04 10:59:13 1766088 h webif: decompressed 149737 bytes back into 364504 bytes
  • 2014/10/04 10:59:13 1766088 h HTTP Server running. ip=0.0.0.0 port=7777
  • 2014/10/04 10:59:13 1764258 r kabelbw_sky [pcsc] Error getting card status.
  • 2014/10/04 10:59:14 0 s init for all local cards done
  • 2014/10/04 10:59:14 0 s anti cascading disabled
  • 2014/10/04 10:59:14 1764258 r kabelbw_sky [pcsc] Error getting card status.
  • 2014/10/04 10:59:22 0 --- Skipped 7 duplicated log lines ---
  • 2014/10/04 10:59:22 176F518 c encrypted cccam-client 192.168.0.23 granted (cccam, au=auto (1 reader))
  • 2014/10/04 10:59:22 1764258 r kabelbw_sky [pcsc] Error getting card status.
  • 2014/10/04 11:00:23 0 --- Skipped 59 duplicated log lines ---

Meine aktuelle Config:
Server:
oscam.conf
[global]logfile = /dev/tty
nice = -1
maxlogsize = 2048
preferlocalcards = 1
dropdups = 1
failbantime = 1480
failbancount = 10


[cache]


[cccam]
port = 12001
nodeid = DEED68F510141580
version = 2.3.0
reshare = 1


[webif]
httpport = 7777
httphelplang = de
httprefresh = 10
httppollrefresh = 5
httpallowed = 192.168.0.0-192.168.255.255

oscam.user
[account]user = cccam
pwd = cccam
uniq = 1
au = 1
group = 1

oscam.server
[reader]label = kabelbw_sky
protocol = pcsc
device = 0
caid = 098E
boxid = 12345678
detect = cd
group = 1
emmcache = 1,1,2

(als Client verwnede ich aktuell DVBViewer mit acamd)
cardclient.conf
cccamn:192.168.0.26:12001:0/0000/0000:cccam:cccam

ACamd.ini
[ACamd]DisableClientOnBadConnection=0
DisKeyDelay=1
Only184=1
DisableEmmCache=0
DisableDCWCache=0
DisableEcmCache=0
DisplayFilterActions=0
ShowMonitor=0
Active=1
ReadPmtFile=1
DisplayCCcamNShare=0
ReadPMT=1
DeleteUnusedEcm=1
AutoSearch=1
MultiEcm=0
UseChCacheIni=0
DisplayChameleon2Share=0
LockOnConnectionId=1
DCWTweak=1
UseCHIDCacheIni=0
ReadCAT=1
 
Zuletzt bearbeitet von einem Moderator:
Zurück
Oben