Did you know LQ has a Linux Hardware Compatibility List?
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 03-16-2005, 10:35 PM   #1
LQ Newbie
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
cat /dev/ts

Hi there,

I am having great trouble trying to get a trace of my touch screen on Sharp Zaurus SL5600. It is running a Linux 2.4.18 with Qtopia. I know this might not be the perfect place to ask but I really need some help.

All I want to do is to record the touch screen events (by catting /dev/ts to a file) and meanwhile, send the events normally to the screen. After this, I want to play back the events I recorded. It is this simple, but when I tried with this:

# cat /dev/ts
# cat /dev/ts > fred

the system doesn't seem to be receiving any pen events, no matter what I click on the touch screen. Although I could see that there are unreadable outputs in the console (or in the fred file).

What shall I do to record the /dev/ts activity without stop the touch screen from sending events?? And how do I play back??

Any thoughts will be hugely appreciated!!

Old 03-17-2005, 01:00 AM   #2
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Well, then you cat a device, you'll get gibberish outputted.
But, if you want the gibberish outputted both to the console and a file, you want the tee command.
cat /dev/ts | tee fred
Old 03-17-2005, 01:43 PM   #3
LQ Newbie
Registered: Mar 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you! But I don't want it to be output to the console. I want the events sent to the system and meanwhile, written to the file so that I can record them.


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
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 01:46 PM
cat /dev/ts lyang1981 Linux - Software 2 03-17-2005 02:13 AM
cat /dev/ts on Zaurus lyang1981 Linux - Laptop and Netbook 3 03-17-2005 02:12 AM
why did cat /dev/urandom send my printer insane ? qwijibow Linux - Newbie 1 12-01-2003 04:41 AM
mandrake cat > /dev/dsp no response jahm Linux - General 6 06-19-2003 12:55 PM

All times are GMT -5. The time now is 09:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration