![]() |
#1 |
Member
![]() Posts: 22
Karma: 14
Join Date: May 2011
Device: Kindle Touch jb
|
![]()
This post describes how to start a screen session in linux (specifically raspbian for raspberry pi) and then connect to it using a kindle (k5 touch, but should work with other versions too) and a usb cable: you will type using the keyboard connected to the raspberry (or any linux pc), using the kindle as a monitor.
-------------------- on the raspberry: boot raspbian to the command line (works also from a terminal in the desktop) start the ssh server ("sudo raspi-config" or "sudo /etc/init.d/ssh start") $ sudo ifconfig usb0 192.168.2.1 create a named screen session: $ screen -S foo -------------------- on the kindle: root the kindle install usb-network and start it install a terminal (kterm for example) $ sudo ifconfig usb0 192.168.2.2 $ dbclient pi@192.168.2.1 attach to the existing screen session: $ screen -x foo in alternative: $ screen -rxU -r resumes a detached screen session -x resumes a not-detached screen session -U tells the terminal to use UTF-8 encoding (which I use exclusively) http://unix.stackexchange.com/questi...screen-session screen -list (list active screens) --------------------- not sure if this is necessary in raspbian /etc/network/interfaces allow-hotplug usb0 mapping hotplug script grep map usb0 iface usb0 inet static address 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 up iptables -I INPUT 1 -s 192.168.2.1 -j ACCEPT -------------------- todo (maybe someone can help) automate the login in raspbian and autostart ifconfig and the screen session start screen in raspberry with a predefined size that fits the kindle start vim in rasbperry with a fixed number of rows and columns (this can be done with "set lines=50 columns=44" connect using wifi Last edited by Gianni; 06-24-2013 at 10:04 AM. |
![]() |
![]() |
![]() |
Tags |
display, kindle, raspberry pi, screen, vnc |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
GNU Gnash – Flash player for Kindle Touch | baf | Kindle Developer's Corner | 35 | 09-30-2014 08:50 AM |
vim + GNU screen + myts 8 scrolling problem | y2rayk | Kindle Developer's Corner | 1 | 10-20-2012 08:00 PM |
Can I display PDF full screen on Kindle Touch? | wisecrick | Amazon Kindle | 1 | 05-28-2012 09:13 AM |
Kindle 2 Display/Screen - Plastic Backed? | NAL | Amazon Kindle | 4 | 12-01-2009 09:16 AM |
Question about screen display | thorswitch | Sony Reader | 3 | 06-15-2008 04:11 PM |