[kde-freebsd] kaffeine-1.0 and webcamd based DVB-T?
Joe Marcus Clarke
marcus at freebsd.org
Tue Aug 24 23:13:02 CEST 2010
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 at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
More information about the kde-freebsd
mailing list