Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Elan touchpad stopped working, I fixed it but...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Tue Oct 05, 2021 7:07 pm    Post subject: Elan touchpad stopped working, I fixed it but... Reply with quote

Long story short: My Huawei MateBook D touchpad stopped working while I was using my laptop. I then thought it was a driver issue and rebooted. It didn't help. At this point I was sure this was a hardware failure. I haven't made any updates etc because we just moved to a new house and I have tons of other things to do. So hardware issue right? Maybe... BUT unloading and loading i2c_hid kernel module brought the touchpad back to life.

I can't think of any reason why this is like it is. Anyone have any guesses?

I'll be sure to save all the kernel messages if this happens again.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
roccobaroccoSC
n00b
n00b


Joined: 15 May 2020
Posts: 27

PostPosted: Wed Oct 06, 2021 6:56 am    Post subject: Reply with quote

I disable the touchpad sometimes by accident when pressing the wrong keys (Fn+F7 on my machine). Check if you disabled it unintentionally.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Oct 06, 2021 7:14 am    Post subject: Reply with quote

There's no quick key to disable touchpad on my laptop, afaik. Fn+F7 disables microphone.

But the touchpad really gave some error messages before dying.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Oct 13, 2021 8:19 pm    Post subject: Reply with quote

It happened again.
    These messages started to appear on dmesg:
    Code:
    i2c_hid i2c-ELAN2204:00: i2c_hid_get_input: incomplete report (14/65535)
    And then i did remove/unload i2c_hid and then loaded it again, but then:
    Code:
    i2c_hid i2c-ELAN2204:00: supply vdd not found, using dummy regulator
    i2c_hid i2c-ELAN2204:00: supply vddl not found, using dummy regulator
    i2c_hid i2c-ELAN2204:00: failed to reset device.
    i2c_hid i2c-ELAN2204:00: failed to reset device.
    i2c_hid i2c-ELAN2204:00: failed to reset device.
    i2c_hid i2c-ELAN2204:00: failed to reset device.
    i2c_hid i2c-ELAN2204:00: can't add hid device: -61
    i2c_hid: probe of i2c-ELAN2204:00 failed with error -61
I guess compiling i2c_hid into kernel would only worsen things.
But also I just realized this "hangup" happens only short time after resuming from suspend. So the very ugly solution would be to unload the module before going to suspend...
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
allexj
n00b
n00b


Joined: 31 Oct 2021
Posts: 2

PostPosted: Sun Oct 31, 2021 12:19 am    Post subject: Reply with quote

I have the SAME issue and the SAME laptop.

Zucca wrote:
It happened again.
So the very ugly solution would be to unload the module before going to suspend...


So you mean to create a suspend hook (to unload i2c_hid) and resume hook(to reload i2c_hid)?
Also, modprobe doesn't let me unload i2c_hid... I have to unload i2c_hid_acpi before, and then I can remove i2c_hid. Do you have the same scenario?
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Sun Oct 31, 2021 8:57 am    Post subject: Reply with quote

Hi, allexj!
allexj wrote:
So you mean to create a suspend hook (to unload i2c_hid) and resume hook(to reload i2c_hid)?
Yes, that could solve the issue.
allexj wrote:
Also, modprobe doesn't let me unload i2c_hid... I have to unload i2c_hid_acpi before, and then I can remove i2c_hid. Do you have the same scenario?
I don't have i2c_hid_acpi, however.
Which kernel version you run?
Code:
# uname -rp
5.10.61-huawei-matebook-d-amd AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx


I bet we're not alone and this indicates that this isn't a hardware problem.

Oh, and welcome to Gentoo!
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
allexj
n00b
n00b


Joined: 31 Oct 2021
Posts: 2

PostPosted: Tue Nov 09, 2021 12:20 pm    Post subject: Reply with quote

Zucca wrote:

Which kernel version you run?

Oh, and welcome to Gentoo!


Hi! Thanks for welcome, but to be honest I am running ArchLinux. I searched for this issue and I noticed this thread so I commented.

Code:
$ uname -rp
5.14.16-arch1-1 unknown


Doing as you suggested (creating sleep and resume hooks) seem to have fixed the issue! :D

If you want more resources about the bug, here there are some links:
https://www.reddit.com/r/linuxhardware/comments/mv9qew/elan2204_touchpad_stops_working_after_hibernation/
https://bugzilla.kernel.org/show_bug.cgi?id=214749

Thanks for the suggestion, I'll let you know if the bug happens again
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Tue Nov 09, 2021 5:06 pm    Post subject: Reply with quote

So let's wait for the fix, I guess. :?

Darn. I'm not very eager to test out bleeding edge kernels, but this time, I guess, I have to when the time comes.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum