Bluetooth, wireless switch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: acpi-support
When I press Fn+F8 on my Toshiba U200, bluetooth gets enabled. So far, so good. Another Fn+F8 gets bluetooth disabled, but it also disables wireless card. This is anoying, cause once I enable bluetooth, I can't disable it again without disabling wireless connection. This laptop has two switches - hardware switch for wireless and keyboard (software switch) for bluetooth (and/or wireless).
Looking at /etc/acpi/
toggleAllWirele
which could be done better. Doing it like this disables wifi if it is working or enables it if it isn't working. After that, we have:
if isAnyWirelessPo
toshset -bluetooth on
else
toshset -bluetooth off
fi
this makes impossible to have enabled wireless and disabled bluetooth. For this type of laptop, having only this in /etc/acpi/
#!/bin/bash
if `toshset -bluetooth | grep -q off`; then
toshset -bluetooth on
else
toshset -bluetooth off
fi
would save the day. But, since some toshiba laptops don't have hardware switch for wifi, this would be better:
#!/bin/bash
. /usr/share/
if isAnyWirelessPo
if `toshset -bluetooth | grep -q attached`; then
else
fi
else
fi
This way, we would have 3 options: wifi only, wifi and bluetooth and none.
Changed in acpi-support: | |
status: | Unconfirmed → Confirmed |
Changed in acpi-support: | |
status: | Confirmed → Fix Committed |
BTW, there isn't toggleWirelessS tates function in /usr/share/ acpi-support/ state-funcs, which is called in /etc/acpi/ wireless. sh. There is toggleAllWirele ssStates :)
And yes, this bug is valid for Feisty and Gutsy.