From owner-FreeBSD-users-jp@jp.FreeBSD.org Sat Mar 23 17:31:56 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g2N8Vu372265;
	Sat, 23 Mar 2002 17:31:56 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mgate11.so-net.ne.jp (mgate11.so-net.ne.jp [210.139.254.158])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g2N8Vtc72175
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 23 Mar 2002 17:31:55 +0900 (JST)
	(envelope-from hsato@onosokki.co.jp)
Received: from mail.ba2.so-net.ne.jp (mspool12.so-net.ne.jp [210.139.248.12])
	by mgate11.so-net.ne.jp  with ESMTP id g2N8Vsv07452
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 23 Mar 2002 17:31:54 +0900 (JST)
Received: from freebsd.hs.or.jp (p848e6c.sgmipc00.ap.so-net.ne.jp [210.132.142.108])
	by mail.ba2.so-net.ne.jp  with ESMTP id g2N8VrD27814
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 23 Mar 2002 17:31:53 +0900 (JST)
Received: by freebsd.hs.or.jp (8.11.6/3.7W-00071606) with ESMTP id g2N8UZp00458;
	Sat, 23 Mar 2002 17:30:35 +0900 (JST)
Date: Sat, 23 Mar 2002 17:30:35 +0900 (JST)
Message-Id: <20020323.173035.730550007.hsato@ba2.so-net.ne.jp>
To: FreeBSD-users-jp@jp.FreeBSD.org, suzu@readme.jp
From: Hiroaki Satoh (=?iso-2022-jp?B?GyRCOjRGIzkoTEAbKEI=?=)
 <hsato@onosokki.co.jp>
In-Reply-To: <200203051326.g25DQK200423@please.readme.jp>
References: <20020305.202513.730550082.miyata@mte.biglobe.ne.jp>
	<200203051326.g25DQK200423@please.readme.jp>
X-Mailer: Mew version 2.2 on XEmacs 21.1.14 (Cuyahoga Valley)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+020312
X-Sequence: FreeBSD-users-jp 67768
Subject: [FreeBSD-users-jp 67768] Re: DA_Q_NO6_BYTE quirk
Errors-To: owner-FreeBSD-users-jp@jp.FreeBSD.org
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: hsato@onosokki.co.jp


$B:#F|$O(B, $B:4F#9(L@$H$$$$$^$9(B.

$B%a!<%k%9%l%C%I$,<}B+$7$F$+$i(B, $B<ALd$9$k$N$b2?$G$9$,(B, $B0l?M$G$O2r7h$G$-$J$$$N$G(B
$B$*4j$$$7$^$9(B.

$B$$$^(B, 
"DataFab Systems Inc. Dual Slot USB CF , rev 1.00/0.15"

$B$H$$$&(BCF+MS($B%a!<%b%j!<%9%F%#%C%/(B)$B$N(BUSB$B%+!<%I%j!<%@!<$r;}$C$F$$$^$9(B.

$B$3$l$r(B, $B8=:_(B 4.5R$B$N%+!<%M%k$G;H$*$&$H9M$($F$*$j(B, $B$$$m$$$m(B ML$B$d(BWeb$B$r%R%s%H$K(B
$B<!$N$h$&$JJQ99$r2C$($F$_$^$7$?(B.

/sys/dev/usb:
--- usbdevs.dist	Fri Jan  4 09:29:37 2002
+++ usbdevs	Sun Feb 24 16:36:09 2002
@@ -258,6 +258,7 @@
 vendor OLYMPUS		0x07b4	Olympus
 vendor ABOCOM		0x07b8	AboCom Systems, Inc.
 vendor KEISOKUGIKEN	0x07c1	Keisokugiken Corp.
+vendor DATAFAB		0x07c4	DataFab Systems Inc.
 vendor APG		0x07c5	APG Cash Drawer
 vendor BUG		0x07c8	B.U.G., Inc.
 vendor ALLIEDTELESYN	0x07c9	Allied Telesyn International
@@ -493,6 +494,9 @@
 
 /* Dallas Semiconductor products */
 product DALLAS J6502		0x4201	J-6502 speakers
+
+/* DataFab Systems Inc. products */
+product DATAFAB	USD080XX	0xa001	Dual Slot USB CF 
 
 /* Diamond products */
 product DIAMOND RIO500USB	0x0001	Rio 500 USB

 umass.c $B$X<!$rDI2C(B:

	if (UGETW(dd->idVendor) == USB_VENDOR_DATAFAB
	    && UGETW(dd->idProduct) == USB_PRODUCT_DATAFAB_USD080XX) {
		sc->quirks |= NO_TEST_UNIT_READY | NO_START_STOP;
		sc->proto = PROTO_SCSI | PROTO_BBB;
		return(UMATCH_VENDOR_PRODUCT);
	}

/sys/cam/scsi:
--- scsi_da.c.dist Sat Mar 16 02:48:20 2002
+++ scsi_da.c	Sat Mar 23 15:58:28 2002
@@ -241,6 +241,13 @@
 	},
 	{
 		/*
+		 * DataFab Systems Inc. Dual Slot USB CF
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "DataFab*", "*", "*"},
+		/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
+	},
+	{
+		/*
 		 * Sony Memory Stick adapter MSAC-US1 and
 		 * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01).
 		 * Make all sony MS* products use this quirk.

$B$3$l$K$h$j(B, $B<!$N$h$&$K(Bumass$B$K%G%P%$%9$r3d$jIU$1$k$3$H$O$G$-$?$N$G$9$,(B,

umass0: DataFab Systems Inc. Dual Slot USB CF , rev 1.00/0.15, addr 3
umass0: Get Max Lun not supported (STALLED)

$B0J2<$NMQ$K$O(B, umass-sim$B$d(Bda$B$K$O?J$_$^$;$s$G$7$?(B.

suzu> 
suzu> $B!!>.Ln$G$9!#(B
suzu> 
...
suzu> 
suzu> $B@\B3;~!'(B
suzu> umass0: DataFab Systems Inc. USB CF , rev 1.10/3.06, addr 2
suzu> da0 at umass-sim0 bus 0 target 0 lun 0
suzu> da0: <OEI-Link Media Reader 3.06> Removable Direct Access SCSI-0 device 
suzu> da0: 650KB/s transfers
suzu> da0: 61MB (125440 512 byte sectors: 64H 32S/T 61C)
suzu> 

$B%Y%s%@!<(B"DataFab Systems Inc."$B$,0l=o$J$N$K2?$,0c$&$N$@$m$&$+(B? 

$B$^$?(B,$B:G=i$O(B"Get Max Lun not supported (STALLED)"$B$,NI$/$J$$$N$+$H$b;W$$$^$7$?$,(B

umass0: Panasonic (Matsushita) LUMIX DMC-F7 Digital Camera, rev 1.10/1.00, addr 2
umass0: Get Max Lun not supported (STALLED)
da1 at umass-sim0 bus 0 target 0 lun 0
da1: <Pana Mass Storage 1.0> Removable Direct Access SCSI-2 device 
da1: 150KB/s transfers
da1: 60MB (124064 512 byte sectors: 0H 0S/T 0C)

$B$N$h$&$KLdBj$N$J$$>l9g$b$"$k$h$&$G$9(B.

$B$5$i$K(B, $B$7$b$+$o$5$s$N(Bda.no_6_byte$B$N%Q%C%A$b;n$7$F$_$^$7$?$,(B,$B8z2L$,$J$$$h$&$G$9(B

$B$^$?(B, $B0J2<$O(Budesc_dump$B$K$h$k2r@O7k2L$G$9(B.

Standard Device Descriptor:
  bLength            18
  bDescriptorType    01
  bcdUSB             0100
  bDeviceClass       ff
  bDeviceSubClass    00
  bDeviceProtocol    00
  bMaxPacketSize     8
  idVendor           07c4
  idProduct          a001
  bcdDevice          0015
  iManufacturer      1
  iProduct           2
  iSerialNumber      3
  bNumConfigurations 1

Configuration 0:
	Standard Configuration Descriptor:
	  bLength             9
	  bDescriptorType     02
	  wTotalLength        32
	  bNumInterface       1
	  bConfigurationValue 1
	  iConfiguration      0
	  bmAttributes        80
	  bMaxPower           50

	Standard Interface Descriptor:
	  bLength            9
	  bDescriptorType    04
	  bInterfaceNumber   0
	  bAlternateSetting  0
	  bNumEndpoints      2
	  bInterfaceClass    05
	  bInterfaceSubClass 00
	  bInterfaceProtocol 00
	  iInterface         0

	Standard Endpoint Descriptor:
	  bLength          7
	  bDescriptorType  05
	  bEndpointAddress 01 (out)
	  bmAttributes     02 (Bulk)
	  wMaxPacketSize   64
	  bInterval        0

	Standard Endpoint Descriptor:
	  bLength          7
	  bDescriptorType  05
	  bEndpointAddress 82 (in)
	  bmAttributes     02 (Bulk)
	  wMaxPacketSize   64
	  bInterval        0

Codes Representing Languages by the Device:
  bLength          4
  bDescriptorType  03
  wLANGID[0]       0409

String (index 1): DataFab Systems Inc.

String (index 2): Dual Slot USB CF 

String (index 3): 00000000003D

Descriptor (0x21): not supported
Descriptor (0x22): not supported
Descriptor (0x23): not supported
Descriptor (0x24): not supported
Descriptor (0x25): not supported

===
                                   $B?@F`@n8)(B  $BAjLO86;T(B
                                   (Sagamihara-si, Kanagawa-ken)
                                   == mailto:hsato@m.ieice.org      ==
                                   == mailto:hsato@ba2.so-net.ne.jp ==
                                    $B:4F#(B $B9(L@(B   (Hiroaki Satoh)


