NetBSD Problem Report #23290
Received: (qmail 26806 invoked by uid 605); 28 Oct 2003 03:34:52 -0000
Message-Id: <200310280234.h9S2Yjqk000732@vash.cel.plethora.net>
Date: Mon, 27 Oct 2003 20:34:45 -0600 (CST)
From: seebs <seebs@vash.cel.plethora.net>
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: seebs@vash.cel.plethora.net
To: gnats-bugs@gnats.netbsd.org
Subject: Treo 600 support
X-Send-Pr-Version: 3.95
>Number: 23290
>Category: kern
>Synopsis: Treo 600 support requires new usbdevs entry
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Oct 28 03:35:01 +0000 2003
>Closed-Date: Fri Apr 29 17:59:24 +0000 2005
>Last-Modified: Fri Apr 29 17:59:24 +0000 2005
>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:
From: Lennart Augustsson <lennart@augustsson.net>
To: seebs@vash.cel.plethora.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/23290: Treo 600 support
Date: Tue, 28 Oct 2003 12:05:14 +0100
I've added the Treo600 to usedevs, but to actually get it to
work I think some more is needed. The Linux driver has some
hints.
-- Lennart
From: seebs@plethora.net (Peter Seebach)
To: Lennart Augustsson <lennart@augustsson.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/23290: Treo 600 support
Date: Tue, 28 Oct 2003 09:10:53 -0600
In message <3F9E4D6A.6010805@augustsson.net>, Lennart Augustsson writes:
>I've added the Treo600 to usedevs, but to actually get it to
>work I think some more is needed. The Linux driver has some
>hints.
I've successfully dialed up using notifymail's "wmodem". No problems.
The *300* is hopeless, but the *600* works fine. (Thanks to the Notifymail
tech support guy for pointing out that the 600 had a better USB chipset.)
-s
From: "Nathan J. Williams" <nathanw@wasabisystems.com>
To: seebs@vash.cel.plethora.net
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/23290: Treo 600 support
Date: 28 Oct 2003 12:35:40 -0500
seebs <seebs@vash.cel.plethora.net> writes:
> ***************
> *** 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 },
You should try using PALM4 as the value at the end there; it's really
a protocol specifier, and PALM4 is the "newer" USB protocol that Palm
developed. There's no particular sense of brand loyalty in this table.
- Nathan
From: seebs@plethora.net (Peter Seebach)
To: "Nathan J. Williams" <nathanw@wasabisystems.com>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/23290: Treo 600 support
Date: Tue, 28 Oct 2003 11:39:44 -0600
In message <mtu1xsxuuxf.fsf@contents-vnder-pressvre.mit.edu>, "Nathan J. Willia
ms" writes:
>You should try using PALM4 as the value at the end there; it's really
>a protocol specifier, and PALM4 is the "newer" USB protocol that Palm
>developed. There's no particular sense of brand loyalty in this table.
Yes, but PALM4 didn't work, VISOR did.
-s
From: seebs@plethora.net (Peter Seebach)
To: "Nathan J. Williams" <nathanw@wasabisystems.com>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/23290: Treo 600 support
Date: Sun, 28 Dec 2003 22:04:36 -0600
In message <mtu1xsxuuxf.fsf@contents-vnder-pressvre.mit.edu>, "Nathan J. Willia
ms" writes:
>> 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 },
>You should try using PALM4 as the value at the end there; it's really
>a protocol specifier, and PALM4 is the "newer" USB protocol that Palm
>developed. There's no particular sense of brand loyalty in this table.
This somehow got checked in with PALM4. Unfortunately, the Treo 600 uses
the "old" VISOR protocol, not PALM4, so that doesn't work. :)
-s
State-Changed-From-To: open->closed
State-Changed-By: augustss@netbsd.org
State-Changed-When: Fri, 29 Apr 2005 17:59:24 +0000
State-Changed-Why:
The Treo 600 has been added.
>Unformatted:
(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.