11-26-2012, 01:26 PM | #166 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
smartgenes: You asked earlier whether using Notepad will have an effect. It might. Different line endings between DOS (+Windows) and Unix might render the interpreter incantation in the first line of the script broken. Also a UTF-8 BOM might get inserted under certain circumstances, I think. Use an editor that is capable of using Unix conventions. I think the eips calls should work. I strongly suggest to call the runscript.sh in a terminal, either using USB networking, or in myts (search this forum, it's a terminal application).
In the launchpad config you posted, there's a space between runscript.sh and its path. That would be an error, but might also be a C&P error on your side? Also, on this board it is probably more wise to create a ZIP of the actual files you use and upload it. It gives us a 100% expression of what you're using. C&P is error prone. |
11-26-2012, 08:59 PM | #167 |
( ͡° ͜ʖ ͡°){ʇ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
|
This (eips) is tested on the 3, that is what I was using.
Could be a line endings problem then? you say you are editing this on windows? I have attached a zipped version of the file with Unix line endings. check it over (for errors in translation, but it should be 100%) and give that a go. Also change the "G B = !/mnt/us/fbgnuboy/ rungame.sh" to "G B = !/mnt/us/fbgnuboy/rungame.sh" (since this is a single command). And give that a try. Last edited by twobob; 11-26-2012 at 09:02 PM. Reason: G B = !/mnt/us/fbgnuboy/ rungame.sh is G B = !/mnt/us/fbgnuboy/rungame.sh |
Advert | |
|
11-26-2012, 09:17 PM | #168 |
( ͡° ͜ʖ ͡°){ʇ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 am just going to ask it on here.
Before this gets silly. Exactly what is actually required to build this for a kindle 3? Spoiler:
EDIT: Obviously if this could be built with arm-2007q3 that would be the route of least resistance. <- I went with this Last edited by twobob; 11-27-2012 at 04:23 PM. |
11-27-2012, 10:13 AM | #169 |
( ͡° ͜ʖ ͡°){ʇ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 gave compiling this another go. Why not.
Spoiler:
Solution below (4 posts down) Last edited by twobob; 11-27-2012 at 03:53 PM. Reason: perhaps inferring, PEBCAK |
11-27-2012, 10:52 AM | #170 |
( ͡° ͜ʖ ͡°){ʇ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
|
Spoiler:
Solution below Last edited by twobob; 11-27-2012 at 03:53 PM. |
Advert | |
|
11-27-2012, 11:09 AM | #171 |
( ͡° ͜ʖ ͡°){ʇ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
|
Spoiler:
Solution below Last edited by twobob; 11-27-2012 at 03:52 PM. |
11-27-2012, 11:24 AM | #172 | |
( ͡° ͜ʖ ͡°){ʇ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 changed order of the "addition" in /usr/local/src/gnuboy-1.0.3.kindle/sys/fbdev/fbdev.c to come BEFORE the einkfb.h: (duh)
Quote:
Will test it. Thanks for listening. ;0 EDIT: Yep seems to run. Success. Okay time to get hacking! Last edited by twobob; 11-27-2012 at 04:00 PM. Reason: duh ;) |
|
11-27-2012, 08:47 PM | #173 |
( ͡° ͜ʖ ͡°){ʇ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
|
Notes on Input codes
Spoiler:
Last edited by twobob; 11-28-2012 at 09:52 AM. Reason: File: ./gplrelease/include/linux/input.h |
11-27-2012, 09:58 PM | #174 |
( ͡° ͜ʖ ͡°){ʇ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
|
Here I notice that all the devices ARE actually getting polled on the touch and decide to go for full TS code integration
Spoiler:
Last edited by twobob; 11-28-2012 at 09:53 AM. Reason: more detail. a bit |
11-27-2012, 11:09 PM | #175 |
( ͡° ͜ʖ ͡°){ʇ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
|
Here I realise that the injection into the /dev/input/event3 buffer isn't working as I might expect. So I abandon it in favour of native code
Spoiler:
Last edited by twobob; 11-28-2012 at 09:55 AM. Reason: I obviously need to know more about the locking aspect of this mechanism |
11-28-2012, 12:10 AM | #176 |
( ͡° ͜ʖ ͡°){ʇ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
|
This is where I got to (with broken code)
Spoiler:
Last edited by twobob; 11-28-2012 at 09:55 AM. |
11-28-2012, 05:47 AM | #177 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I'm not sure what you're currently trying to do on which device. I got irritated by the number of approaches, I guess.
|
11-28-2012, 07:19 AM | #178 |
( ͡° ͜ʖ ͡°){ʇ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
|
simple.
ditch the keys. replace with TS code. add a bit of redraw code. That is all. Basically make a " touch specific " version The previous post https://www.mobileread.com/forums/sho...&postcount=176 is my last approach. Just do it in TS code natively. I was up until then trying to look for an "injection" solution. Spoiler:
Last edited by twobob; 11-28-2012 at 07:59 AM. |
11-28-2012, 08:03 AM | #179 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
11-28-2012, 08:24 AM | #180 |
( ͡° ͜ʖ ͡°){ʇ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
|
heh yeah.
I am currently undoing all my work to see where I effed up the graphics obviously the "tightness" of the keyscan loop is more critical then I imagined. ho hum |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle VNC viewer (native app, GPLv2) | hawhill | Kindle Developer's Corner | 531 | 12-11-2020 02:55 PM |
Gameboy emulator on PE | bunodosoma | enTourage eDGe | 2 | 11-16-2011 08:19 PM |
Gameboy screen | bookmeal | General Discussions | 7 | 10-03-2011 02:40 PM |
software suggestion: virtualboy(gameboy emulator) | arfarf624 | Kindle Developer's Corner | 3 | 07-27-2011 05:06 AM |
Free (GPLv2) Translation Dictionaries | Elleo | Amazon Kindle | 3 | 01-11-2011 10:57 PM |