[oneric] acpi event is not detected in Oneric

Bug #908825 reported by 3ntix
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I've a Clevo M720 notebook rebranded as Santech T45. All the previous ubuntu releases support laptop hotkey without extra set up, but the last release seems that broke the support of them.
Almost all the acpi event are disappear. In particular, I notice that are not processor recognized:
- the ac_adapter plug and unplug
- battery charging/discharging event
- suspend button*
- backlight hotkey event*
- low power mode button*
- lid open/close

The bug is reproducible booting the laptop with a kubuntu 11.04 live. Using acpi_event command I've saved the output for low power mode button, backlight up and down and suspend button:
#: acpi_listen
processor CPU0 00000080 00000003
processor CPU0 00000081 00000000
processor CPU1 00000080 00000003
processor CPU1 00000081 00000000
processor CPU0 00000080 00000000
processor CPU0 00000081 00000000
processor CPU1 00000080 00000000
processor CPU1 00000081 00000000
video LCD 00000087 00000000
video LCD 00000086 00000000
button/sleep SLPB 00000080 00000002

On the other hand, in kubuntu 11.10 there are no output at all.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: acpi (not installed)
ProcVersionSignature: Ubuntu 3.0.0-15.24-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Mon Dec 26 14:06:15 2011
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: acpi
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: brakkio 2175 F.... pulseaudio
 /dev/snd/pcmC0D0p: brakkio 2175 F...m pulseaudio
CRDA: Error: [Errno 2] File o directory non esistente
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf4b00000 irq 51'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,1558072f,00100101 HDA:10573055,00305557,00100900'
   Controls : 28
   Simple ctrls : 17
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=89b731e4-a0f4-4ffb-a502-993eb537c13d
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: CLEVO Co. M720T/M730T
Package: linux (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-15-generic root=UUID=fbb29377-5a70-44dd-bc50-421a7a8bf99e ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-15.24-generic 3.0.13
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-15-generic N/A
 linux-backports-modules-3.0.0-15-generic N/A
 linux-firmware 1.60
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: oneiric
Uname: Linux 3.0.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 06/08/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 1.02.27
dmi.board.asset.tag: Tag 12345
dmi.board.name: M720T/M730T
dmi.board.vendor: CLEVO Co.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr1.02.27:bd06/08/2009:svnCLEVOCo.:pnM720T/M730T:pvrNotApplicable:rvnCLEVOCo.:rnM720T/M730T:rvrNotApplicable:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: M720T/M730T
dmi.product.version: Not Applicable
dmi.sys.vendor: CLEVO Co.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: brakkio 2649 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf4b00000 irq 51'
   Mixer name : 'Realtek ALC662 rev1'
   Components : 'HDA:10ec0662,1558072f,00100101 HDA:10573055,00305557,00100900'
   Controls : 27
   Simple ctrls : 15
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=UUID=67d0e533-c4de-465f-b68d-b081d5cdfd23
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
MachineType: CLEVO Co. M720T/M730T
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=efd6a092-c7dd-4347-b22c-72107998cec2 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-25-generic N/A
 linux-backports-modules-3.2.0-25-generic N/A
 linux-firmware 1.79
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Tags: precise precise
Uname: Linux 3.2.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/08/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 1.02.27
dmi.board.asset.tag: Tag 12345
dmi.board.name: M720T/M730T
dmi.board.vendor: CLEVO Co.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr1.02.27:bd06/08/2009:svnCLEVOCo.:pnM720T/M730T:pvrNotApplicable:rvnCLEVOCo.:rnM720T/M730T:rvrNotApplicable:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: M720T/M730T
dmi.product.version: Not Applicable
dmi.sys.vendor: CLEVO Co.
---
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-meta
Tags: precise precise
Uname: Linux 3.5.0-030500rc4-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
---
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
DistroRelease: Ubuntu 12.04
InstallationMedia: Kubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120423)
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-meta
Tags: precise precise
Uname: Linux 3.5.0-030500rc4-generic x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
3ntix (francesco-3ntini) wrote :
summary: - [onerick] acpi event is not detected in Onerik
+ [oneric] acpi event is not detected in Oneric
description: updated
Daniel Manrique (roadmr)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 908825

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
3ntix (francesco-3ntini) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
3ntix (francesco-3ntini) wrote : AlsaDevices.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : AplayDevices.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ArecordDevices.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : BootDmesg.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : CurrentDmesg.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : IwConfig.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Lspci.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Lsusb.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : PciMultimedia.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ProcEnviron.txt

apport information

3ntix (francesco-3ntini)
description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

3ntix, thank you for reporting this and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

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'.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
3ntix (francesco-3ntini) wrote :

At the end I've try the last ubuntu release (in true, K-ubuntu). The bug is still present.

When I've time I'll try the last kernel.
Francesco

Changed in linux (Ubuntu):
status: Expired → New
penalvch (penalvch)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
3ntix (francesco-3ntini) wrote : AcpiTables.txt

apport information

tags: added: precise
description: updated
Revision history for this message
3ntix (francesco-3ntini) wrote : AlsaDevices.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : AplayDevices.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ArecordDevices.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : BootDmesg.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : CRDA.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : CurrentDmesg.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : IwConfig.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Lspci.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : Lsusb.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : PciMultimedia.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ProcInterrupts.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : ProcModules.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : PulseList.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : UdevDb.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : UdevLog.txt

apport information

Revision history for this message
3ntix (francesco-3ntini) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
3ntix (francesco-3ntini) wrote :

I've installed the lastest mainline kernel, precisely "v3.5-rc4-quantal".
This doesn't change the things, the acpi event doesn't work in the last ubuntu releases.

Now I will do a new appoprt-collect when running with the mainline kernel

description: updated
description: updated
Revision history for this message
3ntix (francesco-3ntini) wrote :

Update: I'm not able to do an apport-collect with the upstream kernel.

Revision history for this message
penalvch (penalvch) wrote :

3ntix, thank you for testing the mainline kernel. As for apport-collecting the mainline, it will not let you do this by design. Despite this, we have the collect you performed from Precise so that will be fine.
Regarding this report, it seems this is a regression. You noted the earliest version this problem was reproducible in was Natty. Does an earlier release exist where this problem did not occur?

tags: added: kernl-bug-exists-upstream
removed: needs-upstream-testing
tags: added: natty
Revision history for this message
3ntix (francesco-3ntini) wrote :

Almost "all" ubuntu from 11.04 (Natty) and older does NOT have the but, all acpi event are recognized correctly.
From ubuntu 11.10 the bug appears, acpi event disappears at all. From 11.10 an next releases I've try some solution like updating acpi_support package or updating the kernel of future release but nothing happen.

The next think I'll try is to try other live distribution in order to understand if this bug is due to some "ubuntu personalization" or it is a kernel bug that affect all distribution.

If it is useful, I can do an apport-collect from a natty live where the acpi event are working right.

penalvch (penalvch)
tags: removed: natty
tags: added: needs-bisect
Revision history for this message
penalvch (penalvch) wrote :

3ntix, no need to run apport-collect from natty at this time. The next step is to perform a kernel bisect, from natty to oneiric, in order to identify the commit which caused the regression. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
3ntix (francesco-3ntini) wrote :

I've try to bisect the kernel but I've encountered some problem. I'll explain. The last know working kernel is last in ubuntu natty, 2.6.38-15 whereas the first not working kernel is the first one in oneiric, version 3.0.0-12, both kernel tested in a fresh ubuntu installation and also installed under a ubuntu precise.

As natty kernels are all working, I've try to bisect oneiric kernel but the commit between 2.6.38 to 3.0.0 thought 2.6.39 cause some issue in compiling.

Compiling problem happen also if I'm trying to bisect the linux vanilla kernel repository.

I've finished my knowing on kernel compiling and I've no idea how bisect kernels in the middle of two ubuntu releases. Any suggestion?

Revision history for this message
penalvch (penalvch) wrote :

3ntix, thank you for your efforts. The way to maximize the narrowness between problematic kernels, before bisecting commits, is to check against the published kernels in Oneiric https://launchpad.net/ubuntu/oneiric/+source/linux . As per this website, the following kernels overlap your testing space:
2.6.38-8.42
2.6.39-0.5
2.6.39-1.6
2.6.39-2.7
2.6.39-2.8
2.6.39-3.9
2.6.39-3.10
3.0-0.1

I would test each one until you have the problematic kernel immediately preceding the kernel that works. Then retool for bisecting commits between these two kernels.

Revision history for this message
3ntix (francesco-3ntini) wrote :

Status: I've download and compiled some of them. The results is:
2.6.38-8.42 ACPI work
2.6.39-0.5 ACPI DON'T work
2.6.39-1.6 ACPI DON'T work
2.6.39-2.7 not try
2.6.39-2.8 ACPI DON'T work
2.6.39-3.9 not try
2.6.39-3.10 not try
3.0-0.1 not try

Now? Bisect vanilla kernel tree or oneiric kernel tree?

Revision history for this message
penalvch (penalvch) wrote :

3ntix, I would pull down the Oneiric repository and chop through commits between:
2.6.38-8.42 ACPI work
2.6.39-0.5 ACPI DON'T work

Revision history for this message
3ntix (francesco-3ntini) wrote :

WOW, It takes 13 kernel compiling but it worth it!

6dfad339645247c9deb553e4d68e21211ddc61bd is the first bad commit
commit 6dfad339645247c9deb553e4d68e21211ddc61bd
Author: Lin Ming <email address hidden>
Date: Mon Feb 14 15:29:34 2011 +0800

    ACPICA: GPE detect optimization - ignore unused GPE registers

    This optimization will simply ignore GPE registers that contain
    no enabled GPEs - there is no need to read the register.
    ACPICA bugzilla 884.

    http://www.acpica.org/bugzilla/show_bug.cgi?id=884

    Signed-off-by: Lin Ming <email address hidden>
    Signed-off-by: Bob Moore <email address hidden>
    Signed-off-by: Len Brown <email address hidden>

:040000 040000 8c25abddf22c9740402624bd582f3c87bfe9fc4f e40ed2fa28b82990cc8fb147f61841fd6400e711 M drivers

Revision history for this message
penalvch (penalvch) wrote :

3ntix, now that the mainline was tested and the kernel bisected, the next step is to send it upstream. Hence, it would be nice if somebody having it could send the bug to the developers of the software by following the instructions _VERBATIM_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel . If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about the status. Thanks in advance.

Helpful Bug Reporting Links:
https://help.ubuntu.com/community/ReportingBugs#Bug_Reporting_Etiquette
https://help.ubuntu.com/community/ReportingBugs#A3._Make_sure_the_bug_hasn.27t_already_been_reported
https://help.ubuntu.com/community/ReportingBugs#Adding_Apport_Debug_Information_to_an_Existing_Launchpad_Bug
https://help.ubuntu.com/community/ReportingBugs#Adding_Additional_Attachments_to_an_Existing_Launchpad_Bug

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
tags: added: bisect-done
removed: needs-bisect
Revision history for this message
3ntix (francesco-3ntini) wrote :
penalvch (penalvch)
Changed in linux:
importance: Undecided → Unknown
status: New → Unknown
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Incomplete
Changed in linux:
status: Incomplete → Fix Released
Revision history for this message
madbiologist (me-again) wrote :

A fix for this issue has been released upstream in kernel 3.7-rc1 and in kernel 3.6.3.

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

3ntix,

The required patches [0] have also landed in Precise (3.2.0-34.53) and Quantal (3.5.0-20.31).
Could you please test the latest kernel in -updates and confirm that this bug is fixed? Thanks.

[0]
ACPI: EC: Make the GPE storm threshold a module parameter
ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

Revision history for this message
3ntix (francesco-3ntini) wrote :

On Precise with kernel 3.2.0-48-generic is resolved the bug. I've no installation of quantal to check.

Francesco

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Thanks for testing!

Changed in linux (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.