View Single Post
Old 08-20-2024, 11:17 PM   #17
trence
Connoisseur
trence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enoughtrence will become famous soon enough
 
Posts: 72
Karma: 548
Join Date: Nov 2018
Device: Likebook Mars
Thank you for that info, that did allow me to turn on the bluetooth. My device was listed in bluetoothctl. While doing the trust, and connect via SSH, I did receive this error message:

bluetooth]# trust E0:F8:48:04:36:23
[bluetooth]# [bluetooth]# Changing E0:F8:48:04:36:23 trust succeeded
[bluetooth]# connect E0:F8:48:04:36:23
Attempting to connect to E0:F8:48:04:36:23
[bluetooth]# [bluetooth]# Failed to connect: org.bluez.Error.NotReady br-connection-adapter-not-powered
[bluetooth]#


Would either of you know what I am doing wrong by chance?

Edit: After a reboot, connect worked and the device paired! But it does not turn pages, yet. I did restart Koreader, as well.

This is my device.patch.lua, does this look correct?

--- koreader/frontend/device/kobo/device.lua 2024-07-15 12:02:02.000000000 -0400
+++ koreader/frontend/device/kobo/device.lua 2024-08-11 17:54:44.000000000 -0400
@@ -489,6 +489,7 @@
hasEclipseWfm = yes,
canToggleChargingLED = yes,
led_uses_channel_3 = true,
+ hasKeys = yes,
hasFrontlight = yes,
display_dpi = 300,
hasNaturalLight = yes,
@@ -828,6 +829,7 @@
[4] = "RPgFwd",
[102] = "Home",
[116] = "Power",
[193] = "RPgBack",
[115] = "RPgFwd",
[194] = "RPgFwd",
[331] = "Eraser",
[332] = "Highlighter",
[304] = "RPgFwd",
[305] = "RPgFwd",
[307] = "RPgFwd",
[308] = "RPgFwd",
@@ -901,6 +903,13 @@
-- NOTE: usb hotplug event is also available in /tmp/nickel-hardware-status (... but only when Nickel is running ;p)
self.input.open("fake_events")

+ local success, err = pcall(function()
+ self.input.open("/dev/input/event4")
+ end)

Last edited by trence; 08-21-2024 at 01:01 AM.
trence is offline   Reply With Quote