Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-26-2007, 04:58 AM   #1
LQ Newbie
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Tsharc serial touchscreen not working at gdm login

Hello there,

I am running a FC7 install with a 2.6.21 kernel. My touchscreen is a Hampshire Tsharc serial touchscreen operating on COM4. I have taken their official drivers and following their instructions installed them sucesfully, the touch screen works perfectly once calibrated. The system has a USB keyboard and no mouse connected.

The problem I have is that whenever I am at the login screen, the cursor fails to respond to touch, then as soon as I log in as any user, it operates perfectly.

The Tsharc daemon which detects touch is configured to load at boot time, and confirms to me that it has done so when booting up. Runinng lsof /dev/ttyS3 informs me that the tsarc daemon is in control of the correct serial port

When I touch the screen at the gdm login, the following error is displayed in the tsharc log:

Cannot open Display: 0 Screen: 0

Having tried various xorg.conf settings without success, I am at an end for possible causes to this behaviour. Does anyone have an idea what might be causing this problem between the login screen and being logged into the system?
Old 10-31-2007, 04:20 AM   #2
LQ Newbie
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks to help from my colleague, we managed to solve the problem. Picking up on the error message

Cannot open Display: 0 Screen: 0

we identified that the daemon might not be correctly picking up the display that gdm was using.

The solution was to modify the gdm configuration to restart the Tsharc daemon when gdm initialises, this was done by adding the following command to /etc/gdm/Init/Default

boot.tsharc restart

A cleaner method may be to remove the daemon starting from boot scripts and have it start proper when gdm initialises.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Panasonic ToughBook CF-28 TouchScreen Under Linux - Solved and Working. james_jenkins Linux - Laptop and Netbook 5 04-27-2007 01:08 PM
serial console - working, then "stuck" output and can't login srfeo Linux - General 0 03-29-2007 04:45 AM
cant login via gdm linuxmandrake Ubuntu 4 02-15-2006 04:01 PM
gdm login help moschi Linux - Newbie 2 07-03-2004 12:30 PM
X login using GDM koyi Slackware 2 07-24-2003 11:00 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration