Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2012 21:55:21 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-multimedia@freebsd.org
Cc:        Juergen Lock <nox@jelal.kn-bremen.de>
Subject:   Re: DVB-C (CT-3650) with UnityMedia CI Module not working
Message-ID:  <201206262155.21739.hselasky@c2i.net>
In-Reply-To: <20120626185135.GA73840@triton8.kn-bremen.de>
References:  <4FE83768.6000909@itservice-schaefer.de> <4FE9FF30.9070103@itservice-schaefer.de> <20120626185135.GA73840@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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