Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to set speeds git version | octo #671

Open
nyllewin opened this issue Feb 16, 2024 · 11 comments
Open

unable to set speeds git version | octo #671

nyllewin opened this issue Feb 16, 2024 · 11 comments
Assignees
Labels
bug Apparent bug in liquidctl

Comments

@nyllewin
Copy link

nyllewin commented Feb 16, 2024

Describe the bug

Hey, I switched to the git version due to recent pwm issue and fix and just noticed now that I'm unable to set speeds for fans after a power off and power on.
Things were fine with the version that came via pacman install if not counting for the pwm issue.
Should I install a version before the pwm fix (2 days ago) to see if it's also the case before that? (how do I do that :D)

edit: It works with direct-access.
But I get this warning:
WARNING: directly writing fixed speed despite aquacomputer_d5next kernel driver having support

Also it's requiring sudo now, is that normal?

Thank you!

Commands executed

sudo liquidctl set fan4 speed 0
sudo liquidctl set fan4 speed 100
sudo liquidctl set fan4 speed 0 --direct-access

Output of all relevant commands with --debug flag

Direct Access debug output:

[DEBUG] (cli) (_log_env_infos): script: /usr/bin/liquidctl
[DEBUG] (cli) (_log_env_infos): version: 1.14.0.dev37+g14dd33a
[DEBUG] (cli) (_log_env_infos): platform: Linux-6.7.4-arch1-1-x86_64-with-glibc2.39
[DEBUG] (cli) (_log_env_infos): python: 3.11.7 (main, Jan 29 2024, 16:03:57) [GCC 13.2.1 20230801]
[DEBUG] (cli) (_log_env_infos): encoding: UTF-8 current, UTF-8 preferred, utf8_mode 0
[DEBUG] (cli) (_log_env_infos): with colorlog: 6.8.2
[DEBUG] (cli) (_log_env_infos): with crcmod: 1.7
[DEBUG] (cli) (_log_env_infos): with docopt: 0.6.2
[DEBUG] (cli) (_log_env_infos): with hidapi: 0.14.0
[DEBUG] (cli) (_log_env_infos): with pyusb: 1.2.1
[DEBUG] (cli) (_log_env_infos): with pillow: 10.2.0
[DEBUG] (cli) (_log_env_infos): with smbus: 1.1
[DEBUG] (cli) (_log_env_infos): with winusbcdc: version n/a (No package metadata was found for winusbcdc)
[DEBUG] (cli) (_log_env_infos): with libusb-package: version n/a (No package metadata was found for libusb-package)
[DEBUG] (smbus) (find_devices): searching LinuxI2c
[DEBUG] (smbus) (find_devices): LinuxI2c drivers: Ddr4Temperature, EvgaPascal, RogTuring, VengeanceRgb
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-3
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-1
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-8
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-6
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-4
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-2
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-0
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-7
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-5
[DEBUG] (usb) (find_devices): searching HidapiBus
[DEBUG] (usb) (find_devices): HidapiBus drivers: Aquacomputer, AsusRyujin, AuraLed, CommanderCore, CommanderPro, CorsairHidPsu, H1V2, HydroPlatinum, Kraken2, KrakenX3, KrakenZ3, MpgCooler, NzxtEPsu, RgbFusion2, SmartDevice, SmartDevice2, _BaseSmartDevice
[DEBUG] (usb) (find_devices): HID device: 0c70:f011 (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (__init__): has kernel driver: aquacomputer_d5next (/sys/class/hidraw/hidraw0/device/hwmon/hwmon3)
[DEBUG] (usb) (probe): Aquacomputer identified: Aquacomputer Octo
[DEBUG] (usb) (find_devices): HID device: 0424:274b (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 0424:274b (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 25a7:fa14 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 25a7:fa14 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 25a7:fa14 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): searching PyUsbBus
[DEBUG] (usb) (find_devices): PyUsbBus drivers: Hydro690Lc, HydroPro, Legacy690Lc, Modern690Lc, _Base690Lc, _ModernBase690Lc
[DEBUG] (usb) (find_devices): USB device: 2109:8110
[DEBUG] (usb) (find_devices): USB device: 0424:5734
[DEBUG] (usb) (find_devices): USB device: 0424:5734
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 2109:2811
[DEBUG] (usb) (find_devices): USB device: 0424:274b
[DEBUG] (usb) (find_devices): USB device: 1532:0043
[DEBUG] (usb) (find_devices): USB device: 0424:2734
[DEBUG] (usb) (find_devices): USB device: 0424:274b
[DEBUG] (usb) (find_devices): USB device: 045e:0719
[DEBUG] (usb) (find_devices): USB device: 0424:2734
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1397:0510
[DEBUG] (usb) (find_devices): USB device: 8087:0029
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 05e3:0749
[DEBUG] (usb) (find_devices): USB device: 05e3:0626
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 05e3:0610
[DEBUG] (usb) (find_devices): USB device: 05e3:0608
[DEBUG] (usb) (find_devices): USB device: 0c70:f011
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (cli) (main): device: Aquacomputer Octo
[WARNING] (aquacomputer) (set_fixed_speed): directly writing fixed speed despite aquacomputer_d5next kernel driver having support
[DEBUG] (usb) (get_feature_report): got feature report 0x03 with 1630 bytes: 00:02:28:00:00:00:a9:00:00:00:00:00:00:00:00:00:00:03:0c:de:1f:48:1b:32:15:7c:03:0f:a1:21:45:15:7d:07:d0:00:0d:c8:19:49:0d:a0:07:d0:00:02:10:0f:8b:0f:91:0e:10:02:01:f4:27:10:27:10:07:d0:02:24:ff:27:10:27:10:13:ec:02:01:f4:27:10:27:10:07:d0:02:01:f4:27:10:27:10:07:d0:02:0c:de:00:01:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0d:a2:0c:e4:0d:1c:0d:60:0d:93:0d:d4:0e:10:0e:4c:0e:88:0e:c3:0f:00:0f:3c:0f:78:0f:b4:0f:ef:10:2c:10:68:00:00:00:00:00:00:00:00:06:c4:08:76:0a:28:0b:d9:0d:8a:0f:3c:10:ed:12:9e:14:50:16:01:17:b2:19:64:01:0d:2d:00:08:04:4c:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:01:00:00:00:05:18:9c:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:00:0b:b8:00:08:04:7e:03:e8:03:20:00:00:00:50:00:1e:00:01:03:b6:03:b6:03:c9:03:e8:03:fb:04:10:04:2e:04:42:04:56:04:74:04:88:04:9c:04:ba:04:ce:04:e2:05:00:05:14:00:00:01:02:02:92:04:72:06:8f:08:dd:0b:56:0d:f6:10:b8:13:99:16:98:19:b2:1c:e6:20:33:23:96:27:10:00:27:10:ff:ff:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:01:00:00:00:06:19:c8:03:e8:03:20:00:00:00:50:00:1e:00:01:19:3b:19:00:19:28:19:50:19:78:19:9f:19:c8:19:f0:1a:18:1a:40:1a:67:1a:90:1a:b8:1a:e0:1b:08:1b:2f:1b:58:00:00:03:fb:07:d0:0b:7b:0e:fb:12:4f:15:74:18:69:1b:2a:1d:b5:20:06:22:17:23:e3:25:60:26:7d:27:10:00:27:10:ff:ff:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:00:27:10:ff:ff:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:00:00:19:00:00:00:00:17:08:00:68:ff:ff:41:43:00:00:03:e8:00:64:00:00:03:e8:00:ff:00:08:00:41:00:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:00:00:ff:ff:04:98:de:ff:00:00:00:00:00:00:00:00:00:00:00:00:00:28:0f:08:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:28:00:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:03:e7:ff:ff:00:fe:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:30:0f:0b:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:1e:00:28:00:01:00:06:00:50:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:ff:02:ff:01:fb:ff:ff:05:25:ff:ff:00:c5:ff:ff:03:f5:ff:ff:05:f3:ff:ff:00:3a:0f:13:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:0a:00:05:00:05:00:19:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:02:00:ff:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:47:0f:0c:00:00:ff:ff:0a:0f:00:00:00:64:01:64:00:00:00:64:00:ff:00:1e:00:32:00:19:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01:00:ff:ff:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:4b:0f:0f:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:28:00:04:00:1e:00:1e:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:78:00:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:00:0e:03:00:00:ff:ff:0a:0f:00:00:00:64:01:64:00:00:00:64:00:ff:00:14:00:64:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:55:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01:0f:0f:08:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:28:00:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:03:e7:ff:ff:00:fe:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:1e:0f:0b:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:1e:00:28:00:01:00:06:00:50:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:ff:02:ff:01:fb:ff:ff:05:25:ff:ff:00:c5:ff:ff:03:f5:ff:ff:05:f3:ff:ff:01:2d:0f:13:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:0a:00:05:00:05:00:19:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:02:00:ff:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:3c:0f:04:00:06:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:28:00:05:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:00:00:ff:ff:01:fd:ff:ff:03:ff:ff:ff:00:fa:ff:ff:01:ce:10:ff:01:4b:0f:0f:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:28:00:04:00:1e:00:1e:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:78:00:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:00:00:13:88:13:88:13:88:13:88:01:5e:02:be:37
[DEBUG] (usb) (send_feature_report): sending feature report 0x03 with 1630 bytes: 00:02:28:00:00:00:a9:00:00:00:00:00:00:00:00:00:00:03:0c:de:1f:48:1b:32:15:7c:03:0f:a1:21:45:15:7d:07:d0:00:0d:c8:19:49:0d:a0:07:d0:00:02:10:0f:8b:0f:91:0e:10:02:01:f4:27:10:27:10:07:d0:02:24:ff:27:10:27:10:13:ec:02:01:f4:27:10:27:10:07:d0:02:01:f4:27:10:27:10:07:d0:02:0c:de:00:01:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0d:a2:0c:e4:0d:1c:0d:60:0d:93:0d:d4:0e:10:0e:4c:0e:88:0e:c3:0f:00:0f:3c:0f:78:0f:b4:0f:ef:10:2c:10:68:00:00:00:00:00:00:00:00:06:c4:08:76:0a:28:0b:d9:0d:8a:0f:3c:10:ed:12:9e:14:50:16:01:17:b2:19:64:01:0d:2d:00:08:04:4c:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:01:00:00:00:05:18:9c:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:00:00:00:00:08:04:7e:03:e8:03:20:00:00:00:50:00:1e:00:01:03:b6:03:b6:03:c9:03:e8:03:fb:04:10:04:2e:04:42:04:56:04:74:04:88:04:9c:04:ba:04:ce:04:e2:05:00:05:14:00:00:01:02:02:92:04:72:06:8f:08:dd:0b:56:0d:f6:10:b8:13:99:16:98:19:b2:1c:e6:20:33:23:96:27:10:00:27:10:ff:ff:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:01:00:00:00:06:19:c8:03:e8:03:20:00:00:00:50:00:1e:00:01:19:3b:19:00:19:28:19:50:19:78:19:9f:19:c8:19:f0:1a:18:1a:40:1a:67:1a:90:1a:b8:1a:e0:1b:08:1b:2f:1b:58:00:00:03:fb:07:d0:0b:7b:0e:fb:12:4f:15:74:18:69:1b:2a:1d:b5:20:06:22:17:23:e3:25:60:26:7d:27:10:00:27:10:ff:ff:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:00:27:10:ff:ff:0d:ac:05:78:04:b0:00:00:00:28:00:14:00:01:0a:f0:0a:8c:0a:fa:0b:4a:0b:a4:0b:f4:0c:4e:0c:9d:0c:f8:0d:48:0d:a2:0d:f2:0e:4c:0e:9c:0e:f5:0f:46:0f:a0:00:00:00:8c:01:18:01:f4:03:20:04:b0:06:90:08:d4:0b:68:0e:4c:11:94:15:2c:19:28:1d:74:22:10:27:10:00:00:19:00:00:00:00:17:08:00:68:ff:ff:41:43:00:00:03:e8:00:64:00:00:03:e8:00:ff:00:08:00:41:00:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:00:00:ff:ff:04:98:de:ff:00:00:00:00:00:00:00:00:00:00:00:00:00:28:0f:08:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:28:00:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:03:e7:ff:ff:00:fe:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:30:0f:0b:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:1e:00:28:00:01:00:06:00:50:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:ff:02:ff:01:fb:ff:ff:05:25:ff:ff:00:c5:ff:ff:03:f5:ff:ff:05:f3:ff:ff:00:3a:0f:13:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:0a:00:05:00:05:00:19:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:02:00:ff:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:47:0f:0c:00:00:ff:ff:0a:0f:00:00:00:64:01:64:00:00:00:64:00:ff:00:1e:00:32:00:19:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01:00:ff:ff:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:4b:0f:0f:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:28:00:04:00:1e:00:1e:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:78:00:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:00:0e:03:00:00:ff:ff:0a:0f:00:00:00:64:01:64:00:00:00:64:00:ff:00:14:00:64:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:55:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:01:0f:0f:08:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:28:00:14:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:03:e7:ff:ff:00:fe:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:1e:0f:0b:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:1e:00:28:00:01:00:06:00:50:00:00:00:00:00:00:00:00:00:00:00:00:00:00:02:ff:02:ff:01:fb:ff:ff:05:25:ff:ff:00:c5:ff:ff:03:f5:ff:ff:05:f3:ff:ff:01:2d:0f:13:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:19:00:0a:00:05:00:05:00:19:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:ff:02:00:ff:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:3c:0f:04:00:06:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:28:00:05:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0f:00:00:ff:ff:01:fd:ff:ff:03:ff:ff:ff:00:fa:ff:ff:01:ce:10:ff:01:4b:0f:0f:00:00:ff:ff:0f:19:00:00:03:e8:01:64:00:00:03:e8:01:ff:00:28:00:04:00:1e:00:1e:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:78:00:78:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:00:00:ff:ff:01:00:00:13:88:13:88:13:88:13:88:01:5e:02:44:cc

uname -r
6.7.4-arch1-1

non direct access output:

[DEBUG] (cli) (_log_env_infos): script: /usr/bin/liquidctl
[DEBUG] (cli) (_log_env_infos): version: 1.14.0.dev37+g14dd33a
[DEBUG] (cli) (_log_env_infos): platform: Linux-6.7.4-arch1-1-x86_64-with-glibc2.39
[DEBUG] (cli) (_log_env_infos): python: 3.11.7 (main, Jan 29 2024, 16:03:57) [GCC 13.2.1 20230801]
[DEBUG] (cli) (_log_env_infos): encoding: UTF-8 current, UTF-8 preferred, utf8_mode 0
[DEBUG] (cli) (_log_env_infos): with colorlog: 6.8.2
[DEBUG] (cli) (_log_env_infos): with crcmod: 1.7
[DEBUG] (cli) (_log_env_infos): with docopt: 0.6.2
[DEBUG] (cli) (_log_env_infos): with hidapi: 0.14.0
[DEBUG] (cli) (_log_env_infos): with pyusb: 1.2.1
[DEBUG] (cli) (_log_env_infos): with pillow: 10.2.0
[DEBUG] (cli) (_log_env_infos): with smbus: 1.1
[DEBUG] (cli) (_log_env_infos): with winusbcdc: version n/a (No package metadata was found for winusbcdc)
[DEBUG] (cli) (_log_env_infos): with libusb-package: version n/a (No package metadata was found for libusb-package)
[DEBUG] (smbus) (find_devices): searching LinuxI2c
[DEBUG] (smbus) (find_devices): LinuxI2c drivers: Ddr4Temperature, EvgaPascal, RogTuring, VengeanceRgb
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-3
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-1
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-8
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-6
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-4
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-2
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-0
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-7
[DEBUG] (smbus) (find_devices): I²C adapter: i2c-5
[DEBUG] (usb) (find_devices): searching HidapiBus
[DEBUG] (usb) (find_devices): HidapiBus drivers: Aquacomputer, AsusRyujin, AuraLed, CommanderCore, CommanderPro, CorsairHidPsu, H1V2, HydroPlatinum, Kraken2, KrakenX3, KrakenZ3, MpgCooler, NzxtEPsu, RgbFusion2, SmartDevice, SmartDevice2, _BaseSmartDevice
[DEBUG] (usb) (find_devices): HID device: 0c70:f011 (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (__init__): has kernel driver: aquacomputer_d5next (/sys/class/hidraw/hidraw0/device/hwmon/hwmon3)
[DEBUG] (usb) (probe): Aquacomputer identified: Aquacomputer Octo
[DEBUG] (usb) (find_devices): HID device: 0424:274b (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0002)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0080)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0000)
[DEBUG] (usb) (find_devices): HID device: 1532:0043 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 0424:274b (usage_page=0xff00 usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 25a7:fa14 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): HID device: 25a7:fa14 (usage_page=0x000c usage=0x0001)
[DEBUG] (usb) (find_devices): HID device: 25a7:fa14 (usage_page=0x0001 usage=0x0006)
[DEBUG] (usb) (find_devices): searching PyUsbBus
[DEBUG] (usb) (find_devices): PyUsbBus drivers: Hydro690Lc, HydroPro, Legacy690Lc, Modern690Lc, _Base690Lc, _ModernBase690Lc
[DEBUG] (usb) (find_devices): USB device: 2109:8110
[DEBUG] (usb) (find_devices): USB device: 0424:5734
[DEBUG] (usb) (find_devices): USB device: 0424:5734
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 2109:2811
[DEBUG] (usb) (find_devices): USB device: 0424:274b
[DEBUG] (usb) (find_devices): USB device: 1532:0043
[DEBUG] (usb) (find_devices): USB device: 0424:2734
[DEBUG] (usb) (find_devices): USB device: 0424:274b
[DEBUG] (usb) (find_devices): USB device: 045e:0719
[DEBUG] (usb) (find_devices): USB device: 0424:2734
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 1397:0510
[DEBUG] (usb) (find_devices): USB device: 8087:0029
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (usb) (find_devices): USB device: 05e3:0749
[DEBUG] (usb) (find_devices): USB device: 05e3:0626
[DEBUG] (usb) (find_devices): USB device: 1d6b:0003
[DEBUG] (usb) (find_devices): USB device: 05e3:0610
[DEBUG] (usb) (find_devices): USB device: 05e3:0608
[DEBUG] (usb) (find_devices): USB device: 0c70:f011
[DEBUG] (usb) (find_devices): USB device: 1d6b:0002
[DEBUG] (cli) (main): device: Aquacomputer Octo
[INFO] (aquacomputer) (set_fixed_speed): bound to aquacomputer_d5next kernel driver, writing fixed speed to hwmon

sudo liquidctl status

[sudo] password for root: 
Aquacomputer Octo
├── Sensor 1          24.5  °C
├── Sensor 2          25.6  °C
├── Sensor 3          20.7  °C
├── Fan 1 speed        955  rpm
├── Fan 1 power       0.00  W
├── Fan 1 voltage    12.09  V
├── Fan 1 current     0.00  A
├── Fan 2 speed        938  rpm
├── Fan 2 power       1.38  W
├── Fan 2 voltage    12.08  V
├── Fan 2 current     0.12  A

sudo liquidctl set fan2 speed 0 --debug

  • a few moments later *

sudo liquidctl status

├── Fan 2 speed        938  rpm
├── Fan 2 power       1.40  W
├── Fan 2 voltage    12.08  V
├── Fan 2 current     0.12  A

Affected device

aquacomputer octo

Does your version of liquidctl support the device in question?

Yes, my version supports it

Operating system and version

arch linux

Installation method

aur

Version of liquidctl

liquidctl v1.14.0.dev37+g14dd33a (Linux-6.7.4-arch1-1-x86_64-with-glibc2.39)

@nyllewin nyllewin added the bug Apparent bug in liquidctl label Feb 16, 2024
@nyllewin nyllewin changed the title unable to set speeds after power cycle with git version | octo unable to set speeds git version | octo Feb 16, 2024
@aleksamagicka aleksamagicka self-assigned this Feb 16, 2024
@aleksamagicka
Copy link
Member

Can you try to bypass liquidctl and manually set a value in hwmon? Locate Quadro in /sys/class/hwmon/hwmonX, where X will be a number. Each hwmonX will have a name entry which should be quadro. Once you're in, set a fan speed:

echo 255 > pwm1

(pwm1 is fan1, etc. 255 PWM = 100%)

Then reboot, and try the same thing again with a different value, and report back if it works.

This is what liquidctl does internally now, but I'd like to see what happens at the source.

edit: It works with direct-access.
But I get this warning:
WARNING: directly writing fixed speed despite aquacomputer_d5next kernel driver having support

That's normal, it detects a hwmon driver and warns that you're bypassing it. Evidently, that's necessary sometimes.

@aleksamagicka
Copy link
Member

Also, is anything else configuring the device? Are you maybe booting into windows with aquasuite after poweroff or similar?

@nyllewin
Copy link
Author

nyllewin commented Feb 17, 2024

I got in to this and this looks familiar to the liquidctl output.

[nylle@nyArch hwmon]$ cd hwmon3
[nylle@nyArch hwmon3]$ ls
curr1_input  curr8_input  fan6_label  in4_label     power3_label  pwm4          temp14_input  temp1_offset  temp6_input
curr1_label  curr8_label  fan7_input  in5_input     power4_input  pwm5          temp14_label  temp20_input  temp6_label
curr2_input  device       fan7_label  in5_label     power4_label  pwm6          temp15_input  temp20_label  temp7_input
curr2_label  fan1_input   fan8_input  in6_input     power5_input  pwm7          temp15_label  temp2_input   temp7_label
curr3_input  fan1_label   fan8_label  in6_label     power5_label  pwm8          temp16_input  temp2_label   temp8_input
curr3_label  fan2_input   in0_input   in7_input     power6_input  subsystem     temp16_label  temp2_offset  temp8_label
curr4_input  fan2_label   in0_label   in7_label     power6_label  temp10_input  temp17_input  temp3_input   temp9_input
curr4_label  fan3_input   in1_input   name          power7_input  temp10_label  temp17_label  temp3_label   temp9_label
curr5_input  fan3_label   in1_label   power         power7_label  temp11_input  temp18_input  temp3_offset  uevent
curr5_label  fan4_input   in2_input   power1_input  power8_input  temp11_label  temp18_label  temp4_input
curr6_input  fan4_label   in2_label   power1_label  power8_label  temp12_input  temp19_input  temp4_label
curr6_label  fan5_input   in3_input   power2_input  pwm1          temp12_label  temp19_label  temp4_offset
curr7_input  fan5_label   in3_label   power2_label  pwm2          temp13_input  temp1_input   temp5_input
curr7_label  fan6_input   in4_input   power3_input  pwm3          temp13_label  temp1_label   temp5_label
[nylle@nyArch hwmon3]$ cat name
octo

[nylle@nyArch hwmon3]$ sudo echo 255 > pwm5
bash: pwm5: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm4
bash: pwm4: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm3
bash: pwm3: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm2
bash: pwm2: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm1
bash: pwm1: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm6
bash: pwm6: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm7
bash: pwm7: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm0
bash: pwm0: Permission denied
[nylle@nyArch hwmon3]$ sudo echo 255 > pwm8
bash: pwm8: Permission denied


this then finally worked:

nylle@nyArch hwmon3]$ sudo su
[sudo] password for root: 
[root@nyArch hwmon3]# echo 255 > pwm4
[root@nyArch hwmon3]# exit
exit
[nylle@nyArch hwmon3]$ 


the last step worked. I have no Idea why it isn't working via sudo.
It swapped back to 0rpm after a second or two - what I set before via direct-access.

should be quadro
It's octo, same same :D

Rebooted now, same behavior.
off-on cycle.

none of these work until after I talked to that specific fan via direct-access flag then and only then the pwm is accepted.

  • there is no error output, no reaction on the device as fan speeds stay the same.
[nylle@nyArch hwmon3]$ sudo su
[sudo] password for root: 
[root@nyArch hwmon3]# echo 0 > pwm4
[root@nyArch hwmon3]# echo 0 > pwm2
[root@nyArch hwmon3]# echo 0 > pwm3
[root@nyArch hwmon3]# echo 255 > pwm3
[root@nyArch hwmon3]# echo 255 > pwm2
[root@nyArch hwmon3]# echo 255 > pwm4
[root@nyArch hwmon3]# exit
exit
[nylle@nyArch hwmon3]$ sudo liquidctl set fan3 speed 100 --direct-access
WARNING: directly writing fixed speed despite aquacomputer_d5next kernel driver having support
[nylle@nyArch hwmon3]$ sudo su
[root@nyArch hwmon3]# echo 255 > pwm4
[root@nyArch hwmon3]# echo 0 > pwm3
[root@nyArch hwmon3]# exit
exit
[nylle@nyArch hwmon3]$ sudo liquidctl set fan4 speed 100 --direct-access
WARNING: directly writing fixed speed despite aquacomputer_d5next kernel driver having support
[nylle@nyArch hwmon3]$ sudo su
[root@nyArch hwmon3]# echo 0 > pwm4
[root@nyArch hwmon3]# 

I tried installing the rules for not needing sudo but after installing them and reloading I still needed to authorize, not sure if the way I did it was wrong but the reloads didn't trigger any errors when executed with sudo. I went in to the directory for user rules, sudo nano filename 71xxxx then copied via ctrl c from github raw the text and pasted, reloaded. So after that didn't work i renamed them to 71xx.rules.backup in both directories where they were present. the distro one and the user one.
not sure idk if related mentioned for good measure.

Also, is anything else configuring the device? Are you maybe booting into windows with aquasuite after poweroff or similar?

Controlling not so much. There is coolercontrol where I am also not able to set speeds with on either device, the hwmon one and the liquidctl one so I wouldn't call that " controlling " .. its reading the sensors and so on but that's about it. I can uninstall.

I don't have a windows install anymore so that's out.

I wish I could have brought better news but yea. let me know, I'm down for anything basically :D

@aleksamagicka
Copy link
Member

Yeah, you'll need sudo su for hwmon, sorry for not mentioning.

It swapped back to 0rpm after a second or two - what I set before via direct-access.

That seems weird, looks like something else is controlling it?

Can you please try the github version of the driver (instructions)? Then go to hwmon again, and do:

cat pwm1_enable

And see what the value is. Should be 1 for a direct PWM value, but you say:

none of these work until after I talked to that specific fan via direct-access flag then and only then the pwm is accepted.

So maybe it's something else before a "direct access" setting. If it is, set it to 1 and then try setting pwm1 as before.

I am not familiar with coolercontrol as I don't use it, but let's try to rule it out, so kill the process or something.

And yes, Octo or Quadro should make no difference.

@nyllewin
Copy link
Author

nyllewin commented Feb 17, 2024

I stopped the coolercontrol daemon service did this after:

Can you please try the github version of the driver (instructions)?


make[2]: Leaving directory '/usr/lib/modules/6.7.4-arch1-1/build'
make[1]: Leaving directory '/home/nylle/Documents/aquacomputer_d5_next_hwmon/aquacomputer_d5next-hwmon'
sudo rmmod aquacomputer_d5next || true
[sudo] password for root: 
sudo insmod aquacomputer_d5next.ko
[nylle@nyArch aquacomputer_d5next-hwmon]$ 

this succeeded I think? I did this, off / on cycle and did this again. I'm sorry I'm really new lmao

checked for coolercontrol service or if its working doing anything

ps aux | grep coolercontrol
nylle       3180  0.0  0.0   6560  2304 pts/3    S+   12:45   0:00 grep --color=auto coolercontrol

and we got nothing, good!

Now I did this:
cat pwm1_enable
or rather tried..

[nylle@nyArch hwmon]$ cd hwmon3/
[nylle@nyArch hwmon3]$ cat name
octo
[nylle@nyArch hwmon3]$ cat pwm1_enable
cat: pwm1_enable: No such file or directory
[nylle@nyArch hwmon3]$ 

So I went back and did make dev in the d5 next driver again and then they showed up. Also assuming that's normal? because i reboot and then it loads the old kernel version and so on.. surely.

anyways.

 cat pwm1_enable 
3
 cat pwm2_enable 
2
 cat pwm3_enable 
2
 cat pwm4_enable 
2
 cat pwm5_enable 
1
 cat pwm6_enable 
2
 cat pwm7_enable 
1
 cat pwm8_enable 
1

this is from fresh boot, device running at fallback speeds as far as I can tell because this stupid 80mm fan is driving me nuts with its noise and some others also just run rather high rpm.

Ok

[nylle@nyArch hwmon3]$ sudo su
[sudo] password for root: 
[root@nyArch hwmon3]# echo 1 > pwm4_enable 

this kicked the fan from 25% (fallback speed) to 100%

echo 0 > pwm4
worked flawlessly and set it to 0.
now

cat pwm4_enable 
1

is actually 1.

sorry for not using pwm1 as you told me but its the pump and I'd like to keep it running so I'm using another channel :D

@aleksamagicka
Copy link
Member

this succeeded I think? I did this, off / on cycle and did this again. I'm sorry I'm really new lmao

Yeah, on boot it loads the built-in one. make dev compiles and installs the github one (or, more specifically, whatever is in that directory).

sorry for not using pwm1 as you told me but its the pump and I'd like to keep it running so I'm using another channel :D

That was just an example, use whichever channel you want. I just got tired of typing "pwmX, where X is ...".

pwm_enable sheds some light and proves what I thought:

 cat pwm4_enable 
2

So it's using PID mode, and the driver in the kernel is (right now) only setting the PWM value and not setting the internal PWM controller value to the equivalent of 1. In other words, when you just set pwm4 to whatever, it does not update the device to actually use that mode of control.

That's a fix for the kernel, then, as I suspected. Thanks for going through this with me, much appreciated.

@nyllewin
Copy link
Author

nyllewin commented Feb 17, 2024

Thank you! Can I somehow just .. run the github version of the kernel driver for the time being until things are sorted or would it be more wise to just to default to direct access for now?

scrap that I just realized that its the same problem because we did this with the git version, right. ok Nevermind!

It would honestly just be fine to default to direct access I think, I dont use much.. maybe I can make something up with delta from the sensors and set speeds automatically accordingly with direct-access flag once every 30 seconds or so.
Could just run that until kernel driver update I guess.

@aleksamagicka
Copy link
Member

Yes, you can run the github version just fine. Or just use direct access, it doesn't matter to the device. The outcome is the same.

scrap that I just realized that its the same problem because we did this with the git version, right. ok Nevermind!

Nope. I told you to try the github version so we get access to pwm_enable to read it out; if you use it, liquidctl (and everything else) will work just fine because it knows how to set both pwmX_enable and pwmX. (And the driver kind of forces you to do the same, when done manually.)

So long story short, either use the github driver until a future kernel update arrives or use direct access.

@jonasmalacofilho
Copy link
Member

jonasmalacofilho commented Feb 17, 2024

@aleksamagicka, should we maybe revert1 #670?

From what I understood of the above discussion, it seems that pwmX_enable is actually required, even if only as a proxy for the kernel driver being functional enough for that operation be done through hwmon instead of direct access. But it's possible that I misunderstood something, I'm not very familiar with either driver version (in or out of tree).

Footnotes

  1. Maybe in addition to the git revert we should also leave a comment in the code explaining in more detail why the check is necessary, when in theory it generally shouldn't be.

@aleksamagicka
Copy link
Member

aleksamagicka commented Feb 17, 2024

I've just sent a fix for the in-kernel driver to LKML, so that should end up in stable trees. That fixes it up so that just setting pwmX does the work of setting both pwmX_enable and pwmX values, since the in-kernel one only has pwmX. The github one has both, which makes it obvious that you have to set them both to see an effect.

Then it boils down to: do we require the kernel to be up to date, since we're accessing its subsystem? If we revert, there will still be plenty of versions that only have pwmX still, even after one day I send in pwmX_enable.

Or, let's put it this way: say that only pwmX existed, and that it was broken in-tree. We'd be forced to say that you have to be up to date, right?

As for adding a comment, I'm all for it. Drivers develop over time and differences should be noted.

@aleksamagicka
Copy link
Member

Looks like I commented a minute too soon. Guenter rejected the patch, so that leaves us with indeed reverting #670. I'll see if I can create pwm_enable patches for the in-tree driver tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Apparent bug in liquidctl
Projects
None yet
Development

No branches or pull requests

3 participants