2007
04.25

For all who discovering problems on getting their bluetooth stuff working on the recently released Ubuntu 7.04 (Feisty Fawn). There is bug in

1
/etc/acpi/ibm-wireless.sh

which prevents the activation of the builtin bluetooth device. A quick workaround is to change the script as follows

#!/bin/sh
# Find and toggle wireless of bluetooth devices on ThinkPads

. /usr/share/acpi-support/state-funcs

BLUETOOTH=/proc/acpi/ibm/bluetooth
if [ -r $BLUETOOTH ]; then
    grep -q disabled $BLUETOOTH
    bluetooth_state=$?
fi

if [ -w $BLUETOOTH ]; then
        if [ "$bluetooth_state" = 0 ]; then
                echo enable > $BLUETOOTH;
        else
                echo disable > $BLUETOOTH;
        fi
fi

The bug lies somewhere in the determination of the current state of wireless adapter, because that script should normally determine, whether the wireless and/or the bluetooth adapter are already turned on. The problem is the wireless adapter, in this case an atheros based one, seems to return an unknown status. That bug is known on launchpad. ;)

No Comment.

Add Your Comment
  1. My T41 did the job with
    echo “enable” > /proc/acpi/ibm/bluetooth
    lights and every thing!

    –aslak

  2. I also have a T41, latest feisty, all vanilla (no custom drivers), all latest updates. On attempted resume (from suspend), I get a black screen. There is disk activity, etc., but nothing to do except a hard power-down/restart.

    Any insights you might be able to shed would be HUGELY appreciated! I’m a quasi-newb, fairly able but still learning a lot.

    TIA,
    -Vb

  3. Victor, I didn’t had any problems on suspend / resuming my T41. I tested it with and without compiz enabled. You may have a look at /var/log/messages for related kernel messages.