Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 11-09-2011, 09:10 AM   #1
kt23
Junior Member
kt23 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
Kindle 3 as Morning Alarm and other things! ( crontab utility does)

I have a kindle 3, now it can play a sound at morning, so I say kindle is used as an alarm. Yes, I use the crontab. Maybe you can use it to do other useful and interesting things.

Steps:

1. jailbreak. thanks NiLuJe and others
Font and Screensaver Hacks - The current jailbreak and USBNetworking hacks are also included here
http://www.mobileread.com/forums/showthread.php?t=88004


2. Kindle SSH over WIFI instructions. thanks badbob001
http://www.mobileread.com/forums/sho...85&postcount=8

3. mplayer install to /mnt/us/system/mplayer ; then copy a sound file (ex. miaoyin.mp3) to /mnt/us/music/miaoyin.mp3
mplayer can get at http://www.mobileread.com/forums/showthread.php?t=147854&highlight=mplayer thanks for sharing

4. Now suppose you get the root shell. the key is to change the crontab file: /etc/crontab/root, pls see below
Code:
#################################################
#  N O T I C E  *  N O T I C E  *  N O T I C E  #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# mntroot rw
system: I mntroot:def:Making root filesystem writeable
[root@kindle root]# chmod +w /etc/crontab/root
[root@kindle root]# vi /etc/crontab/root
### use vi to edit the file , to add a line 

[root@kindle root]# cat /etc/crontab/root
*/15 * * * * /usr/sbin/checkpmond
*/15 * * * * /usr/sbin/tinyrot
*/60 * * * * /usr/sbin/loginfo tmpfs
*/60 * * * * /usr/sbin/loginfo localVars
*/60 * * * * /usr/sbin/loginfo memusedump
*/15 * * * * /usr/sbin/loginfo powerdcheck
8 6 * * 1-5 /mnt/us/system/mplayer /mnt/us/music/108.mp3
[root@kindle root]# /etc/init.d/cron restart
system: I cron:def:stopping crond
start-stop-daemon: lseek: Invalid argument
system: I cron:def:starting crond
[root@kindle root]# mntroot ro
system: I mntroot:def:Making root filesystem read-only
[root@kindle root]#
5. OK now at 6:08 AM from Mon. to Fri., Kindle 3 will play the file miaoyin.mp3.

6. Done. I know little about shell, maybe you can do more for yourself.

WARNING: DO THIS ON YOU OWN RISK.

Good luck :)

crontab can do more fun things? please post it!
kt23 is offline   Reply With Quote
Old 11-09-2011, 09:26 AM   #2
ucfgrad93
Wizard
ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.ucfgrad93 ought to be getting tired of karma fortunes by now.
 
ucfgrad93's Avatar
 
Posts: 2,240
Karma: 7511204
Join Date: Jun 2011
Location: Colorado
Device: Kindle Paperwhite 2nd Gen
I'll stick with using my iPhone as my morning alarm and not risk bricking my Kindle.
ucfgrad93 is offline   Reply With Quote
Old 11-09-2011, 09:40 AM   #3
howyoudoin
Ehhhh, how YOU doin?
howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.howyoudoin ought to be getting tired of karma fortunes by now.
 
howyoudoin's Avatar
 
Posts: 594
Karma: 3278370
Join Date: Feb 2009
Location: The end of the tether
Device: Kindle Keyboard, iPad 4
I've been known to swat my phone away while half-asleep, so I think I'll play it safe by sparing my Kindle

It's an interesting idea and appreciable effort, though
howyoudoin is offline   Reply With Quote
Old 11-10-2011, 01:53 AM   #4
Deja Moo
Enthusiast
Deja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipseDeja Moo can illuminate an eclipse
 
Deja Moo's Avatar
 
Posts: 30
Karma: 8228
Join Date: Nov 2010
Device: Kindle 3 wifi(bricked), PaperWhite
The only use I'd have for an alarm is to keep from reading too long. Will this run in the background with an easily adjustable alarm time?
Deja Moo is offline   Reply With Quote
Old 11-10-2011, 06:45 AM   #5
kt23
Junior Member
kt23 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
Sorry, i tested today but it donot work well

when kindle is on(you are reading and no screensaver) it's ok
but when kindle sleep, it doesn't work.

so anyone help?
kt23 is offline   Reply With Quote
Old 11-10-2011, 03:50 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,774
Karma: 39540023
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
so anyone help?
Most discount stores sell cheap clock-radios.
DiapDealer is online now   Reply With Quote
Old 11-11-2011, 02:22 AM   #7
kt23
Junior Member
kt23 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by DiapDealer View Post
Most discount stores sell cheap clock-radios.
hahaa, good idea : )
I sitll want crontab do something.
kt23 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
alarm clock on the kindle ? lrizzo Kindle Developer's Corner 13 03-21-2013 09:10 AM
Embedding user name/password for crontab awitko Recipes 5 12-05-2011 05:21 AM
Kindle ebooks price alarm? oecherprinte Amazon Kindle 14 06-02-2011 02:13 AM
586x720 Won't work on Kindle DTP Upload Utility gcoleman Amazon Kindle 3 12-01-2010 03:41 PM
iPad Alarm Lotus Esprit Apple Devices 0 06-14-2010 07:33 AM


All times are GMT -4. The time now is 08:00 PM.


MobileRead.com is a privately owned, operated and funded community.