View previous topic :: View next topic |
Author |
Message |
lekto Apprentice
Joined: 20 Sep 2014 Posts: 207 Location: Ancient Rome
|
Posted: Thu Sep 28, 2023 10:18 am Post subject: Is it worth to build drivers for devices you won't use? |
|
|
Is there a reason to build drivers for devices I'm sure I won't be using? Examples:
- My headless machine has to have GPU, because it can't past POST without it,
- I have motherboard where lspci can detect IDE, but it doesn't have IDE headers,
- Laptop with Bluetooth, but I don't use any Bluetooth devices. |
|
Back to top |
|
|
cornplayz256 Tux's lil' helper
Joined: 25 Jun 2023 Posts: 107 Location: /dev/mmcblk0
|
Posted: Thu Sep 28, 2023 11:05 am Post subject: |
|
|
it depends... if you are gonna use them in the future or sometime... then probably, otherwise, if you are not gonna use them at all, then nope. _________________ nothing to see here |
|
Back to top |
|
|
Spanik l33t
Joined: 12 Dec 2003 Posts: 998 Location: Belgium
|
Posted: Fri Sep 29, 2023 3:05 pm Post subject: |
|
|
I try to exclude everything I'm sure that I can not use. I'm running an AMD cpu so I remove everything relate to Intel cpu's. It is a desktop so I do remove wifi and bluetooth because these devices are not there. Same for drivers for ethernet chipsets or audio cards I do not have. As I'm not into amateur radio I leave that out etc.
As you are going through the trouble of configuring your own kernel anyway, I isn't that hard to build one later if you change your setup. OTOH I have no idea if it is useful to do so.
However, maybe you do not use bluetooth but it might be useful to have the driver so you can disable it and reduce power consumption. Maybe if the device is left unconfigured it might use more power. But YMMV as I'm certainly not a specialist in that kind of details. _________________ Expert in non-working solutions |
|
Back to top |
|
|
Goverp Advocate
Joined: 07 Mar 2007 Posts: 2175
|
Posted: Fri Sep 29, 2023 5:31 pm Post subject: |
|
|
It may be worth building a number of USB device drivers, as the whole point of USB is that you can plug anything in - tv receivers, webcams, network interfaces, backup devices, rodents, etc. ad nauseam, and it might be slightly annoying to have to reconfigure your kernel if you want to use one in a hurry. Otherwise, IMHO there's no point in including devices not already connected to your machine. _________________ Greybeard |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3687 Location: Rasi, Finland
|
Posted: Fri Sep 29, 2023 5:42 pm Post subject: |
|
|
I'd built most usb drivers as modules that you might need. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 881
|
Posted: Sat Sep 30, 2023 9:43 am Post subject: |
|
|
If there is hardware you have and won't use i think it might be worth compiling the driver.
It might add power management capabilities that allow the kernel to set it to a low power state, so your unused hardware will use less power. _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Sat Sep 30, 2023 11:38 am Post subject: |
|
|
lekto,
From a 2005 post .. https://forums.gentoo.org/viewtopic-p-2431534.html#2431534
1. If you need an option to boot, build it into the kernel. Thats (Y) (*) or a tick depending on your make tool.
2. If you need an option after booting, make it a module. Thes (M) (M) or a dot depending on your make tool.
3. If you don't need an option, don't make it at all. Thats (N) ( ) or a blank box depending on your make tool.
4. If you don't understand the help, leave the default alone
That advice is still good nearly 20 years later. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
XaetaCore n00b
Joined: 11 Aug 2016 Posts: 25 Location: The Netherlands
|
Posted: Fri May 24, 2024 12:36 pm Post subject: |
|
|
I tend to add them when needed, A recompile of the kernel takes 3 minutes at most for me. |
|
Back to top |
|
|
|