From owner-freebsd-questions Sun Jun 23 7:23:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blount.mail.mindspring.net (blount.mail.mindspring.net [207.69.200.226]) by hub.freebsd.org (Postfix) with ESMTP id 32F9137B400 for ; Sun, 23 Jun 2002 07:23:45 -0700 (PDT) Received: from 2cust166.tnt1.columbus.oh.da.uu.net ([67.217.172.166] helo=ix.netcom.com) by blount.mail.mindspring.net with esmtp (Exim 3.33 #1) id 17M8HE-0000lK-00; Sun, 23 Jun 2002 10:23:40 -0400 Message-ID: <3D15DA02.BD15A0C1@ix.netcom.com> Date: Sun, 23 Jun 2002 10:24:02 -0400 From: Richard Scranton Reply-To: scrantr@ix.netcom.com Organization: Online Computer Library Center, Inc. X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.1-RELEASE i386) X-Accept-Language: en-US, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Imation FlashGO! works with quirks entries Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I was able to get the Imation FlashGO! USB flash memory gadget to work reliably with FreeBSD v4.1 by adding quirks entries for each of the card types. The FlashGO! comes as a USB adaptor for Compact Flash memory cards, and 3 different sleeves that allow it to accomodate Memory Stick, SD/MMC, and Smart Media cards. Only the SD/MMC option worked without the quirks entries in cam/scsi/scsi_da.c, and I don't have a Smart Media card to test, but Compact Flash and Memory Stick will work with the following change. Each type of memory card appears as a different device. The system I am using is a Sony VAIO Z505JS, FreeBSD 4.1-R, and some suspend/resume fixes. The part number on the USB adaptor is IMN-USG-FG1. I wanted to get this into the mailing list, as current wisdom seems to be that only the SanDisk ImageMate is useable. vaio [/x/home/richard]: cd /usr/src/sys/cam/scsi vaio [/usr/src/sys/cam/scsi]: rcsdiff -r1.1 -r1.2 scsi_da.c =================================================================== RCS file: RCS/scsi_da.c,v retrieving revision 1.1 retrieving revision 1.2 diff -r1.1 -r1.2 200a201,208 > }, > { > {T_DIRECT, SIP_MEDIA_REMOVABLE, "OEI-USB", "CompactFlash", "*"}, > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE > }, > { > {T_DIRECT, SIP_MEDIA_REMOVABLE, "OEI-USB", "Memory Stick", "*"}, > /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE -- ______________________________________________ Reach high, for stars lie hidden in your soul. Dream deep, for every dream precedes the goal. http://www.netcom.com/~scrantr/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message