On 01/09/2010 05:39, Warren Block wrote:
On Fri, 8 Jan 2010, Frank wrote:

On Fri, 8 Jan 2010, Steven Friedrich wrote:

Option "AllowEmptyInput" "off"
EndSection

Comment out the line containing AllowEmptyInput.

OK, this took care of the nothing-works-unless-mouse-is-moved problem
but why do I get this? It's keeping apcupsd from starting.

Ace /usr/ports # usbdevs -d -v
usbdevs: no USB controllers found

I'd guess that usbdevs is obsolete, part of the old USB system.

Ace /usr/ports # usbconfig
ugen0.1: <OHCI root HUB nVidia> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen1.1: <EHCI root HUB nVidia> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen0.2: <Back-UPS XS 1200 FW:8.g1 .D USB FW:g1 American Power
Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen0.3: <USB Optical Mouse vendor 0x0461> at usbus0, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON
ugen0.4: <Dell USB Keyboard Dell> at usbus0, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON

Do you have DEVICE /dev/ugen0.2 in apcupsd.conf?

I don't understand why usbdevs can't find any controllers and apcupsd
can't find any device while the kernel and usbconfig can find it all.

upsdevs: probably obsolete. As for apcupsd, I don't think it can
auto-scan for USB devices, but haven't used it with USB.

I have:

FreeBSD avoriaz.restart.bel 8.0-RELEASE FreeBSD 8.0-RELEASE #0 r199628M: Tue Nov 24 21:38:07 CET 2009 r...@avoriaz.restart.bel:/usr/obj/usr/src/sys/AVORIAZ amd64

usbconfig:
ugen0.2: <Back-UPS CS 650 FW:817.v4.I USB American Power Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON

apcupsd.conf:
UPSNAME Back-UPS-CS-650
UPSCABLE usb
UPSTYPE usb
DEVICE

apcupsd is working with this config.

Henri



-Warren Block * Rapid City, South Dakota USA
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to