View Single Post
Old 01-13-2023, 09:32 PM   #931
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@akadaedalus: That unfortunately depends on the device, and this only affects powering up/down the chip, which is only less than half the battle (and apparently, doing it wrong breaks Nickel's own handling of it, c.f., https://github.com/koreader/koreader...r.sh#L192-L206 which successfully kills it, but apparently kills it for good ).

c.f., arch/arm/mach-imx/imx_ntx_io.c (or similar, moves around depending on the kernel).
Code:
#define CM_BLUETOOTH_PWR 126
(I haven't looked into this any further)

EDIT: There's a /bin/ioctl binary on Kobo FW, but I have no idea of its provenance and whether it deals sanely w/ by-reference vs. by-value ioctl shenanigans...

Last edited by NiLuJe; 01-13-2023 at 09:36 PM.
NiLuJe is offline   Reply With Quote