Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 11:15 AM   #16
SERG-987
Member
SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.
 
Posts: 20
Karma: 94378
Join Date: Nov 2023
Device: PocketBook 912 + Note Max
Quote:
Originally Posted by rkomar View Post
I have some JTAG devices lying around, but nothing like that. I thought I would try attaching to my 902 if I had the hardware for it already, but I don't want this enough to order new equipment for it. Still, I have enjoyed seeing how you got it done. Thanks for the progress reports.
https://aliexpress.com/item/1005004411693590.html

Click image for larger version

Name:	Снимок экрана 2026-01-11.png
Views:	1
Size:	621.4 KB
ID:	220244
SERG-987 is offline   Reply With Quote
Old Yesterday, 11:16 AM   #17
SERG-987
Member
SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.
 
Posts: 20
Karma: 94378
Join Date: Nov 2023
Device: PocketBook 912 + Note Max
https://aliexpress.com/item/1005006011029284.html
Attached Thumbnails
Click image for larger version

Name:	Снимок экрана 2026-01-11.png
Views:	2
Size:	837.9 KB
ID:	220245  
SERG-987 is offline   Reply With Quote
Old Yesterday, 01:41 PM   #18
SERG-987
Member
SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.
 
Posts: 20
Karma: 94378
Join Date: Nov 2023
Device: PocketBook 912 + Note Max
Device Background:
Host: PocketBook 912 (released 2011), running Linux kernel 2.6.35.
Peripheral: 8BitDo Micro (released 2024/2026), modern Bluetooth 5.0+ controller.
OS Environment: Minimalist BusyBox, BlueZ 4.x stack (incomplete), Read-Only root filesystem.
Work Accomplished:
Environment Preparation: Gained root access and successfully remounted the root filesystem as Read-Write (mount -o remount,rw /) to create necessary symlinks (/opt) and system directories (/var/run/dbus).
Software Stack: Manually ported a more complete BlueZ 4.66 stack from Debian Squeeze (armel). This included bluetoothd, hidd, sdptool, and bluetooth-agent.
Library Dependency Resolution: Systematically resolved missing library dependencies by manual injection. Successfully added:
GLib 2.24 (and related gthread, gmodule, gio)
libdbus-1.so.3
libcap-ng.so.0
libpcre.so.3
D-Bus Configuration: Configured and successfully launched dbus-daemon as root, establishing the system_bus_socket.
Service Discovery: Successfully used sdptool browse to identify the 8BitDo Micro's HID services (Keyboard mode). Physical radio communication was verified.
The Fatal Obstacle (GLIBC Incompatibility):
The final attempt failed due to a fundamental mismatch between the system's C library and the ported binaries.
System GLIBC: 2.6.1 (compiled 2008).
Ported Binary Requirement: GLIBC 2.7 / 2.9.
Result: Even with a localized LD_LIBRARY_PATH pointing to a newer libc.so.6 (v2.11.3) extracted from Debian Squeeze, the binaries (specifically dbus-daemon and bluetoothd) triggered a Segmentation Fault.
Root Cause: A critical conflict between the system's old dynamic linker (/lib/ld-linux.so.3) and the newer GLIBC libraries. On this specific 2011-era firmware, the architecture gap between GLIBC 2.6 and 2.9 is insurmountable without recompiling the entire toolchain or using a chroot/container (which is resource-prohibitive for the PB912).
Attached Thumbnails
Click image for larger version

Name:	Снимок экрана 2026-01-11.png
Views:	2
Size:	56.0 KB
ID:	220246  

Last edited by SERG-987; Yesterday at 01:44 PM.
SERG-987 is offline   Reply With Quote
Old Yesterday, 02:12 PM   #19
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,090
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
Packages from Debian Lenny are compatible with these devices. Can you use the BlueZ stack from that distro instead?

Way back in 2012, I installed that version of debian using qemu. The install ISO I saved contains bluez-3.36. If you are really desperate, you could try doing the same thing, and then use that emulated system to build source packages from newer versions of debian. It would be a significant amount of work, though. I vaguely remember that @LoneTech uploaded the qemu images and scripts he used back then for building software. Perhaps you can find the pre-built images somewhere rather than build it yourself from scratch.

Last edited by rkomar; Yesterday at 02:30 PM.
rkomar is offline   Reply With Quote
Old Yesterday, 02:37 PM   #20
SERG-987
Member
SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.SERG-987 has top level security clearance to Area 51.
 
Posts: 20
Karma: 94378
Join Date: Nov 2023
Device: PocketBook 912 + Note Max
I considered rolling back to the BlueZ 3.x stack from Debian Lenny, since its libraries (Glibc 2.7) are potentially compatible with the reader's system. However, this would lead to another dead end: BlueZ 3.x lacks hardware support for the SSP (Secure Simple Pairing) protocol, which is a mandatory requirement for 8BitDo Micro gamepads. Thus, we are facing a classic 'Catch-22': the old software is compatible with the OS but incompatible with the gamepad, while the new software is compatible with the gamepad but breaks the OS."
SERG-987 is offline   Reply With Quote
Old Yesterday, 02:57 PM   #21
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,090
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
As I mentioned above, you could install Debian Lenny into a qemu-emulated system, and then build the newer bluez source packages in that to later install on your device. The packages you built in that system would be compatible with the software on your device.
rkomar is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get 8bitdo micro controller to automatically connect to klc? KoboLibraColour Kobo Reader 8 01-05-2025 12:54 PM
"Permission Denied" when Creating a Backup in Moon+ Reader Suige Android Devices 2 11-28-2015 02:28 PM
902 Want page to stay "open" when the PocketBook 912 goes off to sleep FranTer PocketBook 4 03-12-2014 12:16 PM
Bug "IOError: [Errno 13] Permission denied" when editing meta-data ShellShock Calibre 5 09-23-2013 12:34 AM
903 PocketBook 9.7" (902, 903, 912) with pearl adrhc PocketBook 30 01-12-2012 05:13 AM


All times are GMT -4. The time now is 12:33 AM.


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