I've patched the i2c-piix4 module and here's the result of calling sudo i2cdetect -l:
i2c-3 smbus SMBus PIIX4 adapter port 2 at 0b00 SMBus adapter
i2c-10 i2c NVIDIA i2c adapter 5 at 1:00.0 I2C adapter
i2c-1 i2c NVIDIA GPU I2C adapter I2C adapter
i2c-8 i2c dmdc I2C adapter
i2c-6 smbus SMBus PIIX4 adapter port 1 at 0b20 SMBus adapter
i2c-4 smbus SMBus PIIX4 adapter port 3 at 0b00 SMBus adapter
i2c-2 smbus SMBus PIIX4 adapter port 0 at 0b00 SMBus adapter
i2c-0 i2c Synopsys DesignWare I2C adapter I2C adapter
i2c-9 i2c NVIDIA i2c adapter 1 at 1:00.0 I2C adapter
i2c-7 i2c AMDGPU DM i2c hw bus 0 I2C adapter
i2c-5 smbus SMBus PIIX4 adapter port 4 at 0b00 SMBus adapter
I've called chmod 777 to all the SMBus PIIX4 adapters (/dev/i2c-6, etc.).
When I run Borealis:
smbus: /sys/bus/pci/devices/0000:00:14.0
i2c-sys: /dev/i2c-2
i2c-aux: /dev/i2c-6
thread 'main' panicked at 'Can't connect to Aura MB controller. If using an AMD system, have you applied the kernel patch?: I2CError(Nix(Sys(EIO)))', src/libcore/result.rs:999:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
Unfortunately, I haven't had much time to work on Borealis, so things have stagnated. You might have better luck with CalcProgrammer1's OpenAuraSDK, which has seen more active development.
I need to change my laptop keyboard backlight.
Here's my HW probe result: https://linux-hardware.org/?probe=27bb2f0366 There I see my i2c_piix4 vendor is AMD and my keyboard is PS/2.
I've patched the i2c-piix4 module and here's the result of calling
sudo i2cdetect -l
:I've called
chmod 777
to all the SMBus PIIX4 adapters (/dev/i2c-6
, etc.).When I run Borealis:
My kernel info: