hal/tools/device-manager Representation.py,1.9,1.10
Kay Sievers
kay at freedesktop.org
Mon Sep 13 08:45:03 PDT 2004
Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv10481/tools/device-manager
Modified Files:
Representation.py
Log Message:
2004-09-13 Kay Sievers <kay.sievers at vrfy.org>
* hald/linux/multimedia_class_device.c:
(multimedia_class_device_accept), (multimedia_class_pre_process):
New file for initial support of video4linux devices. It's just
a starting point and we need more input from users of v4l
devices. For a simple webcam it currently looks like this:
multimedia.device = '/udev/video0' (string)
info.category = 'multimedia' (string)
multimedia.video.can_capture = true (bool)
multimedia.audio.has_audio = false (bool)
multimedia.tuner.has_tuner = false (bool)
multimedia.linux.version = 'v4l' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_5a9_a511_100_-1_noserial' (string)
* hald/linux/osspec.c: Add the new multimedia_class_handler to
probe for video device properties on device discovery
* tools/device-manager/Representation.py: Change "video" to
"multimedia" to have a nice icon for the screenshots :)
Index: Representation.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Representation.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Representation.py 9 Aug 2004 18:33:29 -0000 1.9
+++ Representation.py 13 Sep 2004 15:45:01 -0000 1.10
@@ -67,7 +67,7 @@
icon = self.icons["keyboard"]
elif cat=="pcmcia_socket":
icon = self.icons["cardbus"]
- elif cat=="video":
+ elif cat=="multimedia":
icon = self.icons["video"]
elif cat=="camera":
icon = self.icons["camera"]
More information about the hal-commit
mailing list