On ThinkPads where the WLSW switch exists, the firmware or the hardware
ANDs the WLSW state with the device-specific switches (WWAN, Bluetooth).
It is downright impossible to enable WWAN or Bluetooth when WLSW is
blocking the radios.
This reality does not necessarily carry over to the WWAN and Blu
Andi,
Here a patchset with the thinkpad-acpi changes scheduled for 2.6.27.
It depends on the rfkill changes in net-next-2.6 (already in
linux-next). Usually, I provide a git tree for pulling and also send
the patches. Due to the linux-next dependency, this one is going out
just as patches.
Pl
Change the code of hotkey_init, wan_init and bluetooth_init a bit to make it
much easier to add some Kconfig-selected debugging code later.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
---
drivers/misc/thinkpad_acpi.c | 49 ++---
1 files cha
Rename tpacpi_input_send_radiosw() to tpacpi_send_radiosw_update(), and
make it a central point to issue "radio switch changed state" notifications
by consolidating also the poll() notification in the same function.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
---
drivers/misc/t
rfkill support deserves a new version checkpoint...
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
---
Documentation/laptops/thinkpad-acpi.txt |4 ++--
drivers/misc/thinkpad_acpi.c|2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentati
Add a read/write rfkill interface to the bluetooth radio switch on the
bluetooth submodule, and one for the wireless wan radio switch to the wan
submodule.
Since rfkill does care for when a switch changes state, use WLSW
notifications to also check if the WWAN or Bluetooth switches did not
change
Explicitly check for memory allocation failures, and return status to
indicate that we could not collect data due to errors.
This lets the driver have a far more predictable failure mode on ENOMEM in
that codepath: it will refuse to load. This is far better than trying to
proceed with missing dat
Get rid of some forward definitions by moving code around, this will make
the rfkill conversion of wwan and bluetooth a bit cleaner.
Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]>
---
drivers/misc/thinkpad_acpi.c | 154 --
1 files changed,
Henrique de Moraes Holschuh wrote:
> Change the code of hotkey_init, wan_init and bluetooth_init a bit to make it
> much easier to add some Kconfig-selected debugging code later.
The later seems to be wrong, the debugging code is already included?
Description seems to be incomplete.
-Andi
-
On Tue, 01 Jul 2008, Andi Kleen wrote:
> Henrique de Moraes Holschuh wrote:
> > Change the code of hotkey_init, wan_init and bluetooth_init a bit to make it
> > much easier to add some Kconfig-selected debugging code later.
>
> The later seems to be wrong, the debugging code is already included?
I think there is a small typo in the naming of this patch:
http://downloads.sourceforge.net/ibm-acpi/thinkpad-acpi-0.21-20080629_v2.6.28-rc8.patch.gz
Thanks for the latest round of updates, Henrique, all!
-jesse
--
There are 10 types of people in this world, those
that can read binary and th
On Tue, 01 Jul 2008, [EMAIL PROTECTED] wrote:
> I think there is a small typo in the naming of this patch:
>
>
> http://downloads.sourceforge.net/ibm-acpi/thinkpad-acpi-0.21-20080629_v2.6.28-rc8.patch.gz
Oops, indeed :-) will fix.
Thanks for the report.
--
"One disk to rule them all, One
12 matches
Mail list logo