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.
Created attachment 181121 [details] 4.0.5 .config
Created attachment 181131 [details] 3.18.11 .config
Created attachment 181141 [details] 3.17.8 .config
Created attachment 181151 [details] 3.14.1 .config
Lv, Do you have battery information on the MAC pro retina 13?
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
I have no idea, maybe use git bisect to find the offending commit?
(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...
You need CONFIG_ACPI_SBS in your kernel config on newer kernels.
ping
(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. :)
You are welcome!