Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 18:17:44 +0200
From:      =?ISO-8859-15?Q?Timo_Sch=E4fer?= <mlist@itservice-schaefer.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: DVB-C (CT-3650) with UnityMedia CI Module not working
Message-ID:  <4FE9E0A8.8050409@itservice-schaefer.de>
In-Reply-To: <201206261804.05819.hselasky@c2i.net>
References:  <4FE83768.6000909@itservice-schaefer.de> <4FE9D99F.5000005@itservice-schaefer.de> <4FE9DB34.7010806@itservice-schaefer.de> <201206261804.05819.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 26.06.2012 18:04, schrieb Hans Petter Selasky:
> On Tuesday 26 June 2012 17:54:28 Timo Schäfer wrote:
>> Am 26.06.2012 17:47, schrieb Timo Schäfer:
>>> Am 26.06.2012 17:37, schrieb Hans Petter Selasky:
>>>> On Monday 25 June 2012 17:48:05 Timo Schäfer wrote:
>>>>> ./adapter0/ca0
>>>> Can you use the device shown above?
>>>>
>>>> --HPS
>>> how? vdr is not talking to it / does not detect it.
>>>
>>> under linux vdr looks at the attached ci module and inserted smartcard
>>> to unscramble
>>> the channel if needed.
>>>
>>> with my freebsd setup vdr does not detect the ci module and cannot use
>>> the smartcard
>>> to open the scrambled channels.
>>>
>>> crw-rw----  1 webcamd  webcamd    0,  97 Jun 26 17:40 ca0
>>>
>>> has the needed rights, but i guess its not used/detected.
>> Ah there is something in /var/log/messages:
>>
>> Jun 26 14:00:20 barney vdr: [680406016] ERROR: can't get info of CAM
>> slot 0 on device 0: Invalid argument
>> Jun 26 14:00:28 barney last message repeated 15 times
> Hi,
>
>> does not look good but that seems to be the problem.
> Maybe it is a known IOCTL issue. Some IOCTL needs to be fixed before they can
> be used, because the RW flags are not correct.
>
> Try figuring out what IOCTL this is with ktrace or something like that. Or
> simply grep in the code for that error message. Then see if the RW flags are
> correct.
>
> --HPS
vdr in messages also complained about

Jun 26 18:08:14 barney vdr: [679494400] ERROR (tools.c,375): 
/var/cache/vdr: Permission denied

so i chmod -R 777 /var/cache/vdr

now i got:
Jun 26 18:10:51 barney vdr: [680401920] CAM 1: module present

but scrambled channels are still not openend, even with detected CAM.

Thats what messages complains now, funny that it still complains about 
permission denied
at /var/cache/vdr:

[root@barney /var/cache/vdr]# ls -al /var/cache/vdr/
total 20
drwxrwxrwx  5 root  wheel  512 May 17 10:29 .
drwxr-x---  4 root  wheel  512 May 17 00:15 ..
drwxrwxrwx  2 vdr   vdr    512 May 17 00:15 infosatepg
drwxrwxrwx  2 vdr   vdr    512 May 17 10:29 upnp
drwxrwxrwx  2 vdr   vdr    512 May 17 02:08 vtx


Jun 26 18:10:51 barney vdr: [680421120] [live] ERROR: Unable to load 
cert/key 
(/usr/local/etc/vdr/plugins/live/live.pem//usr/local/etc/vdr/plugins/live/live-key.pem): 
No such file or directory
Jun 26 18:11:21 barney vdr: [679494400] ERROR (tools.c,375): 
/var/cache/vdr: Permission denied
Jun 26 18:11:45 barney vdr: [717269248] ERROR (thread.c,239): Permission 
denied
Jun 26 18:11:45 barney vdr: [717270016] ERROR (thread.c,239): Permission 
denied
Jun 26 18:11:49 barney vdr: [680408064] ERROR: read from client (HTTP) 
192.168.0.174:57903 failed: Connection reset by peer
Jun 26 18:11:49 barney vdr: [717269248] ERROR: streamdev-server: 
couldn't send data: Bad file descriptor
Jun 26 18:11:59 barney vdr: [717269248] ERROR (thread.c,239): Permission 
denied
Jun 26 18:11:59 barney vdr: [680401152] ERROR (thread.c,239): Permission 
denied


maybe this output helps?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FE9E0A8.8050409>