diff options
author | Jonathan Anderson <jonathan@FreeBSD.org> | 2018-06-18 13:26:23 +0000 |
---|---|---|
committer | Jonathan Anderson <jonathan@FreeBSD.org> | 2018-06-18 13:26:23 +0000 |
commit | 76cad80d9815142ae491de126304809a3dede2ad (patch) | |
tree | 12f0087ab7e83ce556c5da35adfe8fad88791767 /multimedia/webcamd | |
parent | 10467c8d9bd671a6a973d9269658a11965273b53 (diff) | |
download | ports-76cad80d9815142ae491de126304809a3dede2ad.tar.gz ports-76cad80d9815142ae491de126304809a3dede2ad.zip |
Add devd rule for Elantech touchscreens.
The touchscreen in the HP Spectre x360 is made by Elantech rather than
Wacom. Adding this devd rule starts webcamd properly for such devices,
enabling their use with the X evdev driver.
Approved by: hselasky
Differential Revision: https://reviews.freebsd.org/D8397
Notes
Notes:
svn path=/head/; revision=472691
Diffstat (limited to 'multimedia/webcamd')
-rw-r--r-- | multimedia/webcamd/files/webcamd.conf.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/webcamd/files/webcamd.conf.in b/multimedia/webcamd/files/webcamd.conf.in index d9937fb268ef..b9a05db3b03d 100644 --- a/multimedia/webcamd/files/webcamd.conf.in +++ b/multimedia/webcamd/files/webcamd.conf.in @@ -39,3 +39,15 @@ notify 100 { match "vendor" "0x056a"; action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface"; }; + +# Elantech touchscreen +notify 100 { + match "system" "USB"; + match "subsystem" "INTERFACE"; + match "type" "ATTACH"; + + match "vendor" "0x04f3"; + match "product" "0x2071"; + + action "%%PREFIX%%/etc/rc.d/webcamd start $cdev $interface"; +}; |