NetBSD Problem Report #35111

From bsd@cs.ubc.ca  Fri Nov 24 18:21:56 2006
Return-Path: <bsd@cs.ubc.ca>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7BF8963B8C1
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 24 Nov 2006 18:21:56 +0000 (UTC)
Message-Id: <20061124182152.GA3948@monolith.usask.ca>
Date: Fri, 24 Nov 2006 12:21:52 -0600
From: bsd@cs.ubc.ca
To: gnats-bugs@NetBSD.org
Subject: patch to support Wacom Graphire3 6x8
X-Send-Pr-Version: 3.95

>Number:         35111
>Category:       kern
>Synopsis:       tiny patch to support Wacom Graphire3 6x8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ghen
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 24 18:25:00 +0000 2006
>Closed-Date:    Mon Jan 22 19:44:34 +0000 2007
>Last-Modified:  Tue Jan 23 18:50:01 +0000 2007
>Originator:     Brian de Alwis
>Release:        NetBSD 4.99.4
>Organization:
  Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
      "Amusement to an observing mind is study." - Benjamin Disraeli
>Environment:
System: NetBSD monolith 4.99.4 NetBSD 4.99.4 (LAPTOP.MPACPI) #7: Fri Nov 24 11:06:45 CST 2006 bsd@monolith:/usr/obj/sys/arch/i386/compile/LAPTOP.MPACPI i386
Architecture: i386
Machine: i386
>Description:
	The Wacom Graphire3 6x8 tablet doesn't work under -current.
	It has the same problem as the Graphire 4x5 reported in
	kern/23965.  Supporting the 6x8 requires only a tiny patch.
>How-To-Repeat:
>Fix:
Index: ugraphire_rdesc.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/ugraphire_rdesc.h,v
retrieving revision 1.4
diff -w -b -u -r1.4 ugraphire_rdesc.h
--- ugraphire_rdesc.h	11 Dec 2005 12:24:01 -0000	1.4
+++ ugraphire_rdesc.h	24 Nov 2006 18:17:00 -0000
@@ -90,6 +90,7 @@
     0xc0,                          /*  END_COLLECTION			*/
 };

+/* for the 6x8 too */
 static const uByte uhid_graphire3_4x5_report_descr[] = {
     0x05, 0x01,                    /* USAGE_PAGE (Generic Desktop)	*/
     0x09, 0x02,                    /* USAGE (Mouse)			*/
Index: uhidev.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uhidev.c,v
retrieving revision 1.32
diff -w -b -u -r1.32 uhidev.c
--- uhidev.c	12 Jun 2006 21:01:58 -0000	1.32
+++ uhidev.c	24 Nov 2006 18:17:00 -0000
@@ -188,7 +188,8 @@
 			descptr = uhid_graphire_report_descr;
 			break;

-		case USB_PRODUCT_WACOM_GRAPHIRE3_4X5: /* The 6x8 too? */
+		case USB_PRODUCT_WACOM_GRAPHIRE3_4X5:
+		case USB_PRODUCT_WACOM_GRAPHIRE3_6x8:
 			/*
 			 * The Graphire3 needs 0x0202 to be written to
 			 * feature report ID 2 before it'll start
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.442
diff -w -b -u -r1.442 usbdevs
--- usbdevs	22 Nov 2006 17:57:40 -0000	1.442
+++ usbdevs	24 Nov 2006 18:17:00 -0000
@@ -2013,6 +2013,7 @@
 product WACOM CT0405U		0x0000	CT-0405-U Tablet
 product WACOM GRAPHIRE		0x0010	Graphire
 product WACOM GRAPHIRE3_4X5	0x0013	Graphire3 4x5
+product WACOM GRAPHIRE3_6x8	0x0014	Graphire3 6x8
 product WACOM INTUOSA5		0x0021	Intuos A5
 product WACOM GD0912U		0x0022	Intuos 9x12 Graphics Tablet


>Release-Note:

>Audit-Trail:
From: Geert Hendrickx <ghen@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35111 CVS commit: src/sys/dev/usb
Date: Mon, 22 Jan 2007 19:39:37 +0000 (UTC)

 Module Name:	src
 Committed By:	ghen
 Date:		Mon Jan 22 19:39:37 UTC 2007

 Modified Files:
 	src/sys/dev/usb: ugraphire_rdesc.h uhidev.c usbdevs

 Log Message:
 Add ID's for the Graphire3 6x8 (from PR 35111) and Graphire4 4x5 (tested by
 myself).


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 src/sys/dev/usb/ugraphire_rdesc.h
 cvs rdiff -r1.32 -r1.33 src/sys/dev/usb/uhidev.c
 cvs rdiff -r1.449 -r1.450 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: kern-bug-people->ghen
Responsible-Changed-By: ghen@netbsd.org
Responsible-Changed-When: Mon, 22 Jan 2007 19:44:34 +0000
Responsible-Changed-Why:
I committed it.


State-Changed-From-To: open->closed
State-Changed-By: ghen@netbsd.org
State-Changed-When: Mon, 22 Jan 2007 19:44:34 +0000
State-Changed-Why:
Support added for the Graphire3 6x8 and Graphire4 4x5, thanks for the PR!

Does anyone have a Graphire4 6x8 to test? :-)


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35111 CVS commit: [netbsd-4] src/sys/dev/usb
Date: Tue, 23 Jan 2007 18:39:05 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jan 23 18:39:05 UTC 2007

 Modified Files:
 	src/sys/dev/usb [netbsd-4]: ugraphire_rdesc.h uhidev.c usbdevs

 Log Message:
 Pull up following revision(s) (requested by ghen in ticket #384):
 	sys/dev/usb/usbdevs: revision 1.450
 	sys/dev/usb/uhidev.c: revision 1.33
 	sys/dev/usb/ugraphire_rdesc.h: revision 1.5
 Add ID's for the Graphire3 6x8 (from PR 35111) and Graphire4 4x5 (tested by
 myself).


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.4.24.1 src/sys/dev/usb/ugraphire_rdesc.h
 cvs rdiff -r1.32 -r1.32.10.1 src/sys/dev/usb/uhidev.c
 cvs rdiff -r1.443 -r1.443.2.1 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/35111 CVS commit: [netbsd-3] src/sys/dev/usb
Date: Tue, 23 Jan 2007 18:45:56 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Tue Jan 23 18:45:56 UTC 2007

 Modified Files:
 	src/sys/dev/usb [netbsd-3]: ugraphire_rdesc.h uhidev.c usbdevs

 Log Message:
 Pull up following revision(s) (requested by ghen in ticket #1654):
 	sys/dev/usb/usbdevs: revision 1.450
 	sys/dev/usb/uhidev.c: revision 1.33
 	sys/dev/usb/ugraphire_rdesc.h: revision 1.5
 Add ID's for the Graphire3 6x8 (from PR 35111) and Graphire4 4x5 (tested by
 myself).


 To generate a diff of this commit:
 cvs rdiff -r1.3 -r1.3.14.1 src/sys/dev/usb/ugraphire_rdesc.h
 cvs rdiff -r1.24 -r1.24.2.1 src/sys/dev/usb/uhidev.c
 cvs rdiff -r1.398 -r1.398.2.1 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.