• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: TurnOff Wifi & BlueTooth  (Read 1466 times)
Mimoza
Newbie
*

Karma: 0
Posts: 16



View Profile
« on: June 13, 2010, 11:33:22 AM »

Hi,
I've a Guru S+ but i think it's works for Sheeva too.
There heat problem with some plugs. Hopefully mine seems not to be affected, but to prevent this problem i try turn off Wifi & Bluetooth.
So appear there two way for that:

First make a shell script to unload drivers. something like that:
Code:
#Desactivate Wifi
modprobe -r libertas_sdio;
modprobe -r libertas;
#Desactivate Bluetooth
modprobe -r btmrvl_sdio;
modprobe -r btmrvl;
The LED stop to blink, so it's work.

And the opposite to turn on
Code:
#Activate Wifi
modprobe libertas_sdio;
modprobe libertas;
#Activate Bluetooth
modprobe btmrvl_sdio;
modprobe btmrvl;

Second black list module with adding some lines in /etc/modprobe.d/blacklist
Code:
# This file lists modules which will not be loaded as the result of
# alias expansion, with the purpose of preventing the hotplug subsystem
# to load them. It does not affect autoloading of modules by the kernel.
# This file is provided by the udev package.
[...]
blacklist wdt
blacklist wdt_pci

#Desactivate Wifi
blacklist libertas_sdio
blacklist libertas
#Desactivate Bluetooth
blacklist btmrvl_sdio
blacklist btmrvl

Now some questions :
- Have I forgot something ?
- There another(s) better way ?

Suggestions are welcome

edit : velo_love nota
« Last Edit: June 16, 2010, 10:42:47 AM by Mimoza » Logged

velo_love
Newbie
*

Karma: 0
Posts: 15


View Profile
« Reply #1 on: June 15, 2010, 12:18:24 PM »

Hi,

thank you for the tip!

I have also updated the /root/init_setup.file (all lines are commented except for the LED 'health').

Nota: in the file /etc/modprobe.d/blacklist, you should remove ';' at the end of the four added lines.
Logged

Pages: [1]
Print
Jump to: