OpenRGB not working on Asus G14

I have an Asus G14 ga402rj. I wanted to be able to control the keyboard RGB. Heard that OpenRGB is my best option. However, when I open OpenRGB, it gives me this message:

WARNING:
One or more I2C/SMBus interfaces failed to initialize. RGB DRAM modules and some motherboards’ onboard RGB lighting will not be available without I2C/SMBus. On Linux, this is usually because the i2c-dev module is not loaded. You must load the i2c-dev module along with the correct i2c driver for your motherboard. This is usually i2c-piix4 for AMD systems and i2c-i801 for Intel systems. See help.openrgb.org for additional troubleshooting steps if you keep seeing this message.

I searched on how to solved this issue. Most places I found are for Devian bases distros and not sure how to fix it for endeavorOS.

Detailed hardware information: https://clbin.com/VdjVE

@zetacu
What does this command show?

sudo lsmod | grep i2c

Edit: If the command shows i2c-piix4 then you need to load the module. Try the following

Use nano to create the .conf file.

sudo nano /etc/modules-load.d/i2c-dev.conf

add

12c-dev

Save the file. Then reboot or run the following to see if it works.

sudo modprobe i2c_piix4

Hi @ricklinux tnx for your suggestions. I followed your guide and now I got:

$ sudo modprobe 12c-dev

modprobe: FATAL: Module 12c-dev not found in directory /lib/modules/5.18.1-arch1-1

As context:

$ sudo lsmod | grep i2c

i2c_piix4              36864  0
i2c_hid_acpi           16384  0
i2c_hid                40960  1 i2c_hid_acpi
i2c_dev                24576  0

And add the 12c-dev to /etc/modules-load.d/i2c-dev.conf and restarted my system. I searched for this error but no luck. Any idea?

Welcome to the forum @zetacu :partying_face: :enos_flag: :enos:

I am not experienced in this area but it looks to me as it there maybe typos in the instructions from @ricklinux . I would try:

Use nano to create the .conf file.

sudo nano /etc/modules-load.d/i2c-dev.conf

add

i2c-dev

Save the file. Then reboot or run the following to see if it works.

sudo modprobe i2c-dev

The ArchWiki is useful for EndeavourOS, see link

1 Like

Shouldn’t you be using i2c_dev?

Hi @kjw and @pebcak, tnx for your help. I changed to i2c-dev and executed the sudo modprobe i2c-dev command. It returns nothing, so I guess it worked. However I’m still getting the error from OpenRGB.

I was reading the ArchWiki about I2C. I installed the tool and this is the output:

$ sudo i2cdetect -l

i2c-0   i2c             Synopsys DesignWare I2C adapter         I2C adapter
i2c-1   smbus           SMBus PIIX4 adapter port 0 at 0b00      SMBus adapter
i2c-2   smbus           SMBus PIIX4 adapter port 2 at 0b00      SMBus adapter
i2c-3   smbus           SMBus PIIX4 adapter port 1 at 0b20      SMBus adapter
i2c-4   i2c             AMDGPU SMU 0                            I2C adapter
i2c-5   i2c             AMDGPU SMU 1                            I2C adapter
i2c-6   i2c             AMDGPU DM i2c hw bus 0                  I2C adapter
i2c-7   i2c             AMDGPU DM i2c hw bus 1                  I2C adapter
i2c-8   i2c             AMDGPU DM i2c hw bus 2                  I2C adapter
i2c-9   i2c             AMDGPU DM aux hw bus 0                  I2C adapter
i2c-10  i2c             AMDGPU DM aux hw bus 1                  I2C adapter
i2c-11  i2c             AMDGPU DM i2c hw bus 0                  I2C adapter
i2c-12  i2c             AMDGPU DM i2c hw bus 1                  I2C adapter
i2c-13  i2c             AMDGPU DM i2c hw bus 2                  I2C adapter
i2c-14  i2c             AMDGPU DM i2c hw bus 3                  I2C adapter
i2c-15  i2c             AMDGPU DM i2c hw bus 4                  I2C adapter
i2c-16  i2c             AMDGPU DM i2c hw bus 5                  I2C adapter
i2c-17  i2c             AMDGPU DM i2c hw bus 6                  I2C adapter
i2c-18  i2c             AMDGPU DM i2c hw bus 7                  I2C adapter
i2c-19  i2c             AMDGPU DM i2c hw bus 8                  I2C adapter
i2c-20  i2c             AMDGPU DM aux hw bus 0                  I2C adapter
i2c-21  i2c             AMDGPU DM aux hw bus 1                  I2C adapter
i2c-22  i2c             AMDGPU DM aux hw bus 2                  I2C adapter
i2c-23  i2c             AMDGPU DM aux hw bus 3                  I2C adapter
i2c-24  i2c             AMDGPU DM aux hw bus 4                  I2C adapter
i2c-25  i2c             AMDGPU DM aux hw bus 5                  I2C adapter
i2c-26  i2c             AMDGPU DM aux hw bus 6                  I2C adapter
i2c-27  i2c             AMDGPU DM aux hw bus 7                  I2C adapter
i2c-28  i2c             AMDGPU DM aux hw bus 8                  I2C adapter

Not familiar with hardware so I’m not sure what I’m seen here, looks like the ic2 is up an running but for some reason OpenRGB is not able to see it. Is that right?

1 Like

Admitting I a have no experience in this area however I wonder, judging by the output of your lsmod

and:

if the right module is loaded. It seems to me that i2c_piix4 is not loaded.

Would you want to give the following a try and see if it will work:

sudo modprobe i2c_piix4

@zetacu
Sorry for the typos. It wouldn’t work if not correct. I was in a hurry and messed it up. Hopefully you figured it out with some help and reading the info. :pleading_face:

Edit:
Please let me know if you corrected it and whether it worked.

Tried all your suggestions and seems to me that i2c-devand i2c-piix4 modules are properly loaded now. I seems to me that OpenRGB is looking for those but not finding them.

1 Like