Video4Linux device capabilities

David Zeuthen david at fubar.dk
Tue May 1 18:56:15 PDT 2007


On Tue, 2007-04-24 at 00:47 +0300, Guillem Jover wrote:
> Hi,
> 
> I was checking the v4l support as the n770 has a radio and webcam, and
> the n800 has a webcam, and saw that some time ago [0] the capabilities
> of the v4l devices were exposed through some keys under the multimedia
> namespace, but that was removed [1] after some cleanup, the only reason
> I could find in the changelog was that the functionality was going to
> be reimplemented in the new code, and then it was forgotten?
> 
> If that's it, I could ressurrect the code by Kay and put the v4l
> capabilities namespacesd in the info.capabilities key, after
> discussion of which cap names would be appropriate.

This works fine for me though

 http://people.freedesktop.org/~david/hal-v4l.png

Maybe your driver isn't pointing back to the physical device?

$ ls -l /sys/class/video4linux/video0/
total 0
-rw-r--r-- 1 root root 4096 2007-05-01 21:55 button
-r--r--r-- 1 root root 4096 2007-05-01 21:53 dev
lrwxrwxrwx 1 root root    0 2007-05-01 21:53 device -> ../../../devices/pci0000:00/0000:00:1d.0/usb1/1-1
-r--r--r-- 1 root root 4096 2007-05-01 21:55 name
-rw-r--r-- 1 root root 4096 2007-05-01 21:55 pan_tilt
lrwxrwxrwx 1 root root    0 2007-05-01 21:53 subsystem -> ../../../class/video4linux
--w------- 1 root root 4096 2007-05-01 21:55 uevent

      David




More information about the hal mailing list