Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is it worth to build drivers for devices you won't use?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
lekto
Apprentice
Apprentice


Joined: 20 Sep 2014
Posts: 171
Location: Ancient Rome

PostPosted: Thu Sep 28, 2023 10:18 am    Post subject: Is it worth to build drivers for devices you won't use? Reply with quote

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
View user's profile Send private message
cornplayz256
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2023
Posts: 107
Location: /dev/mmcblk0

PostPosted: Thu Sep 28, 2023 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message
Spanik
l33t
l33t


Joined: 12 Dec 2003
Posts: 943
Location: Belgium

PostPosted: Fri Sep 29, 2023 3:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2009

PostPosted: Fri Sep 29, 2023 5:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3347
Location: Rasi, Finland

PostPosted: Fri Sep 29, 2023 5:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
pa4wdh
l33t
l33t


Joined: 16 Dec 2005
Posts: 812

PostPosted: Sat Sep 30, 2023 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Sep 30, 2023 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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