Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Backlund Thomas <tmb@iki.fi>
To: Wilken Gottwalt <wilken.gottwalt@posteo.net>,
	Thomas Backlund <tmb@iki.fi>
Cc: Jonas Malaco <jonas@protocubo.io>, <linux-kernel@vger.kernel.org>,
	"Jean Delvare" <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>,
	"Jonathan Corbet" <corbet@lwn.net>, <linux-hwmon@vger.kernel.org>
Subject: Re: [PATCH] hwmon: corsair-psu: update supported devices
Date: Mon, 30 Nov 2020 18:25:30 +0200	[thread overview]
Message-ID: <6185cc04-da71-5b68-0bc8-931af6fa2dc9@iki.fi> (raw)
In-Reply-To: <20201130154915.760923fd@monster.powergraphx.local>

Den 30.11.2020 kl. 16:49, skrev Wilken Gottwalt:
> On Mon, 30 Nov 2020 14:43:44 +0200
> Thomas Backlund <tmb@iki.fi> wrote:
>
>> Den 28.11.2020 kl. 12:35, skrev Wilken Gottwalt:
>>> On Sat, 28 Nov 2020 02:37:38 -0300
>>> Jonas Malaco <jonas@protocubo.io> wrote:
>>>
>>>> On Thu, Nov 26, 2020 at 8:43 AM Wilken Gottwalt
>>>> <wilken.gottwalt@posteo.net> wrote:
>>>>> Adds support for another Corsair PSUs series: AX760i, AX860i, AX1200i,
>>>>> AX1500i and AX1600i. The first 3 power supplies are supported through
>>>>> the Corsair Link USB Dongle which is some kind of USB/Serial/TTL
>>>>> converter especially made for the COM ports of these power supplies.
>>>>> There are 3 known revisions of these adapters. The AX1500i power supply
>>>>> has revision 3 built into the case and AX1600i is the only one in that
>>>>> series, which has an unique usb hid id like the RM/RX series.
>>>> Can I ask what AXi power supplies were tested?
>>>>
>>>> I ask because, based on the user-space implementations I am aware of,
>>>> the AXi dongle protocol appears to be different from the RMi/HXi series.
>>> I was not able to test this against the AX power supplies, they are really
>>> hard to find (and are far to expensive). But I went through all these tools
>>> and stuck to the most common commands, which all 3 series support. Not every
>>> series supports all commands (there also seem to be different firmwares in
>>> the micro-conrollers). But this is fine, some sensors will show up as N/A.
>>> Even my HX850i does not support all commands covered in this driver.
>>>
>> What kind of tests do you want / need ?
>>
>> I have an AX860i here.
> Oh nice. Lets start with an usb info dump. Can you give me the full dump of
> lsusb -vd <device> of the Corsair USB dongle?

$ lsusb  -vd  1b1c:1c00

Bus 011 Device 005: ID 1b1c:1c00 Corsair Controller for Corsair Link
Device Descriptor:
   bLength                18
   bDescriptorType         1
   bcdUSB               1.10
   bDeviceClass            0
   bDeviceSubClass         0
   bDeviceProtocol         0
   bMaxPacketSize0        64
   idVendor           0x1b1c Corsair
   idProduct          0x1c00 Controller for Corsair Link
   bcdDevice            1.00
   iManufacturer           1 Silicon Labs
   iProduct                2 Corsair Link TM USB Dongle
   iSerial                 3 R7480347
   bNumConfigurations      1
   Configuration Descriptor:
     bLength                 9
     bDescriptorType         2
     wTotalLength       0x0020
     bNumInterfaces          1
     bConfigurationValue     1
     iConfiguration          0
     bmAttributes         0x80
       (Bus Powered)
     MaxPower              100mA
     Interface Descriptor:
       bLength                 9
       bDescriptorType         4
       bInterfaceNumber        0
       bAlternateSetting       0
       bNumEndpoints           2
       bInterfaceClass       255 Vendor Specific Class
       bInterfaceSubClass      0
       bInterfaceProtocol      0
       iInterface              2 Corsair Link TM USB Dongle
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x81  EP 1 IN
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0040  1x 64 bytes
         bInterval               0
       Endpoint Descriptor:
         bLength                 7
         bDescriptorType         5
         bEndpointAddress     0x01  EP 1 OUT
         bmAttributes            2
           Transfer Type            Bulk
           Synch Type               None
           Usage Type               Data
         wMaxPacketSize     0x0040  1x 64 bytes
         bInterval               0
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
   (Bus Powered)

--

Thomas



  reply	other threads:[~2020-11-30 16:41 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-26 11:40 [PATCH] hwmon: corsair-psu: update supported devices Wilken Gottwalt
2020-11-27 15:39 ` Guenter Roeck
2020-11-28  5:37 ` Jonas Malaco
2020-11-28 10:35   ` Wilken Gottwalt
2020-11-28 20:21     ` Jonas Malaco
2020-11-29  6:36       ` Wilken Gottwalt
2020-11-29 13:00         ` Guenter Roeck
2020-11-29 15:54           ` Wilken Gottwalt
2020-11-29 21:59             ` Guenter Roeck
2020-11-30  5:22               ` Wilken Gottwalt
2020-11-30 10:53                 ` Jonas Malaco
2020-11-30 14:46                   ` Wilken Gottwalt
2020-11-30 14:50                 ` Guenter Roeck
2020-11-30 12:43     ` Thomas Backlund
2020-11-30 14:49       ` Wilken Gottwalt
2020-11-30 16:25         ` Backlund Thomas [this message]
2020-12-01  7:24           ` Wilken Gottwalt
2020-12-01 15:20             ` Thomas Backlund

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=6185cc04-da71-5b68-0bc8-931af6fa2dc9@iki.fi \
    --to=tmb@iki.fi \
    --cc=corbet@lwn.net \
    --cc=jdelvare@suse.com \
    --cc=jonas@protocubo.io \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=wilken.gottwalt@posteo.net \
    /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