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
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.
-
Latest Cinnamon Desktop Releases with a Bold New Look
Just in time for the holidays, the developer of the Cinnamon desktop has shipped a new release to help spice up your eggnog with new features and a new look.
-
Armbian 24.11 Released with Expanded Hardware Support
If you've been waiting for Armbian to support OrangePi 5 Max and Radxa ROCK 5B+, the wait is over.
-
SUSE Renames Several Products for Better Name Recognition
SUSE has been a very powerful player in the European market, but it knows it must branch out to gain serious traction. Will a name change do the trick?
-
ESET Discovers New Linux Malware
WolfsBane is an all-in-one malware that has hit the Linux operating system and includes a dropper, a launcher, and a backdoor.
-
New Linux Kernel Patch Allows Forcing a CPU Mitigation
Even when CPU mitigations can consume precious CPU cycles, it might not be a bad idea to allow users to enable them, even if your machine isn't vulnerable.
-
Red Hat Enterprise Linux 9.5 Released
Notify your friends, loved ones, and colleagues that the latest version of RHEL is available with plenty of enhancements.