* Kernel 2.6.19.2: Belkin UPS on Serial vs. USB
@ 2007-01-26 17:54 Justin Piszcz
2007-01-27 1:51 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Justin Piszcz @ 2007-01-26 17:54 UTC (permalink / raw)
To: linux-kernel, linux-usb; +Cc: Alan Piszcz
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Kernel 2.6.19.2: Belkin UPS on Serial vs. USB
2007-01-26 17:54 Kernel 2.6.19.2: Belkin UPS on Serial vs. USB Justin Piszcz
@ 2007-01-27 1:51 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2007-01-27 1:51 UTC (permalink / raw)
To: Justin Piszcz; +Cc: linux-kernel, linux-usb, Alan Piszcz
On Fri, Jan 26, 2007 at 12:54:02PM -0500, Justin Piszcz wrote:
> 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.
I think this is a userspace issue, as it's a userspace program that is
doing the polling, right? Try asking the developers of it about this.
I think you will find it is a FAQ...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-27 1:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-26 17:54 Kernel 2.6.19.2: Belkin UPS on Serial vs. USB Justin Piszcz
2007-01-27 1:51 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox