From m@fjts.org  Sat Mar 16 23:33:37 2002
Return-Path: <m@fjts.org>
Received: from t-mta7.odn.ne.jp (mfep7.odn.ne.jp [143.90.131.185])
	by hub.freebsd.org (Postfix) with ESMTP id 5F11737B404
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 16 Mar 2002 23:33:31 -0800 (PST)
Received: from localhost ([61.123.169.100]) by t-mta7.odn.ne.jp with ESMTP
          id <20020317073329184.CHUH.32433.t-mta7.odn.ne.jp@mta7.odn.ne.jp>;
          Sun, 17 Mar 2002 16:33:29 +0900
Message-Id: <20020317.163326.74745845.m@fjts.org>
Date: Sun, 17 Mar 2002 16:33:26 +0900 (JST)
From: Masaharu FUJITA <m@fjts.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject:

>Number:         35999
>Category:       kern
>Synopsis:       add support for general flash disks to scsi_da.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    njl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 16 23:40:00 PST 2002
>Closed-Date:    Thu Oct 03 10:01:28 PDT 2002
>Last-Modified:  Thu Oct 03 10:01:28 PDT 2002
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Submitter-Id:	current-users
 Originator:	Masaharu FUJITA
 Organization:	
 Confidential:	no <FreeBSD PRs are public data>
 Synopsis:	[PATCH] USB memory card reader/writer RD5
 Severity:	non-critical
 Priority:	medium
 Category:	kern
 Class:		update
 Release:	FreeBSD 5.0-CURRENT-20020101-JPSNAP i386
 Environment:	FreeBSD 5.0-CURRENT-20020101-JPSNAP i386
 System: FreeBSD air.fjts.net 5.0-CURRENT-20020101-JPSNAP FreeBSD 5.0-CURRENT-20020101-JPSNAP #2: Sun Mar 3 22:08:14 JST 2002 fujita@air.fjts.net:/usr/src/sys/i386/compile/AIR i386
 
 Description:
 	Patch for use USB memory card reader/writer RD5.
 
 How-To-Repeat:
 
 Fix:
 --- scsi_da.c.orig	Mon Dec 10 06:38:33 2001
 +++ scsi_da.c	Sun Mar 17 14:43:37 2002
 @@ -342,6 +342,13 @@
  		 */
  		{T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DIMAGE 2330*", "*"},
  		/*quirks*/ DA_Q_NO_6_BYTE
 +	},
 +	{
 +		/*
 +		 * General Flash Disk Drive.
 +		 */
 +		{T_DIRECT, SIP_MEDIA_REMOVABLE, "General", "Flash Disk Drive","*"},
 +		/*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
  	}
  };
  
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Tue Mar 19 02:21:57 PST 2002 
Responsible-Changed-Why:  
This seems like something freebsd-bugs should handle. 

To the submitter: 
This change request didn't have a Synopsis line, it's category line 
was empty too.  Please do take the time to fill properly the fields of 
the problem report.  Otherwise there's non guarantee that someone will 
see your problem report in time.  A lot of people use the Synopsis to 
choose which problem report they'll hunt down next. 

Thanks for your submission though, 
keep the good work coming :) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35999 
Class-Changed-From-To: sw-bug->update 
Class-Changed-By: greid 
Class-Changed-When: Wed Mar 20 02:33:30 PST 2002 
Class-Changed-Why:  
Unmangle 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35999 
State-Changed-From-To: open->feedback 
State-Changed-By: njl 
State-Changed-When: Fri Aug 16 00:54:37 PDT 2002 
State-Changed-Why:  
Please let us know if you are still having the problem.  CDB6 quirks with 
USB should be no longer necessary.  If your device won't work without the 
quirks, please send a full dmesg so we can track down the root problem. 


Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi 
Responsible-Changed-By: njl 
Responsible-Changed-When: Fri Aug 16 00:54:37 PDT 2002 
Responsible-Changed-Why:  
SCSI cdb6 problem 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35999 
Responsible-Changed-From-To: freebsd-scsi->scsi 
Responsible-Changed-By: johan 
Responsible-Changed-When: Sat Aug 24 19:06:36 PDT 2002 
Responsible-Changed-Why:  
Use short names for mailing list to make searches    
using the web query form work with the shown responsible. 

This also makes open PRs show up in the summery mail. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=35999 
Responsible-Changed-From-To: scsi->njl 
Responsible-Changed-By: njl 
Responsible-Changed-When: Tue Oct 1 13:47:22 PDT 2002 
Responsible-Changed-Why:  
New quirk maintainer.  Please add any information that is missing 
(i.e. new/old dmesg, exact device info, etc.)  You can find all the 
needed information at: 
http://www.root.org/~nate/freebsd/quirks.html 


http://www.freebsd.org/cgi/query-pr.cgi?pr=35999 

From: Nate Lawson <nate@root.org>
To: Masaharu FUJITA <m@fjts.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/35999
Date: Wed, 2 Oct 2002 15:15:10 -0700 (PDT)

 Please respond.  This PR will be closed in 2 weeks.
 

From: Masaharu FUJITA <m@fjts.org>
To: nate@root.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/35999
Date: Thu, 03 Oct 2002 10:07:30 +0900 (JST)

 Sorry for the reply to have become slow.
 
 If I try on 5.0-CURRENT-20020917-JPSNAP with no this patch,
 then I can not mount compact flash card.
 But, if I try with this patch, then I can mount compact flash card.
 
 I feel glad if you commit this patch.
 
 Thanks,
 Masaharu FUJITA
 ---
 Written by Masaharu FUJITA <m@fjts.org>, http://fjts.org/~m/

From: Nate Lawson <nate@root.org>
To: Masaharu FUJITA <m@fjts.org>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/35999
Date: Wed, 2 Oct 2002 22:42:11 -0700 (PDT)

 > If I try on 5.0-CURRENT-20020917-JPSNAP with no this patch,
 > then I can not mount compact flash card.
 > But, if I try with this patch, then I can mount compact flash card.
 
 Please see my quirk PR recommendations:
    http://www.root.org/~nate/freebsd/quirks.html
 
 Please submit the information listed there (dmesg for failure, dmesg for
 success, full device manufacturer/model #, etc.) so we can be sure the
 problem is understood.  For instance, did you try without the
 "NO_SYNC_CACHE" part?  What was the result?
 
 > I feel glad if you commit this patch.
 
 I will be happy to once the appropriate information is added to the PR.
 
 Thanks,
 Nate
 

From: Masaharu FUJITA <m@fjts.org>
To: nate@root.org
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/35999
Date: Thu, 03 Oct 2002 20:30:54 +0900 (JST)

 From: Nate Lawson <nate@root.org>
 Subject: Re: kern/35999
 Date: Wed, 2 Oct 2002 22:42:11 -0700 (PDT)
 
 > > If I try on 5.0-CURRENT-20020917-JPSNAP with no this patch,
 > > then I can not mount compact flash card.
 > > But, if I try with this patch, then I can mount compact flash card.
 > 
 > Please see my quirk PR recommendations:
 >    http://www.root.org/~nate/freebsd/quirks.html
 > 
 > Please submit the information listed there (dmesg for failure, dmesg for
 > success, full device manufacturer/model #, etc.) so we can be sure the
 > problem is understood.  For instance, did you try without the
 > "NO_SYNC_CACHE" part?  What was the result?
 
 If I try without the "NO_SYNC_CACHE" part, 
 then I can mount compact flash card.
 And if I try without this patch, then I can mount compact flash card!
 
 dmesg is next:
 
 umass0: PQI Travel Flash, rev 1.10/2.05, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: <General Flash Disk Drive 2.05> Removable Direct Access SCSI-2 device 
 da0: 1.000MB/s transfers
 da0: 15MB (31488 512 byte sectors: 0H 0S/T 0C)
 umass0: at uhub0 port 1 (addr 2) disconnected
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 umass0: detached
 
 "usbdevs -h" is next:
 
 Controller /dev/usb0:
 addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), AcerLabs(0x0000), rev 1.00
  port 1 addr 2: full speed, power 100 mA, config 1, Travel Flash(0x0001), PQI(0x3538), rev 2.05
  port 2 powered
 
 > > I feel glad if you commit this patch.
 > I will be happy to once the appropriate information is added to the PR.
 
 I am happy even if this patch is not commited.
 Sorry for my mistake.
 
 Thanks,
 Masaharu FUJITA
 ---
 Written by Masaharu FUJITA <m@fjts.org>, http://fjts.org/~m/
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: njl 
State-Changed-When: Thu Oct 3 10:00:58 PDT 2002 
State-Changed-Why:  
Glad to hear things are working.  This PR is closed. 

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