Closed barecool closed 2 months ago
Hello,
What OS are you using ?
Software is unable to open connection towards the hub due to the device path does not exists.
{"error":"Failed to open a device with path '/dev/hidraw4': No such file or directory","level":"error","msg":"Unable to open HID device","productId":3135,"serial":"122D323782E03A5EA24BB40B3215782B","time":"2024-09-14T14:20:37Z","vendorId":6940}
Please provide output of following commands:
sudo ls -al /dev/hidraw*
and sudo getfacl /dev/hidraw4
sorry to have bugged you I figured the issue out it was a typo on a device mapping
but I was able to getting all working on
basically I found the ids for the CORSAIR iCUE Link H150i LCD Liquid CPU Cooler - 360mm AIO - QX120 RGB Fans - 2.1” IPS LCD Screen
lsusb
Bus 001 Device 011: ID 1b1c:0c4e Corsair CORSAIR iCUE LINK AIO LCD Screen Module
Bus 001 Device 009: ID 1b1c:0c3f Corsair iCUE LINK System Hub
nano /etc/udev/rules.d/99-usb-serial.rules
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1b1c", ATTRS{idProduct}=="0c3f" SYMLINK+="ttycorsair0"
KERNEL=="hidraw[0-9]*",MODE="0666"
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1b1c", ATTRS{idProduct}=="0c4e" SYMLINK+="ttycorsair1"
KERNEL=="hidraw[0-9]*",MODE="0666"
udevadm trigger
ls -la /dev/ttycorsair*
lrwxrwxrwx 1 root root 7 Sep 14 19:17 /dev/ttycorsair0 -> hidraw4
lrwxrwxrwx 1 root root 7 Sep 14 19:17 /dev/ttycorsair1 -> hidraw9
Edit LXC Container configuration for passthrough
nano /etc/pve/lxc/container.conf
lxc.mount.entry: /dev/ttycorsair0 dev/hidraw4 none bind,optional,create=file
lxc.mount.entry: /dev/ttycorsair1 dev/hidraw9 none bind,optional,create=file
Started LXC container (with portainer and openhublink)
docker run -d --network host --privileged -v /root/config.json:/opt/OpenLinkHub/config.json --restart unless-stopped openlinkhub
``` { "level": "warning", "msg": "DeviceProfile is not set, probably first startup", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:25:05Z" } { "level": "warning", "msg": "DeviceProfile is not set, probably first startup", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:25:05Z" } { "level": "warning", "msg": "DeviceProfile is not set, probably first startup", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:25:05Z" } { "level": "warning", "msg": "DeviceProfile is not set, probably first startup", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:25:05Z" } { "level": "info", "location": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "msg": "Loaded custom user profile", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:25:05Z" } { "device": { "manufacturer": "Corsair", "product": "iCUE LINK System Hub", "serial": "122D323782E03A5EA24BB40B3215782B", "firmware": "2.8.458", "aio": false, "devices": { "1": { "channelId": 1, "type": 1, "deviceId": "01000CF642035617910001442C", "name": "iCUE LINK QX RGB", "rpm": 0, "temperature": 0, "description": "Fan", "profile": "Normal", "rgb": "static", "label": "Not Set", "portId": 0, "IsTemperatureProbe": false, "HasSpeed": true, "HasTemps": true, "AIO": false }, "2": { "channelId": 2, "type": 1, "deviceId": "01000CF6420356179100001E6E", "name": "iCUE LINK QX RGB", "rpm": 0, "temperature": 0, "description": "Fan", "profile": "Normal", "rgb": "static", "label": "Not Set", "portId": 0, "IsTemperatureProbe": false, "HasSpeed": true, "HasTemps": true, "AIO": false }, "3": { "channelId": 3, "type": 7, "deviceId": "02022C0000A52B64047CF70000", "name": "iCUE LINK H150i LCD", "rpm": 0, "temperature": 0, "description": "AIO", "profile": "Normal", "rgb": "static", "label": "Not Set", "portId": 0, "IsTemperatureProbe": false, "HasSpeed": true, "HasTemps": true, "AIO": true }, "5": { "channelId": 5, "type": 1, "deviceId": "010011AC120355D71700016F12", "name": "iCUE LINK QX RGB", "rpm": 0, "temperature": 0, "description": "Fan", "profile": "Normal", "rgb": "static", "label": "Not Set", "portId": 0, "IsTemperatureProbe": false, "HasSpeed": true, "HasTemps": true, "AIO": false } }, "userProfiles": { "default": { "Active": true, "Path": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "Product": "iCUE LINK System Hub", "Serial": "122D323782E03A5EA24BB40B3215782B", "LCDMode": 0, "Brightness": 0, "SpeedProfiles": { "1": "Normal", "2": "Normal", "3": "Normal", "5": "Normal" }, "RGBProfiles": { "1": "static", "2": "static", "3": "static", "5": "static" }, "Labels": { "1": "Not Set", "2": "Not Set", "3": "Not Set", "5": "Not Set" } } }, "DeviceProfile": { "Active": true, "Path": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "Product": "iCUE LINK System Hub", "Serial": "122D323782E03A5EA24BB40B3215782B", "LCDMode": 0, "Brightness": 0, "SpeedProfiles": { "1": "Normal", "2": "Normal", "3": "Normal", "5": "Normal" }, "RGBProfiles": { "1": "static", "2": "static", "3": "static", "5": "static" }, "Labels": { "1": "Not Set", "2": "Not Set", "3": "Not Set", "5": "Not Set" } }, "OriginalProfile": { "Active": true, "Path": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "Product": "iCUE LINK System Hub", "Serial": "122D323782E03A5EA24BB40B3215782B", "LCDMode": 0, "Brightness": 0, "SpeedProfiles": { "1": "Normal", "2": "Normal", "3": "Normal", "5": "Normal" }, "RGBProfiles": { "1": "static", "2": "static", "3": "static", "5": "static" }, "Labels": { "1": "Not Set", "2": "Not Set", "3": "Not Set", "5": "Not Set" } }, "Template": "lsh.html", "HasLCD": true, "VendorId": 6940, "ProductId": 3135, "LCDModes": { "0": "Liquid Temperature", "1": "Pump Speed", "2": "CPU Temperature", "3": "GPU Temperature", "4": "Combined" }, "Brightness": { "0": "RGB Profile", "1": "33 %", "2": "66 %", "3": "100 %" }, "PortProtection": { "0": 146 }, "GlobalBrightness": 0, "IsCritical": false, "FirmwareInternal": [ 2, 8, 458 ] }, "level": "info", "msg": "Device successfully initialized", "time": "2024-09-15T00:25:05Z" } { "level": "info", "location": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "msg": "Loaded custom user profile", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:34:53Z" } { "level": "info", "location": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "msg": "Loaded custom user profile", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:35:09Z" } { "level": "info", "location": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "msg": "Loaded custom user profile", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:35:12Z" } { "level": "info", "location": "/opt/OpenLinkHub/database/profiles/122D323782E03A5EA24BB40B3215782B.json", "msg": "Loaded custom user profile", "serial": "122D323782E03A5EA24BB40B3215782B", "time": "2024-09-15T00:35:16Z" } ```
And now it all works fine
Is your feature request related to a problem? Please describe. No control displayed in the dashboard for CORSAIR iCUE Link H150i LCD Liquid CPU Cooler - 360mm AIO - QX120 RGB Fans - 2.1” IPS LCD Screen
Additional context config.json { "listenPort": 8080, "listenAddress": "0.0.0.0", "cpuSensorChip": "coretemp", "manual": false, "frontend": true, "refreshOnStart": false, "metrics": true, "dbusMonitor": false }
stdout.log
{"level":"warning","msg":"Unsupported device detected. Please open a new feature request for your device on OpenLinkHub repository","product":3150,"serial":"A6B5T40101PF57","time":"2024-09-14T14:02:02Z","vendor":6940} {"error":"Failed to open a device with path '/dev/hidraw4': No such file or directory","level":"error","msg":"Unable to open HID device","productId":3135,"serial":"122D323782E03A5EA24BB40B3215782B","time":"2024-09-14T14:02:02Z","vendorId":6940} {"level":"warning","msg":"Unsupported device detected. Please open a new feature request for your device on OpenLinkHub repository","product":3150,"serial":"A6B5T40101PF57","time":"2024-09-14T14:12:46Z","vendor":6940} {"error":"Failed to open a device with path '/dev/hidraw4': No such file or directory","level":"error","msg":"Unable to open HID device","productId":3135,"serial":"122D323782E03A5EA24BB40B3215782B","time":"2024-09-14T14:12:46Z","vendorId":6940} {"level":"warning","msg":"Unsupported device detected. Please open a new feature request for your device on OpenLinkHub repository","product":3150,"serial":"A6B5T40101PF57","time":"2024-09-14T14:20:37Z","vendor":6940} {"error":"Failed to open a device with path '/dev/hidraw4': No such file or directory","level":"error","msg":"Unable to open HID device","productId":3135,"serial":"122D323782E03A5EA24BB40B3215782B","time":"2024-09-14T14:20:37Z","vendorId":6940}