[Nut-upsuser] New problem, new thread (I think)

Gene Heskett gene.heskett at gmail.com
Mon Jan 4 02:28:07 UTC 2010


Greets all;

I was just booted to mdv-2010-x64 where I found my lack of sound problems.  
Whoopy ding...

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:
nut:x:57:ups

From the /etc/passwd file:
nut:x:57:57:Network UPS Tools:/var/lib/ups:/bin/false
ups:x:506:506::/home/ups:/bin/bash

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.

Ideas anybody?

Maybe I found it, an lsof|grep hiddev0 spits out:
hald-addo 3157      root    4r      CHR      180,0       0t0       1416 
/dev/hiddev0

Killed, as was the 52 script  in /etc/hal/fdi.  Reboot time.

Thanks all.

-- 
Cheers, Gene
"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 mailing list