From owner-freebsd-questions@FreeBSD.ORG Sun May 31 22:34:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF67210656CC for ; Sun, 31 May 2009 22:34:27 +0000 (UTC) (envelope-from admin@ivangelion.tw) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.221.173]) by mx1.freebsd.org (Postfix) with ESMTP id 9D0E88FC1B for ; Sun, 31 May 2009 22:34:25 +0000 (UTC) (envelope-from admin@ivangelion.tw) Received: by qyk3 with SMTP id 3so10462363qyk.3 for ; Sun, 31 May 2009 15:34:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.74.212 with SMTP id v20mr1516029qcj.16.1243809264142; Sun, 31 May 2009 15:34:24 -0700 (PDT) In-Reply-To: <20090510152310.2ecc3a47@it.buh.tecnik93.com> References: <173f52ec0905100208sda471d2q31534ca168650d63@mail.gmail.com> <20090510152310.2ecc3a47@it.buh.tecnik93.com> From: Chun-fan Ivan Liao Date: Mon, 1 Jun 2009 06:34:04 +0800 Message-ID: <173f52ec0905311534l4e94ee56ofdb481e2248575db@mail.gmail.com> To: Ion-Mihai Tetcu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Apcupsd Discussion List , freebsd-questions@freebsd.org Subject: Re: 4 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 22:34:29 -0000 On Sun, May 10, 2009 at 8:23 PM, Ion-Mihai Tetcu wrote= : > On Sun, 10 May 2009 17:08:03 +0800 > Chun-fan Ivan Liao 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 >> . >> 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 >