Results 1 to 9 of 9
I have slackware 10.2, attached to an Back-UPS, and im trying to run the apcupsd-3.12, im getting the follow errors when running apctest
Code:
root@nas2:/home/Bodega/apcupsd-3.12.3# apctest
2006-05-13 12:36:52 apctest 3.12.3 ...
- 05-13-2006 #1Just Joined!
- Join Date
- May 2006
- Posts
- 7
cannot run apcupsd on slackware 10.2
I have slackware 10.2, attached to an Back-UPS, and im trying to run the apcupsd-3.12, im getting the follow errors when running apctest
this it my /proc/bus/usb/devices:Code:root@nas2:/home/Bodega/apcupsd-3.12.3# apctest 2006-05-13 12:36:52 apctest 3.12.3 (26 April 2006) slackware Checking configuration ... Attached to driver: usb sharenet.type = DISABLE cable.type = USB_CABLE You are using a USB cable type, so I'm entering USB test mode mode.type = USB_UPS Setting up the port ... apctest FATAL ERROR in linux-usb.c at line 649 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see <http://www.apcupsd.com/support.html>. apctest FATAL ERROR in linux-usb.c at line 649 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see <http://www.apcupsd.com/support.html>. apctest error termination completed root@nas2:/home/Bodega/apcupsd-3.12.3#
this is my dmegs log:Code:S: Manufacturer=American Power Conversion S: Product=Back-UPS BR 800 FW:9.o2 .D USB FW:o2 S: SerialNumber=QB0344331508 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 24mA I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=hid E: Ad=81(I) Atr=03(Int.) MxPS= 6 Ivl=10ms T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI-alt Root Hub S: SerialNumber=df80 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
this is my /proc/bus/usb/driversCode:Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005 usb.c: registered new driver usbdevfs usb.c: registered new driver hub PCI: Found IRQ 11 for device 01:0b.2 PCI: Sharing IRQ 11 with 01:0d.0 ehci_hcd 01:0b.2: VIA Technologies, Inc. USB 2.0 ehci_hcd 01:0b.2: irq 11, pci mem d0ae1c00 usb.c: new USB bus registered, assigned bus number 1 ehci_hcd 01:0b.2: USB 2.0 enabled, EHCI 0.95, driver 2003-Dec-29/2.4 hub.c: USB hub found hub.c: 4 ports detected uhci.c: USB Universal Host Controller Interface driver v1.1 PCI: Found IRQ 11 for device 00:1f.2 PCI: Setting latency timer of device 00:1f.2 to 64 uhci.c: USB UHCI at I/O 0xef40, IRQ 11 usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 10 for device 00:1f.4 PCI: Sharing IRQ 10 with 01:0b.0 PCI: Setting latency timer of device 00:1f.4 to 64 uhci.c: USB UHCI at I/O 0xef80, IRQ 10 usb.c: new USB bus registered, assigned bus number 3 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 9 for device 01:0b.1 PCI: Sharing IRQ 9 with 00:1f.3 PCI: Sharing IRQ 9 with 00:1f.5 uhci.c: USB UHCI at I/O 0xdf80, IRQ 9 usb.c: new USB bus registered, assigned bus number 4 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 10 for device 01:0b.0 PCI: Sharing IRQ 10 with 00:1f.4 uhci.c: USB UHCI at I/O 0xdf40, IRQ 10 usb.c: new USB bus registered, assigned bus number 5 hub.c: USB hub found hub.c: 2 ports detected hub.c: new USB device 01:0b.2-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x4b4/0x6830) is not claimed by any active driver. PCI: Found IRQ 9 for device 00:1f.5 PCI: Sharing IRQ 9 with 00:1f.3 PCI: Sharing IRQ 9 with 01:0b.1 PCI: Setting latency timer of device 00:1f.5 to 64 intel8x0_measure_ac97_clock: measured 42740 usecs intel8x0: clocking to 41133 hub.c: new USB device 01:0b.0-2, assigned address 2 pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: shpc_init : shpc_cap_offset == 0 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 usb.c: USB device 2 (vend/prod 0x51d/0x2) is not claimed by any active driver. pci_hotplug: PCI Hot Plug PCI Core version: 0.5 pciehp: PCI Express Hot Plug Controller Driver version: 0.5 i810_rng: RNG not detected hw_random: RNG not detected hub.c: new USB device 00:1f.4-2, assigned address 2 hub.c: USB hub found hub.c: 4 ports detected Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi1 : SCSI emulation for USB Mass Storage devices Vendor: IC35L120 Model: AVV207-0 Rev: 0 0 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi disk sda at scsi1, channel 0, id 0, lun 0 SCSI device sda: 241254720 512-byte hdwr sectors (123522 MB) sda: sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. usb.c: registered new driver hiddev usb.c: registered new driver hid pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: shpc_init : shpc_cap_offset == 0 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 pci_hotplug: PCI Hot Plug PCI Core version: 0.5 pciehp: PCI Express Hot Plug Controller Driver version: 0.5 i810_rng: RNG not detected hw_random: RNG not detected hiddev0: USB HID v1.10 Device [American Power Conversion Back-UPS BR 800 FW:9.o2 .D USB FW:o2 ] on usb5:2.0 hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice
Code:usbdevfs hub usb-storage 96-111: hiddev hid
Do i have to create a node or somehting?
Thanks in advance?
- 05-15-2006 #2Just Joined!
- Join Date
- May 2006
- Posts
- 7
what means: apctest FATAL ERROR in linux-usb.c at line 649 ?
- 08-10-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 4
apcuspd line 649 error, possible solution
I have slack 10.0 and found this tidbit hidden in some docs somewhere...
it fixed my line 649 error messages...
Apcupsd accesses USB UPSes via the hiddev device nodes. Typically these are located in /dev/hiddevN, /dev/usb/hiddevN or /dev/usb/hiddev/hiddevN (where N is a digit 0 thru 9). Some distributions (some Debian releases, possibly others) do not provides these device nodes for you, so you will have to make them yourself. Check /dev, /dev/usb, and /dev/usb/hiddev and if you cannot find the hiddevN nodes, run (as root) the examples/make-hiddev script from the apcupsd source distribution.
- 08-10-2006 #4Just Joined!
- Join Date
- May 2006
- Posts
- 7
and thats it?
its the only thing i should do?
- 08-11-2006 #5Just Joined!
- Join Date
- Aug 2006
- Posts
- 4
ahh, Found the source...
Originally Posted by sugar
http://www.apcupsd.com/manual/USB_Configuration.html
Well. Obviously do the config, I personally used
./configure --enable-powerflute --enable-usb --enable-net
with these apcupsd.conf values.
UPSCABLE usb
UPSTYPE usb
DEVICE
BATTERYLEVEL 25
- 08-11-2006 #6Just Joined!
- Join Date
- Aug 2006
- Posts
- 4
Btw, my setup may still not be perfected yet. I've done the various power tests as suggested in docs...
OK, brief powerfailure - unplug, replug
OK, long powerfailure - unplug to cause shutdown
The UPS doesn't seem to physically shut off, which of course prevent's a proper test of a clean startup when the power returns.
I see a quick error message just before the server shuts down, but I'll have to film it with my camera or videorecorder to see what it says.
I physically push the button on the ups to completely powerdown the ups. Then I plug it back in and push the button again to start it up... which also brings up the servers. definitely not quite ideal. yet.
- 08-11-2006 #7Just Joined!
- Join Date
- May 2006
- Posts
- 7
what model of ups are u using?
- 08-14-2006 #8Just Joined!
- Join Date
- Aug 2006
- Posts
- 4
American Power Conversion Smart-UPS 1000
from /var/log/messages:
kernel: hiddev0: USB HID v1.10 Device [American Power Conversion Smart-UPS 1000 FW:600.3.D USB FW:1.5] on usb3:2.0
from apcaccess:
CABLE : USB Cable
MODEL : Smart-UPS 1000
UPSMODE : Stand Alone
FIRMWARE : 00.3.D USB FW:1.5
APCMODEL : Smart-UPS 1000
- 10-05-2006 #9Just Joined!
- Join Date
- Oct 2006
- Posts
- 1
slack 10.2 APC UPS weirdness
I have an APC XS 1500 (RS 1500 according to dmesg), running slackware 10.2. One time after I rebooted, the UPS was attached and showed up in /sys/bus/usb, dmesg, etc., but for whatever reason apctest WOULD NOT run until I unplugged the data cable from the UPS and plugged it back in. After that, everything was fine.


Reply With Quote
