[ltp] REPORT: Re: T61 bluetooth is always on in Ubuntu 9.04, why?!?

Petar Milin linux-thinkpad@linux-thinkpad.org
Fri, 03 Jul 2009 18:35:17 +0200


Thanks all for the assistance!
In brief, for the future record:

Message: 4, solution with
> ,----[ /etc/default/bluetooth ]
> | # start bluetooth on boot?
> | # compatibility note: If this variable is not found bluetooth will
> | # start
> | BLUETOOTH_ENABLED=3D0
> `----
does not work. However, Stefan uses Debian Lenny.

Message: 6, solution with
> step 1)
>  find the bluetooth rf-kill
>  grep tpacpi_bluetooth_sw /sys/class/rfkill/rfkill?/name
> 
> step 2)
>  set the desired state
>  echo -n 0 > /sys/class/rfkill/rfkillX/state # is OFF
>  echo -n 1 > /sys/class/rfkill/rfkillX/state # is ON
> (where X is what you found in step 1)
> 
does not work. I used 'echo -n 0 /sys/class/rfkill/rfkill0/state' with 
no effect.

Message: 3, solution with
> echo disable > /proc/acpi/ibm/bluetooth
> 
DOES WORK! I put the above as the end line in '/etc/init.d/rc.local'.
Thanks Richard!!!

Best,
PM