Jerone Young | 1 Mar 01:14 2010

[HARDY] [SRU] Add support for Broadcom Ethernet 5716 & 5716S

Impact:
	Many servers shipped last year have Broadcom Ethernet 5716 & 5716S
cards. They currently are not functional with 8.04.

https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/435185

Fix:
	Two patches attached to this email add PCI IDs to the driver. Patches
based on upstream stable commits.

Testcase:
	Ethernet works after patches are applied.

Based on upstream commit, though modification made for 2.6.26:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commit;h=7bb0a04fcd610e5db59690332b2a46b6068c8bc3

Adding support for BCM5716

Signed-off-by: Jerone Young <jerone.young <at> canonical.com>

diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index e9cfb02..989d4b6 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
 <at>  <at>  -87,6 +87,7  <at>  <at>  typedef enum {
 	BCM5708S,
 	BCM5709,
 	BCM5709S,
(Continue reading)

Tim Gardner | 1 Mar 01:26 2010

Re: [HARDY] [SRU] Add support for Broadcom Ethernet 5716 & 5716S

On 02/28/2010 05:14 PM, Jerone Young wrote:
> Impact:
> 	Many servers shipped last year have Broadcom Ethernet 5716&  5716S
> cards. They currently are not functional with 8.04.
>
> https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/435185
>
> Fix:
> 	Two patches attached to this email add PCI IDs to the driver. Patches
> based on upstream stable commits.
>
> Testcase:
> 	Ethernet works after patches are applied.
>
>

Looks fine, though you should note that this won't solve installation 
problems since the last Hardy point release is already out.

Acked-by: Tim Gardner <tim.gardner <at> canonical.com>

--

-- 
Tim Gardner tim.gardner <at> canonical.com

Jeremy Foshee | 1 Mar 05:13 2010

Recommended Bug List from the QA Team

Hi All,

	Here's the updated bug list for the week [1].  I've added 10 new bugs
to the list which includes 1 regression-potential bug and 2
regression-release bugs.  The current regression stats are as follows:

62 regression-potential bugs (up 14)
21 regression-update bugs  (up 1)
105 regression-release bugs  (up 5)
1 regression-proposed bugs  (no change)

The Carried Forward section is currently at 192 bugs (up 8) and the In
Progress section is at 111 bugs (up 5).

Due to the death of my stepfather. I will be unable to attend the call
again this week. I would, however, like to let you all know that the
next few weeks will be focused on regressions. I will be contacting you
all as I encounter your regression bugs so that we can address as many
of them as possible before the Lucid release.  

Thanks!
~JFo

[1] http://qa.ubuntu.com/reports/jfo/kernel-buglist.html

Thomas Stather | 1 Mar 10:13 2010
Picon

Problem when trying to compile ubuntu-kernel from source (via apt-

Hello everybody

I have a strange problem when i tried to compile my own XEN Dom0/DomU 
Kernel from source (i used the apt-src kernel sources).
I followed this manual:

https://help.ubuntu.com/community/Kernel/Compile

I created a new flavour called "xen" (see 
http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/) 
and patched the kernel-source with the xen-patches (2.6.31-11).After 
that, i ran:

debian/rules updateconfigs

and i enabled the new XEN config-attributes only for my flavour

For compilation, i ran

DEB_BUILD_OPTIONS=parallel=2 AUTOBUILD=1 skipmodule=1 skipabi=1 
debian/rules binary-debs

And here is the first of my 2 problems. When i omitted the skipmodule 
flag, i got some warnings about missing modules, what exactly does this 
mean (are the modules in the kernel config but not in the kernel source 
anymore????)?

Then i set the flag, and the compilation went through fine (about 20 
minutes) but i got the following error:

(Continue reading)

Tim Gardner | 1 Mar 14:42 2010

Re: [PATCH] hwmon: (it87) Add support for the ITE IT8720F Bug: #357766

David Partington wrote:
> Kernel team:
> 
> 
> I have a Biostar motherboard with the it8716 superio device.  When I 
> execute the sensors hardware monitor the VID values is incorrect,  In 
> reviewing the it87.c source I fine the following code burst:
> 

<snip>

Well, you've gotten this far. How about a proper patch?

--

-- 
Tim Gardner tim.gardner <at> canonical.com

Tim Gardner | 1 Mar 15:12 2010

Re: Problem when trying to compile ubuntu-kernel from source (via apt-

Thomas Stather wrote:
> Hello everybody
> 
> I have a strange problem when i tried to compile my own XEN Dom0/DomU
> Kernel from source (i used the apt-src kernel sources).
> I followed this manual:
> 
> https://help.ubuntu.com/community/Kernel/Compile
> 
> 
> I created a new flavour called "xen" (see
> http://blog.avirtualhome.com/2009/11/03/how-to-compile-a-kernel-for-ubuntu-karmic/)
> and patched the kernel-source with the xen-patches (2.6.31-11).After
> that, i ran:
> 
> 
> debian/rules updateconfigs
> 
> and i enabled the new XEN config-attributes only for my flavour
> 
> 
> For compilation, i ran
> 
> DEB_BUILD_OPTIONS=parallel=2 AUTOBUILD=1 skipmodule=1 skipabi=1
> debian/rules binary-debs
> 
> And here is the first of my 2 problems. When i omitted the skipmodule
> flag, i got some warnings about missing modules, what exactly does this
> mean (are the modules in the kernel config but not in the kernel source
> anymore????)?
(Continue reading)

David Partington | 1 Mar 15:39 2010

Re: [PATCH] hwmon: (it87) Add support for the ITE IT8720F Bug: #357766

Tim Gardner wrote:
David Partington wrote:
Kernel team: I have a Biostar motherboard with the it8716 superio device. When I execute the sensors hardware monitor the VID values is incorrect, In reviewing the it87.c source I fine the following code burst:
<snip> Well, you've gotten this far. How about a proper patch?
Tim,

Thanks for your reply.  Actually in the code submitted at the bottom of my email was the suggested change.  However, I did submit an actual defect report with the suggested fix as well.  Please see new defect #528741.

Regards, David
<div>
Tim Gardner wrote:
<blockquote cite="mid:4B8BC45A.7080007 <at> canonical.com" type="cite">
  David Partington wrote:

  <blockquote type="cite">
    Kernel team:

I have a Biostar motherboard with the it8716 superio device.  When I 
execute the sensors hardware monitor the VID values is incorrect,  In 
reviewing the it87.c source I fine the following code burst:

    
  </blockquote>

&lt;snip&gt;

Well, you've gotten this far. How about a proper patch?

  
</blockquote>
Tim,<br><br>
Thanks for your reply.&nbsp; Actually in the code submitted at the bottom of
my email was the suggested change.&nbsp; However, I did submit an actual
defect report with the suggested fix as well.&nbsp; Please see new defect
#528741.<br><br>
Regards, David<br>
</div>
Tim Gardner | 1 Mar 15:49 2010

Re: [PATCH] hwmon: (it87) Add support for the ITE IT8720F Bug: #357766

David Partington wrote:
> Tim Gardner wrote:
>> David Partington wrote:
>>  
>>> Kernel team:
>>>
>>>
>>> I have a Biostar motherboard with the it8716 superio device.  When I
>>> execute the sensors hardware monitor the VID values is incorrect,  In
>>> reviewing the it87.c source I fine the following code burst:
>>>
>>>     
>>
>> <snip>
>>
>> Well, you've gotten this far. How about a proper patch?
>>
>>   
> Tim,
> 
> Thanks for your reply.  Actually in the code submitted at the bottom of
> my email was the suggested change.  However, I did submit an actual
> defect report with the suggested fix as well.  Please see new defect
> #528741.
> 
> Regards, David
> 

The code at the bottom of
https://lists.ubuntu.com/archives/kernel-team/2010-February/009082.html
is not a proper patch wrt the Linux kernel ecosystem. See
Documentation/SubmittingPatches in Linus' kernel tree at
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git.

The advantage of using diff and patch is the avoidance of transcription
errors when applying patches.

rtg
--

-- 
Tim Gardner tim.gardner <at> canonical.com

Chase Douglas | 1 Mar 17:00 2010

[PATCH 0/2] Input: wacom - add support for new LCD tablets

The following two patches provide support for new wacom tablet devices. The
patches were included in 2.6.33. I have built a test kernel module for bug
516777, and the module tested well on one new 0xE3 device and two older wacom
devices without any regression.

I will be working with the upstream maintainer of the driver in an attempt to
get the changes queued upstream for the -stable tree. In the meantime, I
believe these changes can be merged into the Lucid kernel as they can be tested
and removed before release if necessary.

--
 drivers/input/tablet/wacom.h     |    2 +
 drivers/input/tablet/wacom_sys.c |  229 ++++++++++++++++++---------
 drivers/input/tablet/wacom_wac.c |  328 ++++++++++++++++++++++++--------------
 drivers/input/tablet/wacom_wac.h |   21 +++-
 4 files changed, 385 insertions(+), 195 deletions(-)

Chase Douglas | 1 Mar 17:00 2010

[PATCH 1/2] Input: wacom - add defines for packet lengths of various devices

From: Ping Cheng <pingc <at> wacom.com>

Signed-off-by: Ping Cheng <pingc <at> wacom.com>
Signed-off-by: Dmitry Torokhov <dtor <at> mail.ru>
Signed-off-by: Chase Douglas <chase.douglas <at> canonical.com>
---
 drivers/input/tablet/wacom_wac.c |  128 +++++++++++++++++++-------------------
 drivers/input/tablet/wacom_wac.h |   11 +++
 2 files changed, 75 insertions(+), 64 deletions(-)

diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
index c896d6a..d5fc97d 100644
--- a/drivers/input/tablet/wacom_wac.c
+++ b/drivers/input/tablet/wacom_wac.c
 <at>  <at>  -1,7 +1,7  <at>  <at> 
 /*
  * drivers/input/tablet/wacom_wac.c
  *
- *  USB Wacom Graphire and Wacom Intuos tablet support - Wacom specific code
+ *  USB Wacom tablet support - Wacom specific code
  *
  */

 <at>  <at>  -617,8 +617,8  <at>  <at>  static int wacom_tpc_irq(struct wacom_wac *wacom, void *wcombo)

 	dbg("wacom_tpc_irq: received report #%d", data[0]);

-	if (urb->actual_length == 5 || data[0] == 6) { /* Touch data */
-		if (urb->actual_length == 5) {  /* with touch */
+	if (urb->actual_length == WACOM_PKGLEN_TPC1FG || data[0] == 6) { /* Touch data */
+		if (urb->actual_length == WACOM_PKGLEN_TPC1FG) {  /* with touch */
 			prox = data[0] & 0x03;
 		} else {  /* with capacity */
 			prox = data[1] & 0x03;
 <at>  <at>  -629,7 +629,7  <at>  <at>  static int wacom_tpc_irq(struct wacom_wac *wacom, void *wcombo)
 				if (touchInProx) {
 					wacom->tool[1] = BTN_TOOL_DOUBLETAP;
 					wacom->id[0] = TOUCH_DEVICE_ID;
-					if (urb->actual_length != 5) {
+					if (urb->actual_length != WACOM_PKGLEN_TPC1FG) {
 						wacom_report_abs(wcombo, ABS_X, wacom_le16_to_cpu(&data[2]));
 						wacom_report_abs(wcombo, ABS_Y, wacom_le16_to_cpu(&data[4]));
 						wacom_report_abs(wcombo, ABS_PRESSURE, wacom_le16_to_cpu(&data[6]));
 <at>  <at>  -804,66 +804,66  <at>  <at>  void wacom_init_input_dev(struct input_dev *input_dev, struct wacom_wac *wacom_w
 }

 static struct wacom_features wacom_features[] = {
-	{ "Wacom Penpartner",    7,   5040,  3780,  255,  0, PENPARTNER },
-        { "Wacom Graphire",      8,  10206,  7422,  511, 63, GRAPHIRE },
-	{ "Wacom Graphire2 4x5", 8,  10206,  7422,  511, 63, GRAPHIRE },
-	{ "Wacom Graphire2 5x7", 8,  13918, 10206,  511, 63, GRAPHIRE },
-	{ "Wacom Graphire3",     8,  10208,  7424,  511, 63, GRAPHIRE },
-	{ "Wacom Graphire3 6x8", 8,  16704, 12064,  511, 63, GRAPHIRE },
-	{ "Wacom Graphire4 4x5", 8,  10208,  7424,  511, 63, WACOM_G4 },
-	{ "Wacom Graphire4 6x8", 8,  16704, 12064,  511, 63, WACOM_G4 },
-	{ "Wacom BambooFun 4x5", 9,  14760,  9225,  511, 63, WACOM_MO },
-	{ "Wacom BambooFun 6x8", 9,  21648, 13530,  511, 63, WACOM_MO },
-	{ "Wacom Bamboo1 Medium",8,  16704, 12064,  511, 63, GRAPHIRE },
-	{ "Wacom Volito",        8,   5104,  3712,  511, 63, GRAPHIRE },
-	{ "Wacom PenStation2",   8,   3250,  2320,  255, 63, GRAPHIRE },
-	{ "Wacom Volito2 4x5",   8,   5104,  3712,  511, 63, GRAPHIRE },
-	{ "Wacom Volito2 2x3",   8,   3248,  2320,  511, 63, GRAPHIRE },
-	{ "Wacom PenPartner2",   8,   3250,  2320,  511, 63, GRAPHIRE },
-	{ "Wacom Bamboo",        9,  14760,  9225,  511, 63, WACOM_MO },
-	{ "Wacom Bamboo1",       8,   5104,  3712,  511, 63, GRAPHIRE },
-	{ "Wacom Intuos 4x5",   10,  12700, 10600, 1023, 31, INTUOS },
-	{ "Wacom Intuos 6x8",   10,  20320, 16240, 1023, 31, INTUOS },
-	{ "Wacom Intuos 9x12",  10,  30480, 24060, 1023, 31, INTUOS },
-	{ "Wacom Intuos 12x12", 10,  30480, 31680, 1023, 31, INTUOS },
-	{ "Wacom Intuos 12x18", 10,  45720, 31680, 1023, 31, INTUOS },
-	{ "Wacom PL400",         8,   5408,  4056,  255,  0, PL },
-	{ "Wacom PL500",         8,   6144,  4608,  255,  0, PL },
-	{ "Wacom PL600",         8,   6126,  4604,  255,  0, PL },
-	{ "Wacom PL600SX",       8,   6260,  5016,  255,  0, PL },
-	{ "Wacom PL550",         8,   6144,  4608,  511,  0, PL },
-	{ "Wacom PL800",         8,   7220,  5780,  511,  0, PL },
-	{ "Wacom PL700",         8,   6758,  5406,  511,  0, PL },
-	{ "Wacom PL510",         8,   6282,  4762,  511,  0, PL },
-	{ "Wacom DTU710",        8,  34080, 27660,  511,  0, PL },
-	{ "Wacom DTF521",        8,   6282,  4762,  511,  0, PL },
-	{ "Wacom DTF720",        8,   6858,  5506,  511,  0, PL },
-	{ "Wacom DTF720a",       8,   6858,  5506,  511,  0, PL },
-	{ "Wacom Cintiq Partner",8,  20480, 15360,  511,  0, PTU },
-	{ "Wacom Intuos2 4x5",   10, 12700, 10600, 1023, 31, INTUOS },
-	{ "Wacom Intuos2 6x8",   10, 20320, 16240, 1023, 31, INTUOS },
-	{ "Wacom Intuos2 9x12",  10, 30480, 24060, 1023, 31, INTUOS },
-	{ "Wacom Intuos2 12x12", 10, 30480, 31680, 1023, 31, INTUOS },
-	{ "Wacom Intuos2 12x18", 10, 45720, 31680, 1023, 31, INTUOS },
-	{ "Wacom Intuos3 4x5",   10, 25400, 20320, 1023, 63, INTUOS3S },
-	{ "Wacom Intuos3 6x8",   10, 40640, 30480, 1023, 63, INTUOS3 },
-	{ "Wacom Intuos3 9x12",  10, 60960, 45720, 1023, 63, INTUOS3 },
-	{ "Wacom Intuos3 12x12", 10, 60960, 60960, 1023, 63, INTUOS3L },
-	{ "Wacom Intuos3 12x19", 10, 97536, 60960, 1023, 63, INTUOS3L },
-	{ "Wacom Intuos3 6x11",  10, 54204, 31750, 1023, 63, INTUOS3 },
-	{ "Wacom Intuos3 4x6",   10, 31496, 19685, 1023, 63, INTUOS3S },
-	{ "Wacom Intuos4 4x6",   10, 31496, 19685, 2047, 63, INTUOS4S },
-	{ "Wacom Intuos4 6x9",   10, 44704, 27940, 2047, 63, INTUOS4 },
-	{ "Wacom Intuos4 8x13",  10, 65024, 40640, 2047, 63, INTUOS4L },
-	{ "Wacom Intuos4 12x19", 10, 97536, 60960, 2047, 63, INTUOS4L },
-	{ "Wacom Cintiq 21UX",   10, 87200, 65600, 1023, 63, CINTIQ },
-	{ "Wacom Cintiq 20WSX",  10, 86680, 54180, 1023, 63, WACOM_BEE },
-	{ "Wacom Cintiq 12WX",   10, 53020, 33440, 1023, 63, WACOM_BEE },
-	{ "Wacom DTU1931",        8, 37832, 30305,  511,  0, PL },
-	{ "Wacom ISDv4 90",       8, 26202, 16325,  255,  0, TABLETPC },
-	{ "Wacom ISDv4 93",       8, 26202, 16325,  255,  0, TABLETPC },
-	{ "Wacom ISDv4 9A",       8, 26202, 16325,  255,  0, TABLETPC },
-	{ "Wacom Intuos2 6x8",   10, 20320, 16240, 1023, 31, INTUOS },
+	{ "Wacom Penpartner",     WACOM_PKGLEN_PENPRTN,    5040,  3780,  255,  0, PENPARTNER },
+	{ "Wacom Graphire",       WACOM_PKGLEN_GRAPHIRE,  10206,  7422,  511, 63, GRAPHIRE },
+	{ "Wacom Graphire2 4x5",  WACOM_PKGLEN_GRAPHIRE,  10206,  7422,  511, 63, GRAPHIRE },
+	{ "Wacom Graphire2 5x7",  WACOM_PKGLEN_GRAPHIRE,  13918, 10206,  511, 63, GRAPHIRE },
+	{ "Wacom Graphire3",      WACOM_PKGLEN_GRAPHIRE,  10208,  7424,  511, 63, GRAPHIRE },
+	{ "Wacom Graphire3 6x8",  WACOM_PKGLEN_GRAPHIRE,  16704, 12064,  511, 63, GRAPHIRE },
+	{ "Wacom Graphire4 4x5",  WACOM_PKGLEN_GRAPHIRE,  10208,  7424,  511, 63, WACOM_G4 },
+	{ "Wacom Graphire4 6x8",  WACOM_PKGLEN_GRAPHIRE,  16704, 12064,  511, 63, WACOM_G4 },
+	{ "Wacom BambooFun 4x5",  WACOM_PKGLEN_BBFUN,     14760,  9225,  511, 63, WACOM_MO },
+	{ "Wacom BambooFun 6x8",  WACOM_PKGLEN_BBFUN,     21648, 13530,  511, 63, WACOM_MO },
+	{ "Wacom Bamboo1 Medium", WACOM_PKGLEN_GRAPHIRE,  16704, 12064,  511, 63, GRAPHIRE },
+	{ "Wacom Volito",         WACOM_PKGLEN_GRAPHIRE,   5104,  3712,  511, 63, GRAPHIRE },
+	{ "Wacom PenStation2",    WACOM_PKGLEN_GRAPHIRE,   3250,  2320,  255, 63, GRAPHIRE },
+	{ "Wacom Volito2 4x5",    WACOM_PKGLEN_GRAPHIRE,   5104,  3712,  511, 63, GRAPHIRE },
+	{ "Wacom Volito2 2x3",    WACOM_PKGLEN_GRAPHIRE,   3248,  2320,  511, 63, GRAPHIRE },
+	{ "Wacom PenPartner2",    WACOM_PKGLEN_GRAPHIRE,   3250,  2320,  511, 63, GRAPHIRE },
+	{ "Wacom Bamboo",         WACOM_PKGLEN_BBFUN,     14760,  9225,  511, 63, WACOM_MO },
+	{ "Wacom Bamboo1",        WACOM_PKGLEN_GRAPHIRE,   5104,  3712,  511, 63, GRAPHIRE },
+	{ "Wacom Intuos 4x5",     WACOM_PKGLEN_INTUOS,    12700, 10600, 1023, 31, INTUOS },
+	{ "Wacom Intuos 6x8",     WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 31, INTUOS },
+	{ "Wacom Intuos 9x12",    WACOM_PKGLEN_INTUOS,    30480, 24060, 1023, 31, INTUOS },
+	{ "Wacom Intuos 12x12",   WACOM_PKGLEN_INTUOS,    30480, 31680, 1023, 31, INTUOS },
+	{ "Wacom Intuos 12x18",   WACOM_PKGLEN_INTUOS,    45720, 31680, 1023, 31, INTUOS },
+	{ "Wacom PL400",          WACOM_PKGLEN_GRAPHIRE,   5408,  4056,  255,  0, PL },
+	{ "Wacom PL500",          WACOM_PKGLEN_GRAPHIRE,   6144,  4608,  255,  0, PL },
+	{ "Wacom PL600",          WACOM_PKGLEN_GRAPHIRE,   6126,  4604,  255,  0, PL },
+	{ "Wacom PL600SX",        WACOM_PKGLEN_GRAPHIRE,   6260,  5016,  255,  0, PL },
+	{ "Wacom PL550",          WACOM_PKGLEN_GRAPHIRE,   6144,  4608,  511,  0, PL },
+	{ "Wacom PL800",          WACOM_PKGLEN_GRAPHIRE,   7220,  5780,  511,  0, PL },
+	{ "Wacom PL700",          WACOM_PKGLEN_GRAPHIRE,   6758,  5406,  511,  0, PL },
+	{ "Wacom PL510",          WACOM_PKGLEN_GRAPHIRE,   6282,  4762,  511,  0, PL },
+	{ "Wacom DTU710",         WACOM_PKGLEN_GRAPHIRE,  34080, 27660,  511,  0, PL },
+	{ "Wacom DTF521",         WACOM_PKGLEN_GRAPHIRE,   6282,  4762,  511,  0, PL },
+	{ "Wacom DTF720",         WACOM_PKGLEN_GRAPHIRE,   6858,  5506,  511,  0, PL },
+	{ "Wacom DTF720a",        WACOM_PKGLEN_GRAPHIRE,   6858,  5506,  511,  0, PL },
+	{ "Wacom Cintiq Partner", WACOM_PKGLEN_GRAPHIRE,  20480, 15360,  511,  0, PTU },
+	{ "Wacom Intuos2 4x5",    WACOM_PKGLEN_INTUOS,    12700, 10600, 1023, 31, INTUOS },
+	{ "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 31, INTUOS },
+	{ "Wacom Intuos2 9x12",   WACOM_PKGLEN_INTUOS,    30480, 24060, 1023, 31, INTUOS },
+	{ "Wacom Intuos2 12x12",  WACOM_PKGLEN_INTUOS,    30480, 31680, 1023, 31, INTUOS },
+	{ "Wacom Intuos2 12x18",  WACOM_PKGLEN_INTUOS,    45720, 31680, 1023, 31, INTUOS },
+	{ "Wacom Intuos3 4x5",    WACOM_PKGLEN_INTUOS,    25400, 20320, 1023, 63, INTUOS3S },
+	{ "Wacom Intuos3 6x8",    WACOM_PKGLEN_INTUOS,    40640, 30480, 1023, 63, INTUOS3 },
+	{ "Wacom Intuos3 9x12",   WACOM_PKGLEN_INTUOS,    60960, 45720, 1023, 63, INTUOS3 },
+	{ "Wacom Intuos3 12x12",  WACOM_PKGLEN_INTUOS,    60960, 60960, 1023, 63, INTUOS3L },
+	{ "Wacom Intuos3 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 1023, 63, INTUOS3L },
+	{ "Wacom Intuos3 6x11",   WACOM_PKGLEN_INTUOS,    54204, 31750, 1023, 63, INTUOS3 },
+	{ "Wacom Intuos3 4x6",    WACOM_PKGLEN_INTUOS,    31496, 19685, 1023, 63, INTUOS3S },
+	{ "Wacom Intuos4 4x6",    WACOM_PKGLEN_INTUOS,    31496, 19685, 2047, 63, INTUOS4S },
+	{ "Wacom Intuos4 6x9",    WACOM_PKGLEN_INTUOS,    44704, 27940, 2047, 63, INTUOS4 },
+	{ "Wacom Intuos4 8x13",   WACOM_PKGLEN_INTUOS,    65024, 40640, 2047, 63, INTUOS4L },
+	{ "Wacom Intuos4 12x19",  WACOM_PKGLEN_INTUOS,    97536, 60960, 2047, 63, INTUOS4L },
+	{ "Wacom Cintiq 21UX",    WACOM_PKGLEN_INTUOS,    87200, 65600, 1023, 63, CINTIQ },
+	{ "Wacom Cintiq 20WSX",   WACOM_PKGLEN_INTUOS,    86680, 54180, 1023, 63, WACOM_BEE },
+	{ "Wacom Cintiq 12WX",    WACOM_PKGLEN_INTUOS,    53020, 33440, 1023, 63, WACOM_BEE },
+	{ "Wacom DTU1931",        WACOM_PKGLEN_GRAPHIRE,  37832, 30305,  511,  0, PL },
+	{ "Wacom ISDv4 90",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,  0, TABLETPC },
+	{ "Wacom ISDv4 93",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,  0, TABLETPC },
+	{ "Wacom ISDv4 9A",       WACOM_PKGLEN_GRAPHIRE,  26202, 16325,  255,  0, TABLETPC },
+	{ "Wacom Intuos2 6x8",    WACOM_PKGLEN_INTUOS,    20320, 16240, 1023, 31, INTUOS },
 	{ }
 };

diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h
index c10235a..1bfe9a3 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
 <at>  <at>  -9,6 +9,17  <at>  <at> 
 #ifndef WACOM_WAC_H
 #define WACOM_WAC_H

+/* maximum packet length for USB devices */
+#define WACOM_PKGLEN_MAX	32
+
+/* packet length for individual models */
+#define WACOM_PKGLEN_PENPRTN	 7
+#define WACOM_PKGLEN_GRAPHIRE	 8
+#define WACOM_PKGLEN_BBFUN 	 9
+#define WACOM_PKGLEN_INTUOS 	10
+#define WACOM_PKGLEN_PENABLED	 8
+#define WACOM_PKGLEN_TPC1FG	 5
+
 #define STYLUS_DEVICE_ID	0x02
 #define TOUCH_DEVICE_ID		0x03
 #define CURSOR_DEVICE_ID	0x06
--

-- 
1.6.3.3


Gmane