Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Touchpad not working on Razer Blade
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
mrlc
n00b
n00b


Joined: 29 Nov 2020
Posts: 7

PostPosted: Sat Mar 06, 2021 3:19 am    Post subject: Touchpad not working on Razer Blade Reply with quote

I have been using Gentoo for a few months now on my Razer Blade 15 (2020 Base Model), but I have yet to get the touchpad to work using a manually-configured kernel. It works just fine with a standard genkernel kernel but I would really prefer to switch to my own configuration because the compile times are much shorter and there is less unnecessary stuff enabled.

This disparity makes me think that there is some kernel option enabled in the config made by genkernel but not in my manually-configured kernel. What do you guys think would be the best way to go about figuring out which option this is? I would also be appreciate of any other assistance with setting up the touchpad.

Here is some more specific information: In /etc/portage/make.conf I have
Code:
INPUT_DEVICES="libinput"
and I have the event interface enabled in my (manually-configured) kernel. I will gladly run any commands that you think would give me useful info to work with.
Back to top
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 544
Location: New Zealand

PostPosted: Fri Mar 12, 2021 8:56 pm    Post subject: Re: Touchpad not working on Razer Blade Reply with quote

mrlc wrote:
This disparity makes me think that there is some kernel option enabled in the config made by genkernel but not in my manually-configured kernel. What do you guys think would be the best way to go about figuring out which option this is?

Yes, if that's the only thing that's different (the kernel) then that's exactly what the issue is. You just need to enable the relevant option(s) in your custom kernel.

Assuming you've checked the obvious possibilities (e.g. synaptics support under Device Drivers - Input device support - Mice) and searched online for any less obvious stuff that might be discussed in the wiki or other guides, one thing you could do (after backing up your config of course...e.g. cp .config config_manual) is to launch the working kernel (i.e. you need to boot into it, so that it's actually running...your touchpad should be working) and run
Code:
make modconfig
in the kernel build directory. This will generate a config that includes all the running modules (and unfortunately probably a bunch of other stuff, but it will still be much more specific to your setup than a huge generic kernel). Then you can make menuconfig with the module-based .config (just as a reference to exit from without saving) and immediately copy your backed up custom .config over it and make menuconfig with that in another window to browse through the two configs side-by-side looking for relevant differences.

If you're completely unsure what you're looking for it can still take a while to find the options you need and are missing (because it could even be more than one, in different sections of the config)...however you'll get there in the end, as the touchpad's working with the larger kernel shows that everything else is configured correctly. If all else fails you could upload your whole .config and paste the link here so that someone else can browse through looking for problems...but the modconfig/manual comparison might be useful for you anyway (if you're not used to building kernels you may spot other stuff you need too, unrelated to the touchpad...or conversely you may spot things you thought you needed in your manual config and yet don't really need...although bear in mind that modconfig generates a .config from *running* modules, so for example if you have stuff unplugged or switched off you may still need lots of kernel support that you're not seeing after make modconfig) so I think it's worth trying that yourself first.
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