|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#16 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 94378
Join Date: Nov 2023
Device: PocketBook 912 + Note Max
|
Quote:
|
|
|
|
|
|
|
#17 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 94378
Join Date: Nov 2023
Device: PocketBook 912 + Note Max
|
|
|
|
|
|
|
#18 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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). Last edited by SERG-987; Yesterday at 01:44 PM. |
|
|
|
|
|
#19 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#20 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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."
|
|
|
|
|
|
#21 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
|
|
|
![]() |
|
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 |