rules: Add driver name to the USB properties
Makes it easier to see which driver is being used.
This commit is contained in:
parent
bb66780cb5
commit
f1fdd71613
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ static void print_driver (struct fp_driver *driver)
|
|||
printf ("# %s\n", driver->full_name);
|
||||
|
||||
printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
|
||||
printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ENV{LIBFPRINT_DRIVER}=\"%s\"\n", driver->id_table[i].vendor, driver->id_table[i].product, driver->full_name);
|
||||
num_printed++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue