Showing posts with label kindle. Show all posts
Showing posts with label kindle. Show all posts

Charging your Kindle with Linux

To charge your kindle, you need to connect it via usb, and the eject it. This command should work on any Kindle in any recent Linux out-of-the box. You have have to install "eject", though:

sudo eject /dev/disk/by-label/Kindle

If you don't have /dev/disk/by-label look for the first partition, e.g. /dev/sdb1 and eject that, not sdb itself.

Logging and Graphing Power Consumption of Embedded Linux Systems -- Busybox and GnuPlot analyzing the Kindle 3

Actually this should've been really easy. A small script loop on the kindle to log the battery consumption and then plug that data into gnuplot. But it turned out gnuplot afaik doesn't support to output the difference between values. Thanks to apo_ from #gnuplot I've got it running with the help of awk now. The great thing is that this script runs in busybox and can hence easily be adapted for pretty much any kind of portable devices including Android phones, Kindles, Tablets, Notebooks, Netbooks, etc. And that's how it looks.
Kindle 3 Battery Consumption
Measurement points are marked with an x.

Accessing Kindle 3 with SSH via Wifi using usbNetwork and Launchpad

As a prerequisite you will need usbNetwork and launchpad installed and working. Once that is set up, create a new file in the launchpad directory: iptables.ini with the contents

Kindle 3 Discovery Tour: Kernel Config, Processes, Programs, Modules, /proc, cpuinfo, dmesg, meminfo, mounts, fstab and other Inside Information (Firmware 3.1)

There doesn't seem to be a copy of the Kindle 3.1 kernel config file on the internet yet. So I will put it online here. Also I will list a few interesting directories, like proc. This is just for documentation purposes and so people don't have to hack into the kindle to find out that e.g. though it has powertop, the kernel's support (timer_stats in /proc) is disables and so it's of no use. Check below for tons of information from the kindle root shell environment.