Date: Tue, 24 Aug 2010 17:13:02 -0400 From: Joe Marcus Clarke <marcus@freebsd.org> To: Hans Petter Selasky <hselasky@freebsd.org> Cc: me@janh.de, kde@freebsd.org, Juergen Lock <nox@jelal.kn-bremen.de>, freebsd-multimedia@freebsd.org, gnome@freebsd.org Subject: Re: kaffeine-1.0 and webcamd based DVB-T? Message-ID: <4C7435DE.7060106@freebsd.org> In-Reply-To: <4C7435AA.50805@freebsd.org> References: <4C66C4BC.4040504@janh.de> <201008230914.30762.hselasky@freebsd.org> <20100824202118.GA38687@triton8.kn-bremen.de> <201008242304.54247.hselasky@freebsd.org> <4C7435AA.50805@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/24/10 5:12 PM, Joe Marcus Clarke wrote:
> On 8/24/10 5:04 PM, Hans Petter Selasky wrote:
>> On Tuesday 24 August 2010 22:21:18 Juergen Lock wrote:
>>> #! /bin/sh
>>> # add PCTV 452e Sat HDTV Pro USB to hal as /dev/dvb/adapter0
>>> hal-device --add usb_device_2304_21f_noserial_dvb_0 <<EOF
>>> dvb.device = '/dev/dvb/adapter0/demux0' (string)
>>> info.capabilities = {'dvb'} (string list)
>>> info.category = 'dvb' (string)
>>> info.parent =
>>> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string)
>>> info.product = 'DVB Device' (string)
>>> info.subsystem = 'dvb' (string)
>>> EOF
>>> hal-device --add usb_device_2304_21f_noserial_dvb_1 <<EOF
>>> dvb.device = '/dev/dvb/adapter0/dvr0' (string)
>>> info.capabilities = {'dvb'} (string list)
>>> info.category = 'dvb' (string)
>>> info.parent =
>>> '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial' (string)
>>> info.product = 'DVB Device' (string)
>>> info.subsystem = 'dvb' (string)
>>> EOF
>>> hal-device --add usb_device_2304_21f_noserial_dvb_2 <<EOF
>>
>> Hi,
>>
>> Could you have changed this into "execve()" calls (man execve) and add these
>> to webcamd.c whenever cuse_dev_create() is called? Also for /dev/videoX
>> entries. Then we don't need to patch HAL?
>
> Yeah, if webcamd can notify hal that new dvb and v4l devices are
> available (and what those devices' capabilities are) then we can remove
> the patches from hal.
Oh, and webcamd's rc.d script will need to be updated to depend on hald.
Joe
--
Joe Marcus Clarke
FreeBSD GNOME Team :: gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7435DE.7060106>
