Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 06:34:04 +0800
From:      Chun-fan Ivan Liao <ivan@ivangelion.tw>
To:        Ion-Mihai Tetcu <itetcu@freebsd.org>
Cc:        Apcupsd Discussion List <apcupsd-users@lists.sourceforge.net>, freebsd-questions@freebsd.org
Subject:   Re: 4 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE
Message-ID:  <173f52ec0905311534l4e94ee56ofdb481e2248575db@mail.gmail.com>
In-Reply-To: <20090510152310.2ecc3a47@it.buh.tecnik93.com>
References:  <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com>  <20090510152310.2ecc3a47@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 10, 2009 at 8:23 PM, Ion-Mihai Tetcu <itetcu@freebsd.org> wrote=
:
> On Sun, 10 May 2009 17:08:03 +0800
> Chun-fan Ivan Liao <ivan@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=3D"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=3D"YES"
  ugen_load=3D"YES"
  umass_load=3D"YES"

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?173f52ec0905311534l4e94ee56ofdb481e2248575db>