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:
parent
f8aa82a554
commit
48ec64f683
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ static void print_driver (struct fp_driver *driver)
|
||||||
if (blacklist)
|
if (blacklist)
|
||||||
continue;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue