[coreboot] bluetooth on Thinkpad X60s

Motiejus Jakštys desired.mta at gmail.com
Tue May 1 16:03:33 CEST 2012


Hi,

bluetooth was not working for me on Thinkpad X60s. Rfkill was not
showing the device and the bluetooth led was off. The way I managed to
make it work is with this patch:

diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index ecd34b2..b13d687 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -151,8 +151,7 @@ static void h8_enable(device_t dev)
                ec_write(H8_VOLUME_CONTROL, val);


-       if (!get_option(&val, "bluetooth"))
-               h8_bluetooth_enable(val);
+    h8_bluetooth_enable(1);

        if (!get_option(&val, "first_battery")) {
                tmp = ec_read(H8_CONFIG3);

What would be a better way to do it?

-- 
Motiejus Jakštys




More information about the coreboot mailing list