You are not logged in.

#1 2022-12-16 14:46:06

Alphabeit
Member
Registered: 2021-08-08
Posts: 19

[SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

Hello everyone,

i have a new notebook, a convertible included a touchscreen. I use Arch a long time, before on my Tower. Now, with the new book, I want to use Linux also there, but i have one problem. Neither the touchscreen works, nor the touchpad. A liddle bit bad.

The thing is, the hardware is completely fine. Both in the UEFI and also in a Manjaro LiveDisk, the touchpad and the touchscreen works. So, now the question, why I dont use Manajro? The reason is, after the install and the first update, the touch-devices won't work again. And I'm Arch User!

Input drivers don't solve my problem... Also neither grub configuration, nor X11-config-files. But by my self try to solve this Problem, at some point I stumbled across I2C. (Please see the following command inputs.) By the successful trys, the I2C works, by the unsuccessful trys, the I2C controller have a time out. I think, thats must be a correlation.

A liddle bit special, i think the I2C controller is from AMD. (Please see the console output.)



normal Linux Kernel:

uname -a
	Linux NotebookBeta 6.0.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 08 Dec 2022 11:03:38 +0000 x86_64 GNU/Linux

sudo libinput list-devices | grep ELAN
sudo libinput list-devices | grep Wa
	~
		
lsmod | grep i2c
	i2c_hid_acpi           16384  0
	i2c_hid                40960  1 i2c_hid_acpi
	i2c_piix4              36864  0

journalctl | grep i2c
	Dez 16 13:20:18 NotebookBeta kernel: i2c_designware AMDI0010:00: controller timed out
	Dez 16 13:20:18 NotebookBeta kernel: i2c_designware AMDI0010:03: controller timed out


Zen Linux Kernel:

uname -a
	Linux NotebookBeta 6.0.12-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 08 Dec 2022 11:03:40 +0000 x86_64 GNU/Linux
		
sudo libinput list-devices | grep ELAN
sudo libinput list-devices | grep Wa
	~
	
lsmod | grep i2c
	i2c_piix4              36864  0
	i2c_hid_acpi           16384  0
	i2c_hid                40960  1 i2c_hid_acpi
	
journalctl | grep i2c
	Dez 16 13:23:30 NotebookBeta kernel: i2c_designware AMDI0010:03: controller timed out
	Dez 16 13:23:30 NotebookBeta kernel: i2c_designware AMDI0010:00: controller timed out
	Dez 16 13:23:30 NotebookBeta kernel: i2c_hid_acpi i2c-WACF2200:00: failed to fetch HID descriptor: -110
	Dez 16 13:23:30 NotebookBeta kernel: i2c_hid_acpi i2c-WACF2200:00: Failed to fetch the HID Descriptor


LTS Linux Kernel:

uname -a
	Linux NotebookBeta 5.15.83-1-lts #1 SMP Wed, 14 Dec 2022 12:01:38 +0000 x86_64 GNU/Linux
	
sudo libinput list-devices | grep ELAN
sudo libinput list-devices | grep Wa
	~
	
lsmod | grep i2c
	i2c_piix4              36864  0
	i2c_hid_acpi           16384  0
	i2c_hid                40960  1 i2c_hid_acpi
	
journalctl | grep i2c
	Dez 16 11:47:57 NotebookBeta kernel: i2c_designware AMDI0010:03: controller timed out
	Dez 16 11:47:57 NotebookBeta kernel: i2c_designware AMDI0010:00: controller timed out
	Dez 16 11:47:57 NotebookBeta kernel: i2c_hid_acpi i2c-WACF2200:00: failed to fetch HID descriptor: -110
	Dez 16 11:47:57 NotebookBeta kernel: i2c_hid_acpi i2c-WACF2200:00: Failed to fetch the HID Descriptor
	Dez 16 11:53:33 NotebookBeta kernel: i2c_designware AMDI0010:03: controller timed out


Manjaro LiveDisk:

uname -a
	Linux manjaro-gnome 5.15.60-1-MANJARO #1 SMP PREEMPT Thu Aug 11 13:14:05 UTC 2022 x86_64 GNU/Linux

sudo libinput list-devices | grep ELAN
	Device:           ELAN0644:00 04F3:31AD Mouse
	Device:           ELAN0644:00 04F3:31AD Touchpad
sudo libinput list-devices | grep Wa
	Device:           Wacom HID 52CA Pen
	Device:           Wacom HID 52CA Finger
	
lsmod | grep i2c
	i2c_piix4              36864  0
	i2c_hid_acpi           16384  0
	i2c_hid                40960  1 i2c_hid_acpi
	
journalctl | grep i2c
	Dez 16 13:29:44 manjaro-gnome kernel: input: ELAN0644:00 04F3:31AD Mouse as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0003/input/input9
	Dez 16 13:29:44 manjaro-gnome kernel: input: ELAN0644:00 04F3:31AD Touchpad as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0003/input/input11
	Dez 16 13:29:44 manjaro-gnome kernel: hid-generic 0018:04F3:31AD.0003: input,hidraw2: I2C HID v1.00 Mouse [ELAN0644:00 04F3:31AD] on i2c-ELAN0644:00
	Dez 16 13:29:44 manjaro-gnome kernel: input: WACF2200:00 056A:52CA Touchscreen as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input12
	Dez 16 13:29:44 manjaro-gnome kernel: input: WACF2200:00 056A:52CA as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input13
	Dez 16 13:29:44 manjaro-gnome kernel: input: WACF2200:00 056A:52CA as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input14
	Dez 16 13:29:44 manjaro-gnome kernel: input: WACF2200:00 056A:52CA as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input15
	Dez 16 13:29:44 manjaro-gnome kernel: input: WACF2200:00 056A:52CA Mouse as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input16
	Dez 16 13:29:44 manjaro-gnome kernel: hid-generic 0018:056A:52CA.0004: input,hidraw3: I2C HID v1.00 Mouse [WACF2200:00 056A:52CA] on i2c-WACF2200:00
	Dez 16 13:29:44 manjaro-gnome kernel: input: ELAN0644:00 04F3:31AD Mouse as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0003/input/input19
	Dez 16 13:29:44 manjaro-gnome kernel: input: ELAN0644:00 04F3:31AD Touchpad as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0003/input/input21
	Dez 16 13:29:45 manjaro-gnome kernel: hid-multitouch 0018:04F3:31AD.0003: input,hidraw2: I2C HID v1.00 Mouse [ELAN0644:00 04F3:31AD] on i2c-ELAN0644:00
	Dez 16 13:29:45 manjaro-gnome kernel: input: Wacom HID 52CA Pen as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input24
	Dez 16 13:29:45 manjaro-gnome kernel: input: Wacom HID 52CA Finger as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0004/input/input25
	Dez 16 13:29:45 manjaro-gnome kernel: wacom 0018:056A:52CA.0004: hidraw3: I2C HID v1.00 Mouse [WACF2200:00 056A:52CA] on i2c-WACF2200:00


The Notebook have a Ryzen 7 5700U and 16GB LDPPR4 RAM. As Desktop Enviorment, I use Gnome/Wayland. XWayland and Gnome with Xorg are also don't work. Currently, is just the minimum installed. The Manajro LiveDisk have I started with open drivers.

In the best case, I would use the zen kernel.

Mabye, do you have ideas to solve this problem? I'm open for tips and anything else.
Thx you in advance.

Alphabeit

Last edited by Alphabeit (2022-12-20 22:24:41)


Just it's works!

Offline

#2 2022-12-17 15:07:04

hier0nym0us
Member
Registered: 2022-10-01
Posts: 5

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

This is an upstream bug. A patch has been issued: https://bugzilla.kernel.org/show_bug.cgi?id=216804

Last edited by hier0nym0us (2022-12-17 15:08:39)

Offline

#3 2022-12-18 15:58:01

Alphabeit
Member
Registered: 2021-08-08
Posts: 19

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

Hello again,

I have install the newest kernel 6.1-arch1-1 with the bugfixe, but it didn't help. I have still no touchdevices...

uname -a
        Linux NotebookBeta 6.1.0-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 11 Dec 2022 23:35:00 +0000 x86_64 GNU/Linux

sudo libinput list-devices | grep ELAN
sudo libinput list-devices | grep Wa
	~

lsmod | grep i2c
        i2c_piix4               36864  0
        i2c_hid_acpi            16384  0
        i2c_hid                 40960  1 i2c_hid_acpi

journalctl | grep i2c
        Dez 18 16:45:12 NotebookBeta kernel: i2c_designware AMDI0010:00: controller timed out
        Dez 18 16:45:12 NotebookBeta kernel: i2c_designware AMDI0010:03: controller timed out
        Dez 18 16:45:12 NotebookBeta kernel: i2c_hid_acpi i2c-WACF2200:00: failed to fetch HID descriptor: -110
        Dez 18 16:45:12 NotebookBeta kernel: i2c_hid_acpi i2c-WACF2200:00: Failed to fetch the HID Descriptor

Do anyone have more ideas or solutions?

Alphabeit


Just it's works!

Offline

#4 2022-12-18 18:42:11

hier0nym0us
Member
Registered: 2022-10-01
Posts: 5

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

You need to patch the kernel yourself or downgrade to 5.19.9 until that patch is accepted into the mainline kernel. 6.1.arch1-1 is in testing as of 2022-12-12. The patch was sent to the relevant mailing list on 2022-12-13. It hasn't hit the mainline kernel yet.

Offline

#5 2022-12-19 06:57:19

Alphabeit
Member
Registered: 2021-08-08
Posts: 19

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

Hallo hier0nym0us,

thank you very much. The kernel 5.19.9 is the solution! Until the next Update from 6.1 is out, i will use this version.

uname -a
        Linux NotebookBeta 5.19.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 15 Sep 2022 16:08:26 +0000 x86_64 GNU/Linux

sudo libinput list-devices | grep ELAN
        Device:           ELAN0644:00 04F3:31AD Mouse
        Device:           ELAN0644:00 04F3:31AD Touchpad
sudo libinput list-devices | grep Wa
	Device:           Wacom HID 52CA Pen
        Device:           Wacom HID 52CA Finger

lsmod | grep i2c
        i2c_piix4              36864  0
        i2c_hid_acpi           16384  0
        i2c_hid                40960  1 i2c_hid_acpi

journalctl | grep i2c
        Dez 19 07:43:21 NotebookBeta kernel: input: ELAN0644:00 04F3:31AD Mouse as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0002/input/input4
        Dez 19 07:43:21 NotebookBeta kernel: input: ELAN0644:00 04F3:31AD Touchpad as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0002/input/input6
        Dez 19 07:43:21 NotebookBeta kernel: hid-generic 0018:04F3:31AD.0002: input,hidraw1: I2C HID v1.00 Mouse [ELAN0644:00 04F3:31AD] on i2c-ELAN0644:00
        Dez 19 07:43:21 NotebookBeta kernel: input: WACF2200:00 056A:52CA Touchscreen as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input8
        Dez 19 07:43:21 NotebookBeta kernel: input: WACF2200:00 056A:52CA as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input9
        Dez 19 07:43:21 NotebookBeta kernel: input: WACF2200:00 056A:52CA Stylus as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input10
        Dez 19 07:43:21 NotebookBeta kernel: input: WACF2200:00 056A:52CA as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input11
        Dez 19 07:43:21 NotebookBeta kernel: input: WACF2200:00 056A:52CA Mouse as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input12
        Dez 19 07:43:21 NotebookBeta kernel: hid-generic 0018:056A:52CA.0003: input,hidraw2: I2C HID v1.00 Mouse [WACF2200:00 056A:52CA] on i2c-WACF2200:00
        Dez 19 07:43:22 NotebookBeta kernel: input: ELAN0644:00 04F3:31AD Mouse as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0002/input/input19
        Dez 19 07:43:22 NotebookBeta kernel: input: ELAN0644:00 04F3:31AD Touchpad as /devices/platform/AMDI0010:03/i2c-1/i2c-ELAN0644:00/0018:04F3:31AD.0002/input/input21
        Dez 19 07:43:22 NotebookBeta kernel: hid-multitouch 0018:04F3:31AD.0002: input,hidraw0: I2C HID v1.00 Mouse [ELAN0644:00 04F3:31AD] on i2c-ELAN0644:00
        Dez 19 07:43:22 NotebookBeta kernel: input: Wacom HID 52CA Pen as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input22
        Dez 19 07:43:22 NotebookBeta kernel: input: Wacom HID 52CA Finger as /devices/platform/AMDI0010:00/i2c-0/i2c-WACF2200:00/0018:056A:52CA.0003/input/input23

The steps that I have done:

- First. I have download the 5.19.9 kernel from https://archive.archlinux.org/packages/l/linux/ in my ~/Download/ Folder.

- Than:

cd ~/Download/

sudo pacman -U *Filename*

Finish.


Nochmals vielen Dank smile

Best Regards
Alphabeit


Just it's works!

Offline

#6 2022-12-19 06:59:16

Alphabeit
Member
Registered: 2021-08-08
Posts: 19

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

A, one question... how i can set this thread on [solved]? roll


Just it's works!

Offline

#7 2022-12-20 01:52:35

hier0nym0us
Member
Registered: 2022-10-01
Posts: 5

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

You can edit your first post to include [Solved] in the title.

Gern geschehen.

- hier0nym0us

Offline

#8 2022-12-20 22:23:31

Alphabeit
Member
Registered: 2021-08-08
Posts: 19

Re: [SOLVED] i2c (amd) controller timed out / IdeaPad Flex 5 14ALC7

Thanks.

For everyone, thats search a solution -> look at post #5.


Just it's works!

Offline

Board footer

Powered by FluxBB