Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using another distros kernel config?
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
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 60

PostPosted: Sat Jul 20, 2019 8:35 am    Post subject: Using another distros kernel config? Reply with quote

So I'm just about to reinstall Gentoo onto my laptop (I messed up my Gentoo install accidentally while using Windows, I didn't have time to reinstall Gentoo so I just installed OpenSUSE dual-booted with Win10 until I had time to redo my Gentoo install. I'm going to redo it now)

So my laptop has a touchscreen that only seems to work with OpenSUSE (It doesn't work on Windows, and it doesn't work with any other distros I have tried). I have tried to get it working under Gentoo before and failed, so I was wondering if I could steal opensuse's kernel config, which should have everything needed for my touchscreen to work (or at the very least I could rule my kernel config out as to why my touchscreen isn't working).

So should I be able to use OpenSUSE's kernel config? Or will that probably break something in Gentoo?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 44945
Location: 56N 3W

PostPosted: Sat Jul 20, 2019 9:00 am    Post subject: Reply with quote

Sol33t303,

You can use any kernel config that you have to hand.

Put it in you Gentoo kernel then run
Code:
make oldconfig
to generate a legal kernel for your Gentoo kernel.

Its possible that OpenSUSE has a specially patched kernel for your touch screen.
If so, that code will be missing from the Gentoo kernel, so the touch screen still may not work.

However, if OpenSUSE has a patch, it will probably apply to Gentoo too ... the hard bit will be finding it.

Starting with a known working .config is a good place to start.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 60

PostPosted: Sat Jul 20, 2019 9:24 am    Post subject: Reply with quote

Ok thanks.

After using make oldconfig to compile a kernel with OpenSUSE's config, I'll look around and see if I can find OpenSUSE's patches for their kernel (assuming just using their config file to compile my kernel doesn't work).
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3750
Location: Hamburg

PostPosted: Sat Jul 20, 2019 9:42 am    Post subject: Reply with quote

Code:
make localmodconfig
is also worth to be considered. I used for my server first the kernel config from my hoster and stripped it down to those things I do really need.
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