aarch64-laptops / build

Build an Linux OS based image
221 stars 47 forks source link

Battery status reading #11

Closed RussianNeuroMancer closed 5 years ago

RussianNeuroMancer commented 5 years ago

Hello!

Maybe it's good idea to add "Battery status" into list of supported features on https://github.com/aarch64-laptops/build page?

In my case on Lenovo Yoga C630 WOS battery status is not available by default, however updating kernel from 5.0.0 to 5.2.0 (from PPA) and adding acpi=force to grub.cfg allow to workaround this issue.

RussianNeuroMancer commented 5 years ago

adding acpi=force to grub.cfg allow to workaround this issue

...but it's seems like acpi=force break USB devices support, so due to lack of WiFI and LTE this is no go for now.

lag-linaro commented 5 years ago

...but it's seems like acpi=force break USB devices support, so due to lack of WiFI and LTE this is no go for now.

Only the right port is nonoperational when booting with ACPI. The left one should work fine.

RussianNeuroMancer commented 5 years ago

I see, thank you for this information! I will try to boot device from microSD attached via USB hub.

RussianNeuroMancer commented 5 years ago

As I just found booting from storage device attached to laptop via USB hub seems like not supported by firmware. At least if this storage device is microSD card reader.

lag-linaro commented 5 years ago

Doesn't work for me when using a USB flash drive either.

RussianNeuroMancer commented 5 years ago

Battery status is present with 5.3rc1 kernel.