koreader / koreader

An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices
http://koreader.rocks/
GNU Affero General Public License v3.0
16.84k stars 1.26k forks source link

Kindle 2 joystick not working after 2024.07 update #12178

Closed SpartanHeavy closed 3 months ago

SpartanHeavy commented 4 months ago

Issue

After updating to 2024.07 on my Kindle 2, the five-way joystick does not function at all in KOReader. The other buttons seem to work normally, but I can't navigate through the menus. I couldn't figure out how to exit KOReader without the joystick, so I had to hard reset to get back to the Kindle UI. I tried doing a clean reinstall of KOReader, and the joystick still did not work.

Frenzie commented 4 months ago

Do you mean something like this?

  1. press the menu button
  2. press up/down
SpartanHeavy commented 3 months ago

Do you mean something like this?

1. press the menu button

2. press up/down

Pressing the menu button opens the top menu, and pressing up/down does nothing.

Frenzie commented 3 months ago

@NiLuJe Could this be related to https://github.com/koreader/koreader/pull/11807?

NiLuJe commented 3 months ago

Possibly, I'd need logs to confirm (a.k.a., "Please don't ignore the issue template", wink, wink, nudge, nudge)

NiLuJe commented 3 months ago

And my k2i appears to be sleeping the sleep of the dead, so that's as far as I can go on my own ;).

SpartanHeavy commented 3 months ago

Sorry about that. Here's the logs:

crash.log ``` --------------------------------------------- launching... _ _____ ____ _ | |/ / _ \| _ \ ___ __ _ __| | ___ _ __ | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__| | . \ |_| | _ < __/ (_| | (_| | __/ | |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_| It's a scroll... It's a codex... It's KOReader! [*] Current time: 07/17/24-18:01:18 [*] Version: v2024.07 ffi.load: libs/libutf8proc.so.3 ffi.load: blitbuffer 07/17/24-18:01:20 WARN could not load liblipclua: module 'liblipclua' not found: no field package.preload['liblipclua'] no file 'common/liblipclua.lua' no file 'frontend/liblipclua.lua' no file './liblipclua.lua' no file '/usr/local/share/luajit-2.1/liblipclua.lua' no file '/usr/local/share/lua/5.1/liblipclua.lua' no file '/usr/local/share/lua/5.1/liblipclua/init.lua' no file 'common/liblipclua.so' no file 'common/liblipclua.dll' no file '/usr/lib/lua/liblipclua.so' no file './liblipclua.so' no file '/usr/local/lib/lua/5.1/liblipclua.so' no file '/usr/local/lib/lua/5.1/loadall.so' 07/17/24-18:01:20 WARN could not load liblibclua ffi.load: fbink_input ffi.load (assisted searchpath): ./libs/libfbink_input.so.1 [FBInk] /dev/input/event0: `mxckpd` = KEY | PAGINATION_BUTTONS | MENU_BUTTON [FBInk] /dev/input/event1: `fiveway` = KEY [ko-input] Forked off fake event generator (pid: 5335) 07/17/24-18:01:20 INFO initializing for device Kindle2 07/17/24-18:01:20 INFO framebuffer resolution: { h = 800, w = 600 } --[[table: 0x406002a8]] ffi.load: libs/libwrap-mupdf.so ffi.load: sqlite3 07/17/24-18:01:20 INFO Performing one-time migration for 20191129 07/17/24-18:01:21 INFO Performing one-time migration for 20200421 07/17/24-18:01:21 WARN os.remove: ./cache/fontlist/fontinfo.dat: No such file or directory ffi.load: libs/libfreetype.so.6 ffi.load: libs/libharfbuzz.so.0 ffi.load: libs/libzstd.so.1 07/17/24-18:01:21 INFO ./cache/fontlist/fontinfo.dat fopen: No such file or directory -> initializing it 07/17/24-18:01:26 INFO Performing one-time migration for 20210306 (1/2) 07/17/24-18:01:26 INFO Performing one-time migration for 20210306 (2/2) 07/17/24-18:01:26 INFO Performing one-time migration for 20210330 07/17/24-18:01:28 INFO Performing one-time migration for 20210404 07/17/24-18:01:28 INFO Performing one-time migration for 20210409 07/17/24-18:01:28 WARN os.rename: ./cache/fontinfo.dat: No such file or directory 07/17/24-18:01:28 INFO Performing one-time migration for 20210412 07/17/24-18:01:28 WARN os.rename: ./cache/calibre-libraries.lua: No such file or directory 07/17/24-18:01:28 WARN os.rename: ./cache/calibre-books.dat: No such file or directory 07/17/24-18:01:28 INFO Performing one-time migration for 20210414 07/17/24-18:01:28 WARN os.remove: ./cache/calibre/books.dat: No such file or directory 07/17/24-18:01:28 INFO Performing one-time migration for 20210503 & 20210508 07/17/24-18:01:28 INFO Performing one-time migration for 20240616 07/17/24-18:01:28 INFO Performing one-time migration for 20210521 07/17/24-18:01:28 INFO Performing one-time migration for 20210531 07/17/24-18:01:28 INFO Performing one-time migration for 20210629 07/17/24-18:01:28 INFO Performing one-time migration for 20210715 07/17/24-18:01:28 INFO Performing one-time migration for 20210720 07/17/24-18:01:28 INFO Performing one-time migration for 20210831 07/17/24-18:01:28 INFO Performing one-time migration for 20210925 07/17/24-18:01:28 INFO Performing one-time migration for 20220116 07/17/24-18:01:28 INFO Performing one-time migration for 20220205 07/17/24-18:01:28 INFO Performing one-time migration for 20220819 07/17/24-18:01:28 INFO Performing one-time migration for 20220914 07/17/24-18:01:28 INFO Performing one-time migration for 20220930 07/17/24-18:01:28 WARN loadfile: cannot open ./defaults.persistent.lua: No such file or directory 07/17/24-18:01:28 WARN os.rename: ./defaults.persistent.lua: No such file or directory 07/17/24-18:01:28 INFO Performing one-time migration for 20221027 07/17/24-18:01:28 INFO Performing one-time migration for 20230531 07/17/24-18:01:28 INFO Performing one-time migration for 20230703 07/17/24-18:01:28 INFO Performing one-time migration for 20230707 07/17/24-18:01:28 INFO Performing one-time migration for 20230710 07/17/24-18:01:29 INFO Performing one-time migration for 20230731 07/17/24-18:01:29 INFO Performing one-time migration for 20230802 07/17/24-18:01:29 INFO statistics.sqlite3 not found. 07/17/24-18:01:29 INFO Performing one-time migration for 20230901 07/17/24-18:01:29 INFO Performing one-time migration for 20231217 07/17/24-18:01:29 INFO Performing one-time migration for 20240408 07/17/24-18:01:31 INFO opening file /mnt/us/koreader/help/quickstart-en-v2024.07.html CRE: font PMN Caecilia LT regular: updated weight from 500 to 400 07/17/24-18:01:34 INFO Inhibiting user input 07/17/24-18:01:35 INFO Loading plugins from directory: plugins sh: command: not found sh: command: not found 07/17/24-18:01:39 INFO CoverBrowser: setting default display modes 07/17/24-18:01:39 WARN BookInfo cache DB schema updated from version 0 to version 20201210 07/17/24-18:01:39 WARN Deleting existing ./settings/bookinfo_cache.sqlite3 to recreate it 07/17/24-18:01:43 INFO Restoring user input handling 07/17/24-18:01:55 WARN menu id not found: taps_and_gestures --------------------------------------------- launching... _ _____ ____ _ | |/ / _ \| _ \ ___ __ _ __| | ___ _ __ | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__| | . \ |_| | _ < __/ (_| | (_| | __/ | |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_| It's a scroll... It's a codex... It's KOReader! [*] Current time: 07/17/24-18:00:57 [*] Version: v2024.07 ffi.load: libs/libutf8proc.so.3 ffi.load: blitbuffer 07/17/24-18:00:58 DEBUG fts: Preferred MONOTONIC clock source is CLOCK_MONOTONIC 07/17/24-18:00:58 DEBUG fts: Preferred REALTIME clock source is CLOCK_REALTIME 07/17/24-18:00:58 DEBUG fts: BOOTTIME clock source is NOT supported 07/17/24-18:00:58 WARN could not load liblipclua: module 'liblipclua' not found: no field package.preload['liblipclua'] no file 'common/liblipclua.lua' no file 'frontend/liblipclua.lua' no file './liblipclua.lua' no file '/usr/local/share/luajit-2.1/liblipclua.lua' no file '/usr/local/share/lua/5.1/liblipclua.lua' no file '/usr/local/share/lua/5.1/liblipclua/init.lua' no file 'common/liblipclua.so' no file 'common/liblipclua.dll' no file '/usr/lib/lua/liblipclua.so' no file './liblipclua.so' no file '/usr/local/lib/lua/5.1/liblipclua.so' no file '/usr/local/lib/lua/5.1/loadall.so' 07/17/24-18:00:58 WARN could not load liblibclua 07/17/24-18:00:58 DEBUG FB info (post fixup) { bpp = 4, fb_size = 240000, height_mm = 121, line_length = 300, mmio_len = 0, rotate = 0, smem_len = 483328, stride_pixels = 600, type = 0, width_mm = 91, xoffset = 0, xres = 600, xres_virtual = 600, yoffset = 0, yres = 800, yres_virtual = 800 } --[[table: 0x40637e78]] 07/17/24-18:00:58 DEBUG FB mapped at cdata: 0x406da000 of 241664 bytes ffi.load: fbink_input ffi.load (assisted searchpath): ./libs/libfbink_input.so.1 [FBInk] /dev/input/event0: `mxckpd` = KEY | PAGINATION_BUTTONS | MENU_BUTTON [FBInk] /dev/input/event1: `fiveway` = KEY 07/17/24-18:00:58 DEBUG Kept fd 4 open for input device mxckpd @ /dev/input/event0 [ko-input] Forked off fake event generator (pid: 5088) 07/17/24-18:00:58 DEBUG Opened fd 5 for input device @ fake_events 07/17/24-18:00:58 INFO initializing for device Kindle2 07/17/24-18:00:58 INFO framebuffer resolution: { h = 800, w = 600 } --[[table: 0x40636678]] ffi.load: libs/libwrap-mupdf.so ffi.load: sqlite3 ffi.load: libs/libfreetype.so.6 ffi.load: libs/libharfbuzz.so.0 ffi.load: libs/libzstd.so.1 07/17/24-18:01:00 INFO ./cache/fontlist/fontinfo.dat fopen: No such file or directory -> initializing it 07/17/24-18:01:02 DEBUG FontList registered: Nimbus Sans L 07/17/24-18:01:02 DEBUG FontList registered: Standard Symbols L 07/17/24-18:01:02 DEBUG FontList registered: Noto Sans Bengali UI 07/17/24-18:01:02 DEBUG FontList registered: Noto Naskh Arabic 07/17/24-18:01:02 DEBUG FontList registered: FreeSans 07/17/24-18:01:02 DEBUG FontList registered: Noto Sans CJK SC 07/17/24-18:01:02 DEBUG FontList registered: Nimbus Mono 07/17/24-18:01:02 DEBUG FontList registered: Noto Sans 07/17/24-18:01:02 DEBUG FontList registered: Noto Sans Devanagari UI 07/17/24-18:01:02 DEBUG FontList registered: Nimbus Roman No9 L 07/17/24-18:01:02 DEBUG FontList registered: NotoSans Nerd Font 07/17/24-18:01:02 DEBUG FontList registered: Noto Serif 07/17/24-18:01:02 DEBUG FontList registered: Noto Sans Arabic UI 07/17/24-18:01:02 DEBUG FontList registered: Droid Sans Mono 07/17/24-18:01:02 DEBUG FontList registered: FreeSerif 07/17/24-18:01:02 DEBUG FontList registered: PMN Caecilia LT 07/17/24-18:01:02 DEBUG FontList registered: HelveticaNeue LT 65 Medium 07/17/24-18:01:02 DEBUG FontList registered: Dingbats 07/17/24-18:01:02 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:02 DEBUG Found font: NotoSans-Bold.ttf in ./fonts/noto/NotoSans-Bold.ttf 07/17/24-18:01:02 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:03 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:03 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:03 DEBUG Allocating a 30MB budget for the global document cache 07/17/24-18:01:03 DEBUG Found font: NotoSans-Bold.ttf in ./fonts/noto/NotoSans-Bold.ttf 07/17/24-18:01:03 DEBUG Found font: DroidSansMono.ttf in ./fonts/droid/DroidSansMono.ttf 07/17/24-18:01:03 DEBUG ReadCollection: reading from collection file 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/home.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/home.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/home.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/plus.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/plus.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/plus.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG _refresh: Enqueued ui update for region 0 0 600 77 dithering: false 07/17/24-18:01:04 DEBUG setDirty ui from widget table: 0x411adb28 w/ region 0 0 600 77 dithering: nil 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/close.svg 24 24 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/close.svg 1 24 24 > 24 24 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/close.svg|24|24false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/chevron.left.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/chevron.left.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/chevron.left.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/chevron.right.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/chevron.right.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/chevron.right.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/chevron.first.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/chevron.first.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/chevron.first.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/chevron.last.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/chevron.last.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/chevron.last.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:04 DEBUG ImageWidget: _render'ing resources/icons/mdlight/back.top.svg 40 40 07/17/24-18:01:04 DEBUG renderSVG resources/icons/mdlight/back.top.svg 0.83333333333333 48 48 > 40 40 0 0 07/17/24-18:01:04 DEBUG cache image|resources/icons/mdlight/back.top.svg|40|40false 07/17/24-18:01:04 DEBUG ImageWidget: initial offsets 0 0 07/17/24-18:01:05 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:05 DEBUG Found font: DroidSansMono.ttf in ./fonts/droid/DroidSansMono.ttf 07/17/24-18:01:05 DEBUG Found font: NotoSansCJKsc-Regular.otf in ./fonts/noto/NotoSansCJKsc-Regular.otf 07/17/24-18:01:05 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:05 DEBUG Found font: NotoSansCJKsc-Regular.otf in ./fonts/noto/NotoSansCJKsc-Regular.otf 07/17/24-18:01:05 DEBUG Found font: NotoSansArabicUI-Regular.ttf in ./fonts/noto/NotoSansArabicUI-Regular.ttf 07/17/24-18:01:05 DEBUG Found font: NotoSansDevanagariUI-Regular.ttf in ./fonts/noto/NotoSansDevanagariUI-Regular.ttf 07/17/24-18:01:05 DEBUG Found font: NotoSansBengaliUI-Regular.ttf in ./fonts/noto/NotoSansBengaliUI-Regular.ttf 07/17/24-18:01:05 DEBUG FocusManager: Move focus position to: 1 , 1 07/17/24-18:01:05 DEBUG FocusManager: Move focus position to: 1 , 4 07/17/24-18:01:05 DEBUG setDirty via a func from widget table: 0x411adb28 07/17/24-18:01:05 DEBUG FocusManager: Move focus position to: 1 , 4 07/17/24-18:01:05 DEBUG Getting list of dictionaries 07/17/24-18:01:05 DEBUG found 0 dictionaries 07/17/24-18:01:05 INFO Loading plugins from directory: plugins 07/17/24-18:01:05 DEBUG Plugin plugins/autofrontlight.koplugin/main.lua has been disabled. 07/17/24-18:01:05 DEBUG Plugin plugins/autostandby.koplugin/main.lua has been disabled. 07/17/24-18:01:05 DEBUG BackgroundRunnerWidget: no job, not running @ 1721239265 07/17/24-18:01:06 DEBUG Plugin plugins/coverimage.koplugin/main.lua has been disabled. 07/17/24-18:01:06 DEBUG Plugin plugins/docsettingtweak.koplugin/main.lua has been disabled. 07/17/24-18:01:07 DEBUG Plugin plugins/externalkeyboard.koplugin/main.lua has been disabled. 07/17/24-18:01:07 DEBUG Plugin plugins/gestures.koplugin/main.lua has been disabled. 07/17/24-18:01:07 DEBUG Plugin plugins/hello.koplugin/main.lua has been disabled. 07/17/24-18:01:07 DEBUG japanese.koplugin deinflector: loaded inflection table with 36 rules and 569 variants 07/17/24-18:01:08 DEBUG Plugin plugins/patchmanagement.koplugin/main.lua has been disabled. 07/17/24-18:01:08 DEBUG Plugin plugins/texteditor.koplugin/main.lua has been disabled. sh: command: not found sh: command: not found 07/17/24-18:01:08 DEBUG Plugin plugins/timesync.koplugin/main.lua has been disabled. 07/17/24-18:01:10 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSans-Italic.ttf in ./fonts/noto/NotoSans-Italic.ttf 07/17/24-18:01:10 DEBUG FM loaded plugin SSH at plugins/SSH.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin archiveviewer at plugins/archiveviewer.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin autodim at plugins/autodim.koplugin 07/17/24-18:01:10 DEBUG AutoSuspend: init 07/17/24-18:01:10 DEBUG AutoSuspend: start suspend/shutdown timer at 548.240603 07/17/24-18:01:10 DEBUG AutoSuspend: scheduling next suspend check in 900 07/17/24-18:01:10 DEBUG AutoSuspend: start t1 timeout timer at 548.240603 07/17/24-18:01:10 DEBUG AutoSuspend: scheduling next t1 timeout check in 300 07/17/24-18:01:10 DEBUG FM loaded plugin autosuspend at plugins/autosuspend.koplugin 07/17/24-18:01:10 DEBUG AutoWarmth: scheduleMidnightUpdate 07/17/24-18:01:10 DEBUG FM loaded plugin autowarmth at plugins/autowarmth.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin backgroundrunner at plugins/backgroundrunner.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin batterystat at plugins/batterystat.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin bookshortcuts at plugins/bookshortcuts.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin calibre at plugins/calibre.koplugin 07/17/24-18:01:10 DEBUG CoverBrowser: setting FileManager display mode to: list_image_meta 07/17/24-18:01:10 DEBUG CoverBrowser: setting History display mode to: mosaic_image 07/17/24-18:01:10 DEBUG CoverBrowser: setting Collection display mode to: mosaic_image 07/17/24-18:01:10 DEBUG FM loaded plugin coverbrowser at plugins/coverbrowser.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin exporter at plugins/exporter.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin httpinspector at plugins/httpinspector.koplugin 07/17/24-18:01:10 DEBUG language support: registering japanese plugin 07/17/24-18:01:10 DEBUG FM loaded plugin japanese at plugins/japanese.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin keepalive at plugins/keepalive.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin movetoarchive at plugins/movetoarchive.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin newsdownloader at plugins/newsdownloader.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin opds at plugins/opds.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin perceptionexpander at plugins/perceptionexpander.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin profiles at plugins/profiles.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin qrclipboard at plugins/qrclipboard.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin readtimer at plugins/readtimer.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin statistics at plugins/statistics.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin systemstat at plugins/systemstat.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin terminal at plugins/terminal.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin vocabbuilder at plugins/vocabbuilder.koplugin 07/17/24-18:01:10 DEBUG FM loaded plugin wallabag at plugins/wallabag.koplugin 07/17/24-18:01:10 DEBUG Spinning up new FileManager instance table: 0x411adb28 07/17/24-18:01:10 DEBUG show widget: table: 0x411adb28 07/17/24-18:01:10 DEBUG setDirty nil from widget table: 0x411adb28 w/ NO region; dithering: nil 07/17/24-18:01:10 DEBUG Found font: DroidSansMono.ttf in ./fonts/droid/DroidSansMono.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSans-Bold.ttf in ./fonts/noto/NotoSans-Bold.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSansCJKsc-Regular.otf in ./fonts/noto/NotoSansCJKsc-Regular.otf 07/17/24-18:01:10 DEBUG Found font: NotoSansArabicUI-Bold.ttf in ./fonts/noto/NotoSansArabicUI-Bold.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSans-Regular.ttf in ./fonts/noto/NotoSans-Regular.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSansCJKsc-Regular.otf in ./fonts/noto/NotoSansCJKsc-Regular.otf 07/17/24-18:01:10 DEBUG Found font: NotoSansArabicUI-Regular.ttf in ./fonts/noto/NotoSansArabicUI-Regular.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSansDevanagariUI-Regular.ttf in ./fonts/noto/NotoSansDevanagariUI-Regular.ttf 07/17/24-18:01:10 DEBUG Found font: NotoSansBengaliUI-Regular.ttf in ./fonts/noto/NotoSansBengaliUI-Regular.ttf 07/17/24-18:01:11 DEBUG FocusManager: Move focus position to: 1 , 1 07/17/24-18:01:11 DEBUG setDirty via a func from widget table: 0x411adb28 07/17/24-18:01:11 DEBUG FocusManager: Move focus position to: 1 , 4 07/17/24-18:01:11 DEBUG _refresh: Enqueued ui update for region 0 0 600 77 dithering: false 07/17/24-18:01:11 DEBUG setDirty ui from widget table: 0x411adb28 w/ region 0 0 600 77 dithering: nil 07/17/24-18:01:11 DEBUG painting widget: table: 0x411adb28 07/17/24-18:01:11 DEBUG Found font: NotoSansCJKsc-Regular.otf in ./fonts/noto/NotoSansCJKsc-Regular.otf 07/17/24-18:01:11 DEBUG Found font: NotoSansCJKsc-Regular.otf in ./fonts/noto/NotoSansCJKsc-Regular.otf 07/17/24-18:01:11 DEBUG blitFrom 5 5 0 0 40 40 07/17/24-18:01:11 DEBUG blitFrom 555 5 0 0 40 40 07/17/24-18:01:11 DEBUG blitFrom 97 758 0 0 40 40 07/17/24-18:01:11 DEBUG blitFrom 173 758 0 0 40 40 07/17/24-18:01:11 DEBUG blitFrom 387 758 0 0 40 40 07/17/24-18:01:11 DEBUG blitFrom 463 758 0 0 40 40 07/17/24-18:01:11 DEBUG _refresh: Enqueued ui update for region 0 0 600 800 dithering: false 07/17/24-18:01:11 DEBUG _refresh: Enqueued ui update for region 0 0 600 800 dithering: false 07/17/24-18:01:11 DEBUG triggering refresh { mode = "ui", region = "600x800+0+0" } --[[table: 0x4415bfa8]] ```
Commodore64user commented 3 months ago

And my k2i appears to be sleeping the sleep of the dead, so that's as far as I can go on my own ;).

Funky bass line starts playing in the background.

🎡 Let's go! 🎡

Steve walks warily down the street With the brim pulled way down low Ain't no sound but the sound of his feet Machine guns ready to go

NiLuJe commented 3 months ago

Does it work any better if your unpack the attached archive in the koreader/libs folder? (it should replace an existing libfbink_input.so.1 file).

fix-fw2-dpad-v2.tar.gz

EDIT: Oops, first version wasn't a Kindle build -_-".

NiLuJe commented 3 months ago

@Commodore64user: Feel free to double-check that this didn't break the K4, as mine appears only slightly less dead than the K2i ;).

EDIT: Sign of life on the K4, yay.

NiLuJe commented 3 months ago

(https://github.com/NiLuJe/FBInk/commit/1214cde943af2e4162a2984638746b0dd923ede9 for ref)

Commodore64user commented 3 months ago

@Commodore64user: Feel free to double-check that this didn't break the K4, as mine appears only slightly less dead than the K2i ;).

K3 and K4 went unscathed, at least nothing obviously bad has happened... yet. Fingers crossed 🀞

EDIT: Sign of life on the K4, yay.

πŸ₯³

NiLuJe commented 3 months ago

Oops, updated the attachment in https://github.com/koreader/koreader/issues/12178#issuecomment-2237318441, the first one wasn't actually built for Kindle ;p.

SpartanHeavy commented 3 months ago

The first version of that file caused all the buttons to stop working. I was getting ready to post updated logs when you posted version 2.

It fixed the problem, and the joystick works normally now. Thanks!

NiLuJe commented 3 months ago

And it still looks sensible on the K4:

β”Œβ”€(ROOT@kindle:pts/0)──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(~)─┐
└─(0.41:47%:20:28:15%:#)── ./input_scan                                                                                                                                                                                                                                                                                                                ──(Sat, Nov 13)β”€β”˜
[FBInk] /dev/input/event0: `tequila-keypad` = KEY | PAGINATION_BUTTONS | HOME_BUTTON | MENU_BUTTON
[FBInk] /dev/input/event1: `fiveway` = KEY | DPAD
[FBInk] /dev/input/event2: `volume` = KEY

I'll fold that in a bump later tonight, thanks ;).

Commodore64user commented 3 months ago

FYI, here is the K3 for good measure:

[FBInk] /dev/input/event0: `mxckpd` = KEY | PAGINATION_BUTTONS | HOME_BUTTON | MENU_BUTTON
[FBInk] /dev/input/event1: `fiveway` = KEY | DPAD
[FBInk] /dev/input/event2: `volume` = KEY

btw I am also getting the same warning WARN could not load liblipclua: module 'liblipclua' not found: as https://github.com/koreader/koreader/issues/12178#issuecomment-2237240228

NiLuJe commented 3 months ago

btw I am also getting the same warning WARN could not load liblipclua: module 'liblipclua' not found: as #12178

That one's perfectly normal, the Lua lipc bindings appeared on FW 5.x ;).

Commodore64user commented 3 months ago

btw I am also getting the same warning WARN could not load liblipclua: module 'liblipclua' not found: as #12178

That one's perfectly normal, the Lua lipc bindings appeared on FW 5.x ;).

Okay, so it’s kinda like that scene in Madagascar (2) where the engine being on fire is perfectly normal and it only becomes troublesome when it stops being on fire… ;)

mergen3107 commented 3 months ago

btw I am also getting the same warning WARN could not load liblipclua: module 'liblipclua' not found: as #12178

That one's perfectly normal, the Lua lipc bindings appeared on FW 5.x ;).

Stupid question- shouldn’t this lipc check be device-guarded then? What’s the point?

NiLuJe commented 3 months ago

What’s the point?

It's pcalled, and the try failure is caught to switch to the binding-less codepaths.

mergen3107 commented 3 months ago

In that case I think it should also falling back to etc etc :D I know, I know, it’s just a warning, but still

NiLuJe commented 3 months ago

That's an implementation detail, anyone who cares about lipc will understand what's going on and why when reading the logs.

(i.e., this is not a user-facing UI warning).