[Lenovo ThinkPad X201 3626] Bluetooth re-enabled after resume from hibernation

Bug #1179823 reported by Jeffery To
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux
Unknown
Unknown
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I'm currently running Raring x64 with the 3.8.0-19 Linux image on a Thinkpad x201. I have hibernation enabled by following the instructions in the official documentation[1].

If Bluetooth is disabled before hibernation, on resume it will be re-enabled. I have to manually disable it again in System Settings (where it still thinks Bluetooth is off, so I need to toggle the switch to on and then off again).

linrunner did some testing[2] and found that this appears to be a regression in the 3.8 kernel (possibly in the thinkpad_acpi module).

Please let me know if more information is needed - thanks!

[1] https://help.ubuntu.com/13.04/ubuntu-help/power-hibernate.html
[2] https://github.com/linrunner/TLP/issues/18#issuecomment-17828996

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: linux-image-3.8.0-19-generic 3.8.0-19.30
ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
Uname: Linux 3.8.0-19-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jeff 3182 F.... pulseaudio
Date: Tue May 14 15:54:21 2013
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=9a19163f-1fcf-4749-9698-91670f009494
InstallationDate: Installed on 2010-10-17 (939 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: LENOVO 3626PL2
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic root=UUID=5038d4a1-0a9c-4abe-8a8d-ec0d48e74a61 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-19-generic N/A
 linux-backports-modules-3.8.0-19-generic N/A
 linux-firmware 1.106
SourcePackage: linux
UpgradeStatus: Upgraded to raring on 2013-04-26 (17 days ago)
WifiSyslog:

dmi.bios.date: 10/11/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET70WW (1.40 )
dmi.board.name: 3626PL2
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET70WW(1.40):bd10/11/2012:svnLENOVO:pn3626PL2:pvrThinkPadX201:rvnLENOVO:rn3626PL2:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3626PL2
dmi.product.version: ThinkPad X201
dmi.sys.vendor: LENOVO

Revision history for this message
Jeffery To (jefferyto) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Bluetooth re-enabled after resume from hibernation

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.10 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.10-rc1-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
Jeffery To (jefferyto) wrote :

Tested with the latest mainline kernel; bug has not been fixed.

Additionally, after resuming from hibernate and turning off Bluetooth (through System Settings), I'm no longer able to turn Bluetooth on (it flips to on then immediately off). Not sure if this is related.

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jeffery To (jefferyto) wrote :

To clarify, the "no longer able to turn Bluetooth on" issue affects the 3.10 kernel only.

Revision history for this message
penalvch (penalvch) wrote :

Jeffrey To, as per http://support.lenovo.com/en_US/downloads/default.page? an update is available for your BIOS (140-1.15). If you update to this, does it change anything?

If not, could you please both specify what happened, and provide the output of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Thank you for your understanding.

tags: added: bios-outdated
tags: added: kernel-bug-exists-upstream-v3.10-rc1
removed: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Jeffery To (jefferyto) wrote :

I've installed the latest BIOS and the situation is unchanged.

Regarding the terminal command, this is the output:

6QET70WW (1.40 )
10/11/2012

According to the BIOS changelog (http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS013909), this was an embedded controller update that improves the battery charge algorithms, so I wouldn't expect it to affect the Bluetooth module. (My BIOS was already at 1.40 when I submitted the initial bug report.)

FWIW, on boot the Bluetooth LED is on, then goes off while on the initial ThinkPad screen. On the GRUB menu, the LED is still off. When it times out and the kernel continues to load, it's then that the LED comes back on again.

Revision history for this message
penalvch (penalvch) wrote :

Jeffery To, thanks for reflashing your BIOS. Could you please test the newest mainline kernel available via http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc1-saucy/ and report the results?

tags: added: latest-bios-1.40 needs-upstream-testing
removed: bios-outdated
Revision history for this message
Jeffery To (jefferyto) wrote :

I've tried the v3.11-rc1-saucy and v3.11-rc2-saucy kernels; the results were the same as the v3.10 kernel I tested earlier.

Revision history for this message
penalvch (penalvch) wrote :

Jeffery To, thank you for testing the newest mainline kernel. Did this problem not occur in a release prior to Raring?

tags: added: kerne-bug-exists-upstream kernel-bug-exists-upstream-v3.11-rc2
removed: kernel-bug-exists-upstream-v3.10-rc1 needs-upstream-testing
tags: added: kernel-bug-exists-upstream regression-potential
removed: kerne-bug-exists-upstream
Revision history for this message
Jeffery To (jefferyto) wrote :

I don't recall having this problem with Quantal. Also, as noted in the original report, linrunner did some testing and found this to be a regression in the 3.8 kernel.

Revision history for this message
penalvch (penalvch) wrote :

Jeffrey To, the next step is to perform a bisect between Quantal and Raring, to identify the commit that caused this problem. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

tags: added: regression-release
removed: regression-potential
Revision history for this message
Jeffery To (jefferyto) wrote :

I had to bisect the mainline kernel, since the Ubuntu kernel skipped 3.6 (the issue was in every 3.7 kernel I tried). The result:

a57f7f9175b8ccbc9df83ac13860488913115de4 is the first bad commit
commit a57f7f9175b8ccbc9df83ac13860488913115de4
Author: Bob Moore <email address hidden>
Date: Fri Aug 17 10:55:02 2012 +0800

    ACPICA: Add Windows8/Server2012 string for _OSI method.

    This change adds a new _OSI string, "Windows 2012" for both Windows 8
    and Windows Server 2012.

    From Microsoft document "How to Identify the Windows Version in ACPI
    by Using _OSI", July 13, 2012.

    Signed-off-by: Bob Moore <email address hidden>
    Signed-off-by: Feng Tang <email address hidden>
    Signed-off-by: Len Brown <email address hidden>

:040000 040000 55311ce2f9fed66501b06f93f67fa99b54d46e86 998889c21c3b68f8072ad131b643c592a4cbe423 M drivers

Revision history for this message
penalvch (penalvch) wrote :

Jeffrey To, thank you for bisecting. Could you please test the latest mainline kernel via http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc3-saucy/ ?

Revision history for this message
Jeffery To (jefferyto) wrote :

I've tested rc3; the issue still exists.

Revision history for this message
penalvch (penalvch) wrote :

Jeffery To, the issue you are reporting is an upstream one. Could you please report this problem through the appropriate channel by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel#KernelTeam.2BAC8-KernelTeamBugPolicies.Overview_on_Reporting_Bugs_Upstream ?

Thank you for your understanding.

tags: added: kernel-bug-exists-upstream-v3.11-rc3
removed: kernel-bug-exists-upstream-v3.11-rc2
tags: added: bisect-done
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
summary: - Bluetooth re-enabled after resume from hibernation
+ [Lenovo ThinkPad X201 3626] Bluetooth re-enabled after resume from
+ hibernation
Revision history for this message
Jeffery To (jefferyto) wrote : Bluetooth re-enabled after resume from hibernation (Lenovo ThinkPad X201 3626)
Download full text (45.1 KiB)

Hello,

I'm currently on the 3.8.0 kernel with Ubuntu 13.04 (Raring) x64 on a
Thinkpad x201. I have hibernation enabled by following the instructions in
the official Ubuntu documentation[1].

If Bluetooth is disabled before hibernation, on resume it will be
re-enabled.

I have the latest BIOS installed (1.40-1.15)[2], and can reproduce this
issue with the latest mainline kernel available to me (v3.11-rc3-saucy)[3].
I didn't experience this issue with the 3.5.0 kernel (with Ubuntu 12.10
Quantal), so it appears to be a regression.

I've done a bisection with this result:

> a57f7f9175b8ccbc9df83ac13860488913115de4 is the first bad commit
> commit a57f7f9175b8ccbc9df83ac13860488913115de4
> Author: Bob Moore <email address hidden>
> Date: Fri Aug 17 10:55:02 2012 +0800
>
> ACPICA: Add Windows8/Server2012 string for _OSI method.
>
> This change adds a new _OSI string, "Windows 2012" for both Windows 8
> and Windows Server 2012.
>
> From Microsoft document "How to Identify the Windows Version in ACPI
> by Using _OSI", July 13, 2012.
>
> Signed-off-by: Bob Moore <email address hidden>
> Signed-off-by: Feng Tang <email address hidden>
> Signed-off-by: Len Brown <email address hidden>
>
> :040000 040000 55311ce2f9fed66501b06f93f67fa99b54d46e86
998889c21c3b68f8072ad131b643c592a4cbe423 M drivers

I originally logged this issue to the Ubuntu bug tracker[4], but it appears
to be an upstream issue and so I was instructed to report here.

Included below is more information on my environment. Please let me know if
there is anything I can do to help resolve this issue.

Thanks,
Jeff

[1] https://help.ubuntu.com/13.04/ubuntu-help/power-hibernate.html
[2] http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS013909
[3] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc3-saucy/
[4] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1179823

$ cat /proc/version
Linux version 3.11.0-031100rc3-generic (apw@gomeisa) (gcc version 4.6.3
(Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201307290035 SMP Mon Jul 29 04:36:40 UTC
2013

$ lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04

$ ./ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux computer 3.11.0-031100rc3-generic #201307290035 SMP Mon Jul 29
04:36:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Gnu C 4.7
Gnu make 3.81
binutils 2.23.2
util-linux 2.20.1
mount support
module-init-tools 9
e2fsprogs 1.42.5
pcmciautils 018
Linux C Library 2.17
Dynamic linker (ldd) 2.17
Procps 3.3.3
Net-tools 1.60
Kbd 1.15.5
Sh-utils 8.20
wireless-tools 30
Modules Loaded pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv
acpi_call tp_smapi thinkpad_ec vsock dm_crypt parport_pc ppdev rfcomm bnep
binfmt_misc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core
videodev btusb bluetooth joydev ip6t_REJECT xt_hl ip6t_rt arc4
nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT xt_recent xt_comment xt_LOG
iwldv...

Revision history for this message
Jeffery To (jefferyto) wrote : Bluetooth re-enabled after resume from hibernation (Lenovo ThinkPad, X201 3626)
Download full text (42.6 KiB)

Hello,

(Apologies for the duplicate email; I was silly and tried to send this
through the Gmail web interface.)

I'm currently on the 3.8.0 kernel with Ubuntu 13.04 (Raring) x64 on a
Thinkpad x201. I have hibernation enabled by following the instructions
in the official Ubuntu documentation[1].

If Bluetooth is disabled before hibernation, on resume it will be
re-enabled.

I have the latest BIOS installed (1.40-1.15)[2], and can reproduce this
issue with the latest mainline kernel available to me
(v3.11-rc3-saucy)[3]. I didn't experience this issue with the 3.5.0
kernel (with Ubuntu 12.10 Quantal), so it appears to be a regression.

I've done a bisection with this result:

> a57f7f9175b8ccbc9df83ac13860488913115de4 is the first bad commit
> commit a57f7f9175b8ccbc9df83ac13860488913115de4
> Author: Bob Moore <email address hidden>
> Date: Fri Aug 17 10:55:02 2012 +0800
>
> ACPICA: Add Windows8/Server2012 string for _OSI method.
>
> This change adds a new _OSI string, "Windows 2012" for both Windows 8
> and Windows Server 2012.
>
> From Microsoft document "How to Identify the Windows Version in ACPI
> by Using _OSI", July 13, 2012.
>
> Signed-off-by: Bob Moore <email address hidden>
> Signed-off-by: Feng Tang <email address hidden>
> Signed-off-by: Len Brown <email address hidden>
>
> :040000 040000 55311ce2f9fed66501b06f93f67fa99b54d46e86 998889c21c3b68f8072ad131b643c592a4cbe423 M drivers

I originally logged this issue to the Ubuntu bug tracker[4], but it
appears to be an upstream issue and so I was instructed to report here.

Included below is more information on my environment. Please let me
know if there is anything I can do to help resolve this issue.

Thanks,
Jeff

[1] https://help.ubuntu.com/13.04/ubuntu-help/power-hibernate.html
[2] http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS013909
[3] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc3-saucy/
[4] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1179823

$ cat /proc/version
Linux version 3.11.0-031100rc3-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #201307290035 SMP Mon Jul 29 04:36:40 UTC 2013

$ lsb_release -rd
Description: Ubuntu 13.04
Release: 13.04

$ ./ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.

Linux computer 3.11.0-031100rc3-generic #201307290035 SMP Mon Jul 29 04:36:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Gnu C 4.7
Gnu make 3.81
binutils 2.23.2
util-linux 2.20.1
mount support
module-init-tools 9
e2fsprogs 1.42.5
pcmciautils 018
Linux C Library 2.17
Dynamic linker (ldd) 2.17
Procps 3.3.3
Net-tools 1.60
Kbd 1.15.5
Sh-utils 8.20
wireless-tools 30
Modules Loaded pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv acpi_call tp_smapi thinkpad_ec vsock dm_crypt parport_pc ppdev rfcomm bnep binfmt_misc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev btusb bluetooth joydev ip6t_R...

Revision history for this message
Jeffery To (jefferyto) wrote :

On 5/8/13 9:31 AM, Lan Tianyu wrote:
>
> Hi,
> Could you apply a bug on the kernel bugzilla and attach the
> output of acpidump with these info?
> https://bugzilla.kernel.org
>

It's done: http://bugzilla.kernel.org/show_bug.cgi?id=60697

(though I'm not sure I picked the right component)

Thanks,
Jeff

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
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.