From 167de3822301a2799416da26eda2542fb31df4ee Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Wed, 17 May 2017 16:43:52 +0200 Subject: [PATCH] debian/libfprint0.postinst: Add new calls to "udevadm --trigger" to also properly set the permissions to the newest supported readers. --- debian/changelog | 4 ++- debian/libfprint0.postinst | 56 +++++++++++++++++++++++++++++++++++--- 2 files changed, 55 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 368ded66..4ef241b0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,8 +13,10 @@ libfprint (1:0.7.0-1) UNRELEASED; urgency=medium - Drop libmagickcore-dev build-dep and add libpixman-1-dev instead, ImageMagick is not supported since 0.6.0 * Add debian/watch file + * debian/libfprint0.postinst: Add new calls to "udevadm --trigger" to + also properly set the permissions on the newest supported readers. - -- Laurent Bigonville Tue, 16 May 2017 12:47:16 +0200 + -- Laurent Bigonville Wed, 17 May 2017 16:40:52 +0200 libfprint (1:0.6.0-2) unstable; urgency=low diff --git a/debian/libfprint0.postinst b/debian/libfprint0.postinst index ee7b3e71..1b27c671 100644 --- a/debian/libfprint0.postinst +++ b/debian/libfprint0.postinst @@ -10,11 +10,12 @@ if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2 # NOTA BENE: after the DEBHELPER section since dh_installudev # adds stuff there udevadm trigger --action=add --attr-match=idVendor=0483 --attr-match=idProduct=2016 - udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2016 - udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2020 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=5731 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=5501 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2500 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2580 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2550 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2810 udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bb udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bc udevadm trigger --action=add --attr-match=idVendor=045e --attr-match=idProduct=00bd @@ -23,10 +24,57 @@ if [ "$1" = "configure" -o "$1" = "upgrade" ] && command -V udevadm >/dev/null 2 udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=0008 udevadm trigger --action=add --attr-match=idVendor=05ba --attr-match=idProduct=000a udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=0110 - udevadm trigger --action=add --attr-match=idVendor=061a --attr-match=idProduct=1000 + udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2016 + udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=1000 + udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=1001 udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1600 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1660 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1680 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1681 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1682 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1683 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1684 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1685 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1686 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1687 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1688 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=1689 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168a + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168b + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168c + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168d + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168e + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=168f + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2660 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2680 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2681 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2682 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2683 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2684 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2685 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2686 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2687 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2688 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2689 + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268a + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268b + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268c + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268d + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268e + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=268f + udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2691 udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0001 - udevadm trigger --action=add --attr-match=idVendor=08ff --attr-match=idProduct=2810 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0005 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0008 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0010 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0011 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0017 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0018 + udevadm trigger --action=add --attr-match=idVendor=0483 --attr-match=idProduct=2015 + udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=3001 + udevadm trigger --action=add --attr-match=idVendor=147e --attr-match=idProduct=2020 + udevadm trigger --action=add --attr-match=idVendor=1c7a --attr-match=idProduct=0603 + udevadm trigger --action=add --attr-match=idVendor=138a --attr-match=idProduct=0050 fi exit 0