LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-13-2006, 03:07 PM   #1
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Rep: Reputation: 15
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

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 it my /proc/bus/usb/devices:
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 dmegs log:
Code:
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
this is my /proc/bus/usb/drivers
Code:
         usbdevfs
         hub
         usb-storage
 96-111: hiddev
         hid

Do i have to create a node or somehting?
Thanks in advance?
 
Old 05-13-2006, 04:15 PM   #2
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
In the install instructions there is a section for usb.
It will tell you what you need do. I'm not presently using apcupsd on my 10.2, but used to. Install instructions are in the web page as well
 
Old 05-15-2006, 11:12 AM   #3
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
i read the enrire usb section and the possible solution for my problem is not to use a secure kernel, or recompile the kernel with the recommended usb options, i not using a secure kernel, i recompiled my kernel with the recommended usb options, and the result are the same...

what are you using instead apcupsd?

Aldo
 
Old 05-15-2006, 12:07 PM   #4
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
Quote:
Originally Posted by sugar2
what are you using instead apcupsd?
Nothing. Power failures are rare now.

I'm using the 2.4 kernel, never compiled.

I remember that it was necessary to do this as required in the USB Configuration subsection: " 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."

So you should see what you need in the "examples" file.

Last edited by WilliamS; 05-15-2006 at 12:11 PM.
 
Old 05-15-2006, 12:12 PM   #5
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
i have SmartUPS devices with serial interfaces and they work like a charm with apcupsd... why is so hard to do it whith usb??????
OMG
 
Old 05-15-2006, 12:16 PM   #6
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
what means apctest FATAL ERROR in linux-usb.c at line 649 ?
 
Old 05-15-2006, 04:13 PM   #7
WilliamS
Member
 
Registered: Nov 2003
Location: 46N 76W
Distribution: Slackware 14.1
Posts: 380

Rep: Reputation: 31
You should ask these questions of the people at:
https://lists.sourceforge.net/lists/.../apcupsd-users

they are much better able to answer them.
 
Old 05-15-2006, 04:16 PM   #8
sugar2
Member
 
Registered: Feb 2006
Distribution: Debian 40r0
Posts: 103

Original Poster
Rep: Reputation: 15
thansk i will ask there right now
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apcupsd problem JSLayton Linux - Software 1 01-24-2006 10:38 AM
Trying to install apcupsd. Carpinus Linux - Software 5 08-10-2005 08:19 PM
apcupsd gui? PowerMatt Linux - Software 1 09-06-2004 06:14 PM
I have a problema using APCUPSD Dapernia Linux - Hardware 0 07-21-2003 04:46 PM
gui for apcupsd tatwell Linux - Software 2 07-14-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration