From lonewolf-freebsd@earthmagic.org  Wed Oct 22 00:35:32 2003
Return-Path: <lonewolf-freebsd@earthmagic.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E4CE216A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Oct 2003 00:35:32 -0700 (PDT)
Received: from helios.earthmagic.org (helios.earthmagic.org [198.78.66.220])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4553143FD7
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 22 Oct 2003 00:35:32 -0700 (PDT)
	(envelope-from lonewolf-freebsd@earthmagic.org)
Received: (qmail 27882 invoked from network); 22 Oct 2003 07:35:31 -0000
Received: from ppp149-170.lns1.mel2.internode.on.net (HELO earthmagic.org) (lonewolf@150.101.149.170)
  by helios.earthmagic.org with RC4-MD5 encrypted SMTP; 22 Oct 2003 07:35:31 -0000
Message-Id: <3F963341.60807@earthmagic.org>
Date: Wed, 22 Oct 2003 17:35:29 +1000
From: Johny Mattsson <lonewolf-freebsd@earthmagic.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [patch] USB/uvisor recognition of Palm Tungsten W

>Number:         58366
>Category:       kern
>Synopsis:       [patch] USB/uvisor recognition of Palm Tungsten W
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    joe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 22 00:40:10 PDT 2003
>Closed-Date:    Sat Nov 08 03:36:39 PST 2003
>Last-Modified:  Sat Nov 08 03:36:39 PST 2003
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
  >Submitter-Id:  current-users
  >Originator:    Johny Mattsson
  >Organization:
  >Confidential:  no
  >Synopsis:      [patch] USB/uvisor recognition of Palm Tungsten W
  >Severity:      non-critical
  >Priority:      low
  >Category:      kern
  >Class:         update
  >Release:       FreeBSD 5.1-RELEASE i386
  >Environment:
 System: FreeBSD sarah.zone2.earthmagic.org 5.1-RELEASE FreeBSD 
 5.1-RELEASE #11: Wed Oct 22 12:19:41 EST 2003 
 root@sarah.zone2.earthmagic.org:/usr/src/sys/i386/compile/SARAH i386
 
 
 
  >Description:
 The uvisor driver does not recognize the Palm Tungsten W model. The
 attached patches provide such support (i.e. adds the vendor/product info
 to usbdevs and uvisor.c). Without this, many Palm sync programs do not
 work (as they can't talk to the "ugen" device directly).
 
 
  >How-To-Repeat:
 Attempt to sync a Tungsten W using a USB cradle/cable. Only a "ugen"
 device will be created, not a "ucom", which is necessary for e.g. the
 port palm/pilot-xfer to work.
 
  >Fix:
 Patches for sys/dev/usb/{usbdevs,uvisor.c} attached.
 
 
 --- usbdevs.tungstenw.patch begins here ---
 --- usbdevs.org Tue Oct 21 12:38:47 2003
 +++ usbdevs     Tue Oct 21 12:40:01 2003
 @@ -932,6 +932,7 @@
   product PALM M505              0x0002  Palm m505
   product PALM M515              0x0003  Palm m515
   product PALM M125              0x0040  Palm m125
 +product PALM TUNGSTEN_W                0x0031  Palm Tungsten W
 
   /* Panasonic products */
   product PANASONIC SDCAAE       0x1b00  MultiMediaCard Adapter
 --- usbdevs.tungstenw.patch ends here ---
 
 --- uvisor.c.tungstenw.patch begins here ---
 --- uvisor.c.org        Tue Oct 21 12:41:11 2003
 +++ uvisor.c    Tue Oct 21 12:41:47 2003
 @@ -200,6 +200,7 @@
          {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M505 }, PALM4 },
          {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M515 }, PALM4 },
          {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_M125 }, PALM4 },
 +       {{ USB_VENDOR_PALM, USB_PRODUCT_PALM_TUNGSTEN_W }, PALM4 },
          {{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40 }, PALM4 },
          {{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_41 }, 0 },
          {{ USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_50 }, 0 },
 --- uvisor.c.tungstenw.patch ends here ---
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Oct 24 19:50:41 PDT 2003 
Responsible-Changed-Why:  
Fix class and responsible. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58366 
Responsible-Changed-From-To: freebsd-bugs->joe 
Responsible-Changed-By: joe 
Responsible-Changed-When: Wed Oct 29 13:52:29 PST 2003 
Responsible-Changed-Why:  
I'll take this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58366 
State-Changed-From-To: open->analyzed 
State-Changed-By: joe 
State-Changed-When: Wed Oct 29 13:53:23 PST 2003 
State-Changed-Why:  
This device id is already in -current.  Once the stable code freeze is over 
I'll get it MFC'd. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58366 
State-Changed-From-To: analyzed->closed 
State-Changed-By: joe 
State-Changed-When: Sat Nov 8 03:34:12 PST 2003 
State-Changed-Why:  
This appears to have been fixed. (Although the device is defined 
as TUNGSTEN_Z in the configuration files). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58366 
>Unformatted:
