public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: Hgntkwis@vfemail.net
To: stern@rowland.harvard.edu
Cc: linux-usb@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: I need advice with UPS connection.
Date: Tue, 10 Nov 2020 20:17:35 -0500	[thread overview]
Message-ID: <20201110201735.29a37035@Phenom-II-x6.niklas.com> (raw)
In-Reply-To: <20201110215511.GA208895@rowland.harvard.edu>

On Tue, 10 Nov 2020 16:55:11 -0500
Alan Stern <stern@rowland.harvard.edu> wrote:
> On Mon, Nov 09, 2020 at 10:00:00PM -0500, David Niklas wrote:
> > Hello,
> > I'm running Linux Kernel 5.8.X on a Devuan (Debian) system. I
> > connected my UPS (OPTI-UPS Thunder Shield TS2250B) via USB cable and
> > got:
> > 
> > [739229.454592][T25544] usb 9-4: new low-speed USB device number 2
> > using ohci-pci [739229.635343][T25544] usb 9-4: config index 0
> > descriptor too short (expected 9, got 0) [739229.635348][T25544] usb
> > 9-4: can't read configurations, error -22 [739229.791290][T25544] usb
> > 9-4: new low-speed USB device number 3 using ohci-pci
> > [739229.982414][T25544] usb 9-4: New USB device found, idVendor=0d9f,
> > idProduct=0004, bcdDevice= 0.02 [739229.982421][T25544] usb 9-4: New
> > USB device strings: Mfr=3, Product=1, SerialNumber=2
> > [739229.982426][T25544] usb 9-4: Product: HID UPS Battery
> > [739229.982430][T25544] usb 9-4: Manufacturer: POWERCOM Co.,LTD
> > [739229.982433][T25544] usb 9-4: SerialNumber: 004-0D9F-000
> > [739230.027616][T25544] hid-generic 0003:0D9F:0004.0004:
> > hiddev1,hidraw2: USB HID v1.00 Device [POWERCOM Co.,LTD HID UPS
> > Battery] on usb-0000:00:16.0-4/input0 [739233.484723][T25544] usb
> > 9-4: USB disconnect, device number 3 [739236.257951][T25544] usb 9-4:
> > new low-speed USB device number 4 using ohci-pci
> > [739236.475434][T25544] usb 9-4: New USB device found, idVendor=0d9f,
> > idProduct=0004, bcdDevice= 0.02 [739236.475442][T25544] usb 9-4: New
> > USB device strings: Mfr=3, Product=1, SerialNumber=2
> > [739236.520783][T25544] hid-generic 0003:0D9F:0004.0005:
> > hiddev1,hidraw2: USB HID v1.00 Device [HID 0d9f:0004] on
> > usb-0000:00:16.0-4/input0 [739239.933809][T25544] usb 9-4: USB
> > disconnect, device number 4 [739242.701322][T25544] usb 9-4: new
> > low-speed USB device number 5 using ohci-pci [739242.880035][T25544]
> > usb 9-4: device descriptor read/all, error -62
> > [739243.034561][T25544] usb 9-4: new low-speed USB device number 6
> > using ohci-pci [739243.252040][T25544] usb 9-4: New USB device found,
> > idVendor=0d9f, idProduct=0004, bcdDevice= 0.02
> > [739243.252042][T25544] usb 9-4: New USB device strings: Mfr=3,
> > Product=1, SerialNumber=2 [739243.296444][T25544] hid-generic
> > 0003:0D9F:0004.0006: hiddev1,hidraw2: USB HID v1.00 Device [HID
> > 0d9f:0004] on usb-0000:00:16.0-4/input0 [739246.720152][T25544] usb
> > 9-4: USB disconnect, device number 6 [739249.491330][T13473] usb 9-4:
> > new low-speed USB device number 7 using ohci-pci
> > [739249.718707][T13473] usb 9-4: New USB device found, idVendor=0d9f,
> > idProduct=0004, bcdDevice= 0.02 [739249.718709][T13473] usb 9-4: New
> > USB device strings: Mfr=3, Product=1, SerialNumber=2
> > [739249.718710][T13473] usb 9-4: Product: HID UPS Battery
> > [739249.718711][T13473] usb 9-4: Manufacturer: POWERCOM Co.,LTD
> > [739249.718712][T13473] usb 9-4: SerialNumber: 004-0D9F-000
> > [739249.751173][T13473] hid-generic 0003:0D9F:0004.0007: unknown main
> > item tag 0x0 <snip class="spam-repeated-previous-message">
> > [739250.162392][T13473] hid-generic 0003:0D9F:0004.0007: unknown main
> > item tag 0x0 [739250.162813][T13473] hid-generic 0003:0D9F:0004.0007:
> > hidraw2: USB HID v1.00 Device [POWERCOM Co.,LTD HID UPS Battery] on
> > usb-0000:00:16.0-4/input0 [739253.165518][T13473] usb 9-4: USB
> > disconnect, device number 7 ...
> > 
> > 
> > I'd appreciate any advice trying to get my UPS to stay connected and
> > not spam the kernel log. The UPS is about 1 year old. It's working
> > fine. I just want to use nut or apcupsd with it.
> > 
> > Thanks,
> > David
>
> +Jiri, Ben, and linux-input
> 

I googled Jiri and ben but I don't see anything promising. Can you give
me more search terms or absolute URLs?

Also, in pointing me to the linux-input subsystem, are you recommending
me to write a driver or something else?

Thanks,
David

  reply	other threads:[~2020-11-11  1:18 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-10  3:00 I need advice with UPS connection David Niklas
2020-11-10 21:55 ` Alan Stern
2020-11-11  1:17   ` Hgntkwis [this message]
2020-11-11 15:42     ` Alan Stern
2021-11-14 19:48 ` I need advice with UPS connection. (ping) David Niklas
2021-11-14 21:14   ` Alan Stern
2021-11-15  3:02     ` David Niklas
2021-11-15 16:09       ` Alan Stern
2021-11-15 22:08         ` David Niklas
2021-11-17  5:23         ` David Niklas
2021-11-17 17:08           ` Alan Stern
2021-11-19 22:19             ` David Niklas
2021-11-21  2:54               ` Alan Stern
2021-11-22 16:25                 ` David Niklas
2021-11-22 20:13                   ` Alan Stern
2021-11-22 21:29                     ` Filipe Laíns
2021-11-23 16:33                       ` Benjamin Tissoires
2021-11-24  3:12                         ` David Niklas

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=20201110201735.29a37035@Phenom-II-x6.niklas.com \
    --to=hgntkwis@vfemail.net \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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