Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 10-25-2012, 03:08 PM   #16
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,217
Karma: 2124593
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).
hawhill is offline   Reply With Quote
Old 10-25-2012, 03:15 PM   #17
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,998
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
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.
knc1 is online now   Reply With Quote
Old 10-25-2012, 03:30 PM   #18
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,048
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
vt support can be compiled into a new kernel, though, right?
qlob is offline   Reply With Quote
Old 10-25-2012, 03:44 PM   #19
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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
twobob is offline   Reply With Quote
Old 10-25-2012, 03:53 PM   #20
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,217
Karma: 2124593
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...
hawhill is offline   Reply With Quote
Old 10-25-2012, 04:18 PM   #21
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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:
Originally Posted by hawhill View Post
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...
Yeah I really wasn't giving it too much attention. I've read it beginning to end a few times and removed some of the sillier bits.

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 /]# ls usr/lib
Code:
 
libanl.a                libX11-xcb.so.1.0.0          libxcb-xvmc.so.0.0.0
libBrokenLocale.a       libXau.a                     libxcb-xv.so
libbsd-compat.a         libXau.la                    libxcb-xv.so.0
libbt.a                 libXau.so                    libxcb-xv.so.0.0.0
libbt.la                libXau.so.6                  libXcursor.a
libbt.so                libXau.so.6.0.0              libXcursor.la
libbt.so.0              libXaw6.a                    libXcursor.so
libbt.so.0.0.0          libXaw6.la                   libXcursor.so.1
libc.a                  libXaw6.so                   libXcursor.so.1.0.2
libc_nonshared.a        libXaw6.so.6                 libXdamage.a
libcrypt.a              libXaw6.so.6.0.1             libXdamage.la
libcrypto.a             libXaw7.a                    libXdamage.so
libcrypto.so            libXaw7.la                   libXdamage.so.1
libcrypto.so.1.0.0      libXaw7.so                   libXdamage.so.1.1.0
libcurses.a             libXaw7.so.7                 libXdmcp.a
libdl.a                 libXaw7.so.7.0.0             libXdmcp.la
libelf.a                libXaw.so                    libXdmcp.so
libelf.so               libXaw.so.6                  libXdmcp.so.6
libelf.so.0             libXaw.so.7                  libXdmcp.so.6.0.0
libelf.so.0.8.12        libxcb.a                     libXext.a
libexpat.a              libxcb-composite.a           libXext.la
libexpat.la             libxcb-composite.la          libXext.so
libexpat.so             libxcb-composite.so          libXext.so.6
libexpat.so.1           libxcb-composite.so.0        libXext.so.6.4.0
libexpat.so.1.6.0       libxcb-composite.so.0.0.0    libXfixes.a
libfakekey.a            libxcb-damage.a              libXfixes.la
libfakekey.la           libxcb-damage.la             libXfixes.so
libfakekey.so           libxcb-damage.so             libXfixes.so.3
libfakekey.so.0         libxcb-damage.so.0           libXfixes.so.3.1.0
libfakekey.so.0.0.1     libxcb-damage.so.0.0.0       libXfont.a
libfontconfig.a         libxcb-dpms.a                libXfontcache.a
libfontconfig.la        libxcb-dpms.la               libXfontcache.la
libfontconfig.so        libxcb-dpms.so               libXfontcache.so
libfontconfig.so.1      libxcb-dpms.so.0             libXfontcache.so.1
libfontconfig.so.1.3.0  libxcb-dpms.so.0.0.0         libXfontcache.so.1.0.0
libfontenc.a            libxcb-dri2.a                libXfont.la
libfontenc.la           libxcb-dri2.la               libXfont.so
libfontenc.so           libxcb-dri2.so               libXfont.so.1
libfontenc.so.1         libxcb-dri2.so.0             libXfont.so.1.4.1
libfontenc.so.1.0.0     libxcb-dri2.so.0.0.0         libXft.a
libform.a               libxcb-glx.a                 libXft.la
libfreetype.a           libxcb-glx.la                libXft.so
libfreetype.la          libxcb-glx.so                libXft.so.2
libfreetype.so          libxcb-glx.so.0              libXft.so.2.1.13
libfreetype.so.6        libxcb-glx.so.0.0.0          libXi.a
libfreetype.so.6.9.0    libxcb.la                    libXi.la
libFS.a                 libxcb-randr.a               libXinerama.a
libFS.la                libxcb-randr.la              libXinerama.la
libFS.so                libxcb-randr.so              libXinerama.so
libFS.so.6              libxcb-randr.so.0            libXinerama.so.1
libFS.so.6.0.0          libxcb-randr.so.0.1.0        libXinerama.so.1.0.0
libg.a                  libxcb-record.a              libXi.so
libICE.a                libxcb-record.la             libXi.so.6
libICE.la               libxcb-record.so             libXi.so.6.1.0
libICE.so               libxcb-record.so.0           libxkbfile.a
libICE.so.6             libxcb-record.so.0.0.0       libxkbfile.la
libICE.so.6.3.0         libxcb-render.a              libxkbfile.so
libieee.a               libxcb-render.la             libxkbfile.so.1
libjpeg.a               libxcb-render.so             libxkbfile.so.1.0.2
libjpeg.la              libxcb-render.so.0           libXmu.a
libjpeg.so              libxcb-render.so.0.0.0       libXmu.la
libjpeg.so.8            libxcb-res.a                 libXmu.so
libjpeg.so.8.4.0        libxcb-res.la                libXmu.so.6
libm.a                  libxcb-res.so                libXmu.so.6.2.0
libmb.a                 libxcb-res.so.0              libXmuu.a
libmb.la                libxcb-res.so.0.0.0          libXmuu.la
libmb.so                libxcb-screensaver.a         libXmuu.so
libmb.so.1              libxcb-screensaver.la        libXmuu.so.1
libmb.so.1.0.9          libxcb-screensaver.so        libXmuu.so.1.0.0
libmcheck.a             libxcb-screensaver.so.0      libXp.a
libmenu.a               libxcb-screensaver.so.0.0.0  libXp.la
libncurses.a            libxcb-shape.a               libXpm.a
libncurses.so           libxcb-shape.la              libXpm.la
libncurses.so.5         libxcb-shape.so              libXpm.so
libncurses.so.5.9       libxcb-shape.so.0            libXpm.so.4
libnsl.a                libxcb-shape.so.0.0.0        libXpm.so.4.11.0
libpanel.a              libxcb-shm.a                 libXprintUtil.a
libpixman-1.a           libxcb-shm.la                libXprintUtil.la
libpixman-1.la          libxcb-shm.so                libXprintUtil.so
libpixman-1.so          libxcb-shm.so.0              libXprintUtil.so.1
libpixman-1.so.0        libxcb-shm.so.0.0.0          libXprintUtil.so.1.0.0
libpixman-1.so.0.25.2   libxcb.so                    libXp.so
libpng14.a              libxcb.so.1                  libXp.so.6
libpng14.la             libxcb.so.1.1.0              libXp.so.6.2.0
libpng14.so             libxcb-sync.a                libXrandr.a
libpng14.so.14          libxcb-sync.la               libXrandr.la
libpng14.so.14.12.0     libxcb-sync.so               libXrandr.so
libpng.a                libxcb-sync.so.0             libXrandr.so.2
libpng.la               libxcb-sync.so.0.0.0         libXrandr.so.2.2.0
libpng.so               libxcb-xevie.a               libXrender.a
libpthread.a            libxcb-xevie.la              libXrender.la
libpthread_nonshared.a  libxcb-xevie.so              libXrender.so
libresolv.a             libxcb-xevie.so.0            libXrender.so.1
librt.a                 libxcb-xevie.so.0.0.0        libXrender.so.1.3.0
libSM.a                 libxcb-xf86dri.a             libXRes.a
libSM.la                libxcb-xf86dri.la            libXRes.la
libSM.so                libxcb-xf86dri.so            libXRes.so
libSM.so.6              libxcb-xf86dri.so.0          libXRes.so.1
libSM.so.6.0.1          libxcb-xf86dri.so.0.0.0      libXRes.so.1.0.0
libssl.a                libxcb-xfixes.a              libXt.a
libssl.so               libxcb-xfixes.la             libXt.la
libssl.so.1.0.0         libxcb-xfixes.so             libXt.so
libstdc++.so.6          libxcb-xfixes.so.0           libXt.so.6
libstdc++.so.6.0.9      libxcb-xfixes.so.0.0.0       libXt.so.6.0.0
libtermcap.a            libxcb-xinerama.a            libXtst.a
libts-1.0.so.0          libxcb-xinerama.la           libXtst.la
libts-1.0.so.0.0.0      libxcb-xinerama.so           libXtst.so
libts.a                 libxcb-xinerama.so.0         libXtst.so.6
libts.la                libxcb-xinerama.so.0.0.0     libXtst.so.6.1.0
libts.so                libxcb-xprint.a              libXxf86vm.a
libungif.a              libxcb-xprint.la             libXxf86vm.la
libungif.la             libxcb-xprint.so             libXxf86vm.so
libungif.so             libxcb-xprint.so.0           libXxf86vm.so.1
libungif.so.4           libxcb-xprint.so.0.0.0       libXxf86vm.so.1.0.0
libungif.so.4.1.4       libxcb-xtest.a               libz.a
libutil.a               libxcb-xtest.la              libz.so
libX11.a                libxcb-xtest.so              libz.so.1
libX11.la               libxcb-xtest.so.0            libz.so.1.2.7
libX11.so               libxcb-xtest.so.0.0.0        matchbox
libX11.so.6             libxcb-xv.a                  pkgconfig
libX11.so.6.3.0         libxcb-xv.la                 python2.7
libX11-xcb.a            libxcb-xvmc.a                terminfo
libX11-xcb.la           libxcb-xvmc.la               ts
libX11-xcb.so           libxcb-xvmc.so               X11
libX11-xcb.so.1         libxcb-xvmc.so.0             xorg

me@dev ~/GIT/buildroot/output/target/usr/lib $ cd ../bin/
me@dev ~/GIT/buildroot/output/target/usr/bin $ ls
Spoiler:
Code:
blackbox         makedepend                  sessreg       xcursorgen  xmodmap
bsetbg           matchbox-desktop            setxkbmap     xdm         xmore
bsetroot         matchbox-keyboard           showfont      xedit       xprop
bstyleconvert    matchbox-panel              showrgb       xeyes       xrandr
cxpm             matchbox-remote             startx        Xfbdev      xrdb
fbterm           matchbox-session            strace        xft-config  xrefresh
fbv              matchbox-window-manager     sxpm          xgc         xsetmode
fc-cache         mb-applet-clock             ts_calibrate  xhost       xsetpointer
fc-cat           mb-applet-kbd-wrapper.sh    ts_finddev    xinit       xsetroot
fc-list          mb-applet-launcher          ts_harvest    xkbbell     xsm
fc-match         mb-applet-menu-launcher     ts_print      xkbcomp     xstdcmap
freetype-config  mb-applet-system-monitor    ts_print_raw  xkbvleds    xterm
iceauth          mb-applet-xterm-wrapper.sh  ts_test       xkbwatch    xvidtune
inputattach      mcookie                     uxterm        xkeystone   xvkbd
jpegtran         mkfontdir                   X             xkill       xwininfo
koi8rxterm       mkfontscale                 x11vnc        xload
libpng14-config  nano                        xauth         xlogo
libpng-config    oclock                      xcalc         xlsclients
ltrace           resize                      xclock        xlsfonts


Would be great to have a native X as an option.

Thanks Hawhill
twobob is offline   Reply With Quote
Old 10-25-2012, 04:38 PM   #22
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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:
Quote:
use: X [:<display>] [option]
-a # default pointer acceleration (factor)
-ac disable access control restrictions
-audit int set audit trail level
-auth file select authorization file
-br create root window with black background
+bs enable any backing store support
-bs disable any backing store support
-c turns off key-click
c # key-click volume (0-100)
-cc int default color visual class
-nocursor disable the cursor
-core generate core dump on fatal error
-dpi int screen resolution in dots per inch
-dpms disables VESA DPMS monitor control
-deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs
-f # bell base (0-100)
-fc string cursor font
-fn string default font name
-fp string default font path
-help prints message with these options
-I ignore all remaining arguments
-ld int limit data space to N Kb
-lf int limit number of open files to N
-ls int limit stack space to N Kb
-logo enable logo in screen saver
nologo disable logo in screen saver
-nolisten string don't listen on protocol
-noreset don't reset after last client exists
-reset reset after last client exists
-p # screen-saver pattern duration (minutes)
-pn accept failure to listen on all ports
-nopn reject failure to listen on all ports
-r turns off auto-repeat
r turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-retro start with classic stipple and cursor
-s # screen-saver timeout (minutes)
-t # default pointer threshold (pixels/t)
-terminate terminate at server reset
-to # connection time out
-tst disable testing extensions
ttyxx server started from init on /dev/ttyxx
v video blanking for screen-saver
-v screen-saver without video blanking
-wm WhenMapped default backing-store
-wr create root window with white background
-maxbigreqsize set maximal bigrequest size
+xinerama Enable XINERAMA extension
-xinerama Disable XINERAMA extension
-dumbSched Disable smart scheduling, enable old behavior
-schedInterval int Set scheduler interval in msec
+extension name Enable extension
-extension name Disable extension
-query host-name contact named host for XDMCP
-broadcast broadcast for XDMCP
-multicast [addr [hops]] IPv6 multicast for XDMCP
-indirect host-name contact named host for indirect XDMCP
-port port-num UDP port number to send messages to
-from local-address specify the local address to connect from
-once Terminate server after one session
-class display-class specify display class to send in manage
-cookie xdm-auth-bits specify the magic cookie for XDMCP
-displayID display-id manufacturer display ID for request
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
enable/disable accessx key sequences
-ardelay set XKB autorepeat delay
-arinterval set XKB autorepeat interval

TinyX Device Dependent Usage:
-screen WIDTH[/WIDTHMM]xHEIGHT[/HEIGHTMM][@ROTATION][X][Y][xDEPTH/BPP{,DEPTH/BPP}[xFREQ]] Specify screen characteristics
-rgba rgb/bgr/vrgb/vbgr/none Specify subpixel ordering for LCD panels
-mouse driver [,n,,options] Specify the pointer driver and its options (n is the number of buttons)
-keybd driver [,,options] Specify the keyboard driver and its options
-zaphod Disable cursor screen switching
-2button Emulate 3 button mouse
-3button Disable 3 button mouse emulation
-rawcoord Don't transform pointer coordinates on rotation
-dumb Disable hardware acceleration
-softCursor Force software cursor
-videoTest Start the server, pause momentarily and exit
-origin X,Y Locates the next screen in the the virtual screen (Xinerama)
-switchCmd Command to execute on vt switch
-zap Terminate server on Ctrl+Alt+Backspace
vtxx Use virtual terminal xx instead of the next available

Xfbdev Device Usage:
-fb path Framebuffer device to use. Defaults to /dev/fb0

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:

Quote:
!
!
!
!
!






DisplayManager.authDir: /mnt/us/var/lib/xdm
DisplayManager.errorLogFile: /var/log/xdm.log
DisplayManager.pidFile: /var/run/xdm.pid
DisplayManager.keyFile: /mnt/us/usr/libX11/xdm/xdm-keys
DisplayManager.servers: /mnt/us/usr/libX11/xdm/Xservers
DisplayManager.accessFile: /mnt/us/usr/libX11/xdm/Xaccess
DisplayManager*resources: /mnt/us/usr/libX11/xdm/Xresources
DisplayManager.willing: su nobody -s /bin/sh -c /mnt/us/usr/libX11/xdm/Xwilling
! All displays should use authorization, but we cannot be sure
! X terminals may not be configured that way, so they will require
! individual resource settings.
DisplayManager*authorize: true
!
DisplayManager*chooser: /mnt/us/usr/libX11/xdm/chooser
DisplayManager*startup: /mnt/us/usr/libX11/xdm/Xstartup
DisplayManager*session: /mnt/us/usr/libX11/xdm/Xsession
DisplayManager*reset: /mnt/us/usr/libX11/xdm/Xreset
DisplayManager*authComplain: true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup: /mnt/us/usr/libX11/xdm/Xsetup_0
DisplayManager._0.startup: /mnt/us/usr/libX11/xdm/GiveConsole
DisplayManager._0.reset: /mnt/us/usr/libX11/xdm/TakeConsole

DisplayManager*loginmoveInterval: 10

! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
DisplayManager.requestPort: 0


for reference.
twobob is offline   Reply With Quote
Old 10-25-2012, 05:21 PM   #23
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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:
/dev/pts/0 /dev/pts/1
which are the psuedo-ttys. I shall read up what they actually are.
twobob is offline   Reply With Quote
Old 10-25-2012, 06:10 PM   #24
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,998
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by twobob View Post
I also note

[root@kindle bin]# ls /dev/pts/*


which are the psuedo-ttys. I shall read up what they actually are.
I don't think those will help you any.

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.
knc1 is online now   Reply With Quote
Old 10-25-2012, 08:19 PM   #25
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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:
Originally Posted by hawhill View Post
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).
nothing like that in tiny X switches. will have a source dive but I need greater knowledge of the end goal.

I'll have a look at modular X next then. see what that holds. Thanks : )
twobob is offline   Reply With Quote
Old 10-25-2012, 08:22 PM   #26
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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:
Originally Posted by knc1 View Post
I don't think those will help you any.

Are you looking at this via the graphic's display of Linux Mint (or almost any X11 display)?
...

- - - - -

If you can remember the '70s, you weren't where the action was.
Ironically I am using a vista latop for the 1st time in forever.

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!
twobob is offline   Reply With Quote
Old 10-27-2012, 10:17 AM   #27
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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 : )
twobob is offline   Reply With Quote
Old 10-27-2012, 01:58 PM   #28
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,217
Karma: 2124593
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\//'
(with GNU sed on the host machine)

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
Attached Files
File Type: gz xserver_xorg-server-1.9.4-kdrive-linux-notty.patch.gz (723 Bytes, 98 views)
hawhill is offline   Reply With Quote
Old 10-27-2012, 11:53 PM   #29
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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:
Originally Posted by hawhill View Post
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\//'
(with GNU sed on the host machine)

....
Code:
while sleep 5; do echo 1 > /proc/eink_fb/update_display ; done
Excellent. going to give this a run through the new toolchain right now then.

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 09:09 AM. Reason: Flat as a pancakey flat thing
twobob is offline   Reply With Quote
Old 10-28-2012, 01:32 AM   #30
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
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
Attached Thumbnails
Click image for larger version

Name:	Selection_301.png
Views:	102
Size:	58.0 KB
ID:	95051   Click image for larger version

Name:	Selection_302.png
Views:	82
Size:	32.0 KB
ID:	95052  

Last edited by twobob; 10-28-2012 at 01:40 AM.
twobob is offline   Reply With Quote
Reply

Tags
8bpp, kindle3, startx, x server, xorg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
K3 startx? On a K3???? qlob Kindle Developer's Corner 1 11-21-2012 03:30 PM
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 crutledge BBeB/LRF Books 0 09-25-2010 09:01 AM
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 crutledge ePub Books 0 09-25-2010 09:00 AM
Action Ballantyne, R. M: Digging for Gold. V1. 25 Sep 2010 crutledge Kindle Books 0 09-25-2010 08:59 AM
Some Kindle source code digging TadW Kindle Developer's Corner 9 10-04-2009 02:34 AM


All times are GMT -4. The time now is 08:15 AM.


MobileRead.com is a privately owned, operated and funded community.