Date: Fri, 12 Jun 2009 13:15:47 +0800 From: Chun-fan Ivan Liao <ivan@ivangelion.tw> To: freebsd-usb@freebsd.org Cc: itetcu@freebsd.org Subject: 2 apcupsd problems using USB to connect on FreeBSD 7.2-RELEASE AMD64 Message-ID: <173f52ec0906112215o4a17788fp9ebc121f39575ebe@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
MB: GIGABYTE GA-MA78GM-US2H OS version: FreeBSD 7.2 RELEASE amd64 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 ((using "DEVICE ugen0" yields the same problem)) --------- 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 --------- But if APC UPS is connected to the system after the system has been started, it can be identified by the system, and running apcupsd start or apctest is just ok. Also, if I disable all USB-related configuraton in kernel and load usb.ko & ugen.ko manually after the sytem has been started, the APC UPS can be identified and running "apcupsd start" now will do just fine. (if using /boot/loader.conf to automatically load 2 modules, the problem still occurs) 2. Continuing 1, if I don't use those ad-hoc, and 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 --------- Here is my system information: # less /var/run/dmesg.boot: http://www.ivangelion.tw/~cfliao/dmesg.boot # pciconf -vl > pciconf http://www.ivangelion.tw/~cfliao/pciconf # acpidump -dt > aura-acpidump.asl http://www.ivangelion.tw/~cfliao/aura-acpidump.asl Any help will be greatly appreciated. Best Regards, Chun-fan Ivan Liao http://ivangelion.tw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?173f52ec0906112215o4a17788fp9ebc121f39575ebe>