mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: nut-upsuser@lists.alioth.debian.org
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: 2.6.31.4: USB/UPS connectivity issue on Intel DP55KG Motherboard [DEBUG logs included upsd/upsmon/usbhid-ups]
Date: Sun, 18 Oct 2009 16:23:17 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.00.0910181619360.27363@p34.internal.lan> (raw)
In-Reply-To: <alpine.DEB.2.00.0910140926560.19307@p34.internal.lan>


On Wed, 14 Oct 2009, Justin Piszcz wrote:

>
>
> On Wed, 14 Oct 2009, Justin Piszcz wrote:
>
>> Hi,
>> 
>> I have included debugging logs-- see below, is this a nut or kernel/USB 
>> subsystem issue?
>> 
>> Robert/Nut User List--
>> 
>> Looks like the data goes stale, please let me know if any more 
>> logs/debugging is required, is this a kernel/usb problem or a nut issue? I 
>> recall a change in the USB subsystem a few kernel versions back caused a 
>> different issue (on a different UPS, but nevertheless it was kernel 
>> related).
>

The details+logs are here (previous e-mail did not go through, too large for
the list):
wget http://home.comcast.net/~jpiszcz/20091014/nut-problem.txt

For now I have disabled nut-- is there any more debugging that I can do to
help find/solve the problem?  Also cc'ing linux-usb & linux-kernel on this 
one.

Highlights from the above txt file:

Pinging UPS [apc]
mainloop: polling 3 filedescriptors
Got PONG from UPS [apc]
mainloop: polling 3 filedescriptors
mainloop: no data available
mainloop: polling 3 filedescriptors
sstate_dead: driver for UPS [apc] says data is stale
Data for UPS [apc] is stale - check driver
mainloop: polling 3 filedescriptors
mainloop: no data available
sstate_dead: driver for UPS [apc] says data is stale
mainloop: polling 3 filedescriptors
Sending error [DATA-STALE] to client 127.0.0.1
write: [destfd=6] [len=15] [ERR DATA-STALE]
sstate_dead: driver for UPS [apc] says data is stale
mainloop: polling 3 filedescriptors
mainloop: no data available
sstate_dead: driver for UPS [apc] says data is stale
mainloop: polling 3 filedescriptors

Entering libusb_get_report
Report[get]: (2 bytes) => 50 16
PhyMax = 0, PhyMin = 0, LogMax = 100, LogMin = 0
get_unit_expo: 00000000 found 0
Path: UPS.PowerConverter.PercentLoad, Type: Feature, ReportID: 0x50, Offset: 0, Size: 8, Value: 22.000000
Entering libusb_get_report
Can't retrieve Report 21: Broken pipe
send_to_one: PONG
upsdrv_updateinfo...
Got to reconnect!

The same cable, UPS etc was used on another motherboard for 1-2+ years without
any issue, after moving it to a DP55KG, this problem began.

Justin.

  parent reply	other threads:[~2009-10-18 20:23 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13 21:55 USB/UPS connectivity issue on Intel DP55KG Motherboard Justin Piszcz
2009-10-13 23:56 ` Justin Piszcz
2009-10-14  0:33 ` Robert Hancock
2009-10-14  7:59   ` Justin Piszcz
2009-10-14 13:25     ` [Nut-upsuser] USB/UPS connectivity issue on Intel DP55KG Motherboard [DEBUG logs included upsd/upsmon/usbhid-ups] Justin Piszcz
     [not found]       ` <alpine.DEB.2.00.0910140926560.19307@p34.internal.lan>
2009-10-18 20:23         ` Justin Piszcz [this message]
2009-10-18 20:42           ` 2.6.31.4: " Alan Stern
2009-10-18 21:40             ` Justin Piszcz
2009-10-19 14:23               ` Alan Stern
2009-10-19 14:55                 ` Justin Piszcz
2009-10-19 15:12                   ` Justin Piszcz
2009-10-19 15:13                   ` Alan Stern
2009-10-19 15:08               ` Alan Stern
2009-10-19 15:14                 ` Justin Piszcz

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=alpine.DEB.2.00.0910181619360.27363@p34.internal.lan \
    --to=jpiszcz@lucidpixels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=nut-upsuser@lists.alioth.debian.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

all inboxes | Powered by JetHome®