10-25-2012, 02:08 PM | #16 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I vaguely remember specifying "novt" as TTY on the command line, or things like "-novtswitch", "-keeptty" and similar stuff. But that's certainly dependent on the variant of X server in use. I also remember lots of patches floating around in various message boards that deal with patching out the TTY handling. After all, it's usually just a few lines within the sources that are easy to find (openvt, deallocvt, chvt are the tokens to search for).
|
10-25-2012, 02:15 PM | #17 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
On searching for patches . . . .
You might find one that grabs two /dev/event/?? thingies and turns them into a "current terminal" (a.k.a: /dev/tty0) Hmm... Which is what the kernel would do internally IF Amazon had optioned in vt handling. I don't think virtual terminals can be added with a loadable module, so that route is out. |
Advert | |
|
10-25-2012, 02:30 PM | #18 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
vt support can be compiled into a new kernel, though, right?
|
10-25-2012, 02:44 PM | #19 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
well then. new kernel it is, but I dont think that's a very portable solution.
I'll make one later then |
10-25-2012, 02:53 PM | #20 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
And I think it might really be overkill. I'm quite interested in a working X server, so maybe I'll find time to dig into this. But I bet if Lab123 ever got one working, it would have been a patched one. Maybe the file is just a left over from earlier stages when they were still experimenting. I would not pay overly much attention to "startx"... I'll have some spare time for my Kindle (and experiments with X servers on it) this weekend...
|
Advert | |
|
10-25-2012, 03:18 PM | #21 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
Way I see it that is a nice way to get into a graceful state ready for X launching. anyway there is a mount rw half way through it that is never closed off. so that's probably not the best ever complete solution I would be extra happy if you did. many thanks. Have a whole pile of supporting libs and applications built should you want them. nothing you couldn't build yourself though probably. me@devcd ~/GIT/buildroot/output/target Spoiler:
me@dev ~/GIT/buildroot/output/target/usr/lib $ cd ../bin/ me@dev ~/GIT/buildroot/output/target/usr/bin $ ls Spoiler:
Would be great to have a native X as an option. Thanks Hawhill |
|
10-25-2012, 03:38 PM | #22 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
[root@kindle bin]# Xfbdev --help
Spoiler:
and also [root@kindle bin]# xdm -config /mnt/us/usr/lib/X11/xdm/xdm-config -error /mnt/us/documents/xdm.log.txt where xdm-config is Spoiler:
for reference. |
10-25-2012, 04:21 PM | #23 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I also note
[root@kindle bin]# ls /dev/pts/* Quote:
|
|
10-25-2012, 05:10 PM | #24 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Are you looking at this via the graphic's display of Linux Mint (or almost any X11 display)? Good, I thought you might be. Now to get a key sequence past X11 in this case, you need to prefix the virtual terminal key sequence with 'ctrl', otherwise, don't use control (you might want to remember these before pressing the first: ctrl-alt-f1 : VT1 alt-f2 : VT2 alt-f3 : VT3 alt-f4 : VT4 alt-f5 : VT5 alt-f6 : VT6 alt-f7 : VT7 - on which Linux Mint runs X11 display 0:0 Under a 'stock' Linux Mint, you only have one graphic display and 6 character based terminals If you want to, you could log in on any of those others (just remember were you put things if using more than one and who you are, if logging in under a different user name). They each have a 'getty' running on them. (see: /etc/inittab) If you want to, you could also run 'getty' on f8, f9, f10, f11, f12 Whichever one you are looking at, at the moment, that is /dev/tt0 (Linux Mint is nice to the lost person - it tells you which one you just selected above the new login prompt). Fun? Right! And yes, you don't have to run 'getty' on the VTs, you could run something else (like a dedicated game program, or even another X11 session - that is under the control of your X11 config stuff). If you want to play 1970's fun*, run a serial cable from your box's serial port into another room with a 'dumb' terminal attached, then read notes in inittab about how to assign one of the VTs to that serial cable. - - - - - If you can remember the '70s, you weren't where the action was. |
|
10-25-2012, 07:19 PM | #25 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
I'll have a look at modular X next then. see what that holds. Thanks : ) |
|
10-25-2012, 07:22 PM | #26 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
As a guywho struggles to remember yesterday I can safely class me as "having been there" : ) will have a play when I jump on the main box mate, much appreciate the insights! |
|
10-27-2012, 09:17 AM | #27 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Okay so I got a swanky new Toolchain to throw at this.
Modular X is also an option. Will wait to see what Hawhill comes up with though : ) |
10-27-2012, 12:58 PM | #28 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Well, I got Xfbdev running. I had to patch it, however. Patch is attached, buildroot will apply it automatically when you put it (gunzipped) in the package/x11r7/xserver_xorg-server directory.
I also needed to patch the resulting binaries since I did not want to create a chroot or mess with my root partition. Thus I patched (in Xfbdev and xkbcomp) as follows: Code:
sed -i 's/\/usr\/share/\/mnt\/us\/sh/' sed -i 's/\/usr\/bin/\/mnt\/us\//' That said - it works resonably well with a big glitch. I didn't test input on the K3, however - I used x2x for a quick drive. The big glitch is that it gets the ordering within framebuffer bytes wrong. So it will display odd/even horizontal position exactly the wrong way - stuff ends up garbled. Found traces of others having the same problem on the Web, but did not dig further. Well, and then of course it's not updating the eink screen either. For testing, I just used a quick and dirty loop like this: Code:
while sleep 5; do echo 1 > /proc/eink_fb/update_display ; done |
10-27-2012, 10:53 PM | #29 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quote:
Appreciate the patch being the perfect format. nice touch. Well bugs are my headache. BIG THANKS!!! here I go EDIT: Oops.. It built perfectly. patch, new toolchain everything great! Went to put it on the 3 and DOH!!! I have let it run flat. HEH... Tomorrow then. Last edited by twobob; 10-28-2012 at 08:09 AM. Reason: Flat as a pancakey flat thing |
|
10-28-2012, 12:32 AM | #30 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
quick update. got it running. thanks
Last edited by twobob; 10-28-2012 at 12:40 AM. |
Tags |
8bpp, kindle3, startx, x server, xorg |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
startx? On a K3???? | qlob | Kindle Developer's Corner | 1 | 11-21-2012 02:30 PM |
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 | crutledge | BBeB/LRF Books | 0 | 09-25-2010 08:01 AM |
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 | crutledge | ePub Books | 0 | 09-25-2010 08:00 AM |
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 | crutledge | Kindle Books | 0 | 09-25-2010 07:59 AM |
Some Kindle source code digging | TadW | Kindle Developer's Corner | 9 | 10-04-2009 01:34 AM |