Wednesday, January 18, 2012

Charging a kindle from Fedora

When a kindle is plugged into a USB port it acts as a flash drive by default.  The device itself is nice enough to tell you that you need to eject it if you want to either use it or charge it via the USB cable.  Unfortunately, in linux one needs to use "eject"; simply unmounting via nautilus does not suffice.  (I've no idea why.  What does "eject" do that "unmount" doesn't?)

So, a really stupid "kindle_charge" script:


#! /bin/bash
beesu eject /dev/disk/by-label/Kindle





Label Cloud