I bought a Lilliput 669GL monitor with touch screen via USB (eGalax).
It works ok, at 800x480, but for the hdmi cable: bad quality... not
well shielded.
Took few days trying to install the touch screen driver in Ubuntu
10.10 but it's resulting very difficult. The issue is that the driver
is only compatible for distributions which used xorg.conf. (Ubuntu 8
and previously I think). The script that installs the driver doesn't
work if doesn't find /etc/X11/xorg.conf.
Googling I found one way to create this file:
- enter in console mode
- stop gdm
- Xorg -configure
The command returns a list of video drivers a later:
No devices to configure. Configuration failed.
dxxSigGiveUp: Closing Log
So file xorg.conf is not created...
I've also tried to create a blank file and to use one template found
in '/usr/share/doc..' In both cases I got install the driver but once
I reboot the system it freezes up in:
[ OK ]bling additional executable binary formats binfmt-support
Well... I managed to boot X11: changing permissions...
I've installed the latest version of the driver (beta version), but
when I reboot and try to execute the calibration tool I get:
Well... I managed to boot X11: changing permissions...
I've installed the latest version of the driver (beta version), but
when I reboot and try to execute the calibration tool I get:
finally I've decided to move to Android: Ubuntu runs too slow for my
needs.
Now I'm more confused than ever in how to enable a touch screen on the
BB.
I've been "googling" a lot but I haven't found any useful info. I've
just got one conclusion: I must to use tslib. I didn't find any
successful project using android + egalax touch screen: it seems that
this panel is not completely USB HID compliant.
Any advice? Does anyone know any usb touch screen tested and
documented in Android?. I have no problem in change my TS or/and my
TFT (lilliput)...
The X-server is automated that's why entries in xorg.conf will not
work.
I'm going to try once more and see what happens.
Did not receive much from the cat /dev/input/evtouch_event until now
I've been doing more attempts... trying to make it work my touch
screen: there was no way. I've built Android's file system with TSlib
but it still not working. I can't see anything when I touch the
screen: no event.
After googling a lot, I only have read many many problems with egalax
TS in linux in general and no one successful case in Android. So, I
surrender.
I can't understand how is so difficult to make it work a TS in
android. It doesn't make sense: all the tablet PCs and mobile phones
that use Android have a TS....
Can someone give a hint please? Any TS verified for beagle board in
Android?
In the announcement of Froyo 2.2, in this forum, is said that touch
screen is supported from previous releases. I asked but no one
response to me:
finally I found a successful and easy way, at least to me, to use any
resistive touchscreen with the BB on any OS . My experiences ( I hope
will be useful for some of you):
EGALAX TOUCH DRIVER: Usb touchscreen controller very common on small
monitors (overcoat for cars). Not HID compliant. Drivers are not
compatible with ARM architecture. I couldn't make it work in any OS
(Ubuntu, Angstrom and Android).
TSHARC OCTOPUS. USB touchscreen controller for 4,5 and 8 wires. Ideal
if you buy the TFT and the touchscreen separately. HID compliant.
Drivers work perfectly with ARM. CONS: board is quite expensive (80$)
and hard to find.Don't work in Android. On other hand you can build
your own board, the schematic is easy and you just need the IC (10$)
and few additional components but... the minimum order for the IC
rounds 40 parts (distributed by Microchip).
ADS7846: Probably the most robust solution. I'm newbie on ARM and
almost on Linux. By now I think I'm not able to rebuild the kernel and
make it work. In the future I would like to use this solution.
CUSTOM CONTROLLER. The way I've taken finally. Use any 8bit
microcontroller with USB DEVICE and AD converter (5$-8$). Use the AD
converter to take the touches later send the data to the BB emulating
a USB mouse (the protocol is easy). Cheap, easy and driver is not
needed: works with UBUNTU, ANGSTROM and ANDROID. CONS: 1. You need to
have some experience in uC&USB. 2.The mouse cursor is not elegant, at
all: I'm working in hide it.
That's funny, I used an egalaxy ts today in angstrom on an am3517 board without problems. Just a matter of installing xf86-input-evtouch and calibrating it.
That is encouraging.
Can you share how you did it.
It probably depends what kind of version angstrom and driver mixture
you have.
In my casa I could not get it to work.
The calibration tool would always crash.
Can you share your setup.
Like:
USB Vednor Product
Angstrom version.
xf86 driver version
Settings you did manually
etc...
I too have this screen. Installed in my car. I currently have the latest Ubuntu Natty demo image image from rcn-ee.net installed. (Very nice! Thanks Robert!). Ubuntu picks up the touch screen as a hid device but the input is all over the screen, seemingly random. I’m not sure what tack to take, the drivers distributed by Lilliput and EETI seem to have some source, and some binary utilities… only for x86 and x86_64. I haven’t tried to compile their drivers yet, If it were that easy I imagine someone here would have succeeded.
Looking over the history of usbtouchscreen.c, it doesn’t look like this patch has been applied. I am going to attempt to apply this patch and see what happens. I am totally new to touchscreens in Linux and I’m not really sure where to go from there. Should I comment out the line that ignores this device ID, will that make the OS see the input as a touchscreen rather than a mouse?
Anyway, I expect I will find out when I get around to recompiling the kernel.
I calibrated, but I haven't yet been able to get the calibration to
stick with udev rules or an x.org config file.
There are 2 event inputs with the same name, so you can't set the
input properties by name and the device ID's aren't the same every
time, so to restore my calibration right now I just run this script:
#!/bin/bash
for i in `xinput list | grep eGalax | sed -e 's/.*id=\(.*\)\t.*/\1/g'`
do
xinput set-prop $i "Evdev Axis Calibration" 174, 3976, 3967,
295
xinput set-prop $i "Evdev Axes Swap" 1
done
and my clicks work quite well on my Lilliput at 800x480, although the
cursor seems to have a tenancy to jump to the left side of the screen
and then back while dragging or selecting, I'm not exactly sure why.
It is quite usable though.
@Manu… have you gotten any further on this? I have a zytronic zxy100 controller with a touchscreen, i need to get it working in android. The zytronic people said they had a client get it working with BB and android…
Today I recompile kernel and enable touchscreen for egalax by make menuconfig. And it works well.
Follow this guide to recompile kernel and I did those steps: