![]() |
#61 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
First generation Kobo doesn't seem to have an internal SD-Card but rather a Samsung flash memory component: see https://www.mobileread.com/forums/showthread.php?t=83612
This being said, when I plug it to USB, it opens a drive with an architecture that seems very similar to the Kobo WiFi, including the .kobo folder... Too bad I cannot run any command, like "fbset" to learn more about it. |
![]() |
![]() |
![]() |
#62 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
It is possible to boot from external SD-Card on the 1st gen as well. There were already some (light) hackings done: http://code.google.com/p/kobo-hacks/wiki/README
Booting from external SD should allow me testing hacks without injuring the Kobo too much, I guess? |
![]() |
![]() |
Advert | |
|
![]() |
#63 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Kobo to execute a runme.sh script then I'll see what I can do to help you get python running on it. |
|
![]() |
![]() |
![]() |
#64 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Well, I'm afraid I cannot do it
![]() I downloaded the firmware update SD-Card content from https://www.mobileread.com/forums/showthread.php?t=94133 (second link from angusrobertson.com) and untared to an ext3 formatted SD-Card. I booted my kobo 1st gen from the SD-Card with D-pad center button + power, but the kobo freezes after the 7th square has appeared in the lower right corner. I've waited up to 10mn, nothing occurs. Only way to exit is pressing center pad + power about 2 seconds, 2 times in a row to make the kobo reboot. I have been fighting 2 straight days, trying everything: reformatting the SD-Card, modifying the /etc/init.d/rcS file (among others to run a runme.sh script at the base of SD-Card containing a simple "/bin/show_pic /pic/01.jpg"), keeping it intact, playing with "show_pic" and "led" but the result is always the same. I have the latest kobo 1st gen firmware 1.8.3 and it seems the "boot from SD-Card" functionality has been deactivated in this version ![]() |
![]() |
![]() |
![]() |
#65 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Oops it seems I spoke too fast
![]() ![]() What's the next step? I will need help to install Python I guess. In the meantime I will learn Python ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Here is my goal of what I would like to obtain on the kobo 1st gen. The information needs to be clear, big and in b&w, nothing to distract and only relevant information for people who have cognitive disorders such as Alzheimer's.
Biggest fonts are used for name of the day and period of the day (morning/noon/afternoon/evening/night, should be configurable depending on country sun's hour and/or user habit, in an old people's home for example the evening is quite early!). Also the month appears in full letters. I have already experimented with success on my grandmum, dedicated a very old laptop to that and it is very useful to her when she uses it. Problem is the laptop is now falling into pieces and the backlight forces her to close it every night and if we don't go there she forgets to open it the day after. Won't happen with the kobo. Important thing: the program should be easily configurable for other languages (in my case I will use French) for all parts of labels and names of days of months and of seasons. Also time could be chosen to be set in 12 hours format or 24 hours format. As for the screen refresh frequency, I was first thinking to do it every 5mn (would show 15:05 then 15:10 then 15:15...) but my motivation was to save battery and it is inconsistent with the Kobo being plugged at all time for a non-stop usage I guess.. so every minute will do Last edited by mougino; 12-12-2012 at 08:26 PM. |
![]() |
![]() |
![]() |
#67 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2012
Device: Kobo Glo
|
Very good work for this weather app !
Can we do this on a Kobo Glo ? |
![]() |
![]() |
![]() |
#68 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
@KevinShort I have installed Python on the SD-Card, changed all paths in the sh scripts and modified the crontab to update every minute. I am now making the Python script to display the perpetual calendar. I will keep you posted of how it goes.
Last edited by mougino; 12-14-2012 at 08:36 AM. |
![]() |
![]() |
![]() |
#69 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Quote:
that creates an image with the text "Hello" in the upper-left corner and then calls the Kobo's "show_pic" command to display the image. If that script works, then creating the display you want won't be hard at all. |
||
![]() |
![]() |
![]() |
#70 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
One question: the main difference between the weather app and my app is that my app is in landscape. Will it work if I define a
Code:
pygame.Surface((800, 600)) Code:
convert_to_raw(screen) |
![]() |
![]() |
![]() |
#71 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Nevermind, found the answer: need to do a
Code:
finalscreen = pygame.transform.rotate(screen, -90) convert_to_raw(finalscreen) |
![]() |
![]() |
![]() |
#72 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Quote:
Code:
echo 1 > /sys/class/graphics/fb0/rotate |
|
![]() |
![]() |
![]() |
#73 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,545
Karma: 74358018
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The /sys is I believe a "pseudo" file system; it's not actually files or directories on any file system; rather it's an interface into the Linux O/S on the Kobo.
|
![]() |
![]() |
![]() |
#74 |
Member
![]() Posts: 11
Karma: 10
Join Date: Dec 2012
Device: Kobo 1st gen
|
Another question: in install-python.sh, there is a
Code:
for i in /mnt/onboard/.python/pygamelibs/*; do mv $i /usr/lib; done |
![]() |
![]() |
![]() |
#75 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
Quote:
on Wifi's that have an 8-bit framebuffer, but since I edited the script to work on all Wifis the echo command could be removed completely. |
||
![]() |
![]() |
![]() |
Tags |
hacking, kobo wifi |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Odd; Kobo-purchased book reads fine on Desktop, WiFi and Sony -but not on Kobo Touch. | beautifulsoup | Kobo Reader | 4 | 07-17-2012 09:29 AM |
Kobo Touch in cold weather | Judsuw | General Discussions | 15 | 06-02-2012 06:23 PM |
Sync epubs between Kobo app and Kobo wifi? | emilikins | Kobo Reader | 1 | 11-17-2011 04:12 PM |
Kobo Desktop App v1.7 onboard Kobo WiFi | ZombWii | Kobo Reader | 6 | 10-20-2010 12:24 PM |
Forrester upgrades sales forecast by 50% | xoox | News | 0 | 10-10-2009 04:11 AM |