Project

General

Profile

Actions

Bug #171

open

Thinkpad X220: usb_always_on broken by 9554b26f9fd608

Added by Nathaniel Roach over 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
08/07/2018
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

Reverting the commit 9554b26f9fd608 (vboot: Fix linking error with USE_OPTION_TABLE enabled) causes the usb_always_on setting to not work - the port remains un-powered while in suspend or off.

Reverting the commit builds and the port resumes functioning per the setting. Changing the setting via nvramcui sticks, but does not change the behaviour.

From what I can tell, it does not have any affect on the other nvram settings (Intel GPU reports correct amount of RAM, WWAN is turned on, no power beeps).

Attached is a diff from the /sys/firmware/log (same as cbmem -c) from when it was working to not working, the only differences in the image is that the working image has a custom floppyimg and a SLIC table.

Also attached is the ectool -d outputs.

I've attempted a small amount of debugging, by adding printks to the failure checks added in the patch, and as far as I can tell none of them are firing.


Files

firmware.diff (15.3 KB) firmware.diff diff broken.log working.log Nathaniel Roach, 08/07/2018 04:41 AM
ectool (858 Bytes) ectool broken ectool -d output Nathaniel Roach, 08/07/2018 04:42 AM
ectool (858 Bytes) ectool working ectool -d output Nathaniel Roach, 08/07/2018 04:43 AM
ectool-after.txt (858 Bytes) ectool-after.txt Anton Kindestam, 01/27/2019 09:42 PM
nvram-after.txt (373 Bytes) nvram-after.txt Anton Kindestam, 01/27/2019 09:42 PM
ectool-before.txt (858 Bytes) ectool-before.txt Anton Kindestam, 01/27/2019 09:42 PM
nvram-before.txt (366 Bytes) nvram-before.txt Anton Kindestam, 01/27/2019 09:42 PM
Actions

Also available in: Atom PDF