09-05-2019, 11:31 PM | #16 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2016
Device: kindle PW4
|
Quote:
|
|
09-06-2019, 11:49 AM | #17 | |
github.com/zaoqi
Posts: 87
Karma: 32020
Join Date: Mar 2017
Location: - Zhejiang China
Device: Boox c67ml,Note S,Max2,KT3,KPW4,Kobo AurdHD,Touch N905C
|
Quote:
It may be possible to connect a keyboard + mouse over otg if you compile+load some kernel modules. |
|
Advert | |
|
09-06-2019, 11:58 AM | #18 | |
github.com/zaoqi
Posts: 87
Karma: 32020
Join Date: Mar 2017
Location: - Zhejiang China
Device: Boox c67ml,Note S,Max2,KT3,KPW4,Kobo AurdHD,Touch N905C
|
Quote:
Code:
1) "L:A_N:application_ID:xephyr_O:R_PC:N" / "L:D_N:application_ID:xephyr" 2) `xrandr -o ...` Last edited by zaoqi; 09-08-2019 at 06:25 AM. |
|
09-06-2019, 05:14 PM | #19 |
Member
Posts: 18
Karma: 10
Join Date: Sep 2019
Device: A7CC
|
Thanks, that would be great to rotate the desktop. Typing on an Oasis in portrait mode is a bit complicated because the body is asymetric.
Bluetooth audio could work, because Oasis supports BT audio? How about a demo video to see how it works at all? Thanks! |
09-06-2019, 06:34 PM | #20 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You need to build the full BT stack for the Amazon Linux kernel you intend to run. |
|
Advert | |
|
09-07-2019, 03:46 AM | #21 |
Member
Posts: 18
Karma: 10
Join Date: Sep 2019
Device: A7CC
|
Thanks for clarify!
Is there someone who installed it and can make a video how it works at all? I don't want to jailbreak my Oasis to see that it works a lot different than expected from screenshots only. |
09-07-2019, 10:35 AM | #22 | |||
Member
Posts: 17
Karma: 222284
Join Date: Jul 2018
Device: PW3
|
UPDATE
Big news: There's now a KUAL Launcher for this! That does:
You can get the latest release here: Releases page (download the zip) Also the Alpine Linux install itself has some improvements:
Also I made a small video so you can see how it looks in action: (It is not done processing yet though, come back later if it still doesn't work) Quote:
Quote:
I'm aware of the right click issue, it is due to how Xephyr works. I maayyy be able to resolve it in the future, but for now it sadly only works in Chromium as intended (Chromium supports interpreting a mouse device as touchscreen. And Xephyr converts the touchscreen events to mouse events, hence no regular long-tap for right click). Onboards upper case: Try clicking on the upper case key twice! That locks it Regarding AppImages I would be careful, keep in mind that this device only has a teeny-tiny CPU and RAM. Alpine Linux is geared towards a low ressource footprint (with stuff like BusyBox and Musl-libc instead of gnuLibc). AppImages package all their dependencies and thus have gigantic footprints, also in general are not tailored to low end devices, so they might just not work due to hardware requirements. Also I'm not sure whether they're compatible with Alpine in general, remember gnuLibc is missing for example. Quote:
2) Yes it is, try the KUAL Launcher "Drop into Alpine Linux shell", then rotate the screen to landscape (two finger tap for context menu -> rotate screen), then run "/startgui.sh". The only problem is that I haven't found a reliable way to script that yet. 3) I have no idea, I only have a Paperwhite 3 to try stuff out on 4+5) PW3 has no bluetooth, so I can't test anything. Also see knc1's answer, it's not that easy sadly.. |
|||
09-08-2019, 11:15 AM | #23 |
Member
Posts: 18
Karma: 10
Join Date: Sep 2019
Device: A7CC
|
Now there is a video in Youtube. Search for Kindle Alpine Linux. Thank you! Time to Jailbreak...
|
09-08-2019, 11:43 AM | #24 |
Member
Posts: 17
Karma: 222284
Join Date: Jul 2018
Device: PW3
|
|
09-08-2019, 12:03 PM | #25 |
Member
Posts: 18
Karma: 10
Join Date: Sep 2019
Device: A7CC
|
Can't Jailbreak. I saved update_kindle_oasis_9th_factory_5.9.0.6, but my Oasis2 came with 5.9.2.x. No downgrade possible.
Keep this project. It's fantastic! It's just what I need, a small Linux PC for reading News and Shell in direct sunlight. Devices with Android are old at arrival, that's the reason why I don't buy Onyx and the others. |
09-19-2019, 08:46 AM | #26 | |
Member
Posts: 17
Karma: 222284
Join Date: Jul 2018
Device: PW3
|
Quote:
So some copy&paste + trial&error later here it is: a xclient that refreshes the epaper display according to xdamage events! Here's a small video: https://imgur.com/gallery/obzmkbW (That update with 72px height every second is the clock in the right bottom corner) Here's the repository (+ a small guide on how to use it): https://github.com/schuhumi/fbink-xdamage It is very hacky right now, but at least it seems to work just fine. I tried all this in the Alpine container, and I'll try to make an Alpine package out of it. Also I'm very happy that a xclient (like a regular x window) can listen to xdamage events and I don't need to fiddle with the server itself. What's not working so far is Alpine's xserver (did "stop x" and "X" outside the container), because I still didn't get xf86-video-imx (not vivante, epdc) to work. Porting from Amazon sources to newer xorg version seems not so easy. I got it to compile (modify x calls + include header of the original kindle kernel) and recognize the library. But startx fails with: Code:
[119306.969] (II) LoadModule: "imx" [119306.969] (II) Loading /usr/local/lib/xorg/modules/drivers/imx_drv.so [119306.970] (EE) Failed to load /usr/local/lib/xorg/modules/drivers/imx_drv.so: Error relocating /usr/local/lib/xorg/modules/drivers/imx_drv.so: imxExaZ160Setup: symbol not found [119306.970] (EE) Failed to load module "imx" (loader failed, 0) Edit: Also there's a "small" problem where without Xephyr GTK3 windows are just empty using Kindle's X. I'm not sure wether that is due to the old version or some missing feature or whatever. Only the menu/panel/window borders/etc and chromium show their content fine. Last edited by schuhumi; 09-19-2019 at 08:50 AM. |
|
09-19-2019, 11:19 AM | #27 |
Zealot
Posts: 147
Karma: 20
Join Date: Jul 2019
Device: Kindle Touch (K5) Wi-Fi x 2, Kindle (7th Gen, KT2), Paperwhite 3rd Gen
|
Great work! Absolutely great!
I have a question ... would it work with Kindles with 256 MB of RAM? The KT2 (Kindle 7th generation) which I own has the same capable CPU as on the Paperwhite, but not the same amount of RAM (256 MB vs 512 MB). Would this be an issue? |
09-19-2019, 11:34 AM | #28 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@schuhumi: I'll be mildly curious to know, once people with a PW4/KOA2/KT4 try this, whether ordered dithering actually behaves as expected .
It *should* (and it certainly does on similar Kobo HW), but when we enabled it in KOReader, we got reports about extremely broken quantization... :/. (It's fairly easy to check with the fbink CLI tool and a random image, FWIW ). Last edited by NiLuJe; 09-19-2019 at 11:37 AM. |
09-19-2019, 01:49 PM | #29 | ||
Member
Posts: 17
Karma: 222284
Join Date: Jul 2018
Device: PW3
|
Quote:
Quote:
Also after a A2 refresh the only way to get rid of ghosting is probably "is_flashing=true;"? A2 is really cool for scrolling (yay this whole things allows for all waveforms to be used ), but the flashing afterwards when drawing with WFM_GC16_FAST is kinda offputting. I would like to also put in some semi-smart optimization like A2 refreshes when a lot of damage events come in (or when the user drags the finger on the screen), and then do a high quality refresh afterwards.. |
||
09-19-2019, 04:05 PM | #30 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@schuhumi:
I'll need to recap a few things in order to make the distinction between the is_dithered/sw_dithering FBInkConfig fields, and the dithering_mode argument to fbink_refresh() clearer . Only very recent devices ship an EPDC that actually supports hardware dithering (Kobo Mk.7, for sure; and potentially Kindle Rex & Zelda). The driver theoretically supports various dithering algorithms, but, on those devices, in practice, only ORDERED (and, of course, nothing, i.e., PASSTHROUGH) are supported. In order to be somewhat future-proof (and/or make testing those easier), fbink_refresh allows setting those unsupported modes (in which case the driver safely fallbacks to PASSTHROUGH), hence the dithering_mode argument and the matching enum. But, for stuff where the refresh is implicit (i.e., everything else ;p), this means we don't need to be able to set a specific algorithm: hence is_dithered, which will use ORDERED behind the scenes. sw_dithering, on the other hand, is specific to image drawing, and does the dithering in software . When it's supported, ORDERED will be tweaked to match the expectations of the specific waveform mode used (i.e., B&W for A2/DU, 8 or 16 shades of gray otherwise). So its use is not limited to A2 (f.g., on Kobo, every screen with an image gets dithered that way, and those are usually GC16, either directly, or via AUTO). On the other hand, sw_dithering will always dither to the exact 16 'color' eInk palette. ---- A2/DU are designed to be fast, at the expense of ghosting, yeah. You can request a flash with them, but they won't actually flash, and it may not actually help all that much (or at all) with ghosting . From what I saw on my PW2 with the whole doom fire experiment, AUTO takes some pretty smart decisions depending on the content of the region . Which means it should often be using the *_FAST variants or DU for B&W content. Which means, that, yeah, if you want to be specifically using A2/DU at some key moments (i.e., scrolling), you'll have to do that yourself . ---- As a rule, with FBInk, if you're not sure of a setting, the default is 0 and should behave sanely in most cases . (f.g., wfm 0 is AUTO, dither 0 is PASSTHROUGH, etc.). Last edited by NiLuJe; 09-19-2019 at 04:10 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Anyone run Linux on an ereader? | Panchax | General Discussions | 63 | 10-17-2017 02:05 PM |
Alpine Linux on Kindle | zaoqi | Kindle Developer's Corner | 3 | 08-21-2017 01:23 PM |
Alpine Linux on Kindle | zaoqi | Kindle Developer's Corner | 2 | 08-20-2017 10:43 AM |
Running calibre on Alpine Linux? | ljnelson | Calibre | 1 | 12-14-2016 01:34 AM |
how to run an app with full screen | kdusr | Kindle Developer's Corner | 5 | 11-28-2016 05:04 AM |