Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2018, 06:05 AM   #391
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
For example, in the following, full-screened:
https://www.youtube.com/watch?v=IPBSB1HLNLo
; ) Do I love Jeremy!
Funny you should bring this video up, the one I recorded after Randy's request if very much consistent!

Actually, the flashing and pulsating I see - even huge areas on the screen (not recorded, the right half of the inner firefox space in the "pytorch" page before I enlarged it: a huge rectangle with a sort of static noise effect) - is also on static situations.
(EDIT →) Although I could not make it evident it in the video I am about to upload.

Last edited by mdp; 03-05-2018 at 06:09 AM.
mdp is offline   Reply With Quote
Old 03-05-2018, 06:39 AM   #392
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
So here is a video demonstration of the patched Monitor software in a (simulated) real world session ("coding & computing" area).

https://youtu.be/idjhuxzjD5Q



The published description:

Quote:
A demonstration of the Onyx Boox Max2 as a monitor connected through HDMI to a Linux desktop; new custom features for the monitor software are demonstrated (screen refresh on tap, change rendering mode on tap) which Onyx is encouraged to implement in the mainstream code.

This demonstration runs first a facilitator for pytorch code experimentation, then interacts with a console and a graph representing in real time the evolving model of an artificial neural network approximating a chunk of a sine function.

The taps on the screen are meant to, when appropriate, force a "full screen refresh" (removes ghosting and perfects rendering), or switch the electrophoretic mode to "fast/A2", so the interaction with the desktop elements is faster, or switch to "normal" EPD mode, to get a full quality rendering.
BTW: I kept the audio, so the feedback and the activity are more clear.

Last edited by mdp; 03-06-2018 at 12:22 PM.
mdp is offline   Reply With Quote
Advert
Old 03-05-2018, 08:13 AM   #393
Randy11
Wizard
Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.Randy11 ought to be getting tired of karma fortunes by now.
 
Posts: 1,138
Karma: 1577094
Join Date: Oct 2008
Device: Samsung EB60, Onyx M92, Onyx Max2
Mdp

I like it.
Randy11 is offline   Reply With Quote
Old 03-06-2018, 06:22 PM   #394
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
BTW: I kept the audio, so the feedback and the activity are more clear.
This was very helpful in appreciating the responsiveness as you mentioned, thanks!
sogaiu is offline   Reply With Quote
Old 03-07-2018, 04:13 AM   #395
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Quote:
Originally Posted by mdp View Post
What is left to do is an implementation of the touchscreen as a pointing device, so instead of being forced to a mouse (pad etc.) one could use the pen or finger to interact with the desktop icons, application controls etc. As Onyx recommends to connect the USB cable anyway...
Some preliminary searching suggests that with an appropriate cable, charging + data transfer via USB may be doable in some cases:

https://seap.samsung.com/solution-br...77c1b85f62328c
https://electronics.stackexchange.com/a/85725

Related links:

https://electronics.stackexchange.co...usly-through-a
https://forum.xda-developers.com/sho....php?t=2303902

On a related note, I've been connecting the Max 2 via an external power source -- I guess you've been finding that a connection to a PC's USB port has provided sufficient power. Is that correct?
sogaiu is offline   Reply With Quote
Advert
Old 03-07-2018, 04:54 AM   #396
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
Some preliminary searching suggests that with an appropriate cable, charging + data transfer via USB may be doable in some cases
[...]

On a related note, I've been connecting the Max 2 via an external power source -- I guess you've been finding that a connection to a PC's USB port has provided sufficient power. Is that correct?
We probably need much less than OTG, sending a few packets is sufficient. Maybe just MTP is enough - which should be the default USB mode as you connect the cable.

Probably more like: https://stackoverflow.com/questions/...er-and-capture

Powering the tablet is not a problem, you can do it through the same PC providing the desktop. (And with "Normal" EPD mode, and if you do not have those glitches that update part of the screen every heartbit, you may not even need to power it during operation: the device would discharge much slower.)
mdp is offline   Reply With Quote
Old 03-07-2018, 04:59 AM   #397
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by mdp View Post
Maybe just MTP is enough - which should be the default USB mode as you connect the cable
Or, more in general (besides MTP): we have a USB cable from tablet to desktop computer; with a way to send data from Android code on the tablet and receive them on the desktop computer, the rest should be easy.

EDIT: maybe even and "inverse ADB" (tablet to computer) would be fine...

EDIT2: because normally, the tablet should be recognized as a HID - Human Interface Device - by the personal computer - exactly like a keyboard or mouse, this time providing clicks and coordinates (so like a touchpad). BUT, this is a work for Onyx, we cannot do that here...

Last edited by mdp; 03-07-2018 at 05:17 AM.
mdp is offline   Reply With Quote
Old 03-07-2018, 06:03 AM   #398
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by mdp View Post
sending a few packets is sufficient
The funny thing is that it can already be done, but it's a hack...
In that modified APK I published, I forgot to remove one line where I log the taps.
It is sufficient (but not a full or clean job) to retrieve those lines through a `logcat` stream in some software on the desktop and act accordingly...

I would prefer to send packets to the adb server on the computer. It is not clear to me at the moment how to do it without any hassle to the user: the adb server creates a network on the localhost, I am not user how to access it from the Android device:

tcp 0 0 127.0.0.1:59294 127.0.0.1:5037 ESTABLISHED 4716/adb

Last edited by mdp; 03-07-2018 at 06:05 AM.
mdp is offline   Reply With Quote
Old 03-07-2018, 07:03 AM   #399
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
At least on *NIX, perhaps some of the following pieces might help complete the hack:

https://gist.github.com/scottgwald/6862517
http://www.semicomplete.com/projects/xdotool
https://github.com/rshk/python-libxdo
https://stackoverflow.com/questions/...-module-script

Possibly better alternative to xdotool:

http://tjjr.fi/sw/python-uinput/

Last edited by sogaiu; 03-07-2018 at 07:26 AM.
sogaiu is offline   Reply With Quote
Old 03-07-2018, 08:11 AM   #400
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
At least on *NIX, perhaps some of the following pieces might help complete the hack:

http://www.semicomplete.com/projects/xdotool
I did not know about `xdotool` !
with this, and adb, creating a software to make the Onyx HDMI Monitor work like an input device is as easy as a script (although it remains a hack )

(Can't give you karma, because of phpbb policy - cannot thank you twice in a row.)
mdp is offline   Reply With Quote
Old 03-07-2018, 08:15 AM   #401
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
I used the following to get the pointer location to change:

https://gist.github.com/scottgwald/6862517
https://github.com/PyUserInput/PyUserInput

Granted, this is only for the bottom-right-most corner area...something is not quite right with the coordinates though.

Indentation doesn't appear to be maintained, so I'm editing the script out and I'll try to attach it instead.

Last edited by sogaiu; 03-07-2018 at 08:24 AM.
sogaiu is offline   Reply With Quote
Old 03-07-2018, 08:18 AM   #402
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Nothing to see here, please move along

Last edited by sogaiu; 03-07-2018 at 08:23 AM.
sogaiu is offline   Reply With Quote
Old 03-07-2018, 08:21 AM   #403
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
Second time's the charm...

It should work with python2.

I start it here w/: python2 onyx-monitor-move-pointer-hack.py
Attached Files
File Type: py onyx-monitor-move-pointer-hack.py (1.7 KB, 252 views)
sogaiu is offline   Reply With Quote
Old 03-07-2018, 08:24 AM   #404
mdp
Wizard
mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.mdp ought to be getting tired of karma fortunes by now.
 
Posts: 1,481
Karma: 9010563
Join Date: Jul 2013
Device: none
Quote:
Originally Posted by sogaiu View Post
I used the following to get the pointer location to change:
But you can use the shell directly:

` adb logcat MyApp:W *:S `

and

` xdotool mousemove 123 456 ; xdotool click 1 `

I will do a working (supposedly ) proof of concept in the evening.
Also because I should modify again the Monitor software, to output more clever logs and also detect tap-down (not just tap-up).

EDIT: you have already done it?
mdp is offline   Reply With Quote
Old 03-07-2018, 08:27 AM   #405
sogaiu
Addict
sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.sogaiu can decode base 64 without using a pencil.
 
Posts: 209
Karma: 83543
Join Date: Jan 2018
Device: none
The reason to try a non-xdotool route is simply that each invocation of xdotool is another process being run. May be this is just premature optimization

I didn't do the clicking part, but that's pretty easy to add.
sogaiu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Onyx boox i62 or Onyx boox 92M for PDF reading? tidyboyd Which one should I buy? 16 04-02-2013 04:19 PM
ONYX BOOX 1.5.1 A60/X60/X60S(onyx-international.com) samerghafik Onyx Boox 4 01-03-2011 01:32 AM
Ended Onyx Boox 60 - NEW pashlit Flea Market 2 08-18-2010 04:27 PM
Ended Onyx Boox 60 puglover333 Flea Market 0 05-19-2010 10:05 AM
Onyx Boox 60 S Thomasss News 40 03-03-2010 03:03 PM


All times are GMT -4. The time now is 04:17 AM.


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