diff --git a/data/autosuspend.hwdb b/data/autosuspend.hwdb index 2e2b591..9850658 100644 --- a/data/autosuspend.hwdb +++ b/data/autosuspend.hwdb @@ -4,6 +4,7 @@ # Supported by libfprint driver aes1610 usb:v08FFp1600* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver aes1660 usb:v08FFp1660* @@ -24,16 +25,19 @@ usb:v08FFp168D* usb:v08FFp168E* usb:v08FFp168F* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver aes2501 usb:v08FFp2500* usb:v08FFp2580* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver aes2550 usb:v08FFp2550* usb:v08FFp2810* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver aes2660 usb:v08FFp2660* @@ -55,19 +59,23 @@ usb:v08FFp268E* usb:v08FFp268F* usb:v08FFp2691* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver aes3500 usb:v08FFp5731* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver aes4000 usb:v5501p08FF* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver egis0570 usb:v1C7Ap0570* usb:v1C7Ap0571* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver elan usb:v04F3p0903* @@ -131,14 +139,17 @@ usb:v04F3p0C63* usb:v04F3p0C6E* usb:v04F3p0C58* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver elanmoc usb:v04F3p0C7E* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver etes603 usb:v1C7Ap0603* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver goodixmoc usb:v27C6p5840* @@ -154,10 +165,12 @@ usb:v27C6p6594* usb:v27C6p659C* usb:v27C6p6A94* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver nb1010 usb:v298Dp1010* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver synaptics usb:v06CBp00BD* @@ -173,21 +186,25 @@ usb:v06CBp0123* usb:v06CBp0126* usb:v06CBp0129* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver upeksonly usb:v147Ep2016* usb:v147Ep1000* usb:v147Ep1001* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver upektc usb:v0483p2015* usb:v147Ep3001* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver upektc_img usb:v147Ep2020* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver uru4000 usb:v045Ep00BC* @@ -197,23 +214,28 @@ usb:v05BAp0007* usb:v05BAp0008* usb:v05BAp000A* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver vcom5s usb:v061Ap0110* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver vfs0050 usb:v138Ap0050* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver vfs101 usb:v138Ap0001* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver vfs301 usb:v138Ap0005* usb:v138Ap0008* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver vfs5011 usb:v138Ap0010* @@ -222,10 +244,12 @@ usb:v138Ap0015* usb:v138Ap0017* usb:v138Ap0018* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Supported by libfprint driver vfs7552 usb:v138Ap0091* ID_AUTOSUSPEND=1 + ID_PERSIST=0 # Known unsupported devices usb:v04F3p036B* @@ -299,3 +323,4 @@ usb:v2808p9338* usb:v298Dp2033* usb:v3538p0930* ID_AUTOSUSPEND=1 + ID_PERSIST=0 diff --git a/libfprint/fprint-list-udev-hwdb.c b/libfprint/fprint-list-udev-hwdb.c index dadb303..2031697 100644 --- a/libfprint/fprint-list-udev-hwdb.c +++ b/libfprint/fprint-list-udev-hwdb.c @@ -166,7 +166,10 @@ print_driver (const FpDeviceClass *cls) } if (num_printed > 0) - g_print (" ID_AUTOSUSPEND=1\n"); + { + g_print (" ID_AUTOSUSPEND=1\n"); + g_print (" ID_PERSIST=0\n"); + } } static int