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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2011, 10:06 PM   #1
Dulin's Books
Wizard
Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.
 
Posts: 2,755
Karma: 12637788
Join Date: Nov 2009
Location: Portland, OR
Device: Boox PB360 etc etc etc
run linux program on Pocketbook 90x?

Are "we" able to install and run a linux program on one of these devices? Is that capability available to linux versed end users?
Dulin's Books is offline   Reply With Quote
Old 09-14-2011, 01:40 AM   #2
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Yes, definitely. You don't even have to root the device. Copy it into /mnt/ext1/applications and it will show up in the Applications menu. You can build E-Ink capable applications using the SDK and install them (I recommend sergeyvl12's version of the SDK). You can also take utility programs from the Debian ARM distribution that LoneTech provided for running under qemu on a desktop system and run them on the Pro and 360+ devices. The devices also have a shell via BusyBox, and you can run scripts on them via Applications or the poterm application. You won't have root privileges (unless you run the get_root app under one of the older firmware versions), but you can do a lot without them. paola maintains a collection of useful information found in this thread: http://www.mobileread.com/forums/sho...d.php?t=119973
rkomar is online now   Reply With Quote
Old 09-14-2011, 02:34 AM   #3
bogomil
Member
bogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterbogomil can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 21
Karma: 12650
Join Date: Apr 2011
Device: PB903
You can see an example how to use ash scripts + FBReader180 for simple UI apps here: http://www.the-ebook.org/forum/viewtopic.php?t=20027
In addition, there is a build of the links browser for pocketbook pro with "app://" protocol:

Quote:
Originally Posted by sergeyvl
links-pro-2011-08-30.zip

Installation:
1. copy system/bin to your system/bin;
2. update extensions.cfg (I've provided and example);
3. copy "links" directory to your internal flash root directory (/mnt/ext1)

"links" directory is an example on how to write scripts. You can open index.html from the bookshelf.

NOTE that url should contain the absolute path to the shell script:

<a>Go to Test1</url><br>

not

<a>Go to Test1</url><br>
bogomil is offline   Reply With Quote
Old 09-14-2011, 08:51 AM   #4
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 2,858
Karma: 3164175
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by Dulin's Books View Post
Are "we" able to install and run a linux program on one of these devices? Is that capability available to linux versed end users?
Yes, we are, just as previous poster said.
Even YOU are able to create, install and run a program, if I give you a very short crash-course.

Said program will be written in Shell script and will be executed from Linux Terminal (that is available as third-party application).
Listing of sample program in shell, called hello.sh
#### beginning of hello.sh file ####
echo "Hello World"
#### end of hello.sh file ####

There are some games, some utilities, such as Terminal Emulator mentioned in previous paragraph, there is ported CoolReader, modified version of FBReader ...

The system installed on device is built on Embedded Debian, and is using BusyBox.
See http://www.emdebian.org/
http://www.busybox.net/
http://en.wikipedia.org/wiki/BusyBox
Quote:
Originally Posted by Wikipedia
BusyBox provides several stripped-down Unix tools in a single executable. It runs in a variety of POSIX environments such as Linux, Android[5], FreeBSD[6] and other proprietary kernels, although many of the tools it provides are designed to work with interfaces provided by the Linux kernel. It is ideally suited to run in embedded devices. It has been self-dubbed "The Swiss Army Knife of Embedded Linux"
...
kacir is offline   Reply With Quote
Old 09-16-2011, 03:45 PM   #5
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 567
Karma: 2519360
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Quote:
Originally Posted by Dulin's Books View Post
Are "we" able to install and run a linux program on one of these devices? Is that capability available to linux versed end users?
What program?

You can't run GUI linux applications that uses GTK,Qt and other libraries. You also can't run programs that uses ncurses. You only can run console applications (re-compilation for arm architecture is needed) and shell scripts.

But there are a lot of programs developed for the pocketbook by community.
sergeyvl12 is offline   Reply With Quote
Old 09-20-2011, 01:35 PM   #6
Dulin's Books
Wizard
Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.Dulin's Books ought to be getting tired of karma fortunes by now.
 
Posts: 2,755
Karma: 12637788
Join Date: Nov 2009
Location: Portland, OR
Device: Boox PB360 etc etc etc
thanks everyone for the input. when i was getting ready to ask this i was stuck on the idea that i really dont know linux. of course i had the answer all along i just needed a hand holding it seems. of course it would have to be something compiled for the device and not just a general "desktop" linux application

im thinking about the problem of better annotations for this and other linux based devices and came across a company that might be able to provide something. of course they need to have a good business case to go through the effort. my customer base is too small but the over all pocketbook base is probably large enough. ill have to see if they are still interested.

thanks for the input
Dulin's Books is offline   Reply With Quote
Old 07-04-2012, 12:00 PM   #7
mclien
42, the answer
mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.
 
Posts: 117
Karma: 17798
Join Date: Sep 2011
Location: Germany
Device: Pocketbook 603
no /mnt/ext1/applications

So I just managed to install poterm, I'm about to test some shell scripts, but I can't find the mentioned /mnt/ext1/applications.
Or is that the path to the sdcard?
if so, can I create custom dirs on he main memory also? Will it be lost with an update?
And do we have cron on the Pocketbook?
mclien is offline   Reply With Quote
Old 07-04-2012, 02:39 PM   #8
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Quote:
Originally Posted by mclien View Post
So I just managed to install poterm, I'm about to test some shell scripts, but I can't find the mentioned /mnt/ext1/applications.
Or is that the path to the sdcard?
if so, can I create custom dirs on he main memory also? Will it be lost with an update?
And do we have cron on the Pocketbook?
/mnt/ext1 is the path to the internal memory that you can write to. /mnt/ext2 is the SD card.

You can create directories in /mnt/ext1, /mnt/ext2, and /tmp. You cannot write to / and ebrmain because they are read-only. If you get root, you can write to /mnt/secure, and also to / and ebrmain if you re-mount them as read/write. Note that the getroot.app program no longer works with the latest firmware versions (but should work with 2.0.6).

Updates replace "/" and ebrmain entirely. They dd new filesystems right to each partition. So, any files written there previously are completely wiped out.

There is no cron.
rkomar is online now   Reply With Quote
Old 07-04-2012, 04:22 PM   #9
mclien
42, the answer
mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.mclien for a long time would go to bed early.
 
Posts: 117
Karma: 17798
Join Date: Sep 2011
Location: Germany
Device: Pocketbook 603
maybe I do it wrong in a way.
I run debian with KDE. When I mount it within the file manager it got mounted
/dev/sdX on /media/Pocketbook
Or do I have to mount manually with other options?
mclien is offline   Reply With Quote
Old 07-04-2012, 05:56 PM   #10
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 1,769
Karma: 4368476
Join Date: Oct 2010
Location: Vancouver, BC, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840
Quote:
Originally Posted by mclien View Post
maybe I do it wrong in a way.
I run debian with KDE. When I mount it within the file manager it got mounted
/dev/sdX on /media/Pocketbook
Or do I have to mount manually with other options?
No. /mnt/ext1 and /mnt/ext2 are the mount points on the reader itself (what you would see when running poterm). From your desktop computer, the two would be mounted somewhere else. Anyway, the applications directory is on the internal RAM partition, and not on the SD card.
rkomar is online now   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
Instructions for obtaining the root to the pocketbook 60x/90x ed007 PocketBook 0 04-26-2011 06:36 PM
ABBYY Wörterbücher nur Testversionen? (Pocketbook Pro 90x, 60x) review PocketBook 7 04-17-2011 11:22 AM
Reversi for Pocketbook 3xx and 60x-90x yuryfdr PocketBook 4 03-07-2011 05:11 PM
Fragen zum Pocketbook 90x Moredread PocketBook 0 09-08-2010 02:15 PM
Pocketbook 90x series abeaty PocketBook 4 06-29-2010 04:49 AM


All times are GMT -4. The time now is 01:28 AM.


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