Re: [gentoo-user] need know-hows to fine-tune the kernel with new hardware

2020-03-21 Thread Michael
On Friday, 20 March 2020 14:56:26 GMT WooHyung Jeon wrote:
> Dear amazing mentors!
> 
> I bought a new laptop, thinkpad E495. This laptop has Ryzen 3500U and
> vega gpu. The hardware specification for this particular laptop isn't
> the topic. I spent bunch of time to start X with this hardware, and then
> the 'gentoo-kernel-bin' came to my mind. And then it does the work.
> 
> So, as you can see, this email isn't about 'how can I solve this
> issue?'. Rather about "Do you have your know-hows to fine-tune the
> kernel with the new hardware?". I'm doing (a) boot with a quite general
> kernel, such as sysrescuecd's live iso or Debian, and check '$lspci -k',
> (b) or turn on a few related options and then turn off one by one until
> something breaks or doesn't work well.
> 
> Is there any other good methods to use?

lshw, lscpu, lspci, lsusb, lsscsi, dmidecode, are tools which will provide 
information on the hardware you are using.

Using a LiveCD which has booted the same hardware successfully is also useful.  
'lsmod' will show which modules are loaded by the LiveCD kernel.  To see what 
configuration the LiveCD running kernel is using:

cat /proc/config.gz

The LiveCD devs will have many more modules and a different configuration to 
what you need or want to run on your system.  After all they cater to many 
different hardware and would like to be able to boot as many of them.  You 
would need only a few of the modules and kernel options according to your own 
hardware.

If there is some hardware piece which is not yet configured, you can search 
google on module or driver information according to the vendor id and product 
id the above commands report.

HTH.

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] need know-hows to fine-tune the kernel with new hardware

2020-03-20 Thread WooHyung Jeon

Dear amazing mentors!

I bought a new laptop, thinkpad E495. This laptop has Ryzen 3500U and 
vega gpu. The hardware specification for this particular laptop isn't 
the topic. I spent bunch of time to start X with this hardware, and then 
the 'gentoo-kernel-bin' came to my mind. And then it does the work.


So, as you can see, this email isn't about 'how can I solve this 
issue?'. Rather about "Do you have your know-hows to fine-tune the 
kernel with the new hardware?". I'm doing (a) boot with a quite general 
kernel, such as sysrescuecd's live iso or Debian, and check '$lspci -k', 
(b) or turn on a few related options and then turn off one by one until 
something breaks or doesn't work well.


Is there any other good methods to use?
--
Regards,

WooHyung Jeon