how to disable bluetooth

kaltheat at kaltheat at
Sat Mar 2 18:03:51 UTC 2013

On Fri, Mar 01, 2013 at 09:50:45PM +0100, CeDeROM wrote:
> On Fri, Mar 1, 2013 at 7:30 PM,  kaltheat wrote:
> > On Wed, Feb 27, 2013 at 06:31:38PM +0100, CeDeROM wrote:
> >> hey hey :-)  its not that i dont want the bluetooth at all, just want to
> >> shut it down when its supposed to be shut down :-) bluetooth stack is
> >> always functional and my device is always visible even if i disable all
> >> bluetooth services, this seems insecure a bit huh. :-)
> >
> > You might want to create a cutomized minimal kernel and load every module
> > either by /boot/loader.conf or by hand.
> Yea, I have noticed that defaul kernel now contains everything. I am
> not sure if this is a good choice. Do you know how can I mark which
> code pieces should be build as modules and which ones should become
> part of kernel? I got lots of modules - are they built into the kernel
> or loaded one by one at boot time?
> Thank you! :-)
> Tomek

Well. I don't think that it contains everything.
Do `kldstat -v` to get informations on modules built into kernel and modules
loaded seperately.
You can mark code pieces you want to have in kernel by writing a KERNCONF
file. Details can be taken from handbook[1]. You may find other step-by-step
instructions in forum[2] and on several blogs. I saw some posts of people
sharing their minimal kernel configuration file. It's interesting for people
using laptops and wanting to save as much power as possible, too.



More information about the freebsd-questions mailing list