4 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE

Chun-fan Ivan Liao ivan at ivangelion.tw
Sun May 31 22:34:29 UTC 2009


On Sun, May 10, 2009 at 8:23 PM, Ion-Mihai Tetcu <itetcu at freebsd.org> wrote:
> On Sun, 10 May 2009 17:08:03 +0800
> Chun-fan Ivan Liao <ivan at ivangelion.tw> wrote:
>
>> OS version: FreeBSD 7.2 RELEASE
>> apcupsd version: 3.14.5
>> UPS model: APC-MGE Back-UPS RS 1000VA (BR1000TW)
>> UPS cable type: usb
>>
>> 3 important lines in /usr/local/etc/apcupsd/apcupsd.conf:
>> ---------
>> UPSCABLE usb
>> UPSTYPE usb
>> DEVICE
>> ---------
>> Other lines are default.
>>
>>
>> Problem Description:
>> 1.
>> The APC box cannot be detected when connected to the FreeBSD system on
>> system boot. (apcupsd_enable="YES" is set in /etc/rc.conf )
>>
>> The associated messages in /var/log/messages:
>> ---------
>> May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd FATAL ERROR in
>> bsd-usb.c at line 735 Cannot find UPS device -- For a link to detailed
>> USB trouble shooting information, please see
>> <http://www.apcupsd.com/support.html>.
>> May 10 16:08:27 aura-cosmetics apcupsd[901]: apcupsd error shutdown
>> completed ---------
>
> Please post your /var/run/dmesg.boot after a roobot.
>

Please see http://www.ivangelion.tw/~cfliao/dmesg.boot.

>> 2.
>> Continuing 1, if I unplug the connecting USB then re-plug it to the
>> same port, the USB cannot be identified.
>>
>> The associated message in /var/log/messages:
>> ---------
>> May 10 16:36:17 aura-cosmetics kernel: uhub0: device problem
>> (TIMEOUT), disabling port 3
>> ---------
>
> I'd say we hava a problem here.
>
> I'd be curios to know if you see the same thing with a kernel w/o usb
> in it and the following klds loaded: usb.ko, ugen.ko, umass.ko
>

The result is the same. I've commented all the usb devices in my
kernel, and put the following 3 lines in /boot/loader.conf:
  usb_load="YES"
  ugen_load="YES"
  umass_load="YES"

>
>
> --
> IOnut - Un^d^dregistered ;) FreeBSD "user"
>  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
> FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
>


More information about the freebsd-questions mailing list