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!