View previous topic :: View next topic |
Author |
Message |
lekto Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 20 Sep 2014 Posts: 198 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 |
|
![](templates/gentoo/images/spacer.gif) |
cornplayz256 Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/19840009565118a441f7f8.png)
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 |
|
![](templates/gentoo/images/spacer.gif) |
Spanik l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 12 Dec 2003 Posts: 985 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 |
|
![](templates/gentoo/images/spacer.gif) |
Goverp Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/152613747847c6fd276c31a.jpg)
Joined: 07 Mar 2007 Posts: 2110
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Zucca Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/1241878214609aa5b503437.gif)
Joined: 14 Jun 2007 Posts: 3600 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 :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pa4wdh l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 16 Dec 2005 Posts: 867
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54529 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 |
|
![](templates/gentoo/images/spacer.gif) |
XaetaCore n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Austin_Powers/Austin_Powers_-_Mustafa.gif)
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 |
|
![](templates/gentoo/images/spacer.gif) |
|