On Thu, Aug 19, 2010 at 08:13:48PM -0400, Joe Marcus Clarke wrote:
On 8/19/10 12:17 PM, Juergen Lock wrote:
In article 4c6704a6.3050...@freebsd.org you write:
On 08/14/2010 18:30, Jan Henrik Sylvester wrote:
KDE3-Kaffeine was working with my webcamd based DVB-T stick,
KDE4-Kaffeine does not.
Now that multimedia/kaffeine is the KDE4 version and the KDE3 version
gone, is there a way to teach Kaffeine about the DVB-T stick? (Channel
Scan does not show any Source.)
I remember there was a thread about this, but I currently cannot find it.
Unfortunately i don't have a supported DVB stick, so i can't test anything.
kaffeine uses the v4l-compat headers so in theory it should work like in
Linux...
Does your stick work with other applications like mplayer or vlc?
I now know what's wrong: Unlike the old kaffeine which looked for
dvb devices itself, the KDE4 version relies on x11/kdelibs4 to
find them (Solid/DvbInterface, src/dvb/dvbdevice_linux.cpp
in kaffeine sources), which in turn relies on sysutils/hal
(solid/solid/backends/hal/haldvbinterface.cpp in kdelibs), and
at least hal doesn't know about dvb devices on FreeBSD yet, they
are only handled in hald/linux/device.c in hal sources. I've
Cc'd the hal and kdelibs port maintainers in case they want to
look at this...
Hal does support v4l (and thus webcamd) right now. I added that for
GNOME 2.30. I didn't do any dvb support. I may need some examples of
dmesg and sysctl to make this happen.
(Note: I also found a bug in the current hal webcamd v4l handling,
more about that below. [1] )
The devices don't show up in sysctl since they are handled by webcamd
too, dmesg here only says:
ugen5.2: Pinnacle at usbus5
ugen5.3: Afatech at usbus5
(the first one is dvb-s2, the second one dual dvb-t.)
lshal on FreeBSD has this about them:
udi = '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial'
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_noserial_4'
(string)
info.product = 'PCTV452e' (string)
info.subsystem = 'usb_device' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial'
(string)
info.vendor = 'Pinnacle' (string)
usb_device.bus_number = 5 (0x5) (int)
usb_device.can_wake_up = true (bool)
usb_device.configuration = '' (string)
usb_device.configuration_value = 1 (0x1) (int)
usb_device.device_class = 0 (0x0) (int)
usb_device.device_protocol = 0 (0x0) (int)
usb_device.device_revision_bcd = 512 (0x200) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.is_self_powered = false (bool)
usb_device.level_number = 1 (0x1) (int)
usb_device.max_power = 10 (0xa) (int)
usb_device.num_configurations = 1 (0x1) (int)
usb_device.num_interfaces = 1 (0x1) (int)
usb_device.num_ports = 0 (0x0) (int)
usb_device.port_number = 2 (0x2) (int)
usb_device.product = 'PCTV452e' (string)
usb_device.product_id = 543 (0x21f) (int)
usb_device.serial = '' (string)
usb_device.speed = 480.0 (480) (double)
usb_device.speed_bcd = 294912 (0x48000) (int)
usb_device.vendor = 'Pinnacle' (string)
usb_device.vendor_id = 8964 (0x2304) (int)
usb_device.version = 2.0 (2) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial_if0'
info.bus = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial'
(string)
info.product = 'PCTV452e' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_2304_21f_noserial_if0'
(string)
info.vendor = 'Pinnacle' (string)
usb.bus_number = 5 (0x5) (int)
usb.can_wake_up = true (bool)
usb.configuration = '' (string)
usb.configuration_value = 1 (0x1) (int)
usb.device_class = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.device_revision_bcd = 512 (0x200) (int)
usb.device_subclass = 0 (0x0) (int)
usb.interface.class = 255 (0xff) (int)
usb.interface.description = '' (string)
usb.interface.number = 0 (0x0) (int)
usb.interface.protocol = 0 (0x0) (int)
usb.interface.subclass = 0 (0x0) (int)
usb.is_self_powered = false (bool)
usb.level_number = 1 (0x1) (int)
usb.max_power = 10 (0xa) (int)
usb.num_configurations = 1 (0x1) (int)
usb.num_interfaces = 1 (0x1) (int)
usb.num_ports = 0 (0x0) (int)
usb.port_number = 2 (0x2) (int)
usb.product = 'PCTV452e' (string)
usb.product_id = 543 (0x21f) (int)
usb.serial = '' (string)
usb.speed = 480.0 (480) (double)
usb.speed_bcd = 294912 (0x48000) (int)
usb.vendor = 'Pinnacle' (string)
usb.vendor_id = 8964 (0x2304) (int)
usb.version = 2.0 (2) (double)
and:
udi = '/org/freedesktop/Hal/devices/usb_device_1462_8801_noserial'
info.bus = 'usb_device' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_0_0_noserial_4'
(string)
info.product = 'DVB-T 2' (string)