Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Can't connect to Aura MB controller #7

Open
yaliv opened this issue Jul 8, 2019 · 1 comment
Open

Can't connect to Aura MB controller #7

yaliv opened this issue Jul 8, 2019 · 1 comment

Comments

@yaliv
Copy link

yaliv commented Jul 8, 2019

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:

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.

My kernel info:

$ uname -r
5.2.0-1-MANJARO

$ dkms status
deepin-anything, 0.1.0, 4.19.56-1-MANJARO, x86_64: installed
deepin-anything, 0.1.0, 5.2.0-1-MANJARO, x86_64: installed
i2c-piix4, 1.0, 5.2.0-1-MANJARO, x86_64: installed
@philpax
Copy link
Owner

philpax commented Jul 15, 2019

Hi,

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants