nanogui: Nano-X touchscreen


Previous by date: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, ER
Next by date: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, Jordan Crouse
Previous in thread: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, ER
Next in thread: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, Jordan Crouse

Subject: Re: Nano-X touchscreen
From: "ER" ####@####.####
Date: 24 Jun 2005 22:39:35 +0100
Message-Id: <20050624213905.7DC9B3CF4@xprdmailfe10.nwk.excite.com>

Greg,
It looks like I'm alone on this list. I remember subscribing a few months ago and withdrew after realizing I might be along at this.
If no one have an idea, perhaps someone can explain the MOUSE_RAW, ans _TRANSFORM and how nano-X looks at the touchscreen interface. Maybe I can use the tslib in this but I'll need to understand how nanoX talks.

Thanks,
--ER


-------------------------------------------------------------------
Date:    	Fri, 24 Jun 2005 10:28:36 -0600
From:   	Greg Haerr ####@####.####
[ Add to Address Book | Block Address | Report as Spam ]
To:   	####@####.####
Subject:   	Re: Nano-X touchscreen

ER - send this to the list, Jordan Crouse will probably know the
answer.

Greg

----- Original Message -----
From: "ER" ####@####.####
To: ####@####.####
Sent: Friday, June 24, 2005 10:19 AM
Subject: Re: Nano-X touchscreen


:
: Sorry, that didn't seem to work, I still got the following after removing
the timestamp.
: ......
: [TOUCHME] Wrong number of bytes 0 read from touch panel (expected 6)
: [TOUCHME] Wrong number of bytes 0 read from touch panel (expected 6)
: .....
:
: If it makes a difference, the driver is based on the tslib api. Piece of
the driver looks like this:
:
: input_report_abs (&adc->input_d, ABS_X, adc->x_last);
: input_report_abs (&adc->input_d, ABS_Y, adc->y_last);
: input_report_abs (&adc->input_d, ABS_PRESSURE,
: pen_down ? (ADC_VALUE_MAX -
(adc->rgl[11]>>6)) : 0);
:
: where input_d is a struct input_dev.
: If any of that makes a difference.
:
: thanks,
: --ER
:
:
:
: ---------------------------------------------------------------------
: How about leaving as short, but reading 6 bytes as suggested
: by removing last structure item?
:
: Greg
:
: : Hi Greg,
: : I'm working on the MW touchscreen interface and I ran into several
: problems.
: : I'm using kernel 2.6 and the ts_event interface is defined as
: : struct ts_event {
: : short pressure;
: : short x;
: : short y;
: : short miliseconds;
: : };
: :
: : when I use this in the header file, I get an error:
: : "Wrong number of bytes 0 read from touch panel expected 6
: :
: : when I use long instead of short I get no error but I'm not getting any
: response. I also print the event values and they appear to be well out of
: range, for example:
: : ...
: : event.x: 690000, event.y: 1572867, event.pressure: 2509
: : ...
: : Do you have any info/idea/docs that you help me understand this
interface
: so I can do this properly.
: :
: : Thanks,
: : --ER
:

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



Previous by date: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, ER
Next by date: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, Jordan Crouse
Previous in thread: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, ER
Next in thread: 24 Jun 2005 22:39:35 +0100 Re: Nano-X touchscreen, Jordan Crouse


Powered by ezmlm-browse 0.20.