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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2013, 06:56 PM   #16
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 624
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
I think you can send a code to /dev/input/event# to simulate the power button press.
Lucas Malor is offline   Reply With Quote
Old 05-08-2013, 05:03 AM   #17
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
Quote:
Originally Posted by sven View Post
If I understand correctly, he tries not only to suspend the Kobo but also to wake it up automatically.
Do you have a /sys/class/rtc/rtc0 directory and a wakealarm file on your Glo?
correctly. sleeping the device works perfectly with e.g.
Quote:
echo 1 > /sys/power/state-extended
echo mem > /sys/power/state
but getting it automatically up to execute a cron job - thats the challenge :-)
z000ao8q is offline   Reply With Quote
Old 05-08-2013, 05:33 AM   #18
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 624
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
For what I've understood, rtcwake can't work:
http://www.openstora.com/phpBB3/view...php?f=6&t=1732

I think you can sleep anything but the cpu... or do a physical timer, maybe a charger with a socket timer, using acpid to listen to the USB event.

Or you could train a monkey.
Lucas Malor is offline   Reply With Quote
Old 05-08-2013, 06:02 AM   #19
Grunge
Member
Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.Grunge can eat soup with a fork.
 
Posts: 12
Karma: 9172
Join Date: Apr 2013
Device: Kobo Touch
Nice thread, I try to do something similar.
I work for a school and we have paper printed schedules outside of the rooms. For the big rooms i would like to have a kobo like deivce that refreshs every hour or so, showing the schedule from a google like calendar page.
The kobo is just a prototype for me, alternative i could also be a nook or even a raspi with some extra display.

so my goal is:
- boot/wake up by timer
- switch wifi on
- read the webpage, save it to picture (CutyCapt)
-wifi off
- show the picture of the webpage (direct frambuffer)
- sleep/shutdown

what i have done yet: nothing.
My Kobo arrived a few weeks ago when i was on holiday... my apprentice tried then to downgrade it (wrong anyway) and since then its broken. But next week i will get a second one and i will start from zero at my own.

so i should probably start with setting up a cross-compiler environment now. any suggestions for me?

Greetings
Grunge
Grunge is offline   Reply With Quote
Old 05-08-2013, 08:05 AM   #20
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
Quote:
Originally Posted by Lucas Malor View Post
For what I've understood, rtcwake can't work:
http://www.openstora.com/phpBB3/view...php?f=6&t=1732
yes and no. according to Sven, it works for the old Touch model http://www.mobileread.com/forums/sho...=182891&page=2
z000ao8q is offline   Reply With Quote
Old 05-08-2013, 10:02 AM   #21
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 624
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
Probably you have to download/compile and install rtc-cmos module?
http://www.mythtv.org/wiki/ACPI_Wake...c0.2Fwakealarm

Last edited by Lucas Malor; 05-08-2013 at 10:06 AM.
Lucas Malor is offline   Reply With Quote
Old 05-08-2013, 10:33 AM   #22
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,417
Karma: 46459035
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Why not just look at the actual kernel source as used by Kobo? Download the whole kiot and kaboodle from https://github.com/kobolabs/Kobo-Reader and look at the various sections in the hw folder?
PeterT is online now   Reply With Quote
Old 05-08-2013, 03:43 PM   #23
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
I guess i am missing the skills for both of the replies.
at least this from the link does not work:
Quote:
[root@(none) log]# modprobe rtc-cmos
modprobe: module 'rtc_cmos' not found
z000ao8q is offline   Reply With Quote
Old 05-08-2013, 03:53 PM   #24
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
*double post*
z000ao8q is offline   Reply With Quote
Old 05-08-2013, 04:41 PM   #25
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 624
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
Maybe rtc-cmos is built into the kernel. Indeed inside the source on git kobo have a rtc-cmos.c.
Lucas Malor is offline   Reply With Quote
Old 05-11-2013, 03:54 AM   #26
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
Is this a firmware-thing - or a kernel thing?

Sven has a N705 Touch with Kernel 2.6.35.3-568 and firmware 1.9.17 - here it works.
I am running a N905 mini with kernel 2.6.35.3-850 and firmware 2.5.

could I downgrade the firmware or would this not make any difference?
z000ao8q is offline   Reply With Quote
Old 05-11-2013, 05:15 AM   #27
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 624
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
I don't really know... but I think it's more simple to do a little C program. You could ask some help to yoq.
Lucas Malor is offline   Reply With Quote
Old 05-14-2013, 03:24 AM   #28
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
Hello all,
next input :-)
I got the config.gz from Sven´s Touch (where wakealarm is working) and compared it to my mini config.gz.
config_own.xls

the differences are outlined in the attached file - where the yellow ones are the only differences that matter.

can someone have a look if he finds anything that could explain it?
z000ao8q is offline   Reply With Quote
Old 05-17-2013, 04:31 AM   #29
z000ao8q
Enthusiast
z000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toysz000ao8q shares his or her toys
 
Posts: 49
Karma: 5942
Join Date: May 2013
Device: kobo mini
is it possible to downgrade the firmeware/kernel to the version that e.g. works for Sven?

It seems that I don´t get any further here. the wakealarm is missing and I would not know how to patch/recompile the kernel in this area
z000ao8q is offline   Reply With Quote
Old 05-17-2013, 05:03 AM   #30
Lucas Malor
Pain in the arse
Lucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughingLucas Malor can shake the floor when laughing
 
Lucas Malor's Avatar
 
Posts: 624
Karma: 63854
Join Date: Apr 2013
Device: Kobo Glo, Kindle 4
http://www.mobileread.com/forums/sho...20#post2514020
Lucas Malor 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
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? the_m Kobo Reader 5 12-13-2012 04:40 PM
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys sufue Deals, Freebies, and Resources (No Self-Promotion) 0 07-15-2012 11:39 AM
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless shaf Kobo Reader 5 12-04-2011 06:10 PM
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 JBlyth Kobo Reader 11 08-03-2011 06:38 PM
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 JBlyth Devices 1 08-03-2011 07:50 AM


All times are GMT -4. The time now is 09:47 AM.


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