[Nut-upsuser] New problem, new thread (I think)
gene.heskett at gmail.com
Mon Jan 4 02:28:07 UTC 2010
I was just booted to mdv-2010-x64 where I found my lack of sound problems.
But when I rebooted to fedora, now the driver cannot disconnect and gain
access to the ups.
I installed the 52-nut udev file in /etc/udev.d, and it reads that it should
setup /dev/hiddev0 like this and with 0664 perms when it finds that ups:
crw-rw-r-- 1 root nut 180, 0 2010-01-03 20:51 /dev/hiddev0
where hiddev0 is the ups port.
But now the usbdrvctl, using usbhid-ups as the driver, reports:
[root at coyote etc]# upsdrvctl start
Network UPS Tools - UPS driver controller 2.4.1
Network UPS Tools - Generic HID driver 0.34 (2.4.1)
USB communication driver 0.31
Can't claim USB device [050d:0751]: could not detach kernel driver from
interface 0: Operation not permitted
Driver failed to start (exit status=1)
From the /etc/group file:
From the /etc/passwd file:
nut:x:57:57:Network UPS Tools:/var/lib/ups:/bin/false
The passwd for ups is in both the passwd file, and AFAIK in the nut config
files, and they match. And this was working pretty good before I rebooted.
Maybe I found it, an lsof|grep hiddev0 spits out:
hald-addo 3157 root 4r CHR 180,0 0t0 1416
Killed, as was the 52 script in /etc/hal/fdi. Reboot time.
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Emerson's Law of Contrariness:
Our chief want in life is somebody who shall make us do what we
can. Having found them, we shall then hate them for it.
More information about the Nut-upsuser