Kernel 2.6.19.2: Belkin UPS on Serial vs. USB



When I disconnect my UPS from the wall, I have to wait 15-30 seconds
before the USB drier 'polls' this information and tells me that the UPS is
on battery power (via knutclient or syslog via nut):

ups@p34 POWER ALERT on Fri Jan 26 12:49:29 EST 2007

With a serial connection, I would get the alerts IMMEDIATELY (0.5-1
seconds) after disconnecting the UPS. My new machine does not have a
serial port built-in, only a serial header, and of course does not come
with an included cable, so I chose to use USB.

My question is, how do I change the polling time for the USB subsystem to
match that of the serial port, or would I not want to do that for other
reasons?

The reason I'd like to is I am not going to see any power alerts for
unless there is a power outage for longer than 15-30 seconds.

Justin.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Nut,usb and installation
    ... Markku Kolkka wrote: ... > ups, you must set it to the nut driver used for your UPS (or ... > Wasn't your UPS connected through USB, not the serial port? ...
    (Fedora)
  • Re: Serial Port CE_OVERRUN errors
    ... machines, especially when EMM386 or HIMEM.SYS were loaded. ... and then you could watch the readings catch up. ... My early experiments proved that the serial port of the PC should be able to ... We had some major problems with commercial USB to Serial converters, ...
    (comp.lang.pascal.delphi.misc)
  • UPS on FreeBSD
    ... I have attached a UPS to FreeBSD host using USB cable provided by APC. ... addr 1: UHCI root hub, ...
    (freebsd-questions)
  • Re: [opensuse] Attempting (and failing) to use my UPS
    ... I'm attempting to make use of my new UPS, connecting it via USB to the ... ACL localhost 127.0.0.1/32 ... NOTIFYFLAG ONLINE SYSLOG ...
    (SuSE)
  • LINEERR_RESOURCEUNAVAIL using USB port
    ... my cell phone to a serial port, and point TAPI to COM1, all is fine. ... Seems like all the new phones have USB ... therefore getting a driver is impossible. ... this image) I find that the USB port is COM4, ...
    (microsoft.public.win32.programmer.tapi)