From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 26 20:44:06 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 90530106566B for ; Tue, 26 Jun 2012 20:44:06 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 461758FC12 for ; Tue, 26 Jun 2012 20:44:06 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 951371E006FF; Tue, 26 Jun 2012 22:43:59 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q5QKKpu3077151; Tue, 26 Jun 2012 22:20:51 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q5QKKpcP077150; Tue, 26 Jun 2012 22:20:51 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 26 Jun 2012 22:20:51 +0200 To: Hans Petter Selasky Message-ID: <20120626202051.GA77124@triton8.kn-bremen.de> References: <4FE83768.6000909@itservice-schaefer.de> <4FE9FF30.9070103@itservice-schaefer.de> <20120626185135.GA73840@triton8.kn-bremen.de> <201206262155.21739.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201206262155.21739.hselasky@c2i.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org, Juergen Lock 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 20:44:06 -0000 On Tue, Jun 26, 2012 at 09:55:21PM +0200, Hans Petter Selasky wrote: > On Tuesday 26 June 2012 20:51:35 Juergen Lock wrote: > > Index: webcamd/files/patch-media_tree-include-linux-dvb-ca.h > > @@ -0,0 +1,20 @@ > > +--- media_tree/include/linux/dvb/ca.h.orig > > ++++ media_tree/include/linux/dvb/ca.h > > +@@ -80,9 +80,17 @@ typedef struct ca_pid { > > + > > + #define CA_RESET _IO('o', 128) > > + #define CA_GET_CAP _IOR('o', 129, ca_caps_t) > > ++ > > ++/* At least CA_GET_SLOT_INFO and CA_GET_MSG need to be _IOWR not _IOR. > > ++ * This is wrong on Linux too but there the driver doesn't care. > > ++ * > > + #define CA_GET_SLOT_INFO _IOR('o', 130, ca_slot_info_t) > > + #define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t) > > + #define CA_GET_MSG _IOR('o', 132, ca_msg_t) > > ++ */ > > ++#define CA_GET_SLOT_INFO _IOWR('o', 130, ca_slot_info_t) > > ++#define CA_GET_DESCR_INFO _IOR('o', 131, ca_descr_info_t) > > ++#define CA_GET_MSG _IOWR('o', 132, ca_msg_t) > > + #define CA_SEND_MSG _IOW('o', 133, ca_msg_t) > > + #define CA_SET_DESCR _IOW('o', 134, ca_descr_t) > > + #define CA_SET_PID _IOW('o', 135, ca_pid_t) > > Hi, > > Is it OK if this patch goes into the next webcamd release, or is a patch in > ports OK for now? A patch in ports is fine, as I posted it. Thanx, :) Juergen