Re: [Linuxwacom-devel] [PATCH] Add support for Lenovo tablet ID 0xE6

2011-04-06 Thread Ping Cheng
On Wed, Apr 6, 2011 at 6:09 AM, Timo Aaltonen
wrote:

> On 02.04.2011 01:38, TImo Aaltonen wrote:
> > On 01.04.2011 19:59, Ping Cheng wrote:
> >> Hi Timo,
> >>
> >> Does E6 come with a stylus (pen)? If so, you need to change the
> resolution
> >> from 5 to 10.
> >
> > As I understand it, yes. Actually, it was tested with 0.10.8 which used
> > old resolution values (1016), so here I copied what Volito2 had in
> master..
>
> Apparently it works with a stylus _and_ touch, so the higher value suits
> both?
>

Touch device's resolution is retrieved from the firmware through HID
descriptor in the kernel driver. It is the pen device that we need to take
care of since it is not in the HID descriptor.

Since E6 has stylus, please use 10.  Thanks,

Ping
--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH] Add support for Lenovo tablet ID 0xE6

2011-04-01 Thread TImo Aaltonen
On 01.04.2011 19:59, Ping Cheng wrote:
> Hi Timo,
> 
> Does E6 come with a stylus (pen)? If so, you need to change the resolution
> from 5 to 10.

As I understand it, yes. Actually, it was tested with 0.10.8 which used
old resolution values (1016), so here I copied what Volito2 had in master..

t

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH] Add support for Lenovo tablet ID 0xE6

2011-04-01 Thread Ping Cheng
Hi Timo,

Does E6 come with a stylus (pen)? If so, you need to change the resolution
from 5 to 10.

Thank you.

Ping

P.S., I don't have that system myself.

On Fri, Apr 1, 2011 at 2:45 AM, Timo Aaltonen  wrote:

> From: Timo Aaltonen 
>
> Signed-off-by: Timo Aaltonen 
> Tested-by: Manoj Iyer 
> ---
>  src/wcmUSB.c |1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> index 81af067..61983eb 100644
> --- a/src/wcmUSB.c
> +++ b/src/wcmUSB.c
> @@ -269,6 +269,7 @@ static struct
>{ WACOM_VENDOR_ID, 0x9F,394,394, &usbTabletPC   }, /*
> CapPlus  0x9F */
>{ WACOM_VENDOR_ID, 0xE2,394,394, &usbTabletPC   }, /*
> TabletPC 0xE2 */
>{ WACOM_VENDOR_ID, 0xE3, 10, 10, &usbTabletPC   }, /*
> TabletPC 0xE3 */
> +   { WACOM_VENDOR_ID, 0xE6,  5,  5, &usbTabletPC   }, /*
> TabletPC 0xE6 */
>
>/* IDs from Waltop's driver, available
> http://www.waltop.com.tw/download.asp?lv=0&id=2.
>   Accessed 8 Apr 2010, driver release date 2009/08/11, fork of
> linuxwacom 0.8.4.
> --
> 1.7.4.1
>
>
>
> --
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> ___
> Linuxwacom-devel mailing list
> Linuxwacom-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
>
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel