* touch screen on 2430sdp not giving X and Y values
@ 2007-10-26 12:32 arun c
2007-10-26 16:01 ` Girish
0 siblings, 1 reply; 8+ messages in thread
From: arun c @ 2007-10-26 12:32 UTC (permalink / raw)
To: linux-omap-open-source
Hi all,
I am working on 2430sdp. I am using the kernel linux-2.6.14-omap2-v4.
I wanted to use the touch screen on sdp. I built the kernel using the
default configuration came with the kernel source.
I downloaded the evtest.c from net to test the touch screen.
If i run it on 2430sdp i am getting the below result.
./a.out /dev/input/event1
Input driver version is 1.0.0
Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0
Input device name: "omap_tsc2046"
Supported events:
Event type 0 (Sync)
Event type 1 (Key)
Event code 330 (Touch)
Event type 3 (Absolute)
Event code 0 (X)
Value 0
Min 0
Max 0
Event code 1 (Y)
Value 0
Min 0
Max 0
Event code 24 (Pressure)
Value 0
Min 0
Max 0
Testing ... (interrupt to exit)
Event: time 65.154606, type 1 (Key), code 330 (Touch), value 1
Event: time 65.154699, -------------- Report Sync ------------
Event: time 66.350013, type 1 (Key), code 330 (Touch), value 0
Event: time 68.677161, type 1 (Key), code 330 (Touch), value 1
Event: time 68.677254, -------------- Report Sync ------------
Event: time 70.040013, type 1 (Key), code 330 (Touch), value 0
Event: time 72.004278, type 1 (Key), code 330 (Touch), value 1
Event: time 72.004371, -------------- Report Sync ------------
Event: time 73.570013, type 1 (Key), code 330 (Touch), value 0
I am not getting the X and Y cordinates no matter where ever
i touch on the screen..
am i missing anything????
Regards,
arun
^ permalink raw reply [flat|nested] 8+ messages in thread* RE: touch screen on 2430sdp not giving X and Y values
2007-10-26 12:32 touch screen on 2430sdp not giving X and Y values arun c
@ 2007-10-26 16:01 ` Girish
2007-10-29 6:30 ` arun c
0 siblings, 1 reply; 8+ messages in thread
From: Girish @ 2007-10-26 16:01 UTC (permalink / raw)
To: 'arun c', linux-omap-open-source
>-----Original Message-----
>From: linux-omap-open-source-bounces@linux.omap.com
>[mailto:linux-omap-open-source-bounces@linux.omap.com] On
>Subject: touch screen on 2430sdp not giving X and Y values
>
>Hi all,
>
>I am working on 2430sdp. I am using the kernel linux-2.6.14-omap2-v4.
>
>I wanted to use the touch screen on sdp. I built the kernel
>using the default configuration came with the kernel source.
>
Check in menu config whether OMAP SPI is enabled and see
Touch Screen interface power is enabled.
>I downloaded the evtest.c from net to test the touch screen.
Try enabling debug statements in the driver(if exists or you can
put some debug statements for printing x y & z).
>
>If i run it on 2430sdp i am getting the below result.
>
>am i missing anything????
>
>Regards,
>arun
>_______________________________________________
>Linux-omap-open-source mailing list
>Linux-omap-open-source@linux.omap.com
>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: touch screen on 2430sdp not giving X and Y values
2007-10-26 16:01 ` Girish
@ 2007-10-29 6:30 ` arun c
2007-10-29 7:22 ` Girish
0 siblings, 1 reply; 8+ messages in thread
From: arun c @ 2007-10-29 6:30 UTC (permalink / raw)
To: linux-omap-open-source
On 10/26/07, Girish <girishsg@ti.com> wrote:
>
>
> >-----Original Message-----
> >From: linux-omap-open-source-bounces@linux.omap.com
> >[mailto:linux-omap-open-source-bounces@linux.omap.com] On
>
> >Subject: touch screen on 2430sdp not giving X and Y values
> >
> >Hi all,
> >
> >I am working on 2430sdp. I am using the kernel linux-2.6.14-omap2-v4.
> >
> >I wanted to use the touch screen on sdp. I built the kernel
> >using the default configuration came with the kernel source.
> >
> Check in menu config whether OMAP SPI is enabled and see
> Touch Screen interface power is enabled.
I checked it and it is enabled as given below
#
# Synchronous Serial Interfaces (SSI)
#
CONFIG_OMAP_MCBSP=y
CONFIG_OMAP_MCSPI=y
CONFIG_OMAP_HDQ=y
But how can i check the Touch Screen interface power??? you mean
hardware wise checking??
>
> >I downloaded the evtest.c from net to test the touch screen.
> Try enabling debug statements in the driver(if exists or you can
> put some debug statements for printing x y & z).
I will put debug messages and let you know.
regards
arun
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: touch screen on 2430sdp not giving X and Y values
2007-10-29 6:30 ` arun c
@ 2007-10-29 7:22 ` Girish
2007-10-29 10:35 ` arun c
0 siblings, 1 reply; 8+ messages in thread
From: Girish @ 2007-10-29 7:22 UTC (permalink / raw)
To: 'arun c', linux-omap-open-source
>But how can i check the Touch Screen interface power??? you
>mean hardware wise checking??
I guess vaux2 has to be enabled for TS to work on 2430sdp, you can
Cross check in TRM.
>>
>> >I downloaded the evtest.c from net to test the touch screen.
>> Try enabling debug statements in the driver(if exists or you can put
>> some debug statements for printing x y & z).
>I will put debug messages and let you know.
>
>regards
>arun
>_______________________________________________
>Linux-omap-open-source mailing list
>Linux-omap-open-source@linux.omap.com
>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: touch screen on 2430sdp not giving X and Y values
2007-10-29 7:22 ` Girish
@ 2007-10-29 10:35 ` arun c
[not found] ` <20071029122306.C2A7C23B30D@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
2007-10-29 12:53 ` Girish
0 siblings, 2 replies; 8+ messages in thread
From: arun c @ 2007-10-29 10:35 UTC (permalink / raw)
To: linux-omap-open-source
On 10/29/07, Girish <girishsg@ti.com> wrote:
>
>
> >But how can i check the Touch Screen interface power??? you
> >mean hardware wise checking??
>
> I guess vaux2 has to be enabled for TS to work on 2430sdp, you can
> Cross check in TRM.
Power supply is OK, i think so because everything is
working fine on CSST diagnostics tests.
Below i am pasting the kernel debug messages.
omap_tsc2046_handler Entry
omap_tsc2046_handler[410]:Exit(0)
omap_tsc2046_tasklet Entry
pen_down Entry
pen_down[249]:Exit(0)
omap_tsc2046_read_buf Entry
omap_tsc2046_read_buf [299]
values[0]=-2147483648
omap_tsc2046_read_buf [299]
values[1]=-754974720
omap_tsc2046_read_buf [299]
values[2]=-1828716544
omap_tsc2046_read_buf [299]
values[3]=-1291845632
omap_tsc2046_read_buf [299]
values[4]=-1023410176
getdata Entry
getdata [257] data1 : -1828716544 data2:-1291845632
getdata Entry
getdata [257] data1 : -754974720 data2:-1828716544
getdata Entry
getdata [257] data1 : -1291845632 data2:-1023410176
getdata Entry
getdata [257] data1 : -1023410176 data2:0
omap_tsc2046_read_buf [317] X : 0 Y:0 P : 0
omap_tsc2046_read_buf[332]:Exit(0)
omap_tsc2046_tasklet[366]:Exit(0)
omap_tsc2046_timer Entry
pen_down Entry
pen_down[249]:Exit(1)
omap_tsc2046_timer[395]:Exit(0)
The problem is that for all the presses i am getting
X=0 Y=0 and P=0
what could be the problem????? please somebody help me
Regards,
Arun
^ permalink raw reply [flat|nested] 8+ messages in thread[parent not found: <20071029122306.C2A7C23B30D@adsl-69-226-248-13.dsl.pltn13.pacbell.net>]
* RE: touch screen on 2430sdp not giving X and Y values
2007-10-29 10:35 ` arun c
[not found] ` <20071029122306.C2A7C23B30D@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
@ 2007-10-29 12:53 ` Girish
1 sibling, 0 replies; 8+ messages in thread
From: Girish @ 2007-10-29 12:53 UTC (permalink / raw)
To: 'arun c', linux-omap-open-source
>> I guess vaux2 has to be enabled for TS to work on 2430sdp, you can
>> Cross check in TRM.
>
>Power supply is OK, i think so because everything is working
>fine on CSST diagnostics tests.
What I mean to say is, the vaux won't be enabled before. So check if init/probe of TS driver is doing so.
Because, even if you get pen-irq if touch screen interface is not powered up then co-ordinates values wont
get generated.
>omap_tsc2046_read_buf [317] X : 0 Y:0 P : 0
>
>omap_tsc2046_read_buf[332]:Exit(0)
>omap_tsc2046_tasklet[366]:Exit(0)
>omap_tsc2046_timer Entry
>pen_down Entry
>pen_down[249]:Exit(1)
>omap_tsc2046_timer[395]:Exit(0)
>
>The problem is that for all the presses i am getting
>
>X=0 Y=0 and P=0
>what could be the problem????? please somebody help me
you are getting penirq, the problem should be TS interface not powered up or
SPI interface with TS is not properly done. Apart from this I dont see anyting should cause such
behaviour. If the vaux is enabled properly then you can see if spi.1 is correctly plugged for TS or not.
girish
>_______________________________________________
>Linux-omap-open-source mailing list
>Linux-omap-open-source@linux.omap.com
>http://linux.omap.com/mailman/listinfo/linux-omap-open-source
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-10-30 14:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 12:32 touch screen on 2430sdp not giving X and Y values arun c
2007-10-26 16:01 ` Girish
2007-10-29 6:30 ` arun c
2007-10-29 7:22 ` Girish
2007-10-29 10:35 ` arun c
[not found] ` <20071029122306.C2A7C23B30D@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
[not found] ` <c656a4d20710290546i2cb75638u98a3b172ec56ee0e@mail.gmail.com>
2007-10-29 12:49 ` arun c
[not found] ` <20071029130307.55CC523BCDE@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
2007-10-30 14:34 ` arun c
2007-10-29 12:53 ` Girish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox