Bluetooth on Toshiba Tecra A8 opensuse 11

From openSUSE

This is how it worked to me: Download patch for toshiba_acpi.c included in kernel 2.6.25.9-0.2 and apply it. If you are too lazy, you can download patched version [1] (remember to rename it to toshiba_acpi.c)

Create a directory to build the module in, and a Makefile containing the following instructions:


obj-m := toshiba_acpi.o

KDIR  := /lib/modules/$(shell uname -r)/build PWD  := $(shell pwd)

default:

$(MAKE) -C $(KDIR) M=$(PWD) modules



(You need to have one TAB in front of $(MAKE) to get it to compile, you also need to have kernel source installed)

and run make

I used this for the compilation reference [2]

Now you can replace the original toshiba_acpi.ko with your file and then execute rmmod toshiba_acpi and modprobe toshiba_acpi.


You should end up having /proc/acpi/toshiba/bluetooth file with this inside:

present: 1

power: 0

attach: 0

wireless: 1


You can now enable bluetooth by executing: echo power:1 > /proc/acpi/toshiba/bluetooth && echo attach:1 > /proc/acpi/toshiba/bluetooth

and disable it by: echo attach:0 > /proc/acpi/toshiba/bluetooth && echo power:0 > /proc/acpi/toshiba/bluetooth

For some reason power/attach order matters

Thanks to sfires [3] whose old patch I used for creating mine.


References