Re: hal, udev and video4linux probers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, May 10, 2009 at 3:58 PM, Kay Sievers <kay.sievers@xxxxxxxx> wrote:
> Here is small hack using libudev, that enumerates all capture-capable
> video devices, and listens for new devices connected, or devices going
> away.

Thank you :)
It will surely be quite useful when implementing detection, either
directly in cheese or in gstreamer.
Isn't there a match_property function for udev_monitor too?

Anyway, I just noticed that 70-v4l_id.rules is not being installed at
the moment. Attaching a simple patch.

Cheers,
Filippo
From 6780ddd33ce405aaaabc40a8ab8ebd8ef75599b6 Mon Sep 17 00:00:00 2001
From: Filippo Argiolas <filippo.argiolas@xxxxxxxxx>
Date: Sun, 10 May 2009 17:43:50 +0200
Subject: [PATCH] Properly install v4l rules

---
 v4l_id/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/v4l_id/Makefile.am b/v4l_id/Makefile.am
index 0943496..f0b5144 100644
--- a/v4l_id/Makefile.am
+++ b/v4l_id/Makefile.am
@@ -3,4 +3,8 @@ include $(top_srcdir)/Makefile.am.inc
 udevhomedir = $(udev_prefix)/lib/udev
 udevhome_PROGRAMS = v4l_id
 
+udevrulesdir = $(udev_prefix)/lib/udev/rules.d
+dist_udevrules_DATA = \
+	70-v4l_id.rules
+
 v4l_id_SOURCES = v4l_id.c
-- 
1.6.0.4


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux