[ltp] Rfkill switch has no effect on X201

martin f krafft linux-thinkpad@linux-thinkpad.org
Sun, 9 Oct 2011 12:58:23 +0200


--y0ulUmNC+osPPQO6
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

I have a X201 and two problems that I need to figure out before
contacting Lenovo.

The first problem is mentioned in the subject, and it might be
related to the discussion at

  http://mailman.linux-thinkpad.org/pipermail/linux-thinkpad/2011-June/0499=
34.html

However, I think it's not quite the same. What happens in my case is
that after I turned off the hardware switch (e.g. to save power),
turning it back on seems not to remove the hard block on the radios.

The machine is running Sid with the Debian 3.0.0-amd64 kernel.
However, the problem has existed also with previous kernels.

Here is what happens when I flick the switch off:

  kernel: [839606.495273] iwlagn 0000:02:00.0: RF_KILL bit toggled to disab=
le radio.
  kernel: [839606.531725] usb 1-1.4: USB disconnect, device number 13
  kernel: [839606.531849] btusb_intr_complete: hci0 urb ffff88013339fcc0 fa=
iled to resubmit (19)
  kernel: [839606.531965] btusb_bulk_complete: hci0 urb ffff88012fb890c0 fa=
iled to resubmit (19)
  kernel: [839606.531978] btusb_bulk_complete: hci0 urb ffff88012fb89e40 fa=
iled to resubmit (19)
  kernel: [839606.539285] iwlagn 0000:02:00.0: Not sending command - RF KILL
  kernel: [839606.539293] iwlagn 0000:02:00.0: Error sending REPLY_RXON: en=
queue_hcmd failed: -5
  kernel: [839606.539299] iwlagn 0000:02:00.0: Error clearing ASSOC_MSK on =
BSS (-5)
  bluetoothd[7502]: HCI dev 0 down
  bluetoothd[7502]: Adapter /org/bluez/7502/hci0 has been disabled
  bluetoothd[7502]: HCI dev 0 unregistered
  bluetoothd[7502]: Stopping hci0 event socket
  bluetoothd[7502]: Unregister path: /org/bluez/7502/hci0
  dbus[1896]: [system] Activating service name=3D'org.blueman.Mechanism' (u=
sing servicehelper)
  blueman-mechanism: Starting blueman-mechanism=20
  dbus[1896]: [system] Successfully activated service 'org.blueman.Mechanis=
m'
  blueman-mechanism: Exiting

rfkill(8) now says:

  0: tpacpi_bluetooth_sw: Bluetooth
    Soft blocked: yes
    Hard blocked: yes
  2: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes

And sysfs:

  =3D=3D> /sys/devices/platform/thinkpad_acpi/rfkill/rfkill0/index <=3D=3D
  0

  =3D=3D> /sys/devices/platform/thinkpad_acpi/rfkill/rfkill0/hard <=3D=3D
  1

  =3D=3D> /sys/devices/platform/thinkpad_acpi/rfkill/rfkill0/soft <=3D=3D
  1

  =3D=3D> /sys/devices/platform/thinkpad_acpi/rfkill/rfkill0/state <=3D=3D
  2


Now, when I flick the switch back on, almost all of the time,
*nothing* happens. 'rfkill event' stays silent, syslog stays silent,
and the sysfs files did not change either. I can try jiggling the
switch and shaking the laptop, but this has no effect. Only once
every dozen times does it just come back like it should.

The second problem may well be related, as there is also a delay,
and it could be ACPI-related: when I turn the ThinkLight on with the
key combo, some times it will take 10=E2=80=9320 minutes to come on. Then,
I can turn it on and off immediatey, but in the beginning, there is
usually a huge delay.

I am not quite sure what triggers these problems yet, i.e. whether
a reboot resets them. The suspend-resume cycle does not seem to be
useful when trying to reproduce the effect.

Does anyone have any idea what could be going on?

Thanks,

--=20
martin | http://madduck.net/ | http://two.sentenc.es/
=20
"there's someone in my head but it's not me."
                        -- pink floyd, the dark side of the moon, 1972
=20
spamtraps: madduck.bogus@madduck.net

--y0ulUmNC+osPPQO6
Content-Type: application/pgp-signature; name="digital_signature_gpg.asc"
Content-Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQLvBAEBCgDZBQJOkX5LwBEaaHR0cDovL21hcnRpbi1rcmFmZnQubmV0L2dwZy9z
aWctcG9saWN5LzU1Yzk4ODJkOTk5YmJjYzQvMjAxMTAxMjQxMTI1P3NoYTUxMnN1
bT0xY2FkOTZmZDI3ZDMyMzNmNTNlMjI4NDk1MzM2NDgxMDdlNWVlOGQ1YmU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