SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all...
I been going to hell and back getting apcupsd working on Slackware 13.37 x86_64
Here is what I get as an error:
2012-08-15 22:07:22 -0500 apcupsd FATAL ERROR in linux-usb.c at line 605
Cannot open UPS device: "/dev/usb/hiddev0" --
For a link to detailed USB trouble shooting information,
please see <http://www.apcupsd.com/support.html>.
2012-08-15 22:07:22 -0500 apcupsd error shutdown completed
My APC device ID:
Bus 006 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
from messages log:
Aug 11 00:12:25 oscuridad kernel: [ 9.492015] usb 6-2: new full speed USB device using uhci_hcd and address 2
Aug 11 00:12:25 oscuridad kernel: [ 9.657080] usb 6-2: New USB device found, idVendor=051d, idProduct=0002
Aug 11 00:12:25 oscuridad kernel: [ 9.660989] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 11 00:12:25 oscuridad kernel: [ 9.664938] usb 6-2: Product: Back-UPS XS 1500G FW:866.L6 .D USB FW:L6
Aug 11 00:12:25 oscuridad kernel: [ 9.668874] usb 6-2: Manufacturer: American Power Conversion
Aug 11 00:12:25 oscuridad kernel: [ 9.672769] usb 6-2: SerialNumber: 4B1224P33122
Aug 11 00:12:25 oscuridad kernel: [ 9.761209] generic-usb 0003:051D:0002.0003: hiddev0,hidraw2: USB HID v1.00 Device [American Power Conversion Back-UPS XS 1500G FW:866.L6 .D USB FW:L6 ] on usb-0000:00:1a.2-2/input0
Hello all...
I been going to hell and back getting apcupsd working on Slackware 13.37 x86_64
Here is what I get as an error:
2012-08-15 22:07:22 -0500 apcupsd FATAL ERROR in linux-usb.c at line 605
Cannot open UPS device: "/dev/usb/hiddev0" --
For a link to detailed USB trouble shooting information,
please see [...].
2012-08-15 22:07:22 -0500 apcupsd error shutdown completed
I appreciate your help but I am not a n00b.
I come here as my last resource.
Than again the simplest things are the one that get us the most :P
But to answer your question... apcupsd is not running.
crw------- 1 root root 180, 96 Aug 16 11:54 /dev/usb/hiddev0
I'm sorry you are feeling like I think you are a noob, it's not like that. Sometimes happen to me that I don't think of the easiest solution. However I have apcupsd running on my machine so you can trust me at least a bit. I just wanted to check if the device exists, permission and type. Can you post your apcupsd.conf ? And also apcupsd version
Earlier you showed dmesg giving the UPS on hiddev0 now it looks like it's on hiddev1
You will need to look more closely at what is happening to work out why it is changing.
that is the real problem! Using an udev rule (as I tried to explain in my first post) you can delegate the task of discovering the effective device assigned to your UPS to the udev subsystem, and you can always use /dev/ups in acpupsd config file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.