Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-24-2026, 04:21 PM   #31
tockdev
Member
tockdev began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2025
Device: Kindle Basic 3 (10th gen; KT4) - 5.17.1.0.3
Quote:
Originally Posted by Ruinemacil View Post
Hi everyone! ace_bt_cli gets stuck here:




Any ideas?
I had similar output on my first try and I figured out it was because it's a BLE keyboard. I had to use another one.
tockdev is offline   Reply With Quote
Old 01-24-2026, 05:05 PM   #32
tockdev
Member
tockdev began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2025
Device: Kindle Basic 3 (10th gen; KT4) - 5.17.1.0.3
Quote:
Originally Posted by tockdev View Post
Hello.

I followed the instructions, and (I guess) paired by keyboard.

But now, while still in ace_bt_cli, every time I press any key on my keyboard, it shows:
"ACEBTCLI aceBtCli_aclStateChangedCallback() status:0 addr:22:66:08:C2:08:36 state:0, transport:0, reason:0
ACEBTCLI CLI callback : profile_state_callback() addr: 22:66:08:C2:08:36 profile:PROFILE_INPUT_DEVICE stateISCONNECTED
ACEBTCLI aceBtCli_aclStateChangedCallback() status:0 addr:22:66:08:C2:08:36 state:1, transport:0, reason:22"
22:66:08:C2:08:36 is my keyboard MAC address.

When I run the first step from debugging spoiler, it shows 0 connected devices.

What do I do to solve this? I have a Kindle Colorsoft with 5.18.6.
Sorry I don't have editing rights because I'm pretty new at MobileRead, so I have to reply to my own post.

I did "udevadm trigger" and it showed up in ace_bt_cli "connectedlist" and in Kindle interface.

But the typing doesn't work.

Debugging steps:
1. Shows up in "connectedlist".
2. /dev/uhid is owned by group bluetoot (LMAO).
3. "I: Bus=0005 Vendor=04e8 Product=7021 Version=0001
N: Name="BT3.0 Keyboard"
P: Phys=
S: Sysfs=/devices/virtual/misc/uhid/0005:04E8:7021.0002/input/input5
U: Uniq=36:08:C2:08:66:22
H: Handlers=sysrq leds event3 ktch
B: PROP=0
B: EV=12001f
B: KEY=3f 307ff 0 0 0 0 483ffff 17aff32d bfd44446 0 0 1 130ff3 8b17d007 ffff7bfa d9415fff ffbeffdf ffefffff ffffffff fffffffe
B: REL=1040
B: ABS=1 0
B: MSC=10
B: LED=1f

I: Bus=0005 Vendor=04e8 Product=7021 Version=0001
N: Name="BT3.0 Keyboard Mouse"
P: Phys=
S: Sysfs=/devices/virtual/misc/uhid/0005:04E8:7021.0002/input/input6
U: Uniq=36:08:C2:08:66:22
H; Handlers=event4 ktch
B: PROP=0
B: EV=17
B: KEY ff0000 0 0 0 0 0 0 0 0
B: REL=1943
B: MSC=10"
4. Events appear perfectly when I press keys.

/tmp/x.err has a line that says:
"feature=button,property=keypad.fsr,error=22, failed to get int"
Then a bunch of lines like: "W: awesome: xerror:370: X error: request=GrabKey, error=BadValue"
And after that bunch of lines another bunch of lines like this: "W: awesome: xerror:370: X error: request=(null), error=(null)"

No "ace" or permutations of my MAC address in /var/logs/messages.

There's a lot of stuff appearing in "udevadm monitor" when connecting the keyboard. Do I have to list it all here?
You say that there should be "IS_INPUT" and "IS_INPUT_KEY" set to 1 in there.
Is that what our dev_is_keyboard.sh script should set? Because the script you have in the first post echo-es "ID_INPUT" and "ID_INPUT_KEY". ID, not IS. Is that right?
But just in case I left the ID echo-s and added IS variants. It didn't help but the "udevadm info ..." Command still doesn't list "IS_INPUT".

...I guess I messed even more. I tried to unpair the device and then pair it again. But it didn't work and now it doesn't even connect...
tockdev is offline   Reply With Quote
Old 01-24-2026, 08:29 PM   #33
tockdev
Member
tockdev began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2025
Device: Kindle Basic 3 (10th gen; KT4) - 5.17.1.0.3
Another edit: IT INALLY WORKED!!! I'm typing this message right now on the keyboard.

Strange, big f letter isn't typing here in the browser. It's fine tho.

All I had to do to get it to type was to reboot! That's crazy. Wait, I actually did more. I added this to the second line to the udev rule:
"..., ENV{IS_INPUT}="1", ENV{IS_INPUT_KEY}="1""

I hope it can help to someone else with the same problem.
tockdev is offline   Reply With Quote
Old 01-25-2026, 12:10 AM   #34
tockdev
Member
tockdev began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Apr 2025
Device: Kindle Basic 3 (10th gen; KT4) - 5.17.1.0.3
Another addition.
Now it connects showing error message about generating a report (the resulting report files are starting with audiomgrd), types for some time, and then KTerm I was typing in closes and it stops typing.
Maybe the thing that helped at first was the reboot and its broken now again BECAUSE i added these ENV{…} parts.
Ima try now.
tockdev is offline   Reply With Quote
Old 01-29-2026, 02:42 AM   #35
jeanys
Junior Member
jeanys began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2026
Device: Kindle PaperWhite 5
Thumbs up

Thank you for the tutorial!
I've successfully connected my Kindle Paperwhite 5 to the Bluetooth controller!
Following another tutorial, I can now turn pages in KOReader, which is incredibly exciting!

Additionally, regarding the issue mentioned on the 26th floor where the controller reconnects and KOReader restarts every time the Kindle goes to sleep, I accidentally discovered that inverting the if condition at the beginning of the /usr/bin/dmcc.sh file resolves it—though I'm unsure why. (Originally, I just wanted to prevent Bluetooth disconnects from generating those annoying log files.)

(The above reply was translated by DeepL.)
jeanys is offline   Reply With Quote
Old 02-12-2026, 02:10 PM   #36
kkk
Junior Member
kkk began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2026
Device: Kpw6,Kindle2024
Feel free to try my project:https://github.com/QiuYukang/kindlebtcontroller.koplugin

Quote:
Originally Posted by Frogm4n View Post
Check the MAC address of your BT keyboard. That output shows it started trying to pair, but it's not finding it.

I was able to get a BT keyboard working. I had to troubleshoot my own typo of a single missing character from the shell script, but other than that it went off ok. Input worked in most places I'd expect. Kindle UI text boxes, kterm, Leafpad. However, it did not work in KOReader at all. Not in textboxes, the texteditor, or the terminal. I'm assuming that's a KOReader issue and nothing to do with the input method itself. I'm guessing there are input checks and since Kindles haven't been able to use BT keyboards before, they don't expect input from one. I'm sure if they get BT input working then BT page turners to use keycodes would work as-is inside of KOReader.

The Kindle even shows the connected keyboard name under the BT icon in the Kindle pull-down quick menu. Interestingly, it also shows/hides the volume slider depending on if it's connected or not. They must have that tied to having any BT device connected.

There doesn't seem to be any native Kindle book reader UI reaction to arrows/PgDn/PgUp. That's going to rule out BT page turners that send keycodes. I know there was a lot of hope about getting those working on a Kindle. I don't know how other types work, but if udev rules could be written for them and a custom script watches the /dev/input/eventX file and can route event messages to the UI...
I’ve developed a KOReader plugin, and you’re all welcome to try it out. Feedback is greatly appreciated! https://github.com/QiuYukang/kindleb...oller.koplugin
kkk is offline   Reply With Quote
Old 02-12-2026, 02:12 PM   #37
kkk
Junior Member
kkk began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2026
Device: Kpw6,Kindle2024
Smile kindle bluetooth controller fro koreader

I’ve developed a KOReader plugin, and you’re all welcome to try it out. Feedback is greatly appreciated! https://github.com/QiuYukang/kindleb...oller.koplugin
kkk is offline   Reply With Quote
Reply

Tags
bluetooth, keyboard, kindle

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PB741 - bluetooth keyboards. Clort PocketBook 2 05-06-2022 02:40 AM
Will Bluetooth hardware keyboards ever be supported? arooni KOReader 4 09-22-2021 04:49 AM
Do the T65s or T63s support bluetooth keyboards? vagabondvivant Boyue 0 11-22-2019 02:13 PM
InkBook Prime - Does it support Bluetooth-Keyboards? openairwriter More E-Book Readers 7 08-12-2017 10:44 AM
HD BlueTooth Keyboards ... Help Barbara1955 Amazon Fire 1 12-18-2014 10:16 AM


All times are GMT -4. The time now is 01:35 AM.


MobileRead.com is a privately owned, operated and funded community.