Subject: kern/25929: Zire 31 product ID codes.
To: None <gnats-bugs@gnats.NetBSD.org>
From: seebs <seebs@vash.cel.plethora.net>
List: netbsd-bugs
Date: 06/14/2004 16:45:11
>Number:         25929
>Category:       kern
>Synopsis:       PalmOne Zire 31 should be in usbdevs.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 14 21:46:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     seebs
>Release:        NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 2.0F NetBSD 2.0F (VASH) #0: Mon May 31 10:35:42 CDT 2004 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	The Palm Zire 31 exists, but isn't supported.
>How-To-Repeat:
	Get a Zire 31.
>Fix:
	You can ignore the stuff about the Treo 600.  There appear to be
	two models of Treo 600, one of which uses the PALM4 protocol, one
	of which uses the VISOR protocol.  Argh!  But the Zire 31 code
	seems to actually work as intended.

Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.376
diff -c -r1.376 usbdevs
*** usbdevs	5 Jun 2004 08:39:31 -0000	1.376
--- usbdevs	14 Jun 2004 21:43:19 -0000
***************
*** 1266,1271 ****
--- 1266,1272 ----
  product PALM M125		0x0040	Palm m125
  product PALM M130		0x0050	Palm m130
  product PALM TUNGSTEN_T		0x0060	Palm Tungsten T
+ product PALM ZIRE31		0x0061	Palm Zire 31
  product PALM ZIRE		0x0070	Palm Zire
  
  /* Panasonic products */
Index: uvisor.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uvisor.c,v
retrieving revision 1.25
diff -c -r1.25 uvisor.c
*** uvisor.c	23 Apr 2004 17:25:27 -0000	1.25
--- uvisor.c	14 Jun 2004 21:44:32 -0000
***************
*** 177,183 ****
  static const struct uvisor_type uvisor_devs[] = {
  	{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_VISOR }, VISOR },
  	{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO }, PALM4 },
! 	{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO600 }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M500 }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M505 }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M515 }, PALM4 },
--- 177,183 ----
  static const struct uvisor_type uvisor_devs[] = {
  	{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_VISOR }, VISOR },
  	{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO }, PALM4 },
! 	{{ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO600 }, VISOR },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M500 }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M505 }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M515 }, PALM4 },
***************
*** 187,192 ****
--- 187,193 ----
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_Z }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_T }, PALM4 },
  	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_ZIRE }, PALM4 },
+ 	{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_ZIRE31 }, PALM4 },
  	{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40 }, PALM4 },
  	{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_41 }, PALM4 },
  	{{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_S360 }, PALM4 },
>Release-Note:
>Audit-Trail:
>Unformatted: