ThinkPad wifi+bluetooth Fn+F5 toggling broken

Bug #94780 reported by AleksysP
6
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: acpi-support

After upgrade to Feisty combination Fn+F5 (enable/disable wifi or bluetooth) on my laptop does't working.

But, acpi is working.
for wifi:
echo 1 > /sys/bus/pci/drivers/ipw2200/*/rf_kill
echo 0 > /sys/bus/pci/drivers/ipw2200/*/rf_kill

for bluetooth:
echo enable > /proc/acpi/ibm/bluetooth
echo disable > /proc/acpi/ibm/bluetooth

acpi_listen for Fn+F5 show:
ibm/hotkey HKEY 00000080 00001005

laptop model - IBM X41

Revision history for this message
Adi Roiban (adiroiban) wrote :
Revision history for this message
AleksysP (kovalenya) wrote :

this bug was in Dapper, Edgy, Feisty etc.
In mine a case the combination does not work in general.

Revision history for this message
AleksysP (kovalenya) wrote :

Fn+ZOOM doesn't work too.

Revision history for this message
Adi Roiban (adiroiban) wrote :

i don't know how the zoom functionality should be implemented now. This is another problem and you should add another bug. Once beryl is here we can find it a use.

The problem with the wireless functionality is related to the way wireless.sh script is implemented.

It uses

/sys/class/net/eth1/device/power/state

instead of

/sys/class/net/eth1/device/rf_kill

using /sys/bus/pci/drivers/ipw2200/*/rf_kill is not appropriate as it is dependent of the driver

Revision history for this message
AleksysP (kovalenya) wrote :

my /etc/acpi/ibm-wireless.sh

#!/bin/bash
# Find and enable/disable wireless devices

state=`. /etc/acpi/wireless.sh`

if [ "$state" = "0" ]; then
    if [ -f /proc/acpi/ibm/bluetooth ]; then
        echo disable >/proc/acpi/ibm/bluetooth;
    fi
else
    if [ -f /proc/acpi/ibm/bluetooth ]; then
        echo enable >/proc/acpi/ibm/bluetooth;
    fi
fi

Script original (not edited)
No words about wifi

Revision history for this message
Paul Sladen (sladen) wrote :

The Fn+Spacebar ("Zoom") issue is a separate one. Currently within 'thinkpad-keys' in the 'hotkey-setup' package, this is detected and passed through as a key-press; However there's currently nothing to assign it to (changing the screen mode is what is currently done under windows).

Please can you open a new bug report for the Zoom issue and I'll try to find the 'xrandr'-using script I did for this.

Revision history for this message
Paul Sladen (sladen) wrote :

AleksysP: You said that 'Fn-F5' wasn't working on edgy/dapper? This should have worked fine---the issue has come up because the upstream kernel developers removed access to the 'power/state' interface.

Revision history for this message
AleksysP (kovalenya) wrote :

confirmed

Revision history for this message
Robert Hilbrich (rhilbrich) wrote :

confirmed here on T40p. Can not turn on Bluetooth by pressing Fn+F5 at all!
Have a madwifi minipci - WLAN card and can turn on bluetooth manually by:

echo "enable" > /proc/acpi/ibm/bluetooth

Revision history for this message
Martin Man (mman) wrote :

On my T410 Fn+F5 toggles on/off only bluetooth. This was working fine on Feisty where it cycled through

both off
bluetooth on, wifi off
bluetooth on, wifi on
bluetooth off, wifi on

and so on...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.