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
Pages: (3) </ 1 [2] 3 >/

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

reply to topic new topic new poll
Topic: X and touchscreen< Next Oldest | Next Newest >
pst Offline





Group: Members
Posts: 9
Joined: Oct. 2005
Posted: Oct. 21 2005,18:06 QUOTE

Update:

I now have my touchscreen working under XFree86 with my frugal hdd install.

First I checked the XFree86 log file (/var/log/XFree86.0.log) to see if X liked my configuration file and loaded the module for the touchscreen. It did.

I then double checked the hardware one more time to make sure that there was power to the touchscreen (it's a panel PC so it has LCD, touchscreen and cpuboard in one box).

After some research how to see what was transmitted on the serial port I tried:

"cat /dev/ttyS0"

Nothing happend. I tried with "cat dev/psaux" to see if the mouse transmitted anything while moving it - it did.

I tried the second serial port "cat /dev/ttyS1" and some garbled characters filled my screen when I touched it - the com-ports where switched. Argg  ???

After changing my XFree86Config-4 file everything worked as expected.

Maybe this info can help some other poor soul in the future.

Best,
Peter
Back to top
Profile PM 
scanman717 Offline





Group: Members
Posts: 1
Joined: Oct. 2005
Posted: Oct. 24 2005,23:48 QUOTE

hey PST, I am trying to get one of these penmount monitors going for an embedded application..  Could you possibly post your working XF86Config-4 file???

Thanks
Back to top
Profile PM 
pst Offline





Group: Members
Posts: 9
Joined: Oct. 2005
Posted: Oct. 25 2005,14:16 QUOTE

Below is my XF86Config-4 file.

I use Vesa and forced the screen resolution to fit the monitor. I got tricked by "default depth" from the start since I had it at 24 bits but the embedded graphic controller can only do 16 bit.

The MinX, MaxX etc parameters are there to "calibrate" the touchscreen.

Code Sample

Section "ServerLayout"
Identifier "VESA device"
Screen 0 "Screen0" 0 0
InputDevice "MousePS2" "CorePointer"
InputDevice "Penmount" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection


Section "ServerFlags"
 # allowed to close X windows with ctrl+alt+backspace /PST
 # DontZap
 AllowMouseOpenFail
EndSection

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
#FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
#FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load  "dbe"
Load  "extmod"
# Load  "fbdevhw"
Load  "dri"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver      "keyboard"
Option    "XkbRules" "xfree86"
Option    "XkbModel" "pc105"
Option    "XkbLayout" "us"
EndSection


Section "InputDevice"
Identifier    "MousePS2"
Driver        "mouse"
       Option        "CorePointer"
Option        "Device"                "/dev/psaux"
Option        "Protocol"              "imPS/2"
       Option        "Emulate3Buttons"       "true"
Option        "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
Identifier    "Penmount"
Driver        "penmount"
Option        "Device"                "/dev/ttyS1"
Option        "Protocol"              "Auto"
       Option        "PMode"                 "1"
Option        "MinX"                  "580"
Option        "MaxX"                  "45"
Option        "MinY"                  "430"
Option        "MaxY"                  "40"
EndSection

Section "Device"
Identifier "vesa"
driver "vesa"
VendorName "x"
BoardName "y"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName   "x"
ModelName   "y"
# HorizSync   31.5 - 48.5
# VertRefresh 50.0 - 70.0
# Option     "dpms"
EndSection


Section "Screen"
Identifier "Screen0"
Device     "vesa"
Monitor     "Monitor0"
DefaultDepth     16
SubSection "Display"
Depth     16
Modes    "640x480"
EndSubSection
EndSection


Section "DRI"
Mode         0666
EndSection
Back to top
Profile PM 
andrea1110 Offline





Group: Members
Posts: 5
Joined: Sep. 2006
Posted: Sep. 26 2006,14:50 QUOTE

I am trying to install the Penmount touch screen on a geode small board computer with a 512MB compact flash as the hard drive.  I have not gotten it to work.  My compact flashes stop working after I start configuring and installing the XF86.  Do I only need to install the xfree86 dsl extension?  DSL is installed to the hard drive.  I would greatly appreciate any help.
Thanks,
Andrea
Back to top
Profile PM 
zeF Offline





Group: Members
Posts: 8
Joined: Mar. 2007
Posted: April 11 2007,22:54 QUOTE

Quote (pst @ Oct. 11 2005,19:24)
Hi,
I have a Geode system with a touchscreen (Penmount) that runs "successfully" on Fedora Core 3.

Having experimented with DSL on other computers I was wondering if it's possible to set up a touchscreen in the X server that DSL uses?

Thanks,
Peter

HI,

I have Geode system with Elo touchscreen.

I'm trying to get the "touch" working.

it is connected to com1, i believe ttyS0.

can you share your steps/experiences on setting up the touch screen.  Thanks.
Back to top
Profile PM 
10 replies since Oct. 11 2005,23:24 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: X and touchscreen

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