Don't recycle your ePaper: repurpose that old eReader
Up to Date
Create a kiosk display from an old eReader to show data culled from Home Automation, Raspberry Pis, and Arduinos.
My daughter and I looked at trying to repurpose an old eReader. Our goal was to make a kitchen kiosk display that would show items of daily interest. For us, that included news, stocks, and weather data that we pulled from the Internet, along with some local data from Arduino, Home Assistant [1], and Raspberry Pi nodes (Figure 1).
In this article, we look at how to install Linux on an eReader and look at eReader Python apps and kiosk-mode web browser pages.
Getting Started
For this project, we used a Kobo Mini eReader, so the procedure to load a new operating system will vary somewhat according to the eReader model and manufacturer you use.
First, crack open the eReader. The operating system (OS) and data are stored on a microSD card (Figure 2). You should keep the original SD in case you ever need to roll back to the original setup.
eReaders have two main OS choices: Android or Linux. For the requirements of this project, we determined that Linux would be a cleaner option. A Debian image for Kobo eReaders can be found online [2]. If you are trying to repurpose other brands of eReaders, some good how-to guides are available (e.g., for Kindle eReaders [3]).
Installing Debian Linux
A number of different tools can help you move and copy OS images. Raspberry Pi users like to use the Raspberry Pi Imager (rpi-imager
) utility, which runs on Linux, Windows, and macOS. To install it on Linux, enter:
sudo snap install rpi-imager
The Use custom option lets you put the Debian Linux image on an SD card (Figure 3).
Depending on your eReader and the OS you are using, you might be ready to go after the new microSD card is installed into the eReader. Unfortunately, for our Kobo Mini installation we needed to take another step that moved some files from the original SD chip to the new SD chip:
# insert the original microsd sudo dd if=/dev/mmcblk0 bs=512 skip=1024 count=1 of=/your_path/original.img # insert the new microSD with the Debian image sudo dd if=/your_path/original.img bs=512 seek=1024 count=1 of=/dev/mmcblk0
This added step provides all the files required for a clean double-boot installation (Figure 4).
eReader Setup
Now that the OS is installed, you should be able to enable WiFi from the main menus (Figure 5). eReaders have great battery life when they are used as an eReader; however, when they use WiFi 100 percent of the time, their battery life is more like that of a standard tablet.
The eReader has a floating keyboard, so you can work directly on the unit; however, an SSH connection from a PC is definitely easier.
The next step is to add custom apps to the eReader menus. Although we did all our programming remotely, this step allowed us to run and test the apps without an SSH connection.
The menuing on the eReader will vary according to the OS being used. On the Kobo, the Debian OS used the Awesome window manager [4]. Awesome menus are defined in the file .config/awesome/rc.lua
. Figure 6 shows two extra entries: one for a Python app and the second for a browser kiosk script.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.