10-11-2023, 02:12 PM | #121 |
Onyx-maniac
Posts: 3,143
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
10-24-2023, 03:34 AM | #122 |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2023
Device: Kobo 2
|
Getting close but not there yet...
I've found a couple of use cases where having a bluetooth page turner would be quite useful.
I've tried with 4 devices... So far I've managed to make it work with just one, a cheap bluetooth joystick. I want to make it work with a selfie remote control. I've checked with evtest and it is generating a KEY_VOLUMEUP event. But I've tried to configure that and it is not working... With a second clicker it generates one KEY_VOLUMEUP and KEY_VOLUMEDOWN in loop (a different event on each click) Any ideas on how to continue... |
Advert | |
|
10-24-2023, 08:40 AM | #123 |
Onyx-maniac
Posts: 3,143
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
I've tried a bunch of cheap remotes. The single button (or Android/Apple two button) ones usually don't do anything useful. Some of them do Enter.
Ok, I know that this part is not useful for most people. In the past, when selfie clickers were not so popular many of them used a masked ROM for the Bluetooth stack and an EEPROM for the OEM's code. Finding and altering the USB HID descriptor was easy. Then you could have the clicker generate any key code. You just needed an I²C interface to reprogram. I did this to one clicker and then put it into a little foot switch. Since then I've just replaced it with my own Bluetooth circuit. The other way is to make a custom /system/usr/keylayout/Vendor_1234_Product_5678.kl that will remap your useless button to what you want. This will work fine, but it means that you can't use your clicker on a random device. There are clickers with "5 way" controls, but I've found the mechanical properties ungainly. It sounds like the keylayout is the way to go for you? |
10-25-2023, 07:54 PM | #124 |
Wizard
Posts: 2,789
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
10-25-2023, 08:32 PM | #125 |
Onyx-maniac
Posts: 3,143
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
You have a point there.
Google made a few changes to the Linux-like kernel. It's not really "Android" because it's running underneath the Android subsystem. I have an English Bluetooth keyboard and a Russian Bluetooth keyboard. I can grab either one and it just works (without any language selection) on my Androids. I don't think you can do this with most straight Linux systems, can you? You could also modify your reader app (even in Kobo) to respond to VolUp or Enter (the usual two keys on $1 clickers). As I said, the clickers with EEPROMs are easy to hack. I bought a dozen Chinese clickers a while ago and they were the ones without EEPROMs. If anybody knows a source for the ones with EEPROMs. OTOH, most selfie clickers time out in under a minute. A page can be longer than a minute if you end up thinking. I've run into problems trying to stretch that out. In the end I opted for completely custom hardware/software. An article about $1 clicker hacking: https://hackaday.com/2016/09/14/hack...etooth-device/ Ha! I reread that article and it reminded me of another problem with badly written clickers. They present themselves as full keyboards. On Android that means that on-screen keyboards will not pop up by default (although there is an option now) while you are using a clicker. The option causes problems too because on-screen keyboards will then pop up when using a regular Bluetooth keyboard. When I write my USB HID descriptors I make it clear that they can't send A-Z or 0-9 so it won't be confused with a "keyboard". Last edited by Renate; 10-25-2023 at 08:51 PM. |
Advert | |
|
12-06-2023, 12:10 PM | #126 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2023
Device: Kobo Libra 2
|
Quote:
Last edited by DNSB; 12-06-2023 at 02:38 PM. Reason: added spoiler tags. |
|
12-12-2023, 11:58 PM | #127 | |
Connoisseur
Posts: 95
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Quote:
tylpk, tsowell Thank you very much for this mod. I can confirm on my Clara 2E, using the mod and the kernel patch provided above, the cheap BOOD-202 device is turning pages. FWIW, here's the settings for this device. Code:
[root@kobo ~]# cat mnt/onboard/.btpt/BOOD-202 nextPage 1 115 0 All the best |
|
12-13-2023, 05:40 AM | #128 |
Onyx-maniac
Posts: 3,143
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
I can see that you like wood. Did you make the stand? It's nice.
The table isn't too shabby either. |
12-13-2023, 09:26 AM | #129 |
Connoisseur
Posts: 95
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Haha, no. It’s the 3$ phone stand from IKEA, the name is BERGENES. Works quite well with the eReader. Combine that with a Bluetooth or WIFI remote, and you have an ideal distant reading setup.
|
12-28-2023, 06:45 AM | #130 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2023
Device: Kobo Libra 2
|
Hello.
I can't figure how to make my cheap aliexpress ring to work. I tried to do the uhid.ko without results. I am able to connect it to my libra 2, it stays connected with the name JX-05. I see it under bluetoothctl when connected to ssh. However, there is no /dev/input/event3. It is not listed either on /proc/bus/input/devices. The ring works, if I connect it to my linux PC, a correct entry is created under /dev/input, it is listed under /proc/bus/input/devices, and evtest pick it fine. Could somebody help me ? Link to the Aliexpress page of the ring |
01-06-2024, 12:20 PM | #131 |
Connoisseur
Posts: 95
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Do you see your Bluetooth device reacting to your inputs? That’s a way of telling whether the kernel patch did its thing or not (a Led flash is what it is usually).
Have you determined the correct actions using evtest? What does your config file look like? |
01-07-2024, 12:29 PM | #132 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2023
Device: Kobo Libra 2
|
I'm 100% sure I found the correct actions. I succesfully setup the plugin using a steam controller. The thing is, evtest on the kobo cannot find the ring, even tho it is connected to bluetooth. Evtest on my PC using linux find it without issue
Last edited by shamalox; 01-07-2024 at 12:32 PM. |
01-07-2024, 02:53 PM | #133 | |
Onyx-maniac
Posts: 3,143
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Quote:
Some of these might not be acknowledged by a specific system. The question is: what is your ring? Sometimes? lsusb -v can print out HID report descriptors. If we could see that, we could see what your ring is. OTOH, that probably won't help getting the ring to work on your Kobo. But at least we will know what the scoop is. When buying Bluetooth devices out of China, buy a few of each and celebrate if one hits the jackpot. |
|
01-07-2024, 03:13 PM | #134 |
Junior Member
Posts: 4
Karma: 10
Join Date: Dec 2023
Device: Kobo Libra 2
|
Nothing either in lsusb unfortunately...
As seen in the screenshot, the first part is when it is connected (see JX-05 in bluetoothctl). The second part is with bluetooth off. The third part is with a steam controller, which I know works well. Honestly I know that I'll probably need to buy another, but i'm curious as to why is doesn't even exist in the eyes of the kobo |
01-07-2024, 03:28 PM | #135 |
Onyx-maniac
Posts: 3,143
Karma: 12537601
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessories New hand stick Bluetooth for turning page! | guitu | Amazon Kindle | 16 | 07-23-2021 01:20 AM |
Kobo Clara HD - Quick page turning | Rarronno | Kobo Reader | 7 | 09-06-2019 02:26 AM |
Bluetooth Page Turning | hismaimai8888 | General Discussions | 2 | 11-25-2018 12:37 PM |
Bluetooth Page Turning | copaw | General Discussions | 14 | 11-17-2015 03:09 PM |
Kobo app page turning animation?? | morgan freeman | Android Devices | 0 | 03-24-2013 12:15 AM |