Hi! Today I found myself in a situation where I wanted to be able to use my Kindle normally, but still have a script be able to push content to the Kindle without user interaction.
The Kindle can be used while plugged into the PC by ejecting it, but I couldn't figure out how to "un-eject" it without unplugging it.
Eventually, I figured it out, and I decided to post it for anyone interested.
Windows:
Spoiler:
- Download sg3_utils. There are regular builds for Windows, but I have provided a stripped-down version with only the features you need on GitHub. I have also attached it to this post.
- Open an Administrator Command Prompt to the folder you extracted sg3_utils to.
- Find the device name of the Kindle:, noting down the number (e.g. PD2) next to the line that says "Kindle".
- To "eject" the Kindle (note that this is NOT the same as ejecting in Explorer, you can't un-eject with that) execute the command:
Code:
.\sg_start.exe --eject PD2
- To "un-eject" the kindle execute the command:
Code:
.\sg_start.exe --load PD2
Note that you can ignore any "device not ready" errors.
Linux:
Spoiler:
Just use
to eject, and
to "un-eject", replacing /dev/sda with your Kindle's device.
You're done! I might script this process later, and it could be incorporated into other applications. I also have no idea how this might be accomplished on macOS.