Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Installing a Touchscreen Driver< Next Oldest | Next Newest >
Gregus Offline





Group: Members
Posts: 10
Joined: Nov. 2004
Posted: Jan. 12 2005,20:24 QUOTE

I am running DSL on a Single Board Computer with a 10.4" LCD touchscreen.  I'm trying to install the touchscreen drivers that came with the controller but I'm having trouble with them.  It's supposed to be recognized as a mouse through /dev/ttyS0

Basically these are the instructions:
1) Copy FidFont to /etc
2) Copy "xf86Fidt.so" to /usr/X11R6/lib/modules
3) Modify XF86Config with the following:
    1) Add "ModulePath" to the Files section:
          Section "Files"
            ModulePath "/usr/X11R6/lib/modules"
          EndSection
    2) Add to the "Module" Section
          Section "Module"
             Load "xf86Fidt.so"
          EndSection
    3) Add to the "XInput" Section
          Section "XInput"
             SubSection "FidTouchPanel"
                DeviceName "fidtouch"
                Port "/dev/ttyS0"
                interfacetype "serial"
                ....
                 other config options
                ...
             EndSubSection
          EndSection

Now the directory "/usr/X11R6/lib/modules" didn't exist so I had to make it and put the xf86Fidt.so file in there.  Should this be located somewhere else?  Where are the other input device modules loaded from?

Installed this on my PC under Redhat 9 and it worked fine..

Any help is much appreciated!
Greg
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Jan. 13 2005,03:52 QUOTE

The default X Windows server for DSL does not use the Xfree86 program.

Instead, it is called the KDrive or "TinyX" Xserver.

If you are going to add a custom XFree86 driver for your touchscreen, then you will need to download and install the XFree86.dsl extension from the myDSL repository.

Make sure that you read the *.info file for this extension, since it is not a "One-Click" easy install.
Back to top
Profile PM 
Gregus Offline





Group: Members
Posts: 10
Joined: Nov. 2004
Posted: Jan. 13 2005,13:33 QUOTE

OK here's the scenario:

I have a 128 MB CompactFlash drive with DSL 0.8.1 on it.  I have it setup now so that it boots to fluxbox and then runs a Java GUI on it which is why I need the touchscreen.

How do I go about installing this extension so I permanently have XFree86?  The info files tells me to add those 2 files but i'm kinda sketchy on how to integrate the XFree86.dsl file.  

I was really hoping this touchscreen business would just detect as a mouse.. *sigh*.

Any help would be appreciated.

Thanks,
Greg
Back to top
Profile PM 
Gregus Offline





Group: Members
Posts: 10
Joined: Nov. 2004
Posted: Jan. 13 2005,15:10 QUOTE

Success!

Thanks to "hoed" on #damnsmalllinux irc channel who walked me through it.

Basically I had to put the XFree86.dsl extension into the root of my CF drive which is automatically detected on boot.  Then I had to change the /home/dsl/.xserverrc file to: exec /usr/X11R6/bin.XFree86 -nolisten tcp and finally create the XF86Config file (using one of the examples on henk1955's site).  Then I followed the instructions that came with the touchscreen driver, added the appropriate section to the XF86Config file and it worked first time.

Thanks to all who helped out!
Greg
Back to top
Profile PM 
3 replies since Jan. 12 2005,20:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Installing a Touchscreen Driver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code