[kde-freebsd] kaffeine-1.0 and webcamd based DVB-T?

Hans Petter Selasky hselasky at freebsd.org
Tue Aug 24 23:04:54 CEST 2010


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?

--HPS


More information about the kde-freebsd mailing list