01-26-2013, 01:39 PM | #1 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Running Opera Mobile on Kobo (Glo/Touch)
Hello,
I dont know if it is possible or if it is madness but I've tried adding Opera Mobile (the ARM version released for Meego) to the Kobo Glo (firmware 2.3.1) but it fails. Actually I've uncompressed the above Opera archive in the Kobo root using ftp and telnet so that Opera binary is in /usr/bin/, opera lib in /usr/lib etc. I have also created soft links to the required Qt libraries : Code:
/usr/lib/libQtCore.so.4 -> /usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib/libQtCore.so.4 /usr/lib/libQtDBus.so.4 -> /usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib/libQtDBus.so.4 /usr/lib/libQtGui.so.4 -> /usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib/libQtGui.so.4 /usr/lib/libQtXml.so.4 -> /usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib/libQtXml.so.4 Code:
[root@(none) lib]# /usr/bin/operamobile EINK: driver not found Aborted |
01-26-2013, 08:12 PM | #2 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Since opera isn't really telling us much about what's going wrong, it might help to use strace to see which files it's looking for. I've attached a strace binary that works on the Kobo. It can be run like this:
Code:
./strace /usr/bin/operamobile |
Advert | |
|
01-27-2013, 04:16 AM | #3 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Thanks a lot.
I've run it through strace and there is the trace (I put it on a separate file cause it's big). But I see no mention of "EINK" in it though. |
01-27-2013, 07:20 AM | #4 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
If I read the log well, it seems it can't handle the QtGui event _ZN12QApplication14x11EventFilterEP7_XEvent.
Here is a lighter version of the trace where I removed the lines where it looked for a file in a bad directory (iff it actually finds the file later). |
01-27-2013, 07:50 AM | #5 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
You need to run it like this: https://www.mobileread.com/forums/sho...d.php?t=201584
and specifiy the LD_Library_Path (see shell script in the above link) Also you need to add the Eink drivers from that thread |
Advert | |
|
01-27-2013, 12:38 PM | #6 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
I've tried with the above drivers and also with the "KoboLauncher" I've found in that post and now I have different error logs (yes it keeps failing, which is not a surprise).
The script I run is : Code:
#!/bin/sh export QT_PLUGIN_PATH=/usr/local/Trolltech/QtEmbedded-4.8.0-arm/plugins/qt_drivers export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.8.0-arm/lib export QWS_MOUSE_PROTO=KindleTS export QWS_DISPLAY=Transformed:kindlefb:Rot90 /mnt/onboard/strace /usr/bin/operamobile Code:
semop(32769, 0xffffffff, 2127714872) = 0 writev(2, [{"/usr/bin/operamobile", 20}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"/usr/bin/operamobile", 20}, {": ", 2}, {"undefined symbol: _ZN12QApplicat"..., 61}, {"", 0}, {"", 0}, {"\n", 1}], 10/usr/bin/operamobile: symbol lookup error: /usr/bin/operamobile: undefined symbol: _ZN12QApplication14x11EventFilterEP7_XEvent ) = 127 exit_group(127) = ? Code:
write(2, "Did not receive a connection eve"..., 55Did not receive a connection event from the qws server ) = 55 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(955, 955, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- rt_sigaction(SIGABRT, {SIG_DFL, [ABRT], SA_RESTART|0x4000000}, {0x2b9b1044, [ABRT], SA_RESTART|0x4000000}, 8) = 0 semctl(32768, 0, IPC_64|IPC_RMID, 0) = 0 tgkill(955, 955, SIGABRT) = 0 sigreturn() = ? (mask now [ILL BUS FPE USR1 SEGV USR2 TERM STOP TSTP]) --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++ Aborted Code:
write(2, "Cannot mix incompatible Qt libra"..., 89Cannot mix incompatible Qt library (version 0x40800) with this library (version 0x40804) ) = 89 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(936, 936, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- rt_sigaction(SIGABRT, {SIG_DFL, [ABRT], SA_RESTART|0x4000000}, {0x2b9926d4, [ABRT], SA_RESTART|0x4000000}, 8) = 0 semctl(950278, 0, IPC_64|IPC_RMID, 0) = 0 tgkill(936, 936, SIGABRT) = 0 sigreturn() = ? (mask now [QUIT]) --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT +++ Aborted |
01-27-2013, 12:53 PM | #7 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
You need to run operamobile with -qws argument.
Ofcourse kill nickel first Last edited by koenieee; 01-27-2013 at 01:14 PM. |
01-27-2013, 05:46 PM | #8 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
It goes farther with the "-qws" switch but it still displays the _ZN12QApplication14x11EventFilterEP7_XEvent error:
Code:
ScreenPlugin::ScreenPlugin() ScreenPlugin::create() KindleTS::KindleTS KindleTS(kindlets, ) Warning: Cannot connect to the D-Bus session bus. OPERA_DIR not set, assuming "/usr/share/operamobile" /usr/bin/operamobile: symbol lookup error: /usr/bin/operamobile: undefined symbol: _ZN12QApplication14x11EventFilterEP7_XEvent |
01-27-2013, 07:50 PM | #9 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I attempted to get opera to run myself. If you run the following commands before starting opera it gets rid of the D-Bus warning:
Code:
eval $(dbus-launch --sh-syntax) export BUS_SESSION_BUS_ADDRESS export DBUS_SESSION_BUS_PID Last edited by KevinShort; 01-27-2013 at 07:53 PM. |
01-28-2013, 08:21 AM | #10 |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
"It goes farther with the "-qws" switch but it still displays the _ZN12QApplication14x11EventFilterEP7_XEvent error:"
It seems that you need X-server and Qt with X11 support. |
01-28-2013, 09:42 AM | #11 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
I think you need to find an alternative of Opera. And it need to be opensource, so we can compile it ourselfs. In QT ofcourse
|
01-30-2013, 02:31 PM | #12 |
Member
Posts: 24
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
Well I've tried installing an X Server (and it was actually painful) but that didn't help.
Maybe the installed Qt version does not have X11 support but I have no clue how to check that. About giving up opera and trying an other and open source browser, why not. I tried Opera because it is known to be lightweight and it actually had ARM versions (and I also like it on desktop PC). But if Chromium or Firefox Mobile are easier to get running on Kobo, I'm ready to give them a try. |
01-30-2013, 03:09 PM | #13 | |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Kindlepdfviewer running on Kobo Glo! | giorgio130 | Kobo Developer's Corner | 148 | 01-05-2014 01:50 AM |
Glo How to import reading Life Statistics from Kobo Touch to Kobo Glo? | the_m | Kobo Reader | 5 | 12-13-2012 03:40 PM |
Kindlet: Opera Mini / Opera Mobile Port To Kindle, | nathansuchy | Kindle Developer's Corner | 2 | 11-20-2012 11:20 AM |
Kobo Glo fonts compared to Kobo Touch | RobertJSawyer | Kobo Reader | 3 | 10-11-2012 12:10 AM |
Kobo Glo Vs Kobo Touch Sizes (Want to use my Skindigital cover) | Chocky | Kobo Reader | 3 | 09-25-2012 10:47 AM |