mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Fix udev control path
Newer kernels uses power/control for USB suspend setup, not power/level. Fix the udev rules generation.
This commit is contained in:
committed by
Bastien Nocera
parent
f8aa82a554
commit
48ec64f683
@@ -52,7 +52,7 @@ static void print_driver (struct fp_driver *driver)
|
||||
if (blacklist)
|
||||
continue;
|
||||
|
||||
printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", ATTR{power/level}=\"auto\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
|
||||
printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", ATTR{power/control}=\"auto\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user