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-02-2015, 12:49 PM   #181
tqk
Linux User
tqk began at the beginning.
 
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.
tqk is offline   Reply With Quote
Old 04-05-2015, 03:58 AM   #182
schoneschein
Member
schoneschein began at the beginning.
 
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:
# Catchall classes for input devices
# We don't simply match on any device since that also adds accelerometers
# and other devices that we don't really want to use. The list below
# matches everything but joysticks.

Section "InputClass"
Identifier "evdev pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection

Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "minX" "16"
Option "minY" "7"
Option "maxX" "816"
Option "maxY" "1188"
#Option "swapY" "1"
EndSection

Section "InputClass"
Identifier "evdev tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "minX" "16"
Option "minY" "7"
Option "maxX" "816"
Option "maxY" "1188"

EndSection

Section "InputClass"
Identifier "evdev touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "minX" "16"
Option "minY" "7"
Option "maxX" "816"
Option "maxY" "1188"

EndSection
And then reboot or restart x!
schoneschein is offline   Reply With Quote
Old 04-05-2015, 05:29 AM   #183
schoneschein
Member
schoneschein began at the beginning.
 
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.
schoneschein is offline   Reply With Quote
Old 05-22-2015, 11:27 PM   #184
tweq112
Junior Member
tweq112 began at the beginning.
 
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:

dmesg output


dfsl-ehci fsl-ehci.1: remove, state 1
fsl-ehci fsl-ehci.1: roothub graceful disconnect
usb usb1: USB disconnect, address 1
usb usb1: unregistering device
usb usb1: usb_disable_device nuking all URBs
fsl-ehci fsl-ehci.1: shutdown urb 8b45d460 ep1in-intr
usb usb1: unregistering interface 1-0:1.0
fsl-ehci fsl-ehci.1: stop
fsl-ehci fsl-ehci.1: reset command 01000a (park)=0 ithresh=1 period=256 Reset HALT
fsl-ehci fsl-ehci.1: irq normal 0 err 512 reclaim 16 (lost 0)
fsl-ehci fsl-ehci.1: complete 16 unlink 0
fsl-ehci fsl-ehci.1: ehci_stop completed status 1000 Halt
fsl-ehci fsl-ehci.1: USB bus 1 deregistered
Freescale USB OTG Driver loaded, $Revision: 1.55 $
j=128569 [fsl_otg_probe] pdev=0x8075aec8

j=128569 [fsl_otg_conf]
j=128580 [usb_otg_start] initial ID pin=1

ARC USBOTG Device Controller driver (1 August 2005)
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 42:4f:a8:f1:e5:24
usb0: HOST MAC 7e:d4:1b:27:fe:51
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
Suspend udc for OTG auto detect
j=128595 [fsl_otg_set_peripheral] ID pin=1

USB Gadget resume begins
dr_controller_run: udc out low power mode
USB Gadget resume ends
fsl-usb2-udc: bind to driver g_ether
ID int (ID is 0)
ID int (ID is 1)
b_session_irq_enabletgsc=0x9202d20
b_session_irq_enabletgsc=0x1202d20
USB Gadget resume begins
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
initializing FSL-SOC USB Controller
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: reset hcs_params 0x10011 dbg=0 ind cc=0 pcc=0 ordered ports=1
fsl-ehci fsl-ehci.0: reset hcc_params 0006 thresh 0 uframes 256/512/1024 park
fsl-ehci fsl-ehci.0: can't setup
fsl-ehci fsl-ehci.0: USB bus 1 deregistered
fsl-ehci fsl-ehci.0: init fsl-ehci.0 fail, -110
fsl-ehci: probe of fsl-ehci.0 failed with error -110
initializing FSL-SOC USB Controller
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.1: reset hcs_params 0x10011 dbg=0 ind cc=0 pcc=0 ordered ports=1
fsl-ehci fsl-ehci.1: reset hcc_params 0006 thresh 0 uframes 256/512/1024 park
fsl-ehci fsl-ehci.1: park 0
fsl-ehci fsl-ehci.1: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
fsl-ehci fsl-ehci.1: ...powerdown ports...
fsl-ehci fsl-ehci.1: supports USB remote wakeup
fsl-ehci fsl-ehci.1: irq 14, io base 0x53f80200
fsl-ehci fsl-ehci.1: reset command 080b02 park=3 ithresh=8 period=1024 Reset HALT
fsl-ehci fsl-ehci.1: init command 010009 (park)=0 ithresh=1 period=256 RUN
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
usb usb1: default language 0x0409
usb usb1: udev 1, busnum 1, minor = 0
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: Freescale On-Chip EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.35.3-power ehci_hcd
usb usb1: SerialNumber: fsl-ehci.1
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: individual port power switching
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: Single TT
hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
hub 1-0:1.0: power on to power good time: 20ms
hub 1-0:1.0: local power source is good
hub 1-0:1.0: enabling power on all ports
drivers/usb/core/inode.c: creating file '001'
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
ID int (ID is 0)
ID int (ID is 1)
b_session_irq_enabletgsc=0x1200d20
b_session_irq_enabletgsc=0x1200d20
USB Gadget resume begins
ID int (ID is 0)
b_session_irq_enabletgsc=0x1000c20
udc suspend begins
USB Gadget suspend ends
b_session_irq_enabletgsc=0x1000c20


Last edited by Dr. Drib; 05-23-2015 at 07:19 AM.
tweq112 is offline   Reply With Quote
Old 05-25-2015, 02:06 AM   #185
Wong McGregor
Connoisseur
Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.
 
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.
Wong McGregor is offline   Reply With Quote
Old 05-26-2015, 08:08 PM   #186
tweq112
Junior Member
tweq112 began at the beginning.
 
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.
tweq112 is offline   Reply With Quote
Old 05-27-2015, 04:11 AM   #187
Wong McGregor
Connoisseur
Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.
 
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.
Wong McGregor is offline   Reply With Quote
Old 05-30-2015, 05:12 PM   #188
tweq112
Junior Member
tweq112 began at the beginning.
 
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.
tweq112 is offline   Reply With Quote
Old 06-07-2015, 11:54 AM   #189
Wong McGregor
Connoisseur
Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.
 
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!
Wong McGregor is offline   Reply With Quote
Old 06-12-2015, 05:39 AM   #190
tweq112
Junior Member
tweq112 began at the beginning.
 
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.
tweq112 is offline   Reply With Quote
Old 06-14-2015, 08:46 AM   #191
Wong McGregor
Connoisseur
Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.
 
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.
Wong McGregor is offline   Reply With Quote
Old 06-15-2015, 04:04 AM   #192
skobie78
Enthusiast
skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.skobie78 can program the VCR without an owner's manual.
 
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.
skobie78 is offline   Reply With Quote
Old 07-11-2015, 04:55 AM   #193
CJY
Zealot
CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!CJY , Klaatu Barada Niktu!
 
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
CJY is offline   Reply With Quote
Old 07-12-2015, 02:55 AM   #194
rogerpiano
Connoisseur
rogerpiano began at the beginning.
 
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?
rogerpiano is offline   Reply With Quote
Old 07-28-2015, 05:20 AM   #195
Wong McGregor
Connoisseur
Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.Wong McGregor is an enigma wrapped up in a mystery.
 
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.
Wong McGregor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 02:05 PM.


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