Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36162 - apcupsd usb type fix for udev
Summary: apcupsd usb type fix for udev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-20 01:46 UTC by Derk W te Bokkel
Modified: 2004-10-27 04:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derk W te Bokkel 2003-12-20 01:46:42 UTC
apcupsd will not find /dev/usb/hid/hiddev[0-9] when using udev
matching /dev/hiddev[0-9]  will exist .. either create appropriate
directories ( /dev/usb/hid/ and then symlink to appropriate /dev/hiddev[0-9]

or edit /etc/apcupsd/apcupsd.conf and change DEVICE line from

DEVICE /dev/usb/hid/hiddev[0-9]  

 to

DEVICE /dev/hiddev[0-9]

either way works. Second is more general as the software will auto scan multiple hiddev[0-9] devices for the correct one.

the most general fix (third option) would be to adjust the software to automaticly adjust to this form of device desciption.

Derk
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-04-02 15:52:24 UTC
This isn't a udev issue, but is a acpupsd config issue.
Comment 2 Michael Imhof (RETIRED) gentoo-dev 2004-10-27 04:27:26 UTC
this is a general acpupsd config problem.
They provide sample configs in apcupsd.conf.
I don't see the point to change this via the ebuild. Our users should be able to fix that issue when they are touching the config file to set up apcupsd.
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-10-27 04:36:54 UTC
Fixing in cvs as its trivial.
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2004-10-27 04:38:49 UTC
Fixed in .15-r1.

thanks for your help.