Bug 100591 - No acpi battery info on macbook pro retina 13" for kernels 3.17.8, 3.18.11, 4.0.5, 4.1.0 -- works on 3.14.1
Summary: No acpi battery info on macbook pro retina 13" for kernels 3.17.8, 3.18.11, 4...
Status: CLOSED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Aaron Lu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-28 00:21 UTC by alexander
Modified: 2015-09-02 07:09 UTC (History)
3 users (show)

See Also:
Kernel Version: Linux hackintosh 4.1.0-gentoo #1 SMP Sun Jun 28 02:03:10 CEST 2015 x86_64 Intel(R) Core(TM) i7-4558U CPU @ 2.80GHz GenuineIntel GNU/Linux -- also tested: 4.0.5, 3.18.88, 3.17.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments
4.1.0 .config (101.87 KB, application/octet-stream)
2015-06-28 00:21 UTC, alexander
Details
4.0.5 .config (102.89 KB, application/octet-stream)
2015-06-28 00:21 UTC, alexander
Details
3.18.11 .config (98.67 KB, application/octet-stream)
2015-06-28 00:22 UTC, alexander
Details
3.17.8 .config (98.06 KB, application/octet-stream)
2015-06-28 00:22 UTC, alexander
Details
3.14.1 .config (97.96 KB, application/octet-stream)
2015-06-28 00:23 UTC, alexander
Details

Description alexander 2015-06-28 00:21:02 UTC
Created attachment 181111 [details]
4.1.0 .config

On kernels  3.17.8, 3.18.11, 4.0.5, & 4.1.0 there is no /sys/class/power_supply/BAT0. It exists on 3.14.1.

I need to use 3.17 or newer for thunderbolt hotplug support. acpi battery is broken for these. Can't query how much battery I have. That's almost as annoying as not being able to use ethernet (adapter via thunderbolt); maybe even more annoying.
Comment 1 alexander 2015-06-28 00:21:39 UTC
Created attachment 181121 [details]
4.0.5 .config
Comment 2 alexander 2015-06-28 00:22:20 UTC
Created attachment 181131 [details]
3.18.11 .config
Comment 3 alexander 2015-06-28 00:22:53 UTC
Created attachment 181141 [details]
3.17.8 .config
Comment 4 alexander 2015-06-28 00:23:20 UTC
Created attachment 181151 [details]
3.14.1 .config
Comment 5 Aaron Lu 2015-07-06 03:06:01 UTC
Lv,

Do you have battery information on the MAC pro retina 13?
Comment 6 Lv Zheng 2015-07-06 04:47:21 UTC
There is /sys/class/power_supply/BAT0 and my kernel is 3.19.0-15-generic.
The model # of this test platform is MacBookPro A1502.
Have you tried recent Ubuntu images?

Thanks and best regards
-Lv
Comment 7 Aaron Lu 2015-08-25 05:34:16 UTC
I have no idea, maybe use git bisect to find the offending commit?
Comment 8 alexander 2015-08-26 10:37:44 UTC
(In reply to Aaron Lu from comment #7)
> I have no idea, maybe use git bisect to find the offending commit?
It's not annoying enough yet to warrant hours spent on bisecting and recompiling and restarting my main work computer when I should be working. It's getting there though...
Comment 9 Aaron Lu 2015-08-27 02:10:40 UTC
You need CONFIG_ACPI_SBS in your kernel config on newer kernels.
Comment 10 Aaron Lu 2015-09-01 03:03:14 UTC
ping
Comment 11 alexander 2015-09-02 06:33:53 UTC
(In reply to Aaron Lu from comment #9)
> You need CONFIG_ACPI_SBS in your kernel config on newer kernels.

Yes, I do! Works. Thank you. :)
Comment 12 Aaron Lu 2015-09-02 07:09:48 UTC
You are welcome!

Note You need to log in before you can comment on or make changes to this bug.