[Nut-upsuser] mge pc 675 does not work with usb-hidups
Arjen de Korte
nut+users at de-korte.org
Mon Dec 31 10:12:19 UTC 2007
> Le samedi 29 décembre 2007 01:10, John L. Korpi a écrit :
>> I had the same problem with the 2.2.0 on Gentoo (kernel 2.2.23) until I
>> turned this on and built a new kernel:
>>
>> CONFIG_USB_DEVICE_CLASS=y
>>
>> John
>
> [--root at xxxxxx 22:43:19 /boot] cat config-2.6.22.13-0.3-default |grep
> CONFIG_USB_DEVICE_CLASS
> # CONFIG_USB_DEVICE_CLASS is not set
>
> Thanks for your very kind answer. That implies a full recompilation of my
> kernel. And i would have to do it at every update. Though i don't fear
> this task, i'd prefer a shorter solution, if possible ?
Recompiling the kernel is not needed. Your previous message already
confirmed this is a permissions problem, since it runs fine if you add
the '-u root' option to the startup of the driver. The most likely cause
is that the 'upsd' user is not a member of the 'uucp' group. You can
verify this by running (as root)
# groups upsd
The 'uucp' group should be listed. It most likely is not, so you'll have
to make the 'upsd' member of this group by running
# useradd -G uucp upsd
After that, replug the USB connection or reboot the whole system.
Best regards, Arjen
More information about the Nut-upsuser
mailing list