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 or # 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!! Lei |
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. Code:
cat /dev/ts | tee fred |
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.
|
All times are GMT -5. The time now is 12:36 PM. |