Fedora Linux Support Community & Resources Center
  #1  
Old 25th December 2005, 01:16 AM
jokers Offline
Registered User
 
Join Date: Sep 2005
Posts: 7
2.6.14-1.1653_FC4 and egalax driver?

Does anyone have the egalax touchscreen driver working with 2.6.14-1.1653?
Reply With Quote
  #2  
Old 29th December 2005, 09:21 PM
blazingguns Offline
Registered User
 
Join Date: Dec 2005
Posts: 3
The egalax driver uses verify_area. This is Obsolete/deprecated in the 2.6.14 kernel and has been replaced with access_ok.
I modified the tkusb.c source code as follows, the touch screen is now working.

in directory touchkit/usb/
sed -e 's/verify_area(/! access_ok(%/' tkusb.c > tkusb.c.new
mv tkusb.c.new tkusb.c
recompile the driver, load the module and restart tpaneld.
Reply With Quote
  #3  
Old 30th December 2005, 12:12 AM
jokers Offline
Registered User
 
Join Date: Sep 2005
Posts: 7
Lightbulb At least it works for you

At least it works for you... I may have other issues but I can't get it working after the update and still haven't. I already did your code patch before and that helped but my real issue is that everything seems to load up fine, but Xorg.0.log complains about the /dev/tkdat0 entry. It shows an error with OpenSerial...

The touchscreen is unresponsive, so its hard to get a clue where to debug this thing. I think I'll do better just reinstalling fedora fresh.

Thanks for replying and offering me proof that it works for that distro/kernel.

If you can, I would greatly appreciate a full copy of someone's working touchscreen xorg.conf including the modeline's you use... just paste in the whole thing.

What kind of touchscreen do u have? Mine is the Xenarc 700tsv.

-jkrs
Reply With Quote
  #4  
Old 1st January 2006, 02:29 AM
jokers Offline
Registered User
 
Join Date: Sep 2005
Posts: 7
Not working... man this sukx. Ok: I tried going the evtouch_drv.o and got close, but I couldn't stop the erratic mouse movements and even though the touchscreen was responding, it wasn't calibrated properly. I followed the calibration steps using ./calibrate.sh and that sort of helped. I tried SwapY=1 but that didn't do it.

SO I gave up on that route and went back to try tkusb.ko again, the eGalax option. First I patch out the verify_area refs with access_ok, then I compile and installs fine. I have in my xorg.conf file this section:

Section "InputDevice"
Identifier "TKPANEL"
Driver "touchkit"

EndSection
Reply With Quote
  #5  
Old 1st January 2006, 02:34 AM
jokers Offline
Registered User
 
Join Date: Sep 2005
Posts: 7
Not working... man this sukx.

Ok: I tried going the evtouch_drv.o and got close, but I couldn't stop the erratic mouse movements and even though the touchscreen was responding, it wasn't calibrated properly. I followed the calibration steps using ./calibrate.sh and that sort of helped. I tried SwapY=1 but that didn't do it. It was too erratic.

SO I gave up on that route and went back to try tkusb.ko again, the eGalax option. First I patch out the verify_area refs with access_ok, then I compile and installs fine. I have in my xorg.conf file this section:

In ServerLayout: InputDevice "TKPANEL" "SendCoreEvents"

Section "InputDevice"
Identifier "TKPANEL"
Driver "touchkit"
Option "Device" "/dev/tkdat0"
EndSection

And I restart X and NOTHING HAPPENS! I get no errors, I see the driver loads fine and logs happy messages. Xorg.0.log shows it load fine, dmesg shows a clean setup, tkusb is listed under lsmod, tpaneld is running, YET NO TOUCHSCREEN. This touchscreen has worked in early FC3 but now just can't get it working...

If I try cat /dev/tkpanel0 I get this: Bad address. ??? that means what?

Anyone have any clues? This is touchscreen hell and I have to get out, so please help with Fedora...
Reply With Quote
Reply

Tags
driver, egalax, fc4

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eGalax TouchScreen, evdev and Fedora 10 86_64 Martin Kemp Hardware & Laptops 1 2nd April 2009 01:29 PM
Fedora 8 - HP tx1000 (egalax and SELinux) becxjo Hardware & Laptops 0 28th November 2007 08:32 PM
Can't install 2.6.14-1.1653_FC4 kernel... tonyingesson Using Fedora 8 8th January 2006 02:06 AM


Current GMT-time: 14:48 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat