• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1] 2
Author Topic: Mimo 740 Touch Display  (Read 19121 times)
mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« on: September 18, 2009, 06:21:47 AM »

Hi All,

Reporting in with limited success on the touch sensitive integration on the Mimo 740.

Built a new kernel using 2.6.30.6 and USB touchscreen support.  Prior to compiling it, I added in the Mimo 740 patch available here:
http://lists.freedesktop.org/archives/libdlo/2009-July/000296.html

Running KDE now, and using my Mimo 740 monitor.

Touchscreen works but needs calibration...  If anyone else is working on this, would love to hear their results.  Feels like it's pretty close to fully working.

Mike
Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #1 on: September 21, 2009, 09:39:49 AM »

Hi all,

OK... have it running really well now. 

In addition to the e2i patch I mentioned above, which I built into a 2.6.30.6 kernel, I used the following xorg.conf:

Code:
Section "Device"
        Identifier      "dl0"
        driver          "displaylink"
        Option  "fbdev" "/dev/fb0"
EndSection

Section "Monitor"
        Identifier "monitor0"
EndSection

Section "Screen"
        Identifier "screen0"
        Device "dl0"
        Monitor "monitor0"
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen  "screen0"
        InputDevice "touchscreen" "CorePointer"
EndSection

Section "InputDevice"
        Identifier "touchscreen"
        Driver "evdev"
        Option "Device" "/dev/input/event3"
        Option "DeviceName" "touchscreen"
        Option "ReportingMode"  "Raw"
        Option "SendCoreEvents" "On"
        Option "Calibrate" "1"
        Option "InvertY" "true"
EndSection

And I created a /etc/hal/fdi/policy/11-x11-synaptics.fdi with the following:
Code:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
 <device>
    <match key="info.product" contains="e2i Technology, Inc. USB Touchpanel">
      <match key="info.capabilities" contains="input">
        <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>
  </device>
</deviceinfo>

The touchscreen now works really well.  The .fdi change was necessary in order to load the evdev driver.  Prior to making the change, I kept loading the synaptics driver, which did not work at all.  (I had to install the evdev with: apt-get install xserver-xorg-input-evtouch).

Still need to find a calibration tool, just in case;  right now, it works really well though.

Cheers!
Mike

Logged

Rabeeh Khoury
Administrator
Full Member
*****

Karma: 5
Posts: 218


View Profile
« Reply #2 on: September 21, 2009, 10:05:01 AM »

nice Smiley

I was about to try the touch screen too.

btw - which rootfs are you using? ubuntu or debian or other?

i had some corrupted graphics when using ubuntu 9.04
Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #3 on: September 21, 2009, 10:40:13 AM »

Hi Rabeeh,

No graphics issues that I can see.

Here's my setup:

root@ubuntu:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

root@ubuntu:~# uname -a
Linux ubuntu 2.6.30.6 #4 PREEMPT Thu Sep 17 14:31:39 UTC 2009 armv5tel GNU/Linux

root@ubuntu:~# kded4 --version
Qt: 4.5.0
KDE: 4.2.2 (KDE 4.2.2)
KDE Daemon: $Id: kded.cpp 944896 2009-03-26 13:00:10Z dfaure $

I downloaded the 2.6.30.6 source tree from kernel.org (http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.6.tar.bz2)
I applied the patches found at http://sheeva.with-linux.com/sheeva/2.6.30.6/

I built the kernel and used your V1.0 installer to install it to NAND.  I used your .config you had posted some time ago as the basis for the make menuconfig - only I added in support for the e2i touchscreen. 

After installing to NAND, I updated the u-Boot to load the rootfs from my USB stick.

I then installed all of the kubuntu desktop.

Then I updated the xorg.conf and the .kdi.  And it all works really nicely.

I'm developing my apps in Qt, so they work really well on the kde desktop. 

Last ingredient has to be a calibration tool.  the touchscreen is off a couple of pixels - high and to the right... makes it so I can't get to the 'x' to kill windows when they are located near the top of the screen.

Besides that, all is really stable and works well.

Mike

Logged

bvwelch
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #4 on: September 21, 2009, 01:16:51 PM »

Mike,

I've been collecting bits and pieces to try this myself, and I really appreciate your taking the time to describe your setup.  I think I follow all of the steps on the kernel and rootfs, but I'm not as confident about the Xorg side of things -- I think there is a displaylink-specific driver for Xorg, rather than a generic fbdev driver?. I will go look at some of your other posts and see if I can figure it out.  But if/when you have a chance, if you could update your description of that side of your setup also, that would be terrific.

Thanks,

Bill
Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #5 on: September 21, 2009, 01:28:22 PM »

Please refer to the thread on this called 'displaylink' under Application Ideas and development Q&A for more information.


Briefly:

I built the kernel, enabling modules.

Then, I downloaded the "all in one package for udlfb and display link at:  http://projects.unbit.it/downloads/udlfb-0.2.3_and_xf86-video-displaylink-0.3.tar.gz

./configure and make install the displaylink driver.
make install the udlfb... make sure you have modpost built... it's in scripts/mod under your linux distro directory.

Then, update the xorg.conf to include the contents I posted in the previous post.

Happy to try to help with any questions... I  have done this process at least 10 times already, as I've been tinkering with the solution, tearing it down and rebuilding it.  I'm no expert though.  Learning as I go along.

Mike


Logged

Rabeeh Khoury
Administrator
Full Member
*****

Karma: 5
Posts: 218


View Profile
« Reply #6 on: September 23, 2009, 05:38:18 AM »

mike,

i had different experience than your's on the mimo 740.
i'm using debian-lenny on that but with evtouch driver (and no evdev).

1. Patch kernel 2.6.31 with displaylink support
2. Patch kernel 2.6.31 with ei touch screen support (attached e2itouch.diff)
3. Build kernel with attached .config
4. Use attached xorg.conf that uses evtouch AND disables xorg mouse support (otherwise all sort of artifacts on clicks will happen).
5. Use calibrate application in order to perform the touch screen calibration. Cut and paste the results and place them in your xorg.conf.

Regards,
Rabeeh


* e2itouch.diff (2.33 KB - downloaded 439 times.)
* .config (63.03 KB - downloaded 414 times.)
* xorg.conf (0.99 KB - downloaded 468 times.)
* calibrate.tar.gz (15.15 KB - downloaded 408 times.)
Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #7 on: September 23, 2009, 06:41:17 AM »

Rabeeh,

Great.  I think the differences were that you are:

1.) Using 2.6.31
2.) Using the  evtouch driver vs. the evdev
3.) Disabling the mouse

I'm not having any issues with interactions between the mouse and the touchscreen...  Maybe because they are both using evdev? 

I would like to try out your calibration utility... wondering if the output will work with the evdev driver... 

Cheers,
Mike


Logged

mike
Jr. Member
**

Karma: 2
Posts: 55


View Profile
« Reply #8 on: September 23, 2009, 12:29:58 PM »

Rabeeh,

Thanks for the calibration utility.  Worked great with my setup.

Will try the other driver as well... have not had time to do so yet.

Mike
Logged

bvwelch
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #9 on: September 29, 2009, 12:09:17 PM »

Thanks to all of you, and the various links, my 740 is working pretty well, although I still have a few issues -- sometimes the touchscreen works, sometimes not.

I've yet to get the webcam to do anything, or to get any sound output.

I'm running Linux 2.6.31 with the config file above, and Jaunty and Gnome desktop.

Sure would like to get Cheese working :-)

-bill
Logged

Rabeeh Khoury
Administrator
Full Member
*****

Karma: 5
Posts: 218


View Profile
« Reply #10 on: September 30, 2009, 03:16:25 AM »

If you place the relevant modules.tar.gz with uImage then the camera should work out of the box with cheese.
Logged

bvwelch
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #11 on: September 30, 2009, 08:10:58 AM »

I haven't dug into Cheese deeply-- perhaps you can make its windows/forms smaller via X11 resource settings?  But 'out of the box', it won't fit on the 800x480 screen.  On a different, larger displaylink monitor, with a different webcam, Cheese is working fine on my 'plug'.

About the Mimo 740's camera, it is hard to say just where the trouble is, but I've yet to get an image out of any of the webcam applications I've tried.  It is detected as a uvcvideo camera, whether that is the correct driver I am not sure yet.  In fact, I am not sure that all of the Mimo 740 have exactly the same camera chips?  I'll boot up again and note the usb vendor and product ids.  thanks! -bill
Logged

erpel
Newbie
*

Karma: 2
Posts: 41


View Profile
« Reply #12 on: October 16, 2009, 07:24:37 AM »


Looks interesting to integrate it with my KNX/EIB Home Automation Centre HOWTO :-) The combination of these two devices beats commercial products in price and in functionality :-)

Nice.
Logged

woutc
Newbie
*

Karma: 0
Posts: 11


View Profile
« Reply #13 on: November 11, 2009, 02:48:26 AM »

Could somebody post the "udlfb-0.2.3_and_xf86-video-displaylink-0.3.tar.gz" as an attachement here?
The download from http://projects.unbit.it/downloads/ doesn't work for me and i didn't find it anywhere else.

Thanks
Logged

woutc
Newbie
*

Karma: 0
Posts: 11


View Profile
« Reply #14 on: November 13, 2009, 12:28:31 PM »

I was able to get the driver and it is working very good!

I have a Mimo 720-S.

Also the touchscreen works, but the X and Y axis are inverted...so if i go to the left, the mouse on the screen goes to the top and if i go to the top, the mouse on the screen goes left  Huh

Is there anyway to fix this?
I also tried the calibration tool but this is my output:
Code:
debian:~/drivers/calibrate# ./calibrator /dev/fb0
(null): cannot connect to X server

So i'm guessing that i have to execute it my X session, but i don't have a keyboard so how did any of you start the program?

Also thanks for the really useful information provided here!
Logged

Pages: [1] 2
Print
Jump to: