KindleBerry Pi
by damaru. Average Reading Time: about 6 minutes.
I am happy to announce that this article got publish in Hacker montly
We left our little studio in the Kootenays last July to travel throughout Europe, traveling to discover about new media, spiritual centers, art, design and open source initiative. I decided to go really minimal on the computer gear stuff, so I only packed my Kindle, a camera, an android phone and of course my Raspberry Pi!
The KindleBerry Pi!
The Raspberry pi, although a beautiful project and quite an electronic feat, it can be a bit limiting as a main production machine, but I convinced myself I could use it as my main traveling computer.
The plan was, using a Kindle as a screen, connecting it to the processing power of the Raspberry Pi while using an external keyboard to work comfortably. Since connecting an external keyboard to the Kindle seemed impossible at that point, I needed to use the Raspberry Pi as the ‘hub’. The tinkering started and the KindleBerry Pi was soon to be born.
Although I ended up buying a laptop while traveling, all that dreaming and tinkering ended up working nicely, creating a really portable development platform. At the least it has become a proof of concept that could be used for other similar projects. So here is how you can create your very own KindleBerry Pi!
Lets get started
What you will need to do this hack:
- a Kindle 3 ( 1 or two, if you end up breaking the first one)
- a Raspberry Pi
- 2 micro usb to usb cables (one for power and one to connect the Kindle to the Raspberry Pi)
- One keyboard connected to the Raspberry pi
- Optional are a kindle stand (you can use an old audio tape box)
- Optional again is a usb hub since the KindleBerry pi has both port in use when assembled
Hacking the Kindle
DISCLAIMER – you can brick (render unusable) your Kindle doing so, these are just pointers and I take no responsibility whatever you do with your kindle, or your life…
The first part, connecting the Kindle to the Raspberry Pi is simple enough. Jail break the Kindle , install a terminal emulator like this one and then install UsbNetwork. Make sure the usbNetwork is enable, Connect the devices trough USB, do a quick ifconfig usb0 192.168.2.1 and Voila, I can login into the Raspberry Pi with no problem, using the great display of the Kindle but sadly also using it’s limiting keyboard.
The main challenge now is to use the keyboard connected to the Rasberry Pi instead of the Kindle’s. This is where the magic of gnu screen comes in play! Screen is a terminal multiplexer, if you don’t know what a terminal is, well, I am not sure why you are reading this article in the first place, but let say ‘screen is a terminal on steroid’. One of the nice function of screen is that you can be multiple user on the same ‘screen’ session, for lets say you want to monitor what people do when they connect to your computer trough ssh, or if you want to… well… screencast in a terminal environment (whatever enjoyment that would give you). Anyhow, I am not sure why there is a multiuser mode, but it is that ability that make the KindleBerry Pi possible.
So what happen here, is that using the keyboard connected to the Raspberry Pi, you will login into the Raspberry pi with the Kindle and then share the same ‘screen’ session so that you can use the keyboard connected on the Raspberry Pi. You will still need to use the Kindle keyboard to create that first connection, but once your connected, you can use your mail keyboard.
Although gnu screen come and save the day, to automate the whole process there are few more steps to be done.
Usb network for the Raspberry Pi
First we want to be able to use UsbNetworking when connecting Kindle. When the Kindle is on usbNetworking, it assign the ip 192.168.2.2 to its USB port. Whe then need the Raspberry Pi to assign its USB port the IP 192.168.2.1 and that has to be automatic. To do so, the first step is to add to your /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
Automatic login on the Raspberry Pi
Now we need the Raspberry Pi to 1) make sure one user login automatically and 2) have a screen multiuser session started at boot time. We will be using the same user for the login at boot time and login with the Kindle.
For the automatic login on boot, on debian (which is one of the main build of the Raspberry Pi) you have to ;
vim /etc/inittab
(or using any other editor) and comment out:
#1:234:respawn:/sbin/getty 3840 tty1
and then add :
1:2345:respawn:/bin/login -f YOUR_USER_NAME tty1/dev/tty1 2< & 1
My code prettifyer adds some #038; code that you can omit
EDIT: Some reader have mention that using this code instead work for them:
1:2345:respawn/sbin/agetty -a YOUR_USER_NAME -8 -s 38500 tty1 linux
That should do the trick, now lets make sure screen start automatically, when the Raspberry Pi starts and whenever you login from the kindle.
Bashrc
We now have to make sure that the user which is automatically logged in will starts a screen session, but we also have to make sure that when you login with the Kindle, you don’t start another screen session but actually join the already started screen session. Mileage might vary depending on your system here, so experiment with the code, but most of it should be in the .bash_profile. There is probably many other ways to go about it (use the bashrc and bash_profile or have more than one user etc…) but this is one of the solution that I came up with.
Here is my .bash_profile:
if [ -z "$&;STY" ]; then
exec screen -xR
fi
So once it’s all in place, you should be able to fire up your KindleBerry Pi, once the boot sequence is done, you can connect the Kindle in UsbNetwork mode trough USB, moving into your shell and ssh into the Raspberry Pi. From there you should be able to use the keyboard connected in the Raspberry Pi, and see the result on the Kindle! For some reason sometime I have to fiddle with the screen session, killing the extra one and the connecting to the main one.
You probably can work some simple passwordless ssh with authentication key, to save some time and add some cute scripting to simplyfi the whole connection process, but once you are connected you can then start using the Raspberry Pi keyboard. There is actually a lot of improvement that could be done with this hack, so feel free to send your ideas!
Here is a quick video showing the refresh rate:
It was really fun to create the KindleBerry Pi and I even started using that setup for few weeks. But I quickly realized that if I wanted to do anything productive at this point it was better to get myself a computer. My skill in command line and programming might have been too low to completely move to a shell only lifestyle. So sadly the KindleBerry Pi at this point is only a proof of concept and could probably be really neat in a ‘end of the world’ scenario! There still might be some minimal hardcore coder out there who would enjoy such a platform!
My next project, using some of the learning from this project, is to do some portable music platform with the Raspberry Pi, pureData and my minimpk! Stay tuned!
If you like what you read and feel generous click on buy me a beer!


Pingback: Hacker uses Kindle as Raspberry Pi screen :: WES Computing
Pingback: Kindleberry Pi = Kinde DX + Raspberry Pi - Netbook News
Pingback: Kindle als RasPi-Bildschirm | stk
Pingback: Kindle eReader gekoppeld aan Raspberry-Pi compu: “Kindleberry-Pi” « De OpTillt Trofee
Pingback: Hack Your Kindle to Use It as a Raspberry Pi Screen [Raspberry Pi] | Gadgets,Social Media and more....
Pingback: KindleBerry Pi | Indoor Digital Billboards
Pingback: Hack Your Kindle to Use It as a Raspberry Pi Screen - Gizmodo |
Pingback: Hack a Kindle Into a Minimal Computer with a Raspberry Pi [DIY] | Tips for the Unready
Pingback: KindleBerry Pi
Pingback: KindleBerry Pi | Arduino Geeks | Scoop.it
Pingback: KindleBerry Pi: mobile PC that's 1 part Kindle, 1 part Raspberry Pi - Liliputing
Pingback: KindleBerry Pi: using a Kindle as a Raspberry Pi display | techn4all.com Latest technology
Pingback: KORT: Reiziger hackt Kindle als Raspberry Pi-scherm | Tech-nieuws
Pingback: Believe It Or Not, You Can Turn Your Kindle Into A Computer Monitor (AMZN) | Tips for the Unready
Pingback: Insolite : un Kindle en guise d’écran pour un Raspberry Pi - The World Information
Pingback: Hack A Kindle To Work With A Raspberry Pi | Lifehacker Australia
Pingback: KindleBerry Pi | Price Gadget Reviews
Pingback: Believe It Or Not, You Can Turn Your Kindle Into A Computer Monitor (AMZN) – Smash Gadget
Pingback: Using a Raspberry Pi as your travel computer - Hack a Day
Pingback: Using a Raspberry Pi as your travel computer | Cool Internet Projects
Pingback: Hack Your Kindle Into A Raspberry Pi Screen | Gizmodo Australia
Pingback: Using a Raspberry Pi as your travel computer » PS3 Spot | PS3 Spot
Pingback: KindleBerry Pi, Komputer dengan Perpaduan antara Amazon Kindle Fire dan Raspberry Pi | Blog
Pingback: Believe It Or Not, You Can Turn Your Kindle Into A Computer Monitor (AMZN) | Digital Wealth
Pingback: Kindleberry Pi « CuppaCode / Geeky Rants & Coding Burps by Heinz Schmidt
Pingback: | Korben
Pingback: Un écran Kindle pour le Raspberry Pi
Pingback: Using a Raspberry Pi as your travel computer | Orange Claymore Red Slime
Pingback: RPi + Kindle 3 + USB-Tastatur = KindleBerry Pi | e-Leseratte
Pingback: Endlich: Der kindle keyboard WiFi auf Deutsch! | digi - blogger dir einen
Pingback: KindleBerry Pi: o Kindle que virou monitor de um Raspberry Pi | Tecnoblog
Pingback: KindleBerry Pi: o Kindle que virou monitor de um Raspberry Pi | Gato Folgado | Notícias e entretenimento
Pingback: KindleBerry Pi: o Kindle que virou monitor de um Raspberry Pi | Mundo Wireless
Pingback: Wednesday grab bag | Massif Software
Pingback: Raspberry Pi | Felipe Ferreira
Pingback: KindleBerry Pi | OpenICT's Blog
Pingback: KindleBerry Pi ใช้ Kindle เป็นหน้าจอเพื่อใช้งาน Raspberry Pi | Raspberry Pi Thailand
Pingback: KindleBerry Pi | Memory Core
Pingback: e-book-news.de » KindleBerry Pi: Neuer Hack macht E-Ink-Display zum PC-Monitor
Pingback: Kindleberry Pi: Hack Your Kindle Into Raspberry Pi Display
Pingback: Kindleberry Pi: Hack Your Kindle Into Raspberry Pi Display « Rival Design
Pingback: Kindleberry Pi? « 0ddn1x: tricks with *nix
Pingback: Kindleberry Pi: Hack Your Kindle Into Raspberry Pi Display « memoirs on a rainy day
Pingback: KindleBerry Pi! | FRANCESCO DI FUSCO
Pingback: KindleBerry Pi? — Bit's corner of the world
Pingback: 脱獄済みKindle+Raspberry Pi=小型コンピュータ | 2480design+Gadget
Pingback: Kindle as Raspberry Pi screen
Pingback: Kindleberry Pi’s Betrayal smashes Apple in Software Freedom Day :LTG Episode 108 « Let's Talk Geek
Pingback: Make in Israel | עושים בישראל | קינדל + רספברי פיי = מחשב לנסיעות
Pingback: Linuxkommando.com::linux,ubuntu,software,news,reviews,articles » Blog Archive » Raspberry Pi + = Kindle Kindle Berry Pi
Pingback: Raspberry Pi + 乐高 = 超级计算机 « 清泉石上流
Pingback: Raspberry Pi + 乐高 = 超级计算机 | 吃杂烩
Pingback: Raspberry Pi + 乐高 = 超级计算机 « 关注互联网发展,为用户创造价值!
Pingback: Definite Digest » Raspberry Pi + 乐高 = 超级计算机
Pingback: Pi k3w – Configure Kindle 3 with Raspberry Pi « a projectdp.com subsidiary
Pingback: 킨들베리 파이 | Make: Korea
Pingback: KindleBerry Pi: e-reader maakt Raspberry Pi portable - Mancave
Pingback: 6 top uses of a Raspberry Pi | 123-reg
Pingback: 6 top uses of a Raspberry Pi
Pingback: Ike’s Lights Part 2 – The sensors and computer hardware | A Jaunt Around the World – New Haven, CT
Pingback: INFOSEC KUNG FU.com » Hacker uses Kindle as Raspberry Pi screen
Pingback: On minimalist prototype laptops or the Kindleberry Pi « Alessio Malizia
Pingback: Der Himbeer-Kindle - PadTapNews
Pingback: 30 Cool Ideas for your Raspberry PI Project | PingBin
Pingback: KindleBerry Pi: using a Kindle as a Raspberry Pi display | Stock Market News - Business & Tech News
Pingback: 关于 Raspberry Pi 的 30+ 个超酷的点子 | mywordpress
Pingback: 关于Raspberry Pi 的30+个超酷的点子 | 爱板网
Pingback: Definite Digest » 34 个使用 Raspberry Pi 的酷创意
Pingback: KindleBerry Pi | Raspberry Pi | Scoop.it
Pingback: KindleBerry Pi! « projectz
Pingback: 【文艺Geek】Raspberry Pi 做一名莓树派 | 文艺青年
Pingback: Plus de 50 idées pour votre Raspberry Pi
Pingback: Plus de 50 idées pour votre Raspberry Pi | Chti-Web: création de site web à prix discount
Pingback: Plus de 50 idées pour votre Raspberry Pi | Korben
Pingback: Believe It Or Not, You Can Turn Your Kindle Into A Computer Monitor (AMZN) | Kent Web Design
Pingback: KindleBerry Pi, Komputer dengan Perpaduan antara Amazon Kindle Fire dan Raspberry | mutmainahstmikpringsewu
Pingback: Cubieboard Linaro 搭建超节能监控平台 | 奋斗博客
Pingback: 10 usos para un Raspberry Pi | Blog de Uptodown
Pingback: Raspberry Pi – k čemu je to vlastně dobré » Openmobility
Pingback: Tutorial: Supercharge your Raspberry Pi | GabsGroup
Pingback: Tutorial: Supercharge your Raspberry Pi - Plugged Into The Matrix
Pingback: Tutorial: Supercharge your Raspberry Pi - Need2review | Need2review
Pingback: Tutorial: Supercharge your Raspberry Pi | allcom.se
Pingback: Tutorial: Supercharge your Raspberry Pi | P & J Personal Blog
Pingback: Supercharge your Raspberry Pi – TechRadar UK | Teknologi Mania
Pingback: Alex Mouse | Thesis Research
Pingback: Kindle used as an e-paper display for the Raspberry PI | GeekBoy.it
Pingback: Tutorial: Supercharge your Raspberry Pi | Man and Van Wembley
Pingback: 10 uses for the Raspberry Pi | Blog Uptodown EN
Pingback: Tutorial: Supercharge your Raspberry Pi | Matias Vangsnes
Pingback: LinuxLounge 87 Calcwasser | TheRadio.CC
Pingback: Tutorial: Supercharge your Raspberry Pi
Pingback: KindleBerry Pi – Use a Kindle as the Screen for your Raspberry Pi | Damn Fine Raspberry Pi
Pingback: KindleBerry Pi – Use your Kindle 3 as a Screen for the Raspberry Pi | Damn Fine Raspberry Pi
Pingback: Supercharge your Raspberry Pi | News daily everyday – Cpapublic.Net
Pingback: 使用Raspberry Pi + XBMC构建媒体中心 | ckun.me
Pingback: Kindle + Raspberry Pi, czyli jak wykorzystać czytnik w roli monitora | Świat Czytników
Pingback: Kindle + Raspberry Pi, czyli jak wykorzystać czytnik w roli monitora | Świat Czytników
Pingback: 使用一个树莓Pi作为你的旅行电脑 | 电子迷
Pingback: Insolite : un Kindle en guise d’écran pour un Raspberry Pi – oradius
Pingback: Kindleberry Pi the second(킨들파이 두번째 버젼)
Pingback: Come costruire un KindleBerry Pi
Pingback: 10 usos para un Raspberry Pi