Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3711235pxu; Mon, 30 Nov 2020 08:46:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWA/ySIAjUNHXtjpwUtikoiiH/QiJQh5Sx3nO8UoX1TOvo0AhbtQ7Gl30AUPbo6ix/k5xE X-Received: by 2002:a19:b46:: with SMTP id 67mr9112445lfl.488.1606754779917; Mon, 30 Nov 2020 08:46:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606754779; cv=none; d=google.com; s=arc-20160816; b=RQ+N5DVNyfWE7a7CKRzj8FbozIgtpizWDYwE95U8NG2v7I3rok7dJMcDVMZJXp8+fT BbGX/t5yI2Izz+jjopUZOTcguqk53PIE53qx8ek5JRvCIu7yAQf44XNt3j2O5NH6GUsE lVhPuwNg3X96HajzHre00fCc9wrkgOJcnB/+xmO4v9HO2Uh4G4oFe4dwx2WqwUFVamZE BHT4D7MFDWJTknKKGgo1BVrl22K9KMWwTePkDHac0BF6NyhbfggWNbtgq2asFdwn9+U8 sZnCA1ARQF/xY6j7dlTpZmAbgLRluCGIYzFUBemddZmDa4XgHBnnmku6V005n76tZZ+2 tbOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:date:message-id:from:references:cc:to :subject; bh=b4L3ebwpi0B9i2oD4pNXmLbZoI0Ys6cKNEfjfJWZigw=; b=ukxXPiDmu6EtvAJsMec5Yi2VemrMdQL2ORcebGbiNbYPwqaZBlB1OcLQe5sQD952UN Hgso9sNQIhuwzyslNvRlg5mFPA2jptC5MOGhjy7uioOrjEvFoxSVOkjTqCSR0OYaXW8Q 19w8LnCjOAkhi9hS+UpXnSG0YQTmRFDBXbH37ASiUex3QddJ/tHCcC5j6sWamI3AeFwp s3eQcuMxrjS3pr59voenwB7YKNm4Hu7Q26IC3ee1Nvb16dixlb3Io2gWc2PsU916jpN3 rw2xGj3Q6TjXFX5jW2JPNmN20kLndZ5IIsbx6DKO4cKmQTaikULsjqL4mOJfg+w2NwMg OjZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx3si10888113ejb.735.2020.11.30.08.45.55; Mon, 30 Nov 2020 08:46:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbgK3Ql4 (ORCPT + 99 others); Mon, 30 Nov 2020 11:41:56 -0500 Received: from mx1.yrkesakademin.fi ([85.134.45.194]:58114 "EHLO mx1.yrkesakademin.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727154AbgK3Qlz (ORCPT ); Mon, 30 Nov 2020 11:41:55 -0500 X-Greylist: delayed 943 seconds by postgrey-1.27 at vger.kernel.org; Mon, 30 Nov 2020 11:41:54 EST Subject: Re: [PATCH] hwmon: corsair-psu: update supported devices To: Wilken Gottwalt , Thomas Backlund CC: Jonas Malaco , , "Jean Delvare" , Guenter Roeck , "Jonathan Corbet" , References: <20201128113524.24f4f56f@monster.powergraphx.local> <4917cc59-aa35-7fb1-d2d0-75039523816f@iki.fi> <20201130154915.760923fd@monster.powergraphx.local> From: Backlund Thomas Message-ID: <6185cc04-da71-5b68-0bc8-931af6fa2dc9@iki.fi> Date: Mon, 30 Nov 2020 18:25:30 +0200 MIME-Version: 1.0 In-Reply-To: <20201130154915.760923fd@monster.powergraphx.local> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: sv Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Den 30.11.2020 kl. 16:49, skrev Wilken Gottwalt: > On Mon, 30 Nov 2020 14:43:44 +0200 > Thomas Backlund wrote: > >> Den 28.11.2020 kl. 12:35, skrev Wilken Gottwalt: >>> On Sat, 28 Nov 2020 02:37:38 -0300 >>> Jonas Malaco wrote: >>> >>>> On Thu, Nov 26, 2020 at 8:43 AM Wilken Gottwalt >>>> 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 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