ugen lockups with apcupsd
Adam Kropelin
akropel1 at rochester.rr.com
Mon Apr 18 18:42:58 PDT 2005
Mike Tancsa wrote:
> Hi,
> I have been trying out the apcupsd program with an APC
> RS-1500 on FreeBSD via the ugen interface. On my VIA box, the machine
> locks up
> solid within a short period of time after starting the daemon.
This is a known bug and is fixed by a patch I posted to apcupsd-users. The
BSD UHCI driver has a tendency to leave transfers on the queue when they
complete 'short' (i.e., with fewer bytes than expected). This happens often
in apcupsd-3.10.17 due to some poor coding on my part, but can also happen
on UPSes having broken firmware that sends fewer bytes than the report
descriptor claims. (These UPSes do not deadlock on Linux, so I think there
is still a BSD UHCI bug here, but luckily it can be worked around in
apcupsd.)
Patch against apcupsd-3.10.17 attached. Let me know if it solves the problem
for you.
--Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apcupsd-freebsd-usb-lockup-fix-2.patch
Type: application/octet-stream
Size: 9544 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-usb/attachments/20050418/3507c658/apcupsd-freebsd-usb-lockup-fix-2.obj
More information about the freebsd-usb
mailing list