11-03-2012, 02:34 AM | #76 |
( ͡° ͜ʖ ͡°){ʇ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 shoved leafpad in the mix as well.
|
03-14-2013, 01:22 PM | #77 | |
( ͡° ͜ʖ ͡°){ʇ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:
So.... I kept digging, for months as it happens... There was an old tip I found just today in https://wiki.mozilla.org/Mobile/DFBPorting about rolling back to the 2.16.3 glib2 version as the 2.30.3 just dies on the qsort_r error that has been bugging me FOREVER. I'll give that a go I think. Jut to get that monkey off my back I will also try with the 2012.03 TC as knc1 has provided a way to make that build more backwardsly (is that a word?) compliant code. Cheers. EDIT:Okay so I got that to build... Ill try rolling forward to 2.27.2 so I can get gdkpixbuf support - that MIGHT give the native libgtk2 a chance to build. EDIT: Hmm.. might be onto something... I'll make clean and try again. Last edited by twobob; 03-14-2013 at 01:42 PM. |
|
03-14-2013, 01:49 PM | #78 |
( ͡° ͜ʖ ͡°){ʇ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
|
NOTE TO SELF
SQL-LITE does NOT build with -ffast-math! EDIT: sigh... and now libiffi wont build. honestly. that 2007q3 TC is really tough work. Last edited by twobob; 03-14-2013 at 01:56 PM. |
03-14-2013, 02:55 PM | #79 |
( ͡° ͜ʖ ͡°){ʇ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
|
(make the folders first)
me@dev ~ $ BINARY=midori for FILES in $(readelf -d ~/GIT/buildroot-2012/output/target/usr/bin/"$BINARY" |awk -F\[ ' /Shared library/ {print $2}' | cut -d"]" -f1); do scp ~/GIT/buildroot-2012/output/target/usr/lib/"$FILES" root@kt:/mnt/us/extensions/"$BINARY"/lib/; done For when I am bored of figuring out what libs to move across. and unrolling the symlinks. This won't catch them all but does a decent chunk. Happy to get feedback on improving this. Last edited by twobob; 03-14-2013 at 03:06 PM. |
10-19-2013, 09:57 AM | #80 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
So to sum it up, is the main issue in this project, getting 5-way keys to work as mouse/cursor on X11?
Last edited by thatworkshop; 10-20-2013 at 07:47 PM. |
10-19-2013, 10:11 AM | #81 |
( ͡° ͜ʖ ͡°){ʇ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
|
two fold.
the lower nibbles don't render correctly so things appear fuzzy. making 4 way work as a "cursor". |
10-20-2013, 07:49 PM | #82 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
The Kindle User's Guide calls it 5-way controller. Don't they know even 3-way is really abnormal out and about here?!
Last edited by thatworkshop; 10-20-2013 at 07:55 PM. |
11-11-2013, 01:03 AM | #83 | |
( ͡° ͜ʖ ͡°){ʇ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
|
So I revisited this
nibble order code is "somewhere" in /usr/local/src/xorg-server-1.4.2/fb/* if someone can figure out where I can happily rebuild this with that corrected-byte-order support in Xfbdev. I rebuilt perl, xmodmap, xbindkeys, and xorg-server to all run natively (in /mnt/us/extensions/) so as to facilitate eventually getting jessie's savory to run properly. (note that is the Authors Jessie, not the debian release heh.) All this stuff is being built out of lenny, but run natively with no debian. I fixed up the missing kdrive bits from his patch. and replaced xterm with lxterminal for now. so just keyboard/5-way support and nibble order left to do. jump in and help people... SOURCE CODE: https://dl.dropboxusercontent.com/u/...-armv6l.tar.xz CURRENT COMPILED BUNDLE: https://dl.dropboxusercontent.com/u/...ns-xorg.tar.xz [root@kindle root]# /mnt/us/extensions/xorg/bin/mystartx Quote:
Last edited by twobob; 11-11-2013 at 01:27 AM. |
|
11-11-2013, 01:31 AM | #84 | |||
( ͡° ͜ʖ ͡°){ʇ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 root]# DISPLAY=:0 Xvfb tty=/dev/ttymxc0 -screen 0 600x800x16
Quote:
[root@kindle root]# /mnt/us/kindlevncviewer/kvncviewer.sh -encoding "copyrect,raw" 127.0.0.1 Quote:
Quote:
but much more overhead. (those 4 command were run in parallel shell sessions) 5 way press does work for LEFT CLICK. need to make the cursor "move" on 5 way U D L R Spoiler:
similar to the way unity maps a key to a mouse/joystick move... http://docs.unity3d.com/Documentation/Manual/Input.html xdotool maybe? Last edited by twobob; 11-11-2013 at 01:45 AM. |
|||
11-11-2013, 02:15 AM | #85 |
( ͡° ͜ʖ ͡°){ʇ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
|
|
11-11-2013, 06:01 PM | #86 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
ratpoison looks good but Awesome looks awesome. Oh, is that screenshot of your K3 running x? Holy creep! That's so impressive. Can't wait to see where this leads. I don't know how to help, no clue what corrected-byte-order support in Xfbdev is! Last edited by thatworkshop; 11-11-2013 at 06:08 PM. |
|
11-11-2013, 06:51 PM | #87 | |
( ͡° ͜ʖ ͡°){ʇ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
|
yup - thats the k3.
Todays progress was getting a mystartx that could boot using the Xvfb => x11vnc => VncViewer native method in the meantime and getting keyinput working. & compiling xmodmap and xbindkeys to fit the new FAT architecture which was trivial. Quote:
Key mappings are a little screwy right now but "working" if a little "crosswired". Perhaps I will make time to fix it up. still trying to figure what is eating the processor... something is making fsp go crazy. will investigate tomorrow. probably Last edited by twobob; 11-11-2013 at 06:55 PM. |
|
11-12-2013, 05:48 AM | #88 |
( ͡° ͜ʖ ͡°){ʇ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
|
aaaaand fixed.
it was a loop pulled way too tight... happy... |
11-12-2013, 07:56 PM | #89 |
( ͡° ͜ʖ ͡°){ʇ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
|
Code:
cd /mnt/us/kindlevncviewer; export PATH=/mnt/us/extensions/xorg/bin:/mnt/us/extensions/perl/usr/bin:\ /mnt/us/extensions/lxterminal/bin:/mnt/us/kindlevncviewer:$PATH export XKEYSYMDB=/mnt/us/extensions/xorg/share/X11/XKeysymDB export DISPLAY=:0 export LD_LIBRARY_PATH=/mnt/us/kindlevncviewer:\ /mnt/us/extensions/system/usr/lib:$LD_LIBRARY_PATH killall -9 x11vnc killall -9 kindlevncviewer killall -9 xbindkeys perl /mnt/us/extensions/xorg/bin/unlock_daemon& # now modded for a less crazy tight loop Xvfb -dpi 167 -extension XKEYBOARD +kb -noreset -nolisten tcp -screen 0 600x800x16 +bs -br nologo & wait 3 x11vnc -noncache -shared -forever & sleep 5; kindlevncviewer -config /mnt/us/kindlevncviewer/config.lua -encodings "copyrect raw" 127.0.0.1:0 & sleep 2; xbindkeys -f /mnt/us/extensions/xorg/bin/xbindkeysrc x11vnc -R clear_keys xmodmap /mnt/us/extensions/xorg/bin/xmodmaprc ratpoison & lxterminal exec $0 Last edited by twobob; 11-12-2013 at 07:59 PM. |
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 |