From owner-freebsd-multimedia@FreeBSD.ORG Tue Jun 26 19:55:44 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9292B1065678 for ; Tue, 26 Jun 2012 19:55:44 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1CD498FC16 for ; Tue, 26 Jun 2012 19:55:43 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 293547725; Tue, 26 Jun 2012 21:55:37 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Tue, 26 Jun 2012 21:55:21 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <4FE83768.6000909@itservice-schaefer.de> <4FE9FF30.9070103@itservice-schaefer.de> <20120626185135.GA73840@triton8.kn-bremen.de> In-Reply-To: <20120626185135.GA73840@triton8.kn-bremen.de> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201206262155.21739.hselasky@c2i.net> Cc: 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 19:55:44 -0000 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? --HPS