public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org,
	Alan Piszcz <ap@solarrain.com>
Subject: Re: Kernel 2.6.19.2: Belkin UPS on Serial vs. USB
Date: Fri, 26 Jan 2007 17:51:04 -0800	[thread overview]
Message-ID: <20070127015104.GA11553@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0701261250470.12467@p34.internal.lan>

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

      reply	other threads:[~2007-01-27  1:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070127015104.GA11553@kroah.com \
    --to=greg@kroah.com \
    --cc=ap@solarrain.com \
    --cc=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox