[Bug]: CardKB/Canned Messages not working on DIY NRF52840 promicro device with InkHUD
Category
Hardware Compatibility
Hardware
DIY
Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?
- [ ] Meshtastic UI aka MUI colorTFT
- [x] InkHUD ePaper
- [ ] OLED slide UI on any display
Firmware Version
2.7.15
Description
I've been working on making a standalone node with an e-paper display. Back when I was using a standard OLED, everything worked great! But after I changed out the display (and the firmware), when I try to set the canned messages input to the M5 CardKB, whenever the node reboots, it defaults to "manual configuration". The microcontroller is detecting the cardKB (found at address 0x5F). It seems like InkHUD isn't designed to work with the Input Broker (just with the single user button). Let me know if you need the full boot-up log or any other relevant information.
Relevant log output
find src/ -ipath "*niche*" -o -ipath "*inkhud*" | sort
src/graphics/niche
src/graphics/niche/Drivers
src/graphics/niche/Drivers/Backlight
src/graphics/niche/Drivers/Backlight/LatchingBacklight.cpp
src/graphics/niche/Drivers/Backlight/LatchingBacklight.h
src/graphics/niche/Drivers/EInk
src/graphics/niche/Drivers/EInk/DEPG0213BNS800.cpp
src/graphics/niche/Drivers/EInk/DEPG0213BNS800.h
src/graphics/niche/Drivers/EInk/DEPG0290BNS800.cpp
src/graphics/niche/Drivers/EInk/DEPG0290BNS800.h
src/graphics/niche/Drivers/EInk/E0213A367.cpp
src/graphics/niche/Drivers/EInk/E0213A367.h
src/graphics/niche/Drivers/EInk/EInk.cpp
src/graphics/niche/Drivers/EInk/EInk.h
src/graphics/niche/Drivers/EInk/GDEY0154D67.cpp
src/graphics/niche/Drivers/EInk/GDEY0154D67.h
src/graphics/niche/Drivers/EInk/GDEY0213B74.cpp
src/graphics/niche/Drivers/EInk/GDEY0213B74.h
src/graphics/niche/Drivers/EInk/HINK_E0213A289.cpp
src/graphics/niche/Drivers/EInk/HINK_E0213A289.h
src/graphics/niche/Drivers/EInk/HINK_E042A87.cpp
src/graphics/niche/Drivers/EInk/HINK_E042A87.h
src/graphics/niche/Drivers/EInk/LCMEN2R13ECC1.cpp
src/graphics/niche/Drivers/EInk/LCMEN2R13ECC1.h
src/graphics/niche/Drivers/EInk/LCMEN2R13EFC1.cpp
src/graphics/niche/Drivers/EInk/LCMEN2R13EFC1.h
src/graphics/niche/Drivers/EInk/README.md
src/graphics/niche/Drivers/EInk/SSD1682.cpp
src/graphics/niche/Drivers/EInk/SSD1682.h
src/graphics/niche/Drivers/EInk/SSD16XX.cpp
src/graphics/niche/Drivers/EInk/SSD16XX.h
src/graphics/niche/Drivers/EInk/ZJY122250_0213BAAMFGN.cpp
src/graphics/niche/Drivers/EInk/ZJY122250_0213BAAMFGN.h
src/graphics/niche/Drivers/EInk/ZJY128296_029EAAMFGN.cpp
src/graphics/niche/Drivers/EInk/ZJY128296_029EAAMFGN.h
src/graphics/niche/Drivers/EInk/ZJY200200_0154DAAMFGN.h
src/graphics/niche/Drivers/README.md
src/graphics/niche/Fonts
src/graphics/niche/Fonts/FreeSans12pt_Win1250.h
src/graphics/niche/Fonts/FreeSans12pt_Win1251.h
src/graphics/niche/Fonts/FreeSans12pt_Win1252.h
src/graphics/niche/Fonts/FreeSans6pt7b.h
src/graphics/niche/Fonts/FreeSans6pt_Win1250.h
src/graphics/niche/Fonts/FreeSans6pt_Win1251.h
src/graphics/niche/Fonts/FreeSans6pt_Win1252.h
src/graphics/niche/Fonts/FreeSans9pt_Win1250.h
src/graphics/niche/Fonts/FreeSans9pt_Win1251.h
src/graphics/niche/Fonts/FreeSans9pt_Win1252.h
src/graphics/niche/Fonts/README.md
src/graphics/niche/InkHUD
src/graphics/niche/InkHUD/Applet.cpp
src/graphics/niche/InkHUD/AppletFont.cpp
src/graphics/niche/InkHUD/AppletFont.h
src/graphics/niche/InkHUD/Applet.h
src/graphics/niche/InkHUD/Applets
src/graphics/niche/InkHUD/Applets/Bases
src/graphics/niche/InkHUD/Applets/Bases/Map
src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.cpp
src/graphics/niche/InkHUD/Applets/Bases/Map/MapApplet.h
src/graphics/niche/InkHUD/Applets/Bases/NodeList
src/graphics/niche/InkHUD/Applets/Bases/NodeList/NodeListApplet.cpp
src/graphics/niche/InkHUD/Applets/Bases/NodeList/NodeListApplet.h
src/graphics/niche/InkHUD/Applets/Examples
src/graphics/niche/InkHUD/Applets/Examples/BasicExample
src/graphics/niche/InkHUD/Applets/Examples/BasicExample/BasicExampleApplet.cpp
src/graphics/niche/InkHUD/Applets/Examples/BasicExample/BasicExampleApplet.h
src/graphics/niche/InkHUD/Applets/Examples/NewMsgExample
src/graphics/niche/InkHUD/Applets/Examples/NewMsgExample/NewMsgExampleApplet.cpp
src/graphics/niche/InkHUD/Applets/Examples/NewMsgExample/NewMsgExampleApplet.h
src/graphics/niche/InkHUD/Applets/System
src/graphics/niche/InkHUD/Applets/System/BatteryIcon
src/graphics/niche/InkHUD/Applets/System/BatteryIcon/BatteryIconApplet.cpp
src/graphics/niche/InkHUD/Applets/System/BatteryIcon/BatteryIconApplet.h
src/graphics/niche/InkHUD/Applets/System/Logo
src/graphics/niche/InkHUD/Applets/System/Logo/LogoApplet.cpp
src/graphics/niche/InkHUD/Applets/System/Logo/LogoApplet.h
src/graphics/niche/InkHUD/Applets/System/Menu
src/graphics/niche/InkHUD/Applets/System/Menu/MenuAction.h
src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.cpp
src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.h
src/graphics/niche/InkHUD/Applets/System/Menu/MenuItem.h
src/graphics/niche/InkHUD/Applets/System/Menu/MenuPage.h
src/graphics/niche/InkHUD/Applets/System/Notification
src/graphics/niche/InkHUD/Applets/System/Notification/NotificationApplet.cpp
src/graphics/niche/InkHUD/Applets/System/Notification/NotificationApplet.h
src/graphics/niche/InkHUD/Applets/System/Notification/Notification.h
src/graphics/niche/InkHUD/Applets/System/Pairing
src/graphics/niche/InkHUD/Applets/System/Pairing/PairingApplet.cpp
src/graphics/niche/InkHUD/Applets/System/Pairing/PairingApplet.h
src/graphics/niche/InkHUD/Applets/System/Placeholder
src/graphics/niche/InkHUD/Applets/System/Placeholder/PlaceholderApplet.cpp
src/graphics/niche/InkHUD/Applets/System/Placeholder/PlaceholderApplet.h
src/graphics/niche/InkHUD/Applets/System/Tips
src/graphics/niche/InkHUD/Applets/System/Tips/TipsApplet.cpp
src/graphics/niche/InkHUD/Applets/System/Tips/TipsApplet.h
src/graphics/niche/InkHUD/Applets/User
src/graphics/niche/InkHUD/Applets/User/AllMessage
src/graphics/niche/InkHUD/Applets/User/AllMessage/AllMessageApplet.cpp
src/graphics/niche/InkHUD/Applets/User/AllMessage/AllMessageApplet.h
src/graphics/niche/InkHUD/Applets/User/DM
src/graphics/niche/InkHUD/Applets/User/DM/DMApplet.cpp
src/graphics/niche/InkHUD/Applets/User/DM/DMApplet.h
src/graphics/niche/InkHUD/Applets/User/Heard
src/graphics/niche/InkHUD/Applets/User/Heard/HeardApplet.cpp
src/graphics/niche/InkHUD/Applets/User/Heard/HeardApplet.h
src/graphics/niche/InkHUD/Applets/User/Positions
src/graphics/niche/InkHUD/Applets/User/Positions/PositionsApplet.cpp
src/graphics/niche/InkHUD/Applets/User/Positions/PositionsApplet.h
src/graphics/niche/InkHUD/Applets/User/RecentsList
src/graphics/niche/InkHUD/Applets/User/RecentsList/RecentsListApplet.cpp
src/graphics/niche/InkHUD/Applets/User/RecentsList/RecentsListApplet.h
src/graphics/niche/InkHUD/Applets/User/ThreadedMessage
src/graphics/niche/InkHUD/Applets/User/ThreadedMessage/ThreadedMessageApplet.cpp
src/graphics/niche/InkHUD/Applets/User/ThreadedMessage/ThreadedMessageApplet.h
src/graphics/niche/InkHUD/DisplayHealth.cpp
src/graphics/niche/InkHUD/DisplayHealth.h
src/graphics/niche/InkHUD/docs
src/graphics/niche/InkHUD/docs/appletfont.png
src/graphics/niche/InkHUD/docs/disclaimer.jpg
src/graphics/niche/InkHUD/docs/README.md
src/graphics/niche/InkHUD/docs/rendering.gif
src/graphics/niche/InkHUD/docs/tile_translation.png
src/graphics/niche/InkHUD/Events.cpp
src/graphics/niche/InkHUD/Events.h
src/graphics/niche/InkHUD/InkHUD.cpp
src/graphics/niche/InkHUD/InkHUD.h
src/graphics/niche/InkHUD/MessageStore.cpp
src/graphics/niche/InkHUD/MessageStore.h
src/graphics/niche/InkHUD/Persistence.cpp
src/graphics/niche/InkHUD/Persistence.h
src/graphics/niche/InkHUD/PlatformioConfig.ini
src/graphics/niche/InkHUD/Renderer.cpp
src/graphics/niche/InkHUD/Renderer.h
src/graphics/niche/InkHUD/SystemApplet.h
src/graphics/niche/InkHUD/Tile.cpp
src/graphics/niche/InkHUD/Tile.h
src/graphics/niche/InkHUD/WindowManager.cpp
src/graphics/niche/InkHUD/WindowManager.h
src/graphics/niche/Inputs
src/graphics/niche/Inputs/README.md
src/graphics/niche/Inputs/TwoButton.cpp
src/graphics/niche/Inputs/TwoButton.h
src/graphics/niche/README.md
src/graphics/niche/Utils
src/graphics/niche/Utils/CannedMessageStore.cpp
src/graphics/niche/Utils/CannedMessageStore.h
src/graphics/niche/Utils/FlashData.h
grep -r "CannedMessage\|cardkb\|InputBroker\|CardKB" src/graphics/niche/ --include="*.cpp" --include="*.h" -l
src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.h
src/graphics/niche/InkHUD/Applets/System/Menu/MenuApplet.cpp
src/graphics/niche/Utils/CannedMessageStore.cpp
src/graphics/niche/Utils/CannedMessageStore.h
Boot up log:
//\ E S H T /\ S T / C
DEBUG | ??:??:?? 1 Filesystem files:
DEBUG | ??:??:?? 1 adafruit (directory)
DEBUG | ??:??:?? 1 bond_prph (directory)
DEBUG | ??:??:?? 1 bond_cntr (directory)
DEBUG | ??:??:?? 1 NicheGraphics (directory)
DEBUG | ??:??:?? 1 ch0.msgs (15 Bytes)
DEBUG | ??:??:?? 1 ch1.msgs (1 Bytes)
DEBUG | ??:??:?? 1 settings.data (60 Bytes)
DEBUG | ??:??:?? 1 latest.msgs (25 Bytes)
DEBUG | ??:??:?? 1 prefs (directory)
DEBUG | ??:??:?? 1 transmit_history.dat (18 Bytes)
DEBUG | ??:??:?? 1 cannedConf.proto (31 Bytes)
DEBUG | ??:??:?? 1 config.proto (219 Bytes)
DEBUG | ??:??:?? 1 module.proto (123 Bytes)
DEBUG | ??:??:?? 1 channels.proto (57 Bytes)
DEBUG | ??:??:?? 1 device.proto (144 Bytes)
DEBUG | ??:??:?? 1 nodes.proto (279 Bytes)
DEBUG | ??:??:?? 1 Power::lipoInit lipo sensor is not ready yet
DEBUG | ??:??:?? 1 Use analog input 31 for battery level
INFO | ??:??:?? 1 Scan for i2c devices
DEBUG | ??:??:?? 1 Scan for I2C devices on port 1
DEBUG | ??:??:?? 1 Register value: 0x0
INFO | ??:??:?? 1 M5 cardKB found at address 0x5f
INFO | ??:??:?? 1 1 I2C devices found
DEBUG | ??:??:?? 1 acc_info = 0
INFO | ??:??:?? 1 S:B:63,2.7.15.d18f3f7a6,nrf52_promicro_diy-inkhud,meshtastic/firmware
INFO | ??:??:?? 1 Build timestamp: 1772697600
DEBUG | ??:??:?? 1 Reset reason: 0x0
DEBUG | ??:??:?? 1 Set random seed 4021365254
INFO | ??:??:?? 1 Init NodeDB
INFO | ??:??:?? 1 Load /prefs/nodes.proto
INFO | ??:??:?? 1 Loaded /prefs/nodes.proto successfully
INFO | ??:??:?? 1 Loaded saved nodedatabase version 24, with nodes count: 1
INFO | ??:??:?? 1 Load /prefs/device.proto
INFO | ??:??:?? 1 Loaded /prefs/device.proto successfully
INFO | ??:??:?? 1 Loaded saved devicestate version 24
INFO | ??:??:?? 1 Load /prefs/config.proto
INFO | ??:??:?? 1 Loaded /prefs/config.proto successfully
INFO | ??:??:?? 1 Loaded saved config version 24
INFO | ??:??:?? 1 Load /prefs/module.proto
INFO | ??:??:?? 1 Loaded /prefs/module.proto successfully
INFO | ??:??:?? 1 Loaded saved moduleConfig version 24
INFO | ??:??:?? 1 Load /prefs/channels.proto
INFO | ??:??:?? 1 Loaded /prefs/channels.proto successfully
INFO | ??:??:?? 1 Loaded saved channelFile version 24
ERROR | ??:??:?? 1 Could not open / read /prefs/uiconfig.proto
...
@Bohr-a11y, Welcome to Meshtastic! :wave:
Thanks for opening your first issue. If it's helpful, an easy way to get logs is the "Open Serial Monitor" button on the Web Flasher.
If you have ideas for features, note that we often debate big ideas in the discussions tab first. This tracker tends to be for ideas that have community consensus and a clear implementation.
We're very active on discord, especially the #firmware and #alphanauts-testing channels. If you'll be around for a while, we'd love to see you there!
Welcome to the community! :heart:
This issue is a device/firmware bug concerning the functionality of the InkHUD with a specific input device (CardKB). Please provide device logs to help diagnose the issue. You can obtain these logs by connecting the device via USB to the Web Flasher to reproduce the problem, and then downloading and attaching the logs.
This issue has not had any comment or update in the last month. If it is still relevant, please post update comments. If no comments are made, this issue will be closed automagically in 7 days.
This issue has not had any comment since the last notice. It has been closed automatically. If this is incorrect, or the issue becomes relevant again, please request that it is reopened.