1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add devd rule for a Logitech gamepad.

Submitted by:	Rozhuk Ivan <rozhuk.im@gmail.com>
Approved by:	pi@
This commit is contained in:
Hans Petter Selasky 2018-12-13 14:49:16 +00:00
parent 05d39d3dde
commit f1237b8597
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487369
2 changed files with 18 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= webcamd
PORTVERSION= 4.20.0.1
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://www.selasky.org/hans_petter/distfiles/ \
http://home.selasky.org/distfiles/

View File

@ -51,3 +51,20 @@ notify 100 {
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
};
# Logitech gamepad
notify 100 {
match "system" "USB";
match "subsystem" "INTERFACE";
match "type" "ATTACH";
match "vendor" "0x046d";
match "product" "0xc216";
match "intclass" "0x03";
match "intsubclass" "0x00";
match "intprotocol" "0x00";
action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface";
};