Re: [Nut-upsuser] FreeBSD rc.d scripts or shutdown howto?

2007-08-22 Thread Daniel O'Connor
On Wed, 22 Aug 2007, Bryan wrote: On 22/08/07, Daniel O'Connor [EMAIL PROTECTED] wrote: I guess you aren't using the port then.. It installs /usr/ports/sysutils/nut/files/nut*.sh.in (after replacing certain items). So it does! I've now found those files (just where you said) still

[Nut-upsuser] lost USB comms under FreeBSD

2007-08-22 Thread Charles Lepple
[was: Re: [Nut-upsuser] FreeBSD rc.d scripts or shutdown howto?] On 8/22/07, Daniel O'Connor [EMAIL PROTECTED] wrote: On Wed, 22 Aug 2007, Bryan wrote: The trouble I'm now having is that UPS communication just stops for no apparent reason. Data goes stale and I get the broadcasts about the

Re: [Nut-upsuser] FreeBSD rc.d scripts or shutdown howto?

2007-08-22 Thread Bryan
On 22/08/07, Daniel O'Connor [EMAIL PROTECTED] wrote: I just use RS232 ports and be done with it - I don't know how to track down the problem is :( A shame it has to come down to that -- but I believe I have indeed reached then end of the road for all practical purposes. You're lucky,

Re: [Nut-upsuser] lost USB comms under FreeBSD

2007-08-22 Thread Bryan
On 23/08/07, Charles Lepple [EMAIL PROTECTED] wrote: What I saw with tripplite_usb (where the USB descriptor for the device tells the OS to poll 10-100 times a second) is that the driver does not poll frequently enough, and an interrupt transfer buffer fills up in the OS. Due to the way that

Re: [Nut-upsuser] lost USB comms under FreeBSD

2007-08-22 Thread Daniel O'Connor
On Wed, 22 Aug 2007, Charles Lepple wrote: NUT drivers poll the UPS every so often, which works fine on systems where a single libusb call results in a single USB transaction. In FreeBSD (and probably other BSD systems as well), interrupt transfers are scheduled periodically, even if the

Re: [Nut-upsuser] lost USB comms under FreeBSD

2007-08-22 Thread Charles Lepple
On 8/22/07, Daniel O'Connor [EMAIL PROTECTED] wrote: On Wed, 22 Aug 2007, Charles Lepple wrote: NUT drivers poll the UPS every so often, which works fine on systems where a single libusb call results in a single USB transaction. In FreeBSD (and probably other BSD systems as well), interrupt

Re: [Nut-upsuser] lost USB comms under FreeBSD

2007-08-22 Thread Daniel O'Connor
On Thu, 23 Aug 2007, Charles Lepple wrote: On 8/22/07, Daniel O'Connor [EMAIL PROTECTED] wrote: On Wed, 22 Aug 2007, Charles Lepple wrote: NUT drivers poll the UPS every so often, which works fine on systems where a single libusb call results in a single USB transaction. In FreeBSD

Re: [Nut-upsuser] FreeBSD rc.d scripts or shutdown howto?

2007-08-22 Thread Daniel O'Connor
On Thu, 23 Aug 2007, Bryan wrote: On 22/08/07, Daniel O'Connor [EMAIL PROTECTED] wrote: I just use RS232 ports and be done with it - I don't know how to track down the problem is :( A shame it has to come down to that -- but I believe I have indeed reached then end of the road for all