On Thu, 2009-02-26 at 08:14 -0700, Andrzej Zaborowski wrote:
> 2009/2/26 axel lin <[email protected]>:
> > hi Rusty,
> >
> > 2009/2/20 Rusty Lynch <[email protected]>:
> >> On Thu, 2009-02-19 at 15:49 -0700, axel lin wrote:
> >>> hi,
> >>> I found /etc/X11/xorg.conf does not exist in Moblin2.
> >>> How to config X to add a touchscreen driver?
> >>
> >> Correct, we do not create/install an X config file so that X will auto
> >> detect the hardware and configure itself.
> >>
> >> In cases where I needed a config (like to configure the touchscreen
> >> since I have not found a way of doing this without an xorg.conf), then I
> >> create on on the device via:
> >>
> >> $ Xorg -configure
> >>
> >> ... and then tweak the file and move it to /etc/X11/xorg.conf or copy it
> >> to some device specific configuration package and then craft a device
> >> specific kickstart that installs all the normal packages and then this
> >> new configuration package.
> >>
> >>
> >> But... that sure seems like a hack.
> >>
> >> Any X guys listening?  Is there some kind of an X interface that can
> >> configure a touch screen at run-time making it possible to dynamically
> >> configure the hardware at session startup without having to resort to
> >> installing device specific configuration files?
> >>
> >>
> >>>
> >>> My touchscreen is "eGalax TouchScreen" ( 0eef:0001 ).
> >>> In moblin v1, the evtouch driver works. But I cannot find the evtouch
> >>> driver in Moblin2 yum repository.
> >>
> >> I'll let someone concentrating on the kernel answer this, but IIRC
> >> evtouch was one of those projects that never attempted to push their
> >> code into Linus' kernel which means somebody would have had to
> >> explicitly packaged the out-of-tree kernel driver.
> >
> >  I don't get it.
> >  I thought the evtouch driver is a X input module.
> >  I cannot find evtouch driver package in Fedora and Moblin2 yum
> > repository.  ( Like the xserver-xorg-input-evtouch package in ubuntu
> > ).
> >  In Fedora 10 and Moblin2, I cannot successfully compile evtouch source code
> >  from http://www.conan.de/touchscreen/evtouch.html.

Ok... It's been a while but I remember now.  It's not a out-of-tree
kernel pain, but an out-of-tree X pain.  If somebody hasn't ported
evtouch to the latest greatest X then somebody will have to port the
code.

I haven't looked to see if the evtouch project has recently updated with
the newer ever-evolving X code.

BTW: I've always wondered why the evtouch people didn't push their code
into X

> I suppose it is outdated.  

Ok... just tried packaging evtouch and end up hitting compile errors for
a couple of things that no longer exist in the new X, specifically:

<snip>
evtouch.c:33:25: error: xf86Version.h: No such file or directory
evtouch.c:34:49: error: missing binary operator before token "("
evtouch.c:77:25: error: xf86OSmouse.h: No such file or directory
evtouch.c:142: error: 'XF86_VERSION_CURRENT' undeclared here (not in a
function)
</snip>

The code needs to be ported.  I have no idea if the evtouch project is
already working on this, but I didn't find a source repository with code
that builds on the tip of X.

> You can use the evdev driver on the X side
> (it is in moblin already), but you will need a kernel driver for the
> touchscreen and a xorg.conf file.  I'm using a USB tablet this way.

I've always seen the evdev X driver but never know how to use it.

Is the associated kernel driver something that is in our source
(2.6.29-rcSOMETHING) and just not configured in the build, an
outstanding patch, or an out of tree driver?

    --rusty

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to