kobolabs / Kobo-Reader

http://www.koboereader.com/
599 stars 126 forks source link

Nia kernel sources are outdated #117

Open Szybet opened 2 years ago

Szybet commented 2 years ago

The kernel shipped with nickel is different in many ways ( battery consumption, touchscreen wake up calls ). Could we get an updated version in the repo, Please?

lordfolken commented 2 years ago

I second this. XCSoar has several issues due non-current kernel. https://github.com/XCSoar/XCSoar/issues/939

The project also needs a kernel, to provide an OTG mode.

https://github.com/XCSoar/XCSoar/issues/963

Szybet commented 2 years ago

i think i can help you with those problems. About building kernel, you can look in this repo for some instructions: https://github.com/Szybet/kobo-nia-audio And in this repo for building the kernel / modules https://github.com/Kobo-InkBox/kernel as for otg mode, it can be turned on on the nia like that:

mount -t debugfs none /sys/kernel/debug
echo host > /sys/kernel/debug/ci_hdrc.0/role

but to work the ereader needs to be charged but still an updated kernel would solve other issues.

lordfolken commented 2 years ago

That would be interesting. We currenlty use another kernel for OTG on the devices. https://github.com/XCSoar/XCSoar/blob/ae4a1956dcf48f25427a75dd48e27b7da0733b53/src/Kobo/SystemDialog.cpp