Quote:
Originally Posted by Ihatewindows522
How'd it work? Been wanting to try GNOME on my Galaxy Tab for a while now.
|
The touchscreen driver doesn't seem to have any problems. So yeah.
Since I am using Linux Deploy, here is what I did:
1. Download mtev driver from here (either from your chroot linux or android.)
http://forum.xda-developers.com/showpost.php?p=35205246
Find touch.tar.gz
2. Extract it using:
Code:
harlan@localhost~$: tar -zxvf touch.tar.gz
Then you should see a bunch of files.
3. Go into that dir by typing:
Code:
harlan@localhost~$: cd touch
Then there should be another dir called xorg-x11-drv-mtev-0.1.13, cd into that.
4. Copy the prebuilt .so file by typing:
Code:
harlan@localhost~$: sudo cp obj/mtev.so /usr/lib/xorg/modules/input/
And MAKE SURE YOU APPEND THE SLASH AT THE END OR ELSE cp IS GOING TO THINK THAT IT IS A FILE.
ls shows me two drivers already:
Code:
harlan@localhost~$: ls
evdev_drv.so mtev.so
5. Install libmtdev1
Code:
harlan@localhost~$: sudo apt-get install libmtdev1
6. If you have an xorg.conf, go to Section "InputDevice then add an additional line with Driver "mtev".
7. create a config file to configure mtev.
Note: select your appropriate device e.g. /dev/input/event2
But, when in doubt, install evtest package to test it.
8. If you want landscape support, here it is:
8a. Download xinput
Code:
harlan@localhost~$: sudo apt-get install xinput
8b. Configure axes.
Since most touch drivers don't include auto rotation here is how to do it. I got the values from the ubuntu wiki:
https://wiki.ubuntu.com/X/InputCoordinateTransformation
create xinput.sh
Code:
#! /bin/sh
#for standard 90 degree landscape rotation.
xinput set-prop 'touchscreen' 'Coordinate Transformation Matrix' 0 -1 1 0 0 1
Save it and set it as an executable.
Code:
harlan@localhost~$: chmod 755 xinput.sh
Boot up desktop by using an external xserver and go to sessions and startup. Find xinput.sh, save, logout, exit.
8c. Final touches to xorg.conf
Go to the screen section at the bottom then remove # at the beggining of #Option "Rotate" "CW" so it becomes Option "Rotate" "CW"
9. Setup from linux deploy.
Go to Properties or the download button.
Select gui as framebuffer, go to fb options, select fb device to your liking and also input. Then choose stop on the bottom. Because android conflicts with the framebuffer device. Go back then start and if all goes well it should kill android and touchscreen should work as well.
Note. Logout doesn't work properly so you need to hold power button to turn it off. Also everything is not perfect. Of course setup varies from device to device.
Hope this helps you! Good Luck! Just ask me any questions or problem just in case. Also I could post a full blown tutorial sooner or later. Also I need help too, how do I get Sound working in chroot???