![]() ![]() ![]() */ #include #include #include #include #include #include #include #include #include #define USB_VENDOR_ID_CORSAIR 0x1b1c #define USB_PRODUCT_ID_CORSAIR_COMMANDERPROĐx0c10 #define USB_PRODUCT_ID_CORSAIR_1000D 0x1d00 #define OUT_BUFFER_SIZE 63 #define IN_BUFFER_SIZE 16 #define LABEL_LENGTH 11 #define REQ_TIMEOUT 300 #define CTL_GET_TMP_CNCTĐx10 /* * returns in bytes 1-4 for each temp sensor: * 0 not connected * 1 connected */ #define CTL_GET_TMP 0x11 /* * send: byte 1 is channel, rest zero * rcv: returns temp for channel in centi-degree celsius * in bytes 1 and 2 * returns 0x11 in byte 0 if no sensor is connected */ #define CTL_GET_VOLT 0x12 /* * send: byte 1 is rail number: 0 = 12v, 1 = 5v, 2 = 3. When using hidraw and this driver * simultaniously, reports could be switched. With Corsair not having ported their Corsair Link software to Linux, an. This thermal/cooling/lighting controller is seeing Linux support via a third-party driver. There's also now a German translation and device previews can be resized.// SPDX-License-Identifier: GPL-2.0-or-later /* * corsair-cpro.c - Linux driver for Corsair Commander Pro * Copyright (C) 2020 Marius Zachmann * * This driver uses hid reports to communicate with the device to allow hidraw userspace drivers * still being used. The Corsair Commander Pro is a controller that offers six 4-pin fan ports with PWM control, two RGB LED channels for RGB LED light strips and fans, and four thermistor inputs. For Mass Effect: Corsair, BioWare would have been required to pay around. With v0.5.0 these are newly supported on Linux: weve not seen Commander Shepard appear on a Nintendo platform since then. With an aim to reproduce the features from the proprietary Corsair CUE software for Linux, it's filling a gap where the official vendor doesn't offer proper support. Have some fancy Corsair hardware that you want to tweak on Linux? You need the ckb-next project, which has a new release out with version 0.5.0. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |