![]() |
#46 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
@Mingyar
I was lazy and diverted the standard output into a file for debugging ![]() If that is the case, this new version should help. |
![]() |
![]() |
![]() |
#47 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
@yoq: mmmmhhh, good point
![]() About the file, I mean that in the tweak sh script you create a real file with echo, but not a FIFO. @tshering: so did you have changed the aspect of bars and dictionaries using CSS? How? ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#48 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
rm /mnt/onboard/.kobo/nightmode.sh rm /mnt/onboard/.kobo/screenInv.so rm /tmp/invertScreen rm /mnt/onboard/.kobo/screenInvertLog rm /mnt/onboard/.kobo/screenInvertLogFB in autorun.sh do the job? |
|
![]() |
![]() |
![]() |
#49 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
![]() |
![]() |
![]() |
#50 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
@Lucas Malor
OK, so you mean I should use a file to save the state when powering the kobo off? That's a good idea, I'll implement it in the next release when Mingyars problem is fixed. |
![]() |
![]() |
Advert | |
|
![]() |
#51 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Well, it's a good idea, but I mean that it seem you already create a real file, since in the nightmode.sh there's a echo but no mkfifo.
@tshering: what a pity, it would be fantastic if kobo style could be personalized using CSS ![]() |
![]() |
![]() |
![]() |
#52 | |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
Quote:
The problem is, autorun.sh is execute before the internal sd storage is mounted. If you look into rcS, it starts with "/sbin/udevadm trigger", the mount comes a few lines after that. Thinking about it, it should be possible to wait for the mount in the script. |
|
![]() |
![]() |
![]() |
#53 | |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
Quote:
But using a real file would be bad for the sd, and make things slower. |
|
![]() |
![]() |
![]() |
#54 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Code:
if [ -e /root/unistallscreenInv.sh ]; then /root/unistallscreenInv.sh /usr/local/Kobo/nickel -qws \& else LD_PRELOAD=/mnt/onboard/.kobo/screenInv.so /usr/local/Kobo/nickel -qws \& fi Last edited by tshering; 05-06-2013 at 03:36 AM. Reason: corrected elif to else |
|
![]() |
![]() |
![]() |
#55 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 11824
Join Date: Feb 2013
Device: Kobo Mini/Aura H2O/Aura One LE / Tea Inkpad 3
|
Quote:
No serial informations transmitted to the Kobo after plugin installed. After uninstall of the plugin by the uninstaller KoboRoot.tgz, 3 files still remain in .kobo folder (screenInvertLog, nightmode.sh and screenInv.so) Only thing better, after uninstall completed by deleting manually the 3 files, no need to factory reset. |
|
![]() |
![]() |
![]() |
#56 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
With "serial informations", do you mean the serial port?
http://www.flickr.com/photos/euphy/8522682330/ Please tell me how I can reproduce the problem. Last edited by yoq; 05-06-2013 at 03:13 AM. |
![]() |
![]() |
![]() |
#57 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2013
Device: kobo glo
|
In my opinion battery drain is normal.
|
![]() |
![]() |
![]() |
#58 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,821
Karma: 9503859
Join Date: Dec 2012
Location: France
Device: (Sony (J) PRS 650), Kobo Mini, Kobo Glo HD (broken), Kobo Clara BW
|
|
![]() |
![]() |
![]() |
#59 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
@Mingyar: can you reinstall and re-uninstall the plugin, add a test.sh entry to the kobotweaks.ini and write such a file with:
Code:
cat /etc/init.d/rcS > /mnt/onboard/.kobo/mydebug.log @yoq: ok, let me know if I have understood: you are dynamically linking a C library to nickel bin. The library contains a class, which constructor is automatically invoked. The constructor creates the FIFO. Since this is done at startup, any echo will be directed to the FIFO? Right? Thank you for the C for dummies lesson ![]() |
![]() |
![]() |
![]() |
#60 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 11824
Join Date: Feb 2013
Device: Kobo Mini/Aura H2O/Aura One LE / Tea Inkpad 3
|
Quote:
And yes I use the Calibre's plugin to send epub in kepub format (xxx.kepub.epub) The plugin is described here : https://www.mobileread.com/forums/sho...d.php?t=211135 I'll try to dump the rcS file as soon as possible. Thanks again to take care ![]() Last edited by Mingyar; 05-06-2013 at 11:38 AM. |
|
![]() |
![]() |
![]() |
Tags |
glo, hack, mini, night mode, touch |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Night mode ? | Ethanaul | Kobo Reader | 1 | 07-23-2013 10:23 PM |
does 'night mode' use more power? | pumpkincat | Kobo Tablets | 10 | 02-25-2012 01:39 PM |
Odyssey Anyone using Night-Mode? | DuckieTigger | Bookeen | 2 | 01-28-2012 12:13 PM |
help with night mode | golfgirl | Kobo Tablets | 5 | 11-04-2011 10:40 AM |
Is there a night mode? | zeroh | Nook Color & Nook Tablet | 5 | 12-04-2010 10:24 AM |