![]() |
#181 |
Linux User
![]() Posts: 10
Karma: 10
Join Date: Feb 2015
Device: none
|
Hmm. Well, you might be able to get more knowledgeable responses than here on some dedicated Linux forum, like http://www.linuxquestions.org. While the people there probably wouldn't have prior familiarity with Obuntu or the M92, I don't think they would need to.
|
![]() |
![]() |
![]() |
#182 | |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2013
Device: Onyx Boox M92
|
Hi All,
I hope there's still some interest in this! After many attempts, I finally got Obuntu running on my M92 "black pearl." I had a really hard time getting the mfgtool flash utility to work. I run linux on my computers and attempted to use mfgtool in an XP virtual machine. Although my USB devices work well and I've used it to successfully flash android, mfgtool will not work. I installed XP and it worked well. A few notes: The newest Obuntu image will not work for me. Everything looks fine until I attempt to boot, and then nothing happnes. I worked on it for hours from the USB console, where I saw mysterious mount errors. Once I tried using the 8-16 image, it worked on the first try. --- Anyway, the main reason I'm writing this is to say that I've got a stylus calibration solution! My calibration is now perfect. I'll give an explanation, and if there's interest I'll explain details and/or share my compiled binaries. This method used xinput_calibrator to get calibration settings, which are added to /usr/lib/X11/xorg.conf.d/05-evdev.conf Download xinput_calibrator-0.7.5.tar.gz Install dependencies: sudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev (I also needed to apt-get pkg-config) Compile Extract the downloaded source. Then: ./configure make make install Calibrate xinput_calibrator Follow directions. You can pipe the output to a file to make the next step easier. Save Settings My output looked like this: <merge key="input.x11_options.minx" type="string">16</merge> <merge key="input.x11_options.maxx" type="string">816</merge> <merge key="input.x11_options.miny" type="string">7</merge> <merge key="input.x11_options.maxy" type="string">1188</merge> I entered the values into 05-evdev.conf, to look like this: (I didn't know what device to add the options to, so I added them to each.) Quote:
|
|
![]() |
![]() |
![]() |
#183 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jul 2013
Device: Onyx Boox M92
|
Fixing the buttons is pretty easy. Use xev to get the keycodes and then create an .Xmodmap file.
For now, I've got this: keycode 198 = Up keycode 204 = Down keycode 200 = Left keycode 201 = Right keycode 199 = Prior keycode 205 = Next Here are the keycodes (so you don't have to use xev): Stick: Press = 36 Up = 198 Down = 204 Left = 200 Right = 201 Buttons: Back = 9 Prev = 199 For = 205 The 'home' button isn't assigned a keycode, but that should be fixable. |
![]() |
![]() |
![]() |
#184 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2006
Location: South Korea
|
USB keyboard and Obuntu
Well, after following this thread for a while I finally tried installing Obuntu (17-08-2013 version). It works great! Much faster and more usable than I expected, and I really like how 'quiet' an eink screen is compared to a regular computer monitor.
So far I am using x11vnc to interact with my M92 (actually an Icarus eXcel), but it seems like people have also had success using a USB keyboard and a powered hub? I have tried that but it hasn't worked so far. I tried creating and running a script like crazydog but it seems that the keyboard isn't recognized (dmesg output is below). I was wondering if someone could confirm that USB keyboard works with the 17-08-2013 version? Also, does anyone know if an OTG USB cable is necessary? Any ideas on what might be wrong would be super appreciated. -- [Please use spoiler tags - MODERATOR] Spoiler:
Last edited by Dr. Drib; 05-23-2015 at 07:19 AM. |
![]() |
![]() |
![]() |
#185 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 41374
Join Date: Dec 2014
Device: Onyx Boox M92
|
USB keyboard and Obuntu
Hi,
Yes - I've had no problem getting a wired USB keyboard (pretty much anyone one I tried) to work. You do, if I remember correctly, need an OTG USB cable though. I had less success getting a mouse to work, although that was of less concern to me, as an emacs user. The stylus is still fully functional. Many thanks also to Schoneschein. I'll have to try the improvements you've suggested. Alas, excessive work commitments have kept me away from this forum. I hope to get back to posting here again eventually. |
![]() |
![]() |
![]() |
#186 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2006
Location: South Korea
|
Thanks for confirming that it works. Unfortunately I'm still unable to connect a keyboard though. I connect the M92 to a powered hub (via an OTG cable). Then I plug in a keyboard to the powered hub. From there I run the commands that seaniko posted to get usb up and running (via ssh over wifi).
At least with the OTG I am getting different errors now. It seems to be a protocol error (in dmesg, error code 71), but this is way beyond what I know about linux! So if anyone has any advice it'd be great to hear it. In the meantime, I think I'm going to give the earlier Obuntu version a go. |
![]() |
![]() |
![]() |
#187 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 41374
Join Date: Dec 2014
Device: Onyx Boox M92
|
Hi again,
That's an interesting error - not that I'm any expert in this area - but according to other forums it could even be due to a hardware error somewhere. I don't have my M92 with me but, although it worked with the powered hub, as I remember, I could avoid that by just plugging the keyboard directly into the USB type A female connector while plugging the USB type A male connector into a laptop to power it. The mini-B USB connector then connects directly to the M92. What I'd do was use the stylus and the software keyboard to run crazydog's script from a terminal and then attach the keyboard as above. Perhaps these differences might make a significant enough difference. |
![]() |
![]() |
![]() |
#188 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2006
Location: South Korea
|
Hi Wong McGregor, thanks for taking the time to write up how you got the keyboard working.
I tried the first version seaniko released but I have the same problem. It's strange, right? Oh well, I'm still pretty happy connecting with VNC. As you say, emacs and a keyboard is great (even with the ghosting - I find if I increase the font a bit it stays pretty readable). In the meantime I'm going to do some background reading on linux kernels and modules. I'm a programmer and have been a linux user for a long time, but never really needed to configure a kernel. The M92 is a good reason to learn though! If I ever get it figured out I'll come back to post. |
![]() |
![]() |
![]() |
#189 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 41374
Join Date: Dec 2014
Device: Onyx Boox M92
|
@tweq112
Apologies for the delay in replying, I'm still rather busy at the moment. The great strength of being able to attach a keyboard directly to the M92 and run an editor (or whatever) directly on it is that it does not have the noticable lag that using a VNC application introduces. This isn't to say that there is not a refresh lag relating to the eink screen itself. When I get the time, I hope to clarify the extent of these lags since they are obviously of interest to anyone intending to use such a device in a more interactive way than they would seem to have been intended. I suspect that you are likely to find better linux support in other forums, but anything that you do find is likely to be of interest here. Good luck! |
![]() |
![]() |
![]() |
#190 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2006
Location: South Korea
|
Hi, no problem. I'm also pretty busy here. In the end I was actually able to get the keyboard working without doing anything to the kernel (so there goes my motivation for learning to configure one). I'm not 100% what the problem was yet, but I think what I did was
1. Power off the M92 2. Plug the hub in (with the keyboard connected) and plug it in to the M92 3. Power up the M92, boot Obuntu and run crazydog's script Before I was trying to connect the keyboard to the M92 after it had already been powered on. I'm not 100% that's what made the difference, but I'll give it another try in the next couple days. I think it's a bit faster than with VNC, but that VNC lag wasn't too bad for me... What I appreciate about it is just being able to use it without an additional pc. So, yeah, thanks again for confirming that you had it working. Without knowing that I might have given up on it. Next stop, schoneschein's button fix. |
![]() |
![]() |
![]() |
#191 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 41374
Join Date: Dec 2014
Device: Onyx Boox M92
|
Yes - that is clearly a different order to the one I've been following, hotplugging the keyboard into an already powered on M92. Anyway, clearly the problem isn't insuperable for your hardware which is great.
I think the capacity to attach a wired keyboard is a killer feature of the M92 relative to other 'large' ereaders, if one wants to use it for something other than just reading and annotating PDFs etc. Particularly as it currently does not seem to be possible to even do this on the M96. And, as you say, it also opens up all sorts of interesting mobile options which I'm also hoping to look into. |
![]() |
![]() |
![]() |
#192 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 181956
Join Date: Mar 2014
Device: Sony PRS-T1, Onyx M92, Onyx Boox Max
|
I couldn't get usb hubs to work reliably with my M92, I think I had simlar errors to tweq above. I will try his method of plugging the hub in while the M92 is off.
I use this otg cable now http://www.ebay.co.uk/itm/Mini-USB-5...-/231012922177 and it seems to work OK. I have been using the sequence turn M92 on, run script, plug in mini usb OTG cable. Last edited by skobie78; 06-15-2015 at 04:09 AM. |
![]() |
![]() |
![]() |
#193 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 5348
Join Date: Feb 2012
Device: Onyx Boox M92
|
Could someone do me a favour and comment on the browser abilities in this image? Are there the multiple choices of browsers (like in a 'full' Linux) and how do they perform?
(I am not after anything taxing the h/w, I mainly wish to use it for reading news articles.) Thanks! CJ |
![]() |
![]() |
![]() |
#194 |
Connoisseur
![]() Posts: 59
Karma: 12
Join Date: Nov 2012
Location: Italy
Device: Sony PRS 650, Onyx Boox M92, Onyx Boox Max2
|
Hello everyone. I take interest in Obuntu to ask a few questions I had done some time ago.
1) How do you understand the charge level of the battery? 2) Can you clearly read documents in PDF and DOC Obuntu? 3) You can improve the grayscale screen? |
![]() |
![]() |
![]() |
#195 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 51
Karma: 41374
Join Date: Dec 2014
Device: Onyx Boox M92
|
I'm afraid I'm just getting back to this.
@CJY The browser incorporated in the image is Midori which you can see briefly in this video at about the 7.30 minute mark: https://www.youtube.com/watch?v=rjTJA4-1cxc There should be others available from the Ubuntu 10.04 repository although it went EOL (end of life) sometime ago so I'm not sure how accessible it is. Given the hardware, you are likely to need a light browser like Midori. @rogerpiano Hi Roger, I haven't seen any advance on those fronts. Of course, reading PDFs shouldn't be a problem. As others have done, I'll update this thread as I discover things. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
M92 Screen Update problem with images | Killy | Onyx Boox | 1 | 11-19-2012 12:51 PM |
Android [WIP] Overclocking the PE | plasticarmyman | enTourage eDGe | 16 | 06-11-2012 07:08 PM |
small preview page images | goodnerd | Kindle Formats | 5 | 09-22-2011 11:39 AM |
Seriously thoughtful I always knew Windows was a WIP | GeoffC | Lounge | 4 | 02-06-2010 02:20 AM |
Opinions needed on a WIP ebook | Nate the great | Workshop | 5 | 07-15-2009 11:38 AM |