You are not logged in.

#1 2010-12-12 00:52:17

frojnd
Member
Registered: 2008-09-20
Posts: 125

apcupsd won't work

Hi there!

Looks like there are another two similar problems  https://bbs.archlinux.org/search.php?se … =911284806 with the same hardware: 0665:5161 Cypress Semiconductor USB to Serial

Me myself am trying to configure apcupsd.
I'm trying to use UPS with apcupsd for my home server. I've installed apcupsd and successfully run it. But after:

# apcaccess status
I get

Error contacting apcupsd @ localhost:3551: Connection refused

I've searched the google and try to change NISP port in /etc/apcupsd/apcupsd.conf NISPORT 3551 into NISPORT 3552 but this didn't help it at all. Also I already have NISP 0.0.0.0 which was fix for some other users with the same message I get after running apcaccess status.

cat /var/log/messages.log

Dec 12 01:11:15 localhost Cannot find UPS device --
Dec 12 01:11:15 localhost For a link to detailed USB trouble shooting information,
Dec 12 01:11:15 localhost please see <http://www.apcupsd.com/support.html>.

lsusb

Bus 003 Device 008: ID 0665:5161 Cypress Semiconductor USB to Serial

dmesg | grep Cypress

generic-usb 0003:0665:5161.0005: hiddev0,hidraw0: USB HID v1.00 Device [Cypress Semiconductor USB to Serial] on usb-0000:00:02.1-4/input0

So I went to visit: http://www.apcupsd.com/manual/manual.html and I've noticed something in section: http://www.apcupsd.com/manual/manual.ht … usb-issues

Problem
Mandrake 10.0 and 10.1 systems with high security mode enabled (running kernel-secure kernel) use static device nodes but still assign USB minor numbers dynamically. This is evidenced by hiddev0: USB HID v1.10 Device [...] instead of hiddev96: ... in dmesg log.
Workaround
Boot standard kernel instead of kernel-secure or disable CONFIG_USB_DYNAMIC_MINORS and rebuild kernel-secure.

In my dmesg I also have hiddev0. And suggestion is to boot standard kernel instead of kernel-secure. I haven't compile any fancy servers. Just installed archlinux and use it. How do I boot standard kernel? Or does this imply to the section in /boot/grub/menu.lst

normal, standard kernel?

initrd /kernel26.img

Fallback (safe one?)

initrd /kernel26-fallback.img

Server boots into initrd /kernel26.img one. With options: kernel /vmlinuz26 root=/dev/disk/by-uuid/87761037-91a4-43e8-870d-137f6f453bc6 ro
And second question. How to disable CONFIG_USB_DYNAMIC_MINORS and rebuild kernel-secure (and also what is kernel-secure?)

Last edited by frojnd (2010-12-12 00:55:21)

Offline

Board footer

Powered by FluxBB