Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Touchpad not working on manually configured kernel
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
AprilGrimoire
n00b
n00b


Joined: 05 Jun 2020
Posts: 57

PostPosted: Wed Aug 14, 2024 9:03 am    Post subject: [Solved]Touchpad not working on manually configured kernel Reply with quote

Hi :D I'm running Gentoo on a Mechrevo Yilong15Pro Laptop. The laptop mostly worked fine, however the touchpad doesn't work on my manually configured kernel. It shares the userspace file structure with ubuntu kernel, and is compiled from the same kernel version. so I think it is a kernel config issue.

The touchpad seems to communicate with i2c protocol. I managed to get the manually configured kernel to recognize the i2c controller, however it doesn't recognize the device.

Here's logs on the manually configured kernel, including lsmod, libinput list-devices and i2cdetect: https://0bin.net/paste/yjRq5W7f#3iFS91IVOd2-8syg9ixSFGfP514Kr9c49S1CC825VAt

Here's logs on kernel with config copied from ubuntu: https://0bin.net/paste/+JfRGLnZ#vhe0F9-+gDWv86U+6DmeAWNA0O1SycmiKhkDDcl1uvk

The touchpad is labeled UNIW0001:00 093A:0255, with little information online.

Any clues? Thanks!


Last edited by AprilGrimoire on Wed Aug 14, 2024 7:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5091
Location: Bavaria

PostPosted: Wed Aug 14, 2024 10:49 am    Post subject: Reply with quote

AprilGrimoire,

both files you have put on a paste service are not readable.

We had a lot of problems with i2c connected touchpads in the past; maybe you want read:

* https://forums.gentoo.org/viewtopic-t-1170368-highlight-.html
* https://forums.gentoo.org/viewtopic-t-1170201-highlight-.html

or directly chapter 4.7 of:

- https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6

(please note: You will need pinctrl for i2c)

If this does not help you, I would need your current kernel .config file.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
AprilGrimoire
n00b
n00b


Joined: 05 Jun 2020
Posts: 57

PostPosted: Wed Aug 14, 2024 12:15 pm    Post subject: Reply with quote

pietinger wrote:
AprilGrimoire,

both files you have put on a paste service are not readable.

We had a lot of problems with i2c connected touchpads in the past; maybe you want read:

* https://forums.gentoo.org/viewtopic-t-1170368-highlight-.html
* https://forums.gentoo.org/viewtopic-t-1170201-highlight-.html

or directly chapter 4.7 of:

- https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6

(please note: You will need pinctrl for i2c)

If this does not help you, I would need your current kernel .config file.


Really? The pastes might seem unreadable at first because they are AES-encrypted, but I believe the key is included in the url and it would start decrypting as long as it is opened. I've tried in a incognito browser and it seems fine.

I think I have pinctrl enabled, and the kernel modules these two articles mentioned installed.

Thank you for helping!
Back to top
View user's profile Send private message
AprilGrimoire
n00b
n00b


Joined: 05 Jun 2020
Posts: 57

PostPosted: Wed Aug 14, 2024 2:50 pm    Post subject: Reply with quote

pietinger wrote:
AprilGrimoire,

both files you have put on a paste service are not readable.

We had a lot of problems with i2c connected touchpads in the past; maybe you want read:

* https://forums.gentoo.org/viewtopic-t-1170368-highlight-.html
* https://forums.gentoo.org/viewtopic-t-1170201-highlight-.html

or directly chapter 4.7 of:

- https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6

(please note: You will need pinctrl for i2c)

If this does not help you, I would need your current kernel .config file.


I've tried the ~amd64 version of gentoo-sources, and the issue persists.

https://0bin.net/paste/35yk4Rt+#tVQ75DeeQz0BYumVFszCEU8NQtZ1UfjgTK4WccWWkUn .config for 6.10.4

https://0bin.net/paste/1-j3Dvua#2NHmTphdLMtY4dnevWcuAV-btq9NlzJyg7vDXadF38f .config for 6.6.38

In https://forums.gentoo.org/viewtopic-t-1170201-highlight-.html, you mentioned CONFIG_INTEL_MEI. However, I'm using AMD cpu and motherboard, and what's the equivalent for AMD?

Thank you for helping!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5091
Location: Bavaria

PostPosted: Wed Aug 14, 2024 5:33 pm    Post subject: Reply with quote

I was able to check your 6.10 configuration (this requires a browser with javascript; which we are reluctant to do) and see that the most important option of all is missing:

# CONFIG_X86_AMD_PLATFORM_DEVICE is not set

(this module enables other modules).

Maybe have (again?) a look into (right at the beginning of part 1):

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
AprilGrimoire
n00b
n00b


Joined: 05 Jun 2020
Posts: 57

PostPosted: Wed Aug 14, 2024 7:02 pm    Post subject: Reply with quote

pietinger wrote:
I was able to check your 6.10 configuration (this requires a browser with javascript; which we are reluctant to do) and see that the most important option of all is missing:

# CONFIG_X86_AMD_PLATFORM_DEVICE is not set

(this module enables other modules).

Maybe have (again?) a look into (right at the beginning of part 1):

https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6


Thank you! After following the items in this option, the touchpad finally works now. When I first saw this article, I didn't follow it exactly because I didn't want a minimal kernel, rather a moderately lightweight kernel. I didn't think of such options about cpu could render the touchpad unusable!
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5091
Location: Bavaria

PostPosted: Wed Aug 14, 2024 8:24 pm    Post subject: Reply with quote

AprilGrimoire wrote:
[...] After following the items in this option, the touchpad finally works now.

Happy to hear that. :D

AprilGrimoire wrote:
Thank you!

You are very Welcome ! :D

Have fun with Gentoo ! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
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