FS#44582 - [linux] 4.2.x Add support for I2C controller based battery
Attached to Project:
Arch Linux
Opened by rimaille (ekyo) - Tuesday, 14 April 2015, 15:26 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 03 September 2015, 13:42 GMT
Opened by rimaille (ekyo) - Tuesday, 14 April 2015, 15:26 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 03 September 2015, 13:42 GMT
|
Details
Description:
Battery indicator is broken on new laptops using I2C bus (mine is Asus x205ta). upower indicates no battery is present. Could you please enable ACPI I2C Operation region support in archlinux .config ? If you prefer to do it on the testing kernel on a first time, that's OK. I did that on a mainline kernel and that's OK, tested since 3.19 kernels. Additional info: * package version(s) : all archlinux kernels, this symbol is present since 3.17 kernels (marked as NEW, now in 4.0 kernel it'snt tagged as new). Symbol: ACPI_I2C_OPREGION [=y] Say Y here if you want to enable ACPI I2C operation region support. Operation Regions allow firmware (BIOS) code to access I2C slave devices, such as smart batteries through an I2C host controller driver. Location: -> Device Drivers -> I2C support -> I2C support (I2C [=y]) Defined at drivers/i2c/Kconfig:26 Depends on: I2C [=y]=y && ACPI [=y] Thank you for reading this (apologies for my english, i did my best but...) and thank you for Archlinux :) |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Thursday, 03 September 2015, 13:42 GMT
Reason for closing: Fixed
Additional comments about closing: 4.2.0-1
Thursday, 03 September 2015, 13:42 GMT
Reason for closing: Fixed
Additional comments about closing: 4.2.0-1
confirmed acpi battery level access not available with current stock arch kernel config.
also, access restored with ACPI_I2C_OPREGION enabled.
IMHO, in a mobile device, having no software nor hardware battery level is an issue a little bit higher than 'medium' requiring more attention given the ease of resolution
it's a shame to recompile a kernel only for this...