diff options
-rw-r--r-- | multimedia/webcamd/Makefile | 1 | ||||
-rw-r--r-- | multimedia/webcamd/files/webcamd.conf.in | 13 |
2 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/webcamd/Makefile b/multimedia/webcamd/Makefile index d542d9cc9ca6..60bf8744312e 100644 --- a/multimedia/webcamd/Makefile +++ b/multimedia/webcamd/Makefile @@ -7,6 +7,7 @@ PORTNAME= webcamd PORTVERSION= 0.1.18 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://www.selasky.org/hans_petter/video4bsd/releases/ diff --git a/multimedia/webcamd/files/webcamd.conf.in b/multimedia/webcamd/files/webcamd.conf.in index c1f79bbd20e0..0a21c0353dce 100644 --- a/multimedia/webcamd/files/webcamd.conf.in +++ b/multimedia/webcamd/files/webcamd.conf.in @@ -1,7 +1,18 @@ +# Generic USB video devices. notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; - match "intclass" "(0x0e|0xff)"; + match "intclass" "0x0e"; + action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev"; +}; + +# Logitech USB webcams. +notify 100 { + match "system" "USB"; + match "subsystem" "INTERFACE"; + match "type" "ATTACH"; + match "vendor" "0x046d"; + match "intclass" "0xff"; action "env LD_PRELOAD=%%LIBHAL%%%%LIBCUSE%% %%PREFIX%%/etc/rc.d/webcamd start $cdev"; }; |