initial support for video devices and printer ports
Kay Sievers
kay.sievers at vrfy.org
Mon Sep 13 08:54:07 PDT 2004
On Tue, 2004-08-31 at 23:46 +0200, Kay Sievers wrote:
> On Tue, 2004-08-31 at 21:01 +0200, Kay Sievers wrote:
> > Attached is a patch to add:
> >
> > Support for v4l devices:
> > http://vrfy.org/projects/hal/v4l.png
> > o it supports v4l and v4l2
> > (the v4l2 headers are missing on Fedora, so I copied the one struct in)
> > o we need to define the capabilities ,it's just "video.FIXME" now
>
> Here are basic properties instead of FIXME:
>
> /* set defaults */
> hal_device_property_set_bool (d, "video.can_capture", FALSE);
> hal_device_property_set_bool (d, "video.can_output", FALSE);
> hal_device_property_set_bool (d, "video.has_tuner", FALSE);
> hal_device_property_set_bool (d, "video.has_audio", FALSE);
> hal_device_property_set_int (d, "video.video_channel_count", 0);
> hal_device_property_set_int (d, "video.audio_channel_count", 0);
> hal_device_property_set_string (d, "video.version", "");
I've committed this initial version for support of video4linux devices
now. Suggestions for more properties or different property names are
more than welcome. And a current screenshot here for my very old webcam:
http://vrfy.org/projects/hal/HAL-multimedia.jpg
Thanks,
Kay
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal
More information about the Hal
mailing list