On Thursday 14 February 2008, Krzysztof Halasa wrote:
ATM, its plugged into a USB port, but for some reason was not recognized at
the last bootup. And I just installed the rpm for a newer version of apcupsd
when I found apcupsd was logging an error and exiting about 2 seconds after
being started by the 'service' utility. So I'm a bit puzzled. From the
dmesg at boot time there is no mention of it being found, from the current
dmesg, after unplugging the USB cable from the back of it and replugging it
about a second later, and got this:
[180077.652645] usb 1-1.1: USB disconnect, address 6
[180080.387154] usb 1-1.1: new low speed USB device using ehci_hcd and address
11
[180080.586706] usb 1-1.1: configuration #1 chosen from 1 choice
[180081.339062] hiddev97hidraw3: USB HID v1.11 Device [Belkin Belkin UPS] on
usb-0000:00:02.2-1.1
As to why it wasn't found at bootup, call me bumfuzzled. Uptime is about 2d
3h and I wasn't aware it wasn't running until I wanted to see if anything was
different about how it handled my belkin, which is not well, but it does take
care of the graceful shutdown.
I just found this:
[root@coyote ~]# dmesg |grep -A2 'address 6'
[ 30.990194] usb 1-1.1: new low speed USB device using ehci_hcd and address
6
[ 31.183832] usb 1-1.1: configuration #1 chosen from 1 choice
[ 31.190504] usb 1-1.1: can't set config #1, error -32
--
[180077.652645] usb 1-1.1: USB disconnect, address 6
[180080.387154] usb 1-1.1: new low speed USB device using ehci_hcd and address
11
[180080.586706] usb 1-1.1: configuration #1 chosen from 1 choice
So something wasn't available at bootup. And I'm still puzzled...
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The most important early product on the way to developing a good product
is an imperfect version.
--