Subject: kern/12611: Sun USB mouse device ID
To: None <gnats-bugs@gnats.netbsd.org>
From: Grant Beattie <grant@mofo.grunta.com>
List: netbsd-bugs
Date: 04/11/2001 03:18:20
>Number:         12611
>Category:       kern
>Synopsis:       Sun USB mouse device ID
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 10 23:35:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Grant Beattie
>Release:        20010410
>Organization:
>Environment:
System: NetBSD mofo 1.5U NetBSD 1.5U (MOFO) #0: Wed Apr 11 22:17:03 EST 2001 grant@mofo:/usr/src/sys/arch/i386/compile/MOFO i386

>Description:
	USB device ID for Sun USB Type 6 mouse
>How-To-Repeat:
>Fix:

*** usbdevs.orig	Tue Apr 10 21:15:53 2001
--- usbdevs	Wed Apr 11 22:03:45 2001
***************
*** 835,842 ****
  product STSN STSN0001		0x0001	Internet Access Device
  
  /* Sun Microsystems products */
! product SUN KEYBOARD		0x0005	Type 6 USB
  /* XXX The above is a North American PC style keyboard possibly */
  
  /* Supra products */
  product DIAMOND2 SUPRAEXPRESS56K 0x07da	Supra Express 56K modem
--- 835,843 ----
  product STSN STSN0001		0x0001	Internet Access Device
  
  /* Sun Microsystems products */
! product SUN KEYBOARD		0x0005	Type 6 USB keyboard
  /* XXX The above is a North American PC style keyboard possibly */
+ product SUN MOUSE			0x0100	Type 6 USB mouse
  
  /* Supra products */
  product DIAMOND2 SUPRAEXPRESS56K 0x07da	Supra Express 56K modem

*** usbdevs.h.orig	Tue Apr 10 21:15:53 2001
--- usbdevs.h	Wed Apr 11 21:56:45 2001
***************
*** 842,849 ****
  #define	USB_PRODUCT_STSN_STSN0001	0x0001		/* Internet Access Device */
  
  /* Sun Microsystems products */
! #define	USB_PRODUCT_SUN_KEYBOARD	0x0005		/* Type 6 USB */
  /* XXX The above is a North American PC style keyboard possibly */
  
  /* Supra products */
  #define	USB_PRODUCT_DIAMOND2_SUPRAEXPRESS56K	0x07da		/* Supra Express 56K modem */
--- 842,850 ----
  #define	USB_PRODUCT_STSN_STSN0001	0x0001		/* Internet Access Device */
  
  /* Sun Microsystems products */
! #define	USB_PRODUCT_SUN_KEYBOARD	0x0005		/* Type 6 USB keyboard */
  /* XXX The above is a North American PC style keyboard possibly */
+ #define	USB_PRODUCT_SUN_MOUSE		0x0100		/* Type 6 USB mouse */
  
  /* Supra products */
  #define	USB_PRODUCT_DIAMOND2_SUPRAEXPRESS56K	0x07da		/* Supra Express 56K modem */

*** usbdevs_data.h.orig	Tue Apr 10 21:15:53 2001
--- usbdevs_data.h	Wed Apr 11 21:56:31 2001
***************
*** 1723,1729 ****
  	    USB_VENDOR_SUN, USB_PRODUCT_SUN_KEYBOARD,
  	    0,
  	    "Sun Microsystems",
! 	    "Type 6 USB",
  	},
  	{
  	    USB_VENDOR_DIAMOND2, USB_PRODUCT_DIAMOND2_SUPRAEXPRESS56K,
--- 1723,1735 ----
  	    USB_VENDOR_SUN, USB_PRODUCT_SUN_KEYBOARD,
  	    0,
  	    "Sun Microsystems",
! 	    "Type 6 USB keyboard",
! 	},
! 	{
! 	    USB_VENDOR_SUN, USB_PRODUCT_SUN_MOUSE,
! 	    0,
! 	    "Sun Microsystems",
! 	    "Type 6 USB mouse",
  	},
  	{
  	    USB_VENDOR_DIAMOND2, USB_PRODUCT_DIAMOND2_SUPRAEXPRESS56K,
>Release-Note:
>Audit-Trail:
>Unformatted: