Subject: misc/22017: Use the Sony USB Memory Stick Slot (MSC-U03)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <katsuhisa.abe@nifty.com>
List: netbsd-bugs
Date: 06/30/2003 09:50:58
>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: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Jun 30 09:52:00 UTC 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: