NetBSD Problem Report #22017

Received: (qmail 25783 invoked by uid 605); 30 Jun 2003 09:51:03 -0000
Message-Id: <20030630095058.1129511153@narn.netbsd.org>
Date: Mon, 30 Jun 2003 09:50:58 +0000 (UTC)
From: katsuhisa.abe@nifty.com
Sender: gnats-bugs-owner@netbsd.org
Reply-To: katsuhisa.abe@nifty.com
To: gnats-bugs@gnats.netbsd.org
Subject: Use the Sony USB Memory Stick Slot (MSC-U03)
X-Send-Pr-Version: www-1.0

>Number:         22017
>Category:       misc
>Synopsis:       Use the Sony USB Memory Stick Slot (MSC-U03)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 30 09:52:00 +0000 2003
>Closed-Date:    Mon Jun 30 12:43:47 +0000 2003
>Last-Modified:  Mon Jun 30 12:43:47 +0000 2003
>Originator:     Katsuhisa ABE
>Release:        NetBSD-current 1.6U
>Organization:
>Environment:
NetBSD komachi 1.6U NetBSD 1.6U (KOMACHI) #10: Fri Jun 27 13:31:42 JST 2003  abekatsu@komachi:/usr/local/src/sys/arch/i386/compile/KOMACHI i386
>Description:
The recent notePC VAIO use the USB Memory Stick Slot, MSC-U03.
So I touch the sys/dev/usb/umass_quirk.c to use it from NetBSD.
>How-To-Repeat:
N/A
>Fix:
Please consider that the following patch is suitable. If so, please include it.


Index: umass_quirks.c
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/umass_quirks.c,v
retrieving revision 1.42
diff -u -r1.42 umass_quirks.c
--- umass_quirks.c      2003/06/26 00:18:09     1.42
+++ umass_quirks.c      2003/06/30 09:34:18
@@ -379,6 +379,14 @@
          NULL, NULL
        },

+        { { USB_VENDOR_SONY, USB_PRODUCT_SONY_MSC_U03 },
+         UMASS_WPROTO_CBI, UMASS_CPROTO_UFI,
+          0,
+          0,
+          UMATCH_DEVCLASS_DEVSUBCLASS_DEVPROTO,
+          NULL, umass_fixup_sony
+        },
+
        { { USB_VENDOR_TEAC, USB_PRODUCT_TEAC_FD05PUB },
          UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
          0,
Index: usbdevs
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs,v
retrieving revision 1.331
diff -u -r1.331 usbdevs
--- usbdevs     2003/06/26 00:18:08     1.331
+++ usbdevs     2003/06/30 09:34:19
@@ -1335,6 +1336,7 @@
 product SONY PS2KEYBOARDHUB    0x005d  PlayStation2 keyboard hub
 product SONY PS2MOUSE          0x0061  PlayStation2 mouse
 product SONY CLIE_40           0x0066  Sony Clie v4.0
+product SONY MSC_U03           0x0069  MSC memory stick slot MSC-U03
 product SONY CLIE_40_MS                0x006d  Sony Clie v4.0 Memory Stick slot
 product SONY CLIE_S360         0x0095  Sony Clie s360
 product SONY CLIE_41_MS                0x0099  Sony Clie v4.1 Memory Stick slot
Index: usbdevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs.h,v
retrieving revision 1.336
diff -u -r1.336 usbdevs.h
--- usbdevs.h   2003/06/26 00:20:18     1.336
+++ usbdevs.h   2003/06/30 09:34:19
@@ -1,5 +1,5 @@
-/*     $NetBSD: usbdevs.h,v 1.336 2003/06/26 00:20:18 jschauma Exp $   */+/*     $NetBSD$        */

 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1342,6 +1343,7 @@
 #define        USB_PRODUCT_SONY_PS2KEYBOARDHUB 0x005d          /* PlayStation2 
keyboard hub */
 #define        USB_PRODUCT_SONY_PS2MOUSE       0x0061          /* PlayStation2 
mouse */
 #define        USB_PRODUCT_SONY_CLIE_40        0x0066          /* Sony Clie v4.
0 */
+#define        USB_PRODUCT_SONY_MSC_U03        0x0069          /* MSC memory st
ick slot MSC-U03 */
 #define        USB_PRODUCT_SONY_CLIE_40_MS     0x006d          /* Sony Clie v4.
0 Memory Stick slot */
 #define        USB_PRODUCT_SONY_CLIE_S360      0x0095          /* Sony Clie s36
0 */
 #define        USB_PRODUCT_SONY_CLIE_41_MS     0x0099          /* Sony Clie v4.
1 Memory Stick slot */
Index: usbdevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/usb/usbdevs_data.h,v
retrieving revision 1.337
diff -u -r1.337 usbdevs_data.h
--- usbdevs_data.h      2003/06/26 00:20:18     1.337
+++ usbdevs_data.h      2003/06/30 09:34:20
@@ -1,5 +1,5 @@
-/*     $NetBSD: usbdevs_data.h,v 1.337 2003/06/26 00:20:18 jschauma Exp $      
*/
+/*     $NetBSD$        */

 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -3644,7 +3650,13 @@
            0,
            "Sony",
            "Sony Clie v4.0",
+       },
+       {
+           USB_VENDOR_SONY, USB_PRODUCT_SONY_MSC_U03,
+           0,
+           "Sony",
+           "MSC memory stick slot MSC-U03",
        },
        {
            USB_VENDOR_SONY, USB_PRODUCT_SONY_CLIE_40_MS,


>Release-Note:
>Audit-Trail:

From: Martin Husemann <martin@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/22017 CVS commit: src/sys/dev/usb
Date: Mon, 30 Jun 2003 12:41:38 +0000 (UTC)

 Module Name:	src
 Committed By:	martin
 Date:		Mon Jun 30 12:41:38 UTC 2003

 Modified Files:
 	src/sys/dev/usb: umass_quirks.c usbdevs

 Log Message:
 Add Sony USB Memory Stick Slot (MSC-U03),
 from Katsuhisa ABE in PR 22017.


 To generate a diff of this commit:
 cvs rdiff -r1.42 -r1.43 src/sys/dev/usb/umass_quirks.c
 cvs rdiff -r1.331 -r1.332 src/sys/dev/usb/usbdevs

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: martin 
State-Changed-When: Mon Jun 30 12:43:06 UTC 2003 
State-Changed-Why:  
Commited, thanks! 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.