From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 26 16:17:46 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ADBC106571C for ; Tue, 26 Jun 2012 16:17:46 +0000 (UTC) (envelope-from mlist@itservice-schaefer.de) Received: from v220101070074062.yourvserver.net (static.68.133.47.78.clients.your-server.de [78.47.133.68]) by mx1.freebsd.org (Postfix) with ESMTP id 24EC68FC18 for ; Tue, 26 Jun 2012 16:17:46 +0000 (UTC) Received: from [192.168.1.131] (ip-88-153-232-225.unitymediagroup.de [88.153.232.225]) by v220101070074062.yourvserver.net (Postfix) with ESMTPA id 5ED241F414AA; Tue, 26 Jun 2012 18:17:45 +0200 (CEST) Message-ID: <4FE9E0A8.8050409@itservice-schaefer.de> Date: Tue, 26 Jun 2012 18:17:44 +0200 From: =?ISO-8859-15?Q?Timo_Sch=E4fer?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <4FE83768.6000909@itservice-schaefer.de> <4FE9D99F.5000005@itservice-schaefer.de> <4FE9DB34.7010806@itservice-schaefer.de> <201206261804.05819.hselasky@c2i.net> In-Reply-To: <201206261804.05819.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-multimedia@freebsd.org Subject: Re: DVB-C (CT-3650) with UnityMedia CI Module not working X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2012 16:17:46 -0000 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?