Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Touchpad not working on gentoo-sources but working on *-dist

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
heppen
n00b
n00b
User avatar
Posts: 22
Joined: Fri Sep 17, 2021 3:09 pm

Touchpad not working on gentoo-sources but working on *-dist

  • Quote

Post by heppen » Fri Sep 24, 2021 10:01 am

Hi :)

I'm struggling with kernel compilation. Currently I'm using

Code: Select all

Linux gentoo 5.14.7-gentoo-dist
kernel and everything works just fine.

However, I want to compile my own kernel. What I'm doing?
First, I'm selecting second kernel

Code: Select all

eselect kernel set 1
then I'm copying .config file

Code: Select all

cp /usr/src/linux-5.14.7-gentoo-dist/.config /usr/src/linux
next I'm running this commands

Code: Select all

make oldconfig
make localmodconfig
and in the end, genkernel:

Code: Select all

genkernel --oldconfig --clean --microcode=amd all
after successfully compiled kernel, I'm ending with grub update

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg
System booting up OK but... touchpad is not working anymore.
When I switch back to *-dist kernel, touchpad is working. What I'm doing wrong? From what I understand, after copying previous .config file, kernel should compile with same options. I'm using localmodconfig to clean it a little bit but I tried without this command and result was the same :/

Any advice? Thanks :)
Top
heppen
n00b
n00b
User avatar
Posts: 22
Joined: Fri Sep 17, 2021 3:09 pm

  • Quote

Post by heppen » Fri Sep 24, 2021 12:17 pm

Ok, I was able to compile kernel and touchpad works^^

Code: Select all

Linux gentoo 5.14.7-gentoo-x86_64 #1 SMP Fri Sep 24 13:37:16
After oldconfig I ran genkernel with menuconfig and selected few modules.

If there will be new kernel release I will do only oldconfig and everything will be working or I'll have to enable those modules again?
Top
Makersmarx
n00b
n00b
User avatar
Posts: 58
Joined: Sat Feb 16, 2019 12:32 am
Location: Costa Rica

  • Quote

Post by Makersmarx » Fri Sep 24, 2021 12:56 pm

Just copy over your config and all will stay intact. For example when I upgrade I use this cp /usr/src/linux-CURRENT-RUNNING-KERNEL-gentoo/.config /usr/src/linux/. Here are the docs for ref for future upgrades. Glad you got things running! https://wiki.gentoo.org/wiki/Kernel/Upgrade
Pura Vida
Top
heppen
n00b
n00b
User avatar
Posts: 22
Joined: Fri Sep 17, 2021 3:09 pm

  • Quote

Post by heppen » Fri Sep 24, 2021 1:02 pm

Makersmarx wrote:Just copy over your config and all will stay intact. For example when I upgrade I use this cp /usr/src/linux-CURRENT-RUNNING-KERNEL-gentoo/.config /usr/src/linux/. Here are the docs for ref for future upgrades. Glad you got things running! https://wiki.gentoo.org/wiki/Kernel/Upgrade
Thanks! I'm learning a lot by using Gentoo, that's why I love this distro and think it's awesome ;)

I will keep current .config as long as I can since everything seems to working just fine.

btw. I found that command to copy .config file

Code: Select all

zcat /proc/config.gz > .config
ofc. when you are in /usr/src/linux directory
Top
Post Reply

4 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic