LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-02-2009, 04:31 AM   #1
webquinty
Member
 
Registered: Apr 2008
Location: Espaņa
Distribution: Suse
Posts: 227

Rep: Reputation: 32
How to add event ABS_PRESSURE ??


Hello,

I have a touch screen that use usbtouchscreen.c driver from kernel (CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH).

Well, I would like to use this touch with QT and TSLIB, but TSLIB need a event, ABS_PRESSURE, but in this moment, kernel driver do not report this event.

Support events types:
Event type 0x00: unknown
Event type 0x01: Keys or buttons
Event type 0x03: Absolute axis

Absolute Axis:
Absolute axis 0x00: X axis
Absolute axis 0x01: Y axis

My idea is to make a trick and modified driver to report this event, but I do not known where can I do it.

I have checked usbtouchscreen.c in /drivers/input/touchscreen but I do not find anything.

any advice??

Best regards
 
  


Reply



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's package daemon that add to /etc/fstab when you add USB sticks frenchn00b Linux - General 3 01-20-2008 08:30 PM
Fire Event from other event in Visual C++ Express Edition chrisliando Programming 1 11-08-2007 05:12 PM
How to add event remiders in MyLQ? ctkroeker LQ Suggestions & Feedback 0 12-09-2005 02:11 PM
Event logging RajaRC Linux - Networking 2 10-28-2004 12:59 AM
Event Sounds.. jhorvath Slackware 2 10-01-2002 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:22 AM.

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