Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2013, 05:56 PM   #16
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, 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, 04:03 AM   #17
z000ao8q
Connoisseur
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: 51
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
Advert
Old 05-08-2013, 04:33 AM   #18
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, 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, 05: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, 07:05 AM   #20
z000ao8q
Connoisseur
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: 51
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 https://www.mobileread.com/forums/sho...=182891&page=2
z000ao8q is offline   Reply With Quote
Advert
Old 05-08-2013, 09:02 AM   #21
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, 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 09:06 AM.
Lucas Malor is offline   Reply With Quote
Old 05-08-2013, 09:33 AM   #22
PeterT
Grand Sorcerer
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: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
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 offline   Reply With Quote
Old 05-08-2013, 02:43 PM   #23
z000ao8q
Connoisseur
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: 51
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, 02:53 PM   #24
z000ao8q
Connoisseur
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: 51
Karma: 5942
Join Date: May 2013
Device: kobo mini
*double post*
z000ao8q is offline   Reply With Quote
Old 05-08-2013, 03:41 PM   #25
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, 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, 02:54 AM   #26
z000ao8q
Connoisseur
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: 51
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, 04:15 AM   #27
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, 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, 02:24 AM   #28
z000ao8q
Connoisseur
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: 51
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, 03:31 AM   #29
z000ao8q
Connoisseur
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: 51
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, 04:03 AM   #30
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
https://www.mobileread.com/forums/sho...20#post2514020
Lucas Malor is offline   Reply With Quote
Reply


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 03:40 PM
$25 gift card w. purchase of Kobo Touch or Kobo Vox at Frys sufue Deals and Resources (No Self-Promotion or Affiliate Links) 0 07-15-2012 10:39 AM
Touch Kobo Touch defective after 3 months and Kobo Customer Support useless shaf Kobo Reader 5 12-04-2011 05:10 PM
Touch Kobo Touch not ejecting cleanly with Calibre OR Kobo Desktop - Windows 7 JBlyth Kobo Reader 11 08-03-2011 05:38 PM
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 JBlyth Devices 1 08-03-2011 06:50 AM


All times are GMT -4. The time now is 11:53 AM.


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