WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Egalax touch screen needs X [SOLVED and Resume]  (Read 19115 times)

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Egalax touch screen needs X [SOLVED and Resume]
« on: January 20, 2011, 10:30:51 AM »
Hi every readers,

I'm looking TC for machine to test performances.

Graphical are very good with Xvesa (only processor is working because of display calculation : what is normal).

But i need touchscreen, and for that, i've asked to EETI : egalax driver works only with X.

I'm starting to understand how it work, but i don't succed to install X (following forum procedure), i suppose because of i945 driver !?!

Then, for both problem, i need to know how i can use .so drivers (egalax, [Edit] i950GMA ...) and convert them to tc format.
(i have also a sound problem)

Thanks

Daniel.

Edit : /var/log/Xorg.0.log
 
Quote
Error: cannot run in framebuffer mode. Please specify busIDs ...
« Last Edit: February 03, 2011, 08:49:48 AM by Daniel »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11040
Re: Egalax touch screen needs X
« Reply #1 on: January 20, 2011, 12:40:39 PM »
Intel drivers need KMS nowadays (load the graphics- extension).
The only barriers that can stop you are the ones you create yourself.

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X
« Reply #2 on: January 21, 2011, 05:35:39 AM »
With Xorg 7.4, i succed to have the Desktop.
But resolution is 800x600. and i have 2 screens (second is partialy displayed under ... with mouse move).
(no vga parameter)
if i set the vga=795 kernel parameter (with nomodeset=1), i've got an error (same with 7.5 Xorg).

With Xorg 7.5, with or without vga=795, and nomodeset=0 kernel parameters, the error is:
Code: [Select]
hsetroot[2972]: segfault ... error 4 in hsetroot[...]
What can i do ?

Thanks
Daniel.

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X
« Reply #3 on: January 21, 2011, 10:11:38 AM »
I've solved one part of the problem : Xorg 7.5 is running!  :)

Reading many threads, i've don't find the solution!
But i've done X -configure xorg.conf generation, put the file in the /etc/X11/xorg.conf and do startx command.
Reading /var/log/xorg.0.log, i see the error modeset not activated (with nomodeset=0 on kernel command line).

I try the kernel command line (with on both vga=795) modeset=1!

It's run!  :)

I have now to configure touchscreen (and sound).

Thanks
Daniel.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Egalax touch screen needs X [first step ok]
« Reply #4 on: January 22, 2011, 04:37:23 PM »
I'm looking to  buy a samsung nb30 touch
you succeded to put the driver egalax on tinycore?
if you give me some steps?

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X [first step ok]
« Reply #5 on: January 24, 2011, 08:12:33 AM »
I've install egalax drivers on ubuntu 10.04 - 10.10 ... 8.04 ...
i thing i know a little more :)

I think i am on the right way
1 generate xorg.conf
2 Do eGalax setup
3 add files to backup list (/opt/.filetool.lst) :
etc/X11/xorg.conf
usr/local/lib/X11/modules/input/egalax_drv.so
usr/local/eGalaxTouch32/TKCal/TKCal
usr/bin/TKCal     (
usr/local/eGalaxTouch32/EgalaxTouch

4 You can change the eeti.param place in xorg.conf in a persistant place, or add it to the backup list

5 reboot

6 Run /usr/local/eGalaxTouch32/EgalaxTouch : do configuration and calibration

7 reboot.


Now, the touchscreen is running ...
But X is almost using old driver - actions done.

I will see how to deactivate it (blacklist ? kernel parameter ? ...)

Daniel.

« Last Edit: January 24, 2011, 10:14:35 AM by Daniel »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Egalax touch screen needs X [one more step ok]
« Reply #6 on: January 24, 2011, 12:11:26 PM »
Quote
Now, the touchscreen is running ...
But X is almost using old driver - actions done.

I will see how to deactivate it (blacklist ? kernel parameter ? ...)

This  means that still does not work?

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X [one more step ok]
« Reply #7 on: January 24, 2011, 12:17:51 PM »
Not at all.

When i touch the screen, i have a context menu displayed ... as i have before with the X configuration.

I need to deactivate the old driver ... in kernel command line ?

I've asked directly to the right person (i think) and i'm waiting for the response.

I will tell when all is ok!

Daniel.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Egalax touch screen needs X [one more step ok]
« Reply #8 on: January 24, 2011, 12:46:54 PM »
to clacklist kernel modules there is a blacklist=moduletoblacklist boot code
dCore user

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X [one more step ok]
« Reply #9 on: January 25, 2011, 02:49:15 AM »
In fact, it's running!! :)

i have only the context menu displayed when i touch screen on the desktop. (due to kernel touch screen driver ?!?)

:)

If anybody know how to do that

Daniel

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X [one more step ok]
« Reply #10 on: January 27, 2011, 04:14:02 AM »
Hi,

I've got au few more questions.

- I want do dynamicaly deactivate keyboard. I need a script to do that, and an other to activate it.
  i know it is possible with xorg.conf, but it is necessary to quit my application (or reboot).
  an other way could be to configure all keys to do nothing (or what i want) !?! (how?)

- I've installed TCL with X (and eGalax driver for touch screen) on a machine.
  I need to do the same thing on an other, but X is not starting. I suppose a graphic driver problem : chipset US15W - intel.
  What have i to do ?
  - try the new EMGD driver packaged for TCL?
  - is there a scecific configuration to have ?

thanks

Daniel.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11040
Re: Egalax touch screen needs X [one more step ok]
« Reply #11 on: January 27, 2011, 04:57:01 AM »
Quote
chipset US15W - intel.

Ew, another Poulsbo. Nothing but vesa will run on that, try the xorg.conf.vesa example.
The only barriers that can stop you are the ones you create yourself.

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X [one more step ok]
« Reply #12 on: January 27, 2011, 05:59:31 AM »
Thanks! :)
I have a look to xorg.vesa ...
Yes, it is running with Xvesa :)

I am under X 7.5.

The X -configure command has an error.
I put the xorg.conf.new generated, and the Xorg.0.log joined.

do you think i can generate the new driver and use it in that configuration ?

Thanks
Daniel.



Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11040
Re: Egalax touch screen needs X [one more step ok]
« Reply #13 on: January 27, 2011, 01:03:48 PM »
No, don't use -configure, I meant to copy the example xorg.conf and use it.

Quote
sudo su
cd /etc/X11
cp xorg.conf.vesa xorg.conf
The only barriers that can stop you are the ones you create yourself.

Offline Daniel

  • Full Member
  • ***
  • Posts: 166
Re: Egalax touch screen needs X [one more step ok]
« Reply #14 on: January 28, 2011, 05:52:22 AM »
Yes!
It is running :)

But i don't have the same graphical performances :(


I have to try the new intel emgd driver.

Perhaps ...

Thanks,
Daniel.