philpax / borealis

Asus Aura Sync driver application for Linux
MIT License
150 stars 16 forks source link

failed to locate auxiliary controller #6

Open RedHatter opened 5 years ago

RedHatter commented 5 years ago

I have a Zenith Extreme and borealis doesn't seem to be able to find the I2C interfaces.

smbus: /sys/bus/pci/devices/0000:00:14.0
i2c-sys: /dev/i2c-3
thread 'main' panicked at 'failed to locate auxiliary controller for MB Aura', src/libcore/option.rs:1038:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

Some more info.

$ i2cdetect -l
i2c-3   unknown     SMBus PIIX4 adapter port 3 at 0b00  N/A
i2c-10  unknown     NVIDIA i2c adapter 8 at 41:00.0     N/A
i2c-1   unknown     SMBus PIIX4 adapter port 0 at 0b00  N/A
i2c-8   unknown     NVIDIA i2c adapter 6 at 41:00.0     N/A
i2c-6   unknown     NVIDIA i2c adapter 2 at 41:00.0     N/A
i2c-4   unknown     SMBus PIIX4 adapter port 4 at 0b00  N/A
i2c-11  unknown     NVIDIA i2c adapter 9 at 41:00.0     N/A
i2c-2   unknown     SMBus PIIX4 adapter port 2 at 0b00  N/A
i2c-0   unknown     Synopsys DesignWare I2C adapter     N/A
i2c-9   unknown     NVIDIA i2c adapter 7 at 41:00.0     N/A
i2c-7   unknown     NVIDIA i2c adapter 4 at 41:00.0     N/A
i2c-5   unknown     NVIDIA i2c adapter 1 at 41:00.0     N/A
yaliv commented 5 years ago

@RedHatter Zenith Extreme is an AMD system. That means you have to patch your kernel, as suggested in the README. Alternatively, you can add the i2c-piix4 module as DKMS: https://www.reddit.com/r/linux/comments/asxhcc/i_wrote_a_program_to_control_asus_aura_rgb/egy7uvk/

If you done it right, you'll see this entry when calling i2cdetect -l:

SMBus PIIX4 adapter port 1 at 0b20

And when you run Borealis, you'll see two devices:

i2c-sys: /dev/i2c-2
i2c-aux: /dev/i2c-6