Main Page | Report this Page
Linux Forum Index  »  Linux Development - System  »  No device entry for TSC2003 Touch screen driver in...
Page 1 of 1    

No device entry for TSC2003 Touch screen driver in...

Author Message
kracks...
Posted: Tue Oct 20, 2009 2:30 am
Guest
Hi all,
I added TSC2003 driver for touch screen which i obtained from
internet for davinci platform having linux kernel
2.6.10.
Links which i referred is
http://labs.beatcraft.com/en/index.php?plugin=attach&refer=Software%2FAndroid%2Fbc9%2Fkernel(1%2F2)&openfile=tsc2003.c
http://git.openmoko.org/git/openmoko.git/packages/linux/linux-2.6.21/tsc2003.c


I tried adding in two places /drivers/i2c/chips or in input/
touchscreen
No where i find the /dev entry

If at all I add in /drivers/i2c/chips what will be driver entry and
how can i access from application.
Is there any reference for it.

I tried
open("/dev/i2c-0", flag)
But failed in opening the device.

Suggest me

Regards
Kirthika
 
Phil Carmody...
Posted: Wed Oct 21, 2009 12:05 pm
Guest
kracks <kirthikaiitm at (no spam) gmail.com> writes:
Quote:
Hi all,
I added TSC2003 driver for touch screen which i obtained from
internet for davinci platform having linux kernel
2.6.10.
Links which i referred is
http://labs.beatcraft.com/en/index.php?plugin=attach&refer=Software%2FAndroid%2Fbc9%2Fkernel(1%2F2)&openfile=tsc2003.c
http://git.openmoko.org/git/openmoko.git/packages/linux/linux-2.6.21/tsc2003.c

I've not checked that one, but I know that Palm releases a tsc2003
driver for their pre platform (I've not reviewed it thoroughly,
but I seem to remember it either has a dodgy state machine, or
severely functionally limited), and Nokia have just released a
driver for it too (based on 2.6.2Cool. Regarding the latter, search
for a post by Aaro Koskinen on linux-input in the last week or so.
For a uniprocessor system, the state machine of the latter's rock
solid, and it's more functional than any other driver I've seen.
If you can build that Nokia one, then I can give you some pointers
how to use it. (Pretty simple - it's an input device, and it
also works well with tslib, for example.)

Phil
--
Any true emperor never needs to wear clothes. -- Devany on r.a.s.f1
 
Phil Carmody...
Posted: Wed Oct 21, 2009 1:13 pm
Guest
Phil Carmody <thefatphil_demunged at (no spam) yahoo.co.uk> writes:
Quote:
kracks <kirthikaiitm at (no spam) gmail.com> writes:
Hi all,
I added TSC2003 driver for touch screen which i obtained from

Arse. Fuzzy eyes after a long day at work. Wrong model - I read that
as 2005, which is another of their i2c ones.

Phil
--
Any true emperor never needs to wear clothes. -- Devany on r.a.s.f1
 
kracks...
Posted: Fri Oct 23, 2009 6:43 am
Guest
On Oct 22, 4:13 am, Phil Carmody <thefatphil_demun... at (no spam) yahoo.co.uk>
wrote:
Quote:
Phil Carmody <thefatphil_demun... at (no spam) yahoo.co.uk> writes:
kracks <kirthikai... at (no spam) gmail.com> writes:
Hi all,
 I added TSC2003  driver for touch screen which i obtained from

Arse. Fuzzy eyes after a long day at work. Wrong model - I read that
as 2005, which is another of their i2c ones.

Phil
--
Any true emperor never needs to wear clothes. -- Devany on r.a.s.f1

I did i2c based application in user space for reading X and Y position
of touch screen temporarily.
Thanks a lot for suggestions
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Wed Nov 25, 2009 12:18 am