[Nut-upsdev] [PATCH] few additions to the nut-usbups.rules
Charles Lepple
clepple at gmail.com
Wed Nov 2 22:40:46 UTC 2011
On Nov 2, 2011, at 2:06 PM, Stanislav Brabec wrote:
> - { 0x0001, 0x0000, &krauler_subdriver }, /* Krauler UP-
> M500VA */
> - { 0xffff, 0x0000, &krauler_subdriver }, /* Ablerex
> 625L USB */
> + { USB_DEVICE(0x0001, 0x0000), &krauler_subdriver }, /* Krauler UP-
> M500VA */
> + { USB_DEVICE(0xffff, 0x0000), &krauler_subdriver }, /* Ablerex
> 625L USB */
Thanks for the patch!
IMHO, we only want NUT to claim these invalid USB IDs if the user
specifically requests it, rather than including it in the base NUT
distribution (think Gstreamer's "ugly" vs "good" plugins.)
Arnaud, do you think it is worthwhile to split this off into a second
udev/hotplug configuration file? (I ask since I think either you or
someone else at Eaton wrote the script that generates the .rules.in
file).
More information about the Nut-upsdev
mailing list