Subject: kern/23290: Treo 600 support
To: None <gnats-bugs@gnats.netbsd.org>
From: seebs <seebs@vash.cel.plethora.net>
List: netbsd-bugs
Date: 10/27/2003 20:34:45
>Number: 23290
>Category: kern
>Synopsis: Treo 600 support requires new usbdevs entry
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 28 03:35:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: seebs
>Release: NetBSD 1.6ZD
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 1.6ZD NetBSD 1.6ZD (VASH) #8: Mon Oct 27 20:02:34 CST 2003 seebs@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
The Handspring "Treo 600" is a USB device which needs special
treatment to probe correctly as a serial device.
>How-To-Repeat:
Get a Treo 600.
>Fix:
Diff enclosed.
Note that the Treo 300 cannot easily be made to work; its USB hardware
is too buggy. But this makes the 600 work, apparently. I haven't
successfully synced yet, but time will tell.
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.349
diff -c -r1.349 usbdevs
*** usbdevs 2003/10/16 08:05:42 1.349
--- usbdevs 2003/10/28 03:32:35
***************
*** 753,758 ****
--- 753,759 ----
/* Handspring, Inc. */
product HANDSPRING VISOR 0x0100 Handspring Visor
product HANDSPRING TREO 0x0200 Handspring Treo
+ product HANDSPRING TREO600 0x0300 Handspring Treo 600
/* Hauppauge Computer Works */
product HAUPPAUGE WINTV_USB_FM 0x4d12 WinTV USB FM
Index: usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.352
diff -c -r1.352 usbdevs.h
*** usbdevs.h 2003/10/16 08:05:54 1.352
--- usbdevs.h 2003/10/28 03:32:38
***************
*** 1,4 ****
! /* $NetBSD: usbdevs.h,v 1.352 2003/10/16 08:05:54 wiz Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
--- 1,4 ----
! /* $NetBSD$ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
***************
*** 760,765 ****
--- 760,766 ----
/* Handspring, Inc. */
#define USB_PRODUCT_HANDSPRING_VISOR 0x0100 /* Handspring Visor */
#define USB_PRODUCT_HANDSPRING_TREO 0x0200 /* Handspring Treo */
+ #define USB_PRODUCT_HANDSPRING_TREO600 0x0300 /* Handspring Treo 600 */
/* Hauppauge Computer Works */
#define USB_PRODUCT_HAUPPAUGE_WINTV_USB_FM 0x4d12 /* WinTV USB FM */
Index: usbdevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.353
diff -c -r1.353 usbdevs_data.h
*** usbdevs_data.h 2003/10/16 08:05:54 1.353
--- usbdevs_data.h 2003/10/28 03:32:42
***************
*** 1,4 ****
! /* $NetBSD: usbdevs_data.h,v 1.353 2003/10/16 08:05:54 wiz Exp $ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
--- 1,4 ----
! /* $NetBSD$ */
/*
* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
***************
*** 1328,1333 ****
--- 1328,1339 ----
0,
"Handspring",
"Handspring Treo",
+ },
+ {
+ USB_VENDOR_HANDSPRING, USB_PRODUCT_HANDSPRING_TREO600,
+ 0,
+ "Handspring",
+ "Handspring Treo 600",
},
{
USB_VENDOR_HAUPPAUGE, USB_PRODUCT_HAUPPAUGE_WINTV_USB_FM,
Index: uvisor.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/uvisor.c,v
retrieving revision 1.21
diff -c -r1.21 uvisor.c
*** uvisor.c 2003/08/03 21:59:26 1.21
--- uvisor.c 2003/10/28 03:32:43
***************
*** 175,182 ****
};
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_PALM, USB_PRODUCT_PALM_M500 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M505 }, PALM4 },
{{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M515 }, PALM4 },
--- 175,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 },
>Release-Note:
>Audit-Trail:
>Unformatted: