Summary: | sys-power/nut-2.0.5-r2 udev rules don't work quite right | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Stutzman <gentoo> |
Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | javier |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Stutzman
2008-01-26 14:58:05 UTC
The first line is the rule I added to /etc/udev/rules.d/70-nut-usbups.rules to make it match properly and adjust the permissions successfully. kernel info: # uname -rm 2.6.23-gentoo-r6 x86_64 It's been like this for a few kernel versions now, at least since the 2.6.22 series. I can't remember exactly when it started to not work anymore. It seems USB device-class devices were deprecated in 2.6.22 (kernel option CONFIG_USB_DEVICE_CLASS). More details here: http://thread.gmane.org/gmane.comp.monitoring.nut.devel/2591 Have tried the patch proposed by Arnaud Quette and works for me. BTW, it's already included in nut-2.2.1. Compiling the kernel witch CONFIG_USB_DEVICE_CLASS support should also resolve the problem. But haven't tried as the other option it's the better one. Hope this helps a bit. 2.2.2 is in the tree now, so this is obsolete I think |