07-18-2006, 09:53 AM | #1 |
Addict
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
|
Iliad internals
I think we should stop discussing the hacking stuff in the general user-oriented threads, hence I started this one.
What I really love: This is /usr/bin/do_updates.sh: Code:
#!/bin/sh echo "No updates needed." Some general things:
|
07-18-2006, 11:48 AM | #2 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
Well, let me be positive. As far as we know, they could be thinking already in a 2.6 update. This should be very convenient for the usb and bluetooth layers (but no bluetooth in this hardware). On other hand, perhaps 2.4 is less resource hungy. libxrandr2 is present. This mean the screen can be rotated. http://syslog.movial.fi/archives/7-x...nokia-770.html There is a terminal in the serial port. I am guessing the window manager expects all the applications to run in fullscreen. This should explain why the xpdf does not zoom: zoom keys are disabled in the fullscreen mode, at least in my desktop system. |
|
Advert | |
|
07-18-2006, 01:39 PM | #3 |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Ali, could you repeat the process dump with the xpdf running?. If the zoom problem is that it is running as xpdf -fullscreen then we could perhaps try to patch it or to launch with other options. Or perhaps it is in -remote mode (it should be the trick to remember the pages and all that).
|
07-18-2006, 02:24 PM | #4 | |
Addict
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
|
Quote:
Code:
[USER_SETTING] language=en_EN volume=1 longkeypresstimeout=500 [USER_PROFILE] name=XXX email=XXX password=XXX redirectUrl=https://ids.irexnet.com:443/redirector [VERSION] registry=24 [BOOKS_CATEGORY] locationArray=/opt/content/books; searchType=or searchRecursive=false searchStringArray=; searchFieldArray=; sortFieldType=title sortAscending=true [NEWSPAPERS_CATEGORY] locationArray=/opt/content/newspapers; searchType=or searchRecursive=false searchStringArray=; searchFieldArray=; sortFieldType=title sortAscending=true [DOCUMENTS_CATEGORY] locationArray=/opt/content/documents; searchType=or searchRecursive=false searchStringArray=; searchFieldArray=; sortFieldType=title sortAscending=true [NOTES_CATEGORY] locationArray=/opt/content/notes; searchType=or searchRecursive=false searchStringArray=; searchFieldArray=; sortFieldType=title sortAscending=true [MODE_CATEGORY] locationArray=/var/mode; searchStringArray=; searchFieldArray=; searchType=or searchRecursive=false sortFieldType=fsname sortAscending=true [MAIN_CATEGORY] locationArray=/mnt/free; searchStringArray=; searchFieldArray=; searchType=or searchRecursive=false sortFieldType=title sortAscending=true [CF_CATEGORY] locationArray=/mnt/cf; searchStringArray=; searchFieldArray=; searchType=or searchRecursive=false sortFieldType=title sortAscending=true [SD_CATEGORY] locationArray=/mnt/card; searchStringArray=; searchFieldArray=; searchType=or searchRecursive=false sortFieldType=title sortAscending=true [USB_CATEGORY] locationArray=/mnt/usb; searchStringArray=; searchFieldArray=; searchType=or searchRecursive=false sortFieldType=title sortAscending=true [DOWNLOAD_HISTORY_CATEGORY] locationArray=/var/downloadhistory; searchStringArray=; searchFieldArray=; searchType=or searchRecursive=false sortFieldType=date sortAscending=false [BOOK_LASTREAD] extension=pdf documentPath=/opt/content/books/catcher2.pdf manifestPath= position= [NEWSPAPER_LASTREAD] extension=html documentPath=/opt/content/newspapers/viewthings.html manifestPath= position= [DOCUMENT_LASTREAD] extension=pdf documentPath=/opt/content/documents/kuhn04approx.pdf manifestPath= position= [NOTE_LASTREAD] extension=xeb documentPath=/opt/content/notes/Notepad.xeb manifestPath= position= [USER_APPLICATIONS] uaIDList=BROWSER;XPDF;APABIMOBI;IMAGEVIEWER;SETUP;PROFILES;ARINC;EBA [BROWSER] category=viewer arguments=<MANIFEST> <FILENAME> exec=/usr/bin/browser xResourceName=browser channel=1 extensions=XHTML;xhtml;html;HTML;htm;HTM;txt;TXT [XPDF] category=viewer arguments=<FILENAME> exec=/usr/bin/xpdf xResourceName=win channel=2 extensions=pdf;PDF; [APABIMOBI] category=viewer arguments=<FILENAME> exec=/usr/bin/xebreader xResourceName=xebreader channel=5 extensions=xeb;XEB; [IMAGEVIEWER] category=viewer arguments=<MANIFEST> <FILENAME> exec=/usr/bin/scribble xResourceName=scribble channel=7 extensions=jpg;JPG;jpeg;JPEG;png;PNG;bmp;BMP [SETUP] category=setup arguments= exec=/usr/bin/setup xResourceName=setup channel=3 extensions= [PROFILES] category=setup arguments= exec=/usr/bin/connectionMgr --edit-only xResourceName=connectionMgr channel=12 extensions= [ARINC] category=viewer arguments=<FILENAME> exec=/usr/bin/arinc xResourceName=arinc channel=13 extensions=ari;ARI [EBA] category=viewer arguments=<FILENAME> exec=/usr/bin/eba xResourceName=eba channel=14 extensions=eba;EBA [ICONS_GRAYSCALE_16] iconID=battery;bookmark;collapse;connectivity;copy;cut;empty;error;erase;expand;filemanager;fontlarger;fontsmaller;keyboard;orientation;paste;pen;pen1pixel;pen3pixel;pen5pixel;pen7pixel;penheavier;penlighter;penpressure;selecttext;share;summarize;trashcan;zoomin;zoomout; battery=/usr/share/pixmaps/battery00_grey.png;/usr/share/pixmaps/battery00.png;/usr/share/pixmaps/battery01.png;/usr/share/pixmaps/battery02.png;/usr/share/pixmaps/battery03.png;/usr/share/pixmaps/battery04.png;/usr/share/pixmaps/battery05.png; bookmark=/usr/share/pixmaps/bookmark.png;/usr/share/pixmaps/bookmark_grey.png;/usr/share/pixmaps/bookmark_selected.png; collapse=/usr/share/pixmaps/collapse.png;/usr/share/pixmaps/collapse_grey.png;/usr/share/pixmaps/collapse_selected.png; connectivity=/usr/share/pixmaps/connectivity00_grey.png;/usr/share/pixmaps/connectivity00.png;/usr/share/pixmaps/connectivity01.png;/usr/share/pixmaps/connectivity02.png;/usr/share/pixmaps/connectivity03.png;/usr/share/pixmaps/connectivity04.png; copy=/usr/share/pixmaps/copy.png;/usr/share/pixmaps/copy_grey.png;/usr/share/pixmaps/copy_selected.png; cut=/usr/share/pixmaps/cut.png;/usr/share/pixmaps/cut_grey.png;/usr/share/pixmaps/cut_selected.png; empty=/usr/share/pixmaps/empty.png;/usr/share/pixmaps/empty_grey.png;/usr/share/pixmaps/empty_selected.png; error=/usr/share/pixmaps/error.png; erase=/usr/share/pixmaps/erase.png;/usr/share/pixmaps/erase_grey.png;/usr/share/pixmaps/erase_selected.png; expand=/usr/share/pixmaps/expand.png;/usr/share/pixmaps/expand_grey.png;/usr/share/pixmaps/expand_selected.png; filemanager=/usr/share/pixmaps/filemanager.png;/usr/share/pixmaps/filemanager_grey.png;/usr/share/pixmaps/filemanager_selected.png; fontlarger=/usr/share/pixmaps/fontlarger.png;/usr/share/pixmaps/fontlarger_grey.png;/usr/share/pixmaps/fontlarger_selected.png; fontsmaller=/usr/share/pixmaps/fontsmaller.png;/usr/share/pixmaps/fontsmaller_grey.png;/usr/share/pixmaps/fontsmaller_selected.png; keyboard=/usr/share/pixmaps/keyboard.png;/usr/share/pixmaps/keyboard_grey.png;/usr/share/pixmaps/keyboard_selected.png; orientation=/usr/share/pixmaps/orientation.png;/usr/share/pixmaps/orientation_grey.png;/usr/share/pixmaps/orientation_selected.png; paste=/usr/share/pixmaps/paste.png;/usr/share/pixmaps/paste_grey.png;/usr/share/pixmaps/paste_selected.png; pen=/usr/share/pixmaps/pen.png;/usr/share/pixmaps/pen_grey.png;/usr/share/pixmaps/pen_selected.png; pen1pixel=/usr/share/pixmaps/pen1pixel.png;/usr/share/pixmaps/pen1pixel_grey.png;/usr/share/pixmaps/pen1pixel_selected.png; pen3pixel=/usr/share/pixmaps/pen3pixel.png;/usr/share/pixmaps/pen3pixel_grey.png;/usr/share/pixmaps/pen3pixel_selected.png; pen5pixel=/usr/share/pixmaps/pen5pixel.png;/usr/share/pixmaps/pen5pixel_grey.png;/usr/share/pixmaps/pen5pixel_selected.png; pen7pixel=/usr/share/pixmaps/pen7pixel.png;/usr/share/pixmaps/pen7pixel_grey.png;/usr/share/pixmaps/pen7pixel_selected.png; penheavier=/usr/share/pixmaps/penheavier.png;/usr/share/pixmaps/penheavier_grey.png;/usr/share/pixmaps/penheavier_selected.png; penlighter=/usr/share/pixmaps/penlighter.png;/usr/share/pixmaps/penlighter_grey.png;/usr/share/pixmaps/penlighter_selected.png; penpressure=/usr/share/pixmaps/penpressure.png;/usr/share/pixmaps/penpressure_grey.png;/usr/share/pixmaps/penpressure_selected.png; selecttext=/usr/share/pixmaps/selecttext.png;/usr/share/pixmaps/selecttext_grey.png;/usr/share/pixmaps/selecttext_selected.png; share=/usr/share/pixmaps/share.png;/usr/share/pixmaps/share_grey.png;/usr/share/pixmaps/share_selected.png; summarize=/usr/share/pixmaps/summarize.png;/usr/share/pixmaps/summarize_grey.png;/usr/share/pixmaps/summarize_selected.png; trashcan=/usr/share/pixmaps/trashcan.png;/usr/share/pixmaps/trashcan_grey.png;/usr/share/pixmaps/trashcan_selected.png; zoomin=/usr/share/pixmaps/zoomin.png;/usr/share/pixmaps/zoomin_grey.png;/usr/share/pixmaps/zoomin_selected.png; zoomout=/usr/share/pixmaps/zoomout.png;/usr/share/pixmaps/zoomout_grey.png;/usr/share/pixmaps/zoomout_selected.png; [NW_0] name=wlan/home connection=1 proxy=false addressmode=1 ssid=XXX channel=0 wirelessmode=0 wepmode=2 wepkey=XXX [NW_1] name=wlan/home connection=1 proxy=false addressmode=1 ssid=XXX channel=0 wirelessmode=0 wepmode=2 wepkey=XXX [NW_2] name=eth/home connection=0 proxy=false addressmode=1 [NETWORK_CONFIG] networklist=NW_0;NW_1;NW_2; wired= wireless= |
|
07-18-2006, 02:34 PM | #5 | |
Addict
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
|
Quote:
(The "S" in "SD" stands for secure, which, just like with tcpa, is not security for the user, but intellectual property bullshit) Also, I'd second your worries about being resource hungry. |
|
Advert | |
|
07-18-2006, 02:37 PM | #6 | |
iLiad Geek
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
|
Quote:
|
|
07-18-2006, 02:40 PM | #7 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
Quote:
Same for Sony binaries. Someone please check the binaries in http://dftuz.unizar.es/~rivero/lbdjvu.tgz except the clearpic/putpic.arm code, which is sony-specific (and could cause havoc in the iLiad framebuffer!!!) and the getTTkeys scripts (again, sony based hardware), the rest of the software could be useful. If it is not, I am pretty sure it can be recompiled for the iLiad. In fact I should, because I did not compiled the pnm2jpeg tool. Last edited by arivero; 07-18-2006 at 03:08 PM. |
|
07-18-2006, 03:13 PM | #8 | |
Addict
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
|
Quote:
|
|
07-18-2006, 03:36 PM | #9 |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
It could be feasible to add types .smallpdf and .bifpdf to launch different zoom options of the xpdf. That should be a temporary path
Also intriguing could be to try xpdf -cont. Some preprocessing must be involved here. |
07-18-2006, 06:51 PM | #10 | |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
erbusyd takes care of /dev/buttons... but in theory it is just a "eReader busy indicator daemon"
displayMgr manages somehow the e-ink display. Quote:
powerMgr reads the battery, beeps on low charge and all that. contentLister is the file manager. It somehow supercedes other tasks, for instance it also opens /dev/buttons and /dev/fb0 etc/er_registry.txt is accessed by erregInit but no by contentLister. Strange. (EDIT: this happens because all the other programs access to the register via liberreg) I have a minor question. I can not see who executes home/root/start.sh EDIT: OK, it is in rc5.d as S99start Last edited by arivero; 07-18-2006 at 07:07 PM. |
|
07-18-2006, 07:04 PM | #11 |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
/usr/lib/ipkg/info is a funny place to look
|
07-19-2006, 05:00 AM | #12 | ||
Addict
Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
|
there are some things you might try:
remove the line /usr/bin/wireless.sh stop from/home/root/start.sh and check if wlan works on startup (ssh might be usefull if you foobar your display settings) Quote:
Quote:
/usr/bin/Xfbdev -screen 768x1024x8 -3button -dpi 100 -ac & from/home/root/start.sh to /usr/bin/Xfbdev -screen 768x1024x8@90 -3button -dpi 100 -ac & and restart your iliad. Please tell me if it worked PS: please have a look at /etc/matchbox/kbdconfig and try the listed key combinations. |
||
07-19-2006, 05:58 AM | #13 | |
Member
Posts: 20
Karma: 56
Join Date: Jul 2006
Location: Hamburg, Germany
Device: IRex Iliad
|
Quote:
Nothing changed, seems as if the content listener app, which is supposedly running in fullscreen mode as to the default behavior of matchbox, does not care if its 90 degrees turned or not... bad luck... |
|
07-19-2006, 06:12 AM | #14 |
iLiad Maniac
Posts: 1,382
Karma: 2369
Join Date: Apr 2006
Location: Germany
Device: Bookeen Opus (i love that thing) and iPad (what an irony)
|
i tried to start xpdf from the command line, and it tells me that DISPLAY is not set properly. Do you think it will work if i set DSIPLAY to 127.0.0.1 ? I have absolutely no clue about X11 programming, guess i have to read a book now
*loads xlib programming to his iLiad* |
07-19-2006, 06:15 AM | #15 |
iLiad Geek
Posts: 110
Karma: 10
Join Date: Jul 2006
Location: Regensburg / Germany
Device: iLiad #505; Sony T1, Amazon Paperwhite first Gen & sec is coming!
|
Try 0.0.0.0:0 or 127.0.0.1:0
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-500 Reader Internals 2.0 (pics!) | lint | Sony Reader Dev Corner | 60 | 11-18-2013 08:25 AM |
Kindle DX Internals | revilo | Amazon Kindle | 0 | 06-15-2009 04:50 AM |
Kindle 2 Internals | JSWolf | Amazon Kindle | 19 | 02-27-2009 02:45 PM |
PRS-500 Reader internals | igorsk | Sony Reader Dev Corner | 108 | 04-17-2008 05:04 PM |
PRS-500 Connect internals | igorsk | Sony Reader Dev Corner | 1 | 10-12-2006 04:50 AM |