[ltp] Re: thinkpad-acpi (T6x/R6x/X6x): requesting testers for wireless switch behaviour

Shannon McMackin linux-thinkpad@linux-thinkpad.org
Thu, 08 May 2008 22:52:11 -0400


Henrique de Moraes Holschuh wrote:
> In order to add rfkill support to thinkpad-acpi, and have it work really
> well, I need to know how the BLUETOOTH and WWAN switches (those
> reported/modified by /proc/acpi/ibm/wan and /proc/acpi/ibm/bluetooth)
> behave IN RELATION TO the *hardware* slider radio switch (not the fn+f5
> hotkey).
> 
> I believe this hardware slider switch is only present on R6x/T6x/X6x,
> but if your X300, Z6x or R5x has one, I'd like to hear from you as well.
> 
> Basically, I need to know some data points and I'd appreciate if some
> T6x/R6x/X6x owners could run the tests below and report back.  I'd
> appreciate even more if I could get a report for every thinkpad model to
> make sure the behaviour stays the same (i.e. one for the T60, one for
> the T61, one for the X60, one for the X61...).
> 
> 
> 1. ThinkPad Model and BIOS version (dmidecode can tell you this)
> 
> 2. Turn all radios ON (including bluetooth and wwan if you have it), and
> make sure you do it with the radio switch in the "on" position.  Now,
> move the switch to the radios-off position.
> 
> 2a. What state does /proc/acpi/ibm/wan and /proc/acpi/ibm/bluetooth
> report?
> 
> 2b. If they report that WWAN and BT are off, are they *really* off?
> 
> 2b1. Can you force WWAN and BT to the ON state even while the radio
> switch is in the off position?
> 
> 2c. If they report that WWAN and BT are on, are they *really* on?
> 
> 3. Turn all radios *off* through /proc/acpi/ibm/wan and
> /proc/acpi/ibm/bluetooth and also by sliding the radio switch to the off
> position.
> 
> 3a. are all radios really off?
> 
> 3b. Now, slide the radio switch to the "on" position
> 
> 3c. What state does /proc/acpi/ibm/wan and /proc/acpi/ibm/bluetooth
> report?
> 
> 3d. is that state true (i.e. if it says off, are the radios really off?
> if it says on, are the radios really on)?
> 
> 
> I believe turning WWAN and bluetooth off through the thinkpad firmware
> actually unplugs them from the USB bus.  If that's true, it should be a
> really simple matter to know if it is working or not, as they will show
> up and disappear from lsusb output (run lsusb as root)...
> 
T61

BIOS Information
	Vendor: LENOVO
	Version: 7LETB0WW (2.10 )
	Release Date: 01/21/2008
	Address: 0xE0000
	Runtime Size: 128 kB
	ROM Size: 4096 kB
	Characteristics:
		PCI is supported
		PC Card (PCMCIA) is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		ESCD support is available
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		EDD is supported
		ACPI is supported
		USB legacy is supported
		BIOS boot specification is supported
		Targeted content distribution is supported
	BIOS Revision: 2.16
	Firmware Revision: 1.8

There is no /proc/acpi/ibm/wan

The switch turns off BT, but the wireless LED stays on and tries to 
connect but fails.  When I move the switch on, wireless connects and BT 
comes back on.