The test power-management/lid_close looks at the wrong path.

Bug #1068799 reported by John McCarron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Low
Sylvain Pineau

Bug Description

When executing the test power-management/lid_close on my laptop, it fails because it searches the wrong path. The path it searches is /proc/acpi/button/lid/LID/state, which is incorrect for the platform I run it on.

Related branches

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

the LID name is the result of acpi_get_name and may be al ot of things depe,ding on the hw/kernel: LID, LID0, C1D0, C1C4, ...

To workaround this problem we should use /proc/acpi/button/lid/*/state

Changed in checkbox:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Zygmunt Krynicki (zyga)
Changed in checkbox:
status: In Progress → Fix Committed
Changed in checkbox:
status: Fix Committed → Fix Released
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.