![]() |
#16 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
I cannot speak for Windows (no experience setting up the SDK there), but for Linux, it is fairly easy, if you're not afraid of using a shell ![]() You'll save yourself trouble compiling for x86 by developing in a 32bit environment (a couple of packages cast pointers to integer :P ). VM: E.g., download the Nokia Maemo Development VM (Ubuntu Linux) as a basis, and use it in VirtualBox. (I do not actually use the scratchbox environment for the M92, though) In Ubuntu, you can install missing (x86) packages with either the synaptics package manager, or with aptitude, or with apt-get. Cheers. |
|
![]() |
![]() |
![]() |
#17 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
a) getting potential developers together (I see that happening - thank you ![]() b) (indirectly) showing Onyx that there's a potential developer community to incite them to think about opening up (via a developer program or overall) While I agree that the OpenBOOX approach is the most sensible given Onyx's current policy (which I fear is indeed not likely to change ![]() I'd consider it a shame not to offer them cooperation first. Having to reimplement things and work around their closed source is a waste of energy to everyone. _We_ have to reimplement things that already exist (and adapt them when they change APIs). Extensions appear at a much later time than they could. _They_ have to invest additional work to make extensions fit their software, which we'd otherwise integrate. This is why I opened the thread with the proposition to collaborate with Onyx. (Not because I oppose the OpenBOOX approach ![]() Giving examples on things I'd like to see, but which I see hardly or not possible to hack into their binaries: - proper integration of snapshots - disabling the screensaver not to wast battery power on displaying single pages for a long time - adding different scribble colors (basically, all things that require modification of the menu) - adding support for stylus buttons |
|
![]() |
![]() |
![]() |
#18 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
|
I wanted to do that myself, and I came up with a workaround. The whole setup is based on tslib, which dinamically loads plugins (/opt/onyx/arm/lib/ts/*), so it is possible to change the hanvon plugin.
My idea was to create a socket a "smart" application can open to get raw (or simply more informative) packets, diverting them from the normal route. This way you can have full resolution data (1280ppi, versus video resolution, 160ppi), full button control and, more important for me, proper press/release information - right now those events are ignored and some poor man hack is done instead. |
![]() |
![]() |
![]() |
#19 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
I guess one would have to bother with that one anyways... but I don't see how to make gui_shell react to the input... I've pondered about using the DBus, but so far, neither gui_shell, nor system_manager showed any reaction to my (half-hearted) attempts to send them signals. |
|
![]() |
![]() |
![]() |
#20 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
|
Quote:
![]() I'm not sure I understand your second sentence... ![]() ![]() |
|
![]() |
![]() |
![]() |
#21 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
I originally was talking about problems extending onyx's versions of gui_shell and system_manager. Thus the second part was about _using_ the extended functionality in Onyx's firmware. New applications could use the described socket, but gui_shell would not. The next idea was a daemon using the DBus to trigger events in gui_shell and system_manager... but so far I had no luck. The only signals that are broadcast on the system DBus (eavesdropped with dbus-monitor --system) seem * 'Idle' * Volume-related signals, * starting/stopping of applications, * aboutToSuspend * and when a new wifi connection was established. But simply reproducing the signals on the bus by use of dbus-send did not elicit responses, so I assume that applications pay heed to the sender... so I guess that you'd have to spoof the sender. (currently don't know how to do that) |
|
![]() |
![]() |
![]() |
#22 | |||
OpenBOOX developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 10000
Join Date: Jan 2012
Device: BeBook Neo
|
Quote:
There is one major issue, the only documentation available is the code itself, so it can be pretty time consuming to find out how everything should be used ![]() Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#23 | ||||
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
Please correct me, if I got this wrong (I would very much like to be on this point :-| ). At the moment, it seems to me like one'd have to change the naboo source to add new icons to the menu, or to implement new event slots for e.g., stylus button events... that would be unfortunate and most annoying... Quote:
Writing an application, which simply opens a MessageDialog, was easy - I didn't even need to use the screen_update_watchdog explicitely. However, copying the PasswordDialog into another class (I needed access to its private fields), applying only trivial modifications (e.g., changing the window title), I cannot make the screen update behave even if I set a screen_update_watchdog onto it... can someone enlighten me here? Update: Solved - I forgot to setSystemBusy(false) ![]() Quote:
Quote:
Last edited by kodomo; 04-09-2012 at 08:16 PM. |
||||
![]() |
![]() |
![]() |
#24 |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
script ui primitives
Side product of my first steps using the SDK:
I've hacked a few simple applications that may serve as ui primitives when scripting. There's an application to open a message window, an application to open an input dialog, and an application to open a confirmation request window. Moreover, there's an example script using these to allow input of a simple noninteractive shell command and to output its result. Maybe the hacks will be of use to someone. Source and binaries attached. Cheers. |
![]() |
![]() |
![]() |
#25 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 62
Karma: 1114
Join Date: Jan 2012
Device: Onyx Boox M92
|
|
![]() |
![]() |
![]() |
#26 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 320
Karma: 99999
Join Date: Oct 2011
Location: Germany
Device: Onyx Boox M92, Icarus Illumina E653
|
Did somebody try to build Python for M92? Unfortunately, cross-compiling won't work. But maybe there is a chance to compile it inside of an ARM VM. Or did somebody try to cross-compile gcc to compile stuff directly on M92? I admit, that'd be a pretty ... unusual solution though ;-)
Why Python? Simply, because I love it :P Haven't had the time yet to look over your ui primitives, kodomo. But it sounds great and will definitely turn out extremely useful sooner or later. Last edited by tuxor; 04-11-2012 at 04:03 PM. |
![]() |
![]() |
![]() |
#27 | |
M92 info archivist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 1398
Join Date: Jun 2008
Device: IRex Iliad 2nd ed., Onyx Boox M92, Onyx Boox Max Lumi
|
Quote:
![]() (one argument for python would be the integration of peter-x's scribble-to-svg scripts, though ![]() What's the trouble cross-compiling? (cross-compiling bigger projects on the ARM may... take... (more?...) time... '.' ![]() |
|
![]() |
![]() |
![]() |
#28 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 320
Karma: 99999
Join Date: Oct 2011
Location: Germany
Device: Onyx Boox M92, Icarus Illumina E653
|
I didn't even try cross-compiling because on the internet I found lots of disappointed developers that have been unsuccessful trying to cross-compile Python. But okay, there are some reports about working cross-compiling and they aren't even old. See http://randomsplat.com/id5-cross-com...ded-linux.html
Maybe I'll try Python 2.7.2 sometime in the next few days/weeks. BTW: How good are the chances that PyQt will run on M92? I guess not very good because you need those onyx-e-paper modifications? Last edited by tuxor; 04-12-2012 at 02:08 AM. |
![]() |
![]() |
![]() |
#29 | |
OpenBOOX developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 10000
Join Date: Jan 2012
Device: BeBook Neo
|
Quote:
|
|
![]() |
![]() |
![]() |
#30 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 320
Karma: 99999
Join Date: Oct 2011
Location: Germany
Device: Onyx Boox M92, Icarus Illumina E653
|
Veeeery nice. Will continue the discussion in that thread then
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
onyx boox m92 ????????? | matulena | Onyx Boox | 11 | 03-15-2012 12:14 PM |
Boox M92. Spring Bargains. The price of M92 stays reduced for 14 days :) | Booxtor | Onyx Boox | 5 | 03-02-2012 05:16 AM |
Boox M92 Questions | anamardoll | Onyx Boox | 8 | 02-13-2012 01:38 PM |
Annotations on Boox M92 | Marrko | Onyx Boox | 3 | 01-22-2012 11:07 AM |
Kindle Developer Community? | scenox | Kindle Developer's Corner | 8 | 07-30-2010 02:08 PM |