10-25-2012, 11:18 AM | #1 | |||
( ͡° ͜ʖ ͡°){ʇ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
|
digging around in startx
hi.
digging around in startx we find on the Kindle Keyboard. Quote:
also: "/usr/bin/einkdamage" is referenced but doesn't exist, but I believe it is there on the 5 devices. (will check). Perhaps the code is out there? and could be back-ported... Quote:
From the 5: Quote:
rxvt is the terminal it expects to run. (don't have this, could build - or swap out for a similar thing I do have) any suggestions on a native alternative. I don't see why they don't use Xterm but I recall something about rxvt being a virtual terminal, I'll have a read up on that. and a few goofy xapps (I've got all but one) I'll do a bit more digging - I have created all the required supporting Xapps and libs now I think for the 3. Will keep plugging on and see if I can get the X server up at least. but yeah. my question. restart the 3 in 8 bit mode? you can do that? and X on the 3 (I know someone who REALLY wants it, despite likely performance) thoughts? examples? I'm searching. Thanks and Cheers. Last edited by twobob; 10-25-2012 at 04:12 PM. Reason: more flesh |
|||
10-25-2012, 11:51 AM | #2 | |
( ͡° ͜ʖ ͡°){ʇ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
|
bit more digging - few more tweaks gives me
Quote:
EDIT: mknod /dev/tty0 c 4 0 didn't help. Last edited by twobob; 10-25-2012 at 12:17 PM. |
|
Advert | |
|
10-25-2012, 12:31 PM | #3 | ||
( ͡° ͜ʖ ͡°){ʇ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
|
looking at the tty devices (as I have little idea about them - am reading up)
Quote:
Quote:
Last edited by twobob; 10-25-2012 at 12:34 PM. Reason: headache inducing layout |
||
10-25-2012, 12:53 PM | #4 | ||||
( ͡° ͜ʖ ͡°){ʇ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
|
From /usr/local/src/BUILD_KERNAL/linux-2.6.26/Documentation/filesystems/proc.txt
Quote:
Quote:
Quote:
Quote:
Last edited by twobob; 10-25-2012 at 01:02 PM. |
||||
10-25-2012, 01:08 PM | #5 | |
( ͡° ͜ʖ ͡°){ʇ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 err what types of devices can we have and what do these numbers actually mean?
/usr/local/src/BUILD_KERNAL/linux-2.6.26/Documentation/devices.txt Quote:
assumedly when we mknod the correct type we are one step closer. (still unsure about when the devices get made) Last edited by twobob; 10-25-2012 at 01:08 PM. Reason: boldy |
|
Advert | |
|
10-25-2012, 01:14 PM | #6 | ||
( ͡° ͜ʖ ͡°){ʇ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:
Quote:
Last edited by twobob; 10-25-2012 at 01:18 PM. |
||
10-25-2012, 01:18 PM | #7 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
Hm, I rather think you want to pass some parameter to the X server so it does not attach to a terminal at all... Where did you get a matching Xfbdev from? When just running startx, my Kindle does not seem to switch over to 8bpp mode.
|
10-25-2012, 01:21 PM | #8 | |
( ͡° ͜ʖ ͡°){ʇ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 tty]# getty --help
Quote:
|
|
10-25-2012, 01:22 PM | #9 | |
( ͡° ͜ʖ ͡°){ʇ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:
Erm.. it will need the paths and Libs paths etc... setting up right and there are probably a few horrible rpaths that I would strip out given more time... tidied up the horrid rpaths. Just to be clear. these are raw dev fiiles not some lovely X distribution. Last edited by twobob; 10-25-2012 at 01:57 PM. |
|
10-25-2012, 01:28 PM | #10 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
You could've done this in my startx thread, but it's all good. Nice to see it's remotely possible.
|
10-25-2012, 01:43 PM | #11 |
( ͡° ͜ʖ ͡°){ʇ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
|
|
10-25-2012, 01:45 PM | #12 | ||
( ͡° ͜ʖ ͡°){ʇ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
|
blackbox
[root@kindle bin]# blackbox --help Quote:
[root@kindle bin]# matchbox-window-manager --help Quote:
|
||
10-25-2012, 01:54 PM | #13 | |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
|
|
10-25-2012, 01:58 PM | #14 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Your kernel may not be optioned to support virtual consoles.
If so, Hawhill's suggestion is probably the only way to go, pass an option to ??? so that it leaves its hands off of the non-existent /dev/tty## devices. Other than that - Well this is about the extent of my X knowledge. Here, X is something that gets cursed when it doesn't work, blessed when it does, but mostly "just ignored". |
10-25-2012, 02:04 PM | #15 | |
( ͡° ͜ʖ ͡°){ʇ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:
From my reading of the script this is some sort of left over testing or demo script. TBH I think it's bloody decent of amazon to leave a nice worked example of getting the system into an X ready mode. I have hacked mine very slightly - but TBH I don't think I am even getting as far as the hacks. I know SO VERY LITTLE about X and the supporting superstructure on linux it's almost embarrassing. But, I figure like always, dig around, bring the information together in one place and see if anyone helps. Hawhill showing interest has cheered me up a bit as have your good self. If anyone can find the switch to disable the call to the tty then I am all ears. I have of course been sequentially through the likely looking switches and tried some likely values. I get a sense that the kernel requires some support it doesn't have but I am still in the dark. Possibly I can use something to provide the tty. I'm looking into what getty does etc... Random Info gratefully accepted |
|
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 |