Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 14:06:45 -0400
From:      Larry Baird <lab@gta.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/28877: Support for USB FDD using SMSC controllers
Message-ID:  <20010710140645.A23929@gta.com>

next in thread | raw e-mail | index | archive | help

>Number:         28877
>Category:       kern
>Synopsis:       [Patch] support for USB FDD using SMSC controllers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 10 11:20:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Larry Baird
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
GTA, Inc.
>Environment:
  Machines with USB interfaces tring to use USB floppy based upon smsc
  USB FDD controller (http://www.smsc.com/main/catalog/usb97cfdc.html).
  Example product is http://www.pcally.com/spec/usb/fddusbp.html.


>Description:
USB floppies based upon SMSC USB FDD controller don't work.  The FDD
is detected, but when tring to reand and or write, errors occur.

From dmseg
umass0: SMSC USBFDC GOLD-1.0, rev 1.10/1.00, addr 2
da4 at umass-sim0 bus 0 target 0 lun 0
da4: <SMSC USB FDC 1.00> Removable Direct Access SCSI-0 device
da4: 20KB/s transfers
da4: 1MB (2880 512 byte sectors: 2H 18S/T 80C)


Add following to da_quirk_table[] in sys/cam/scsi/scsi_da.c
        {
                /* SMSC USB floppy */
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"},
                /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE
        },

Note the vendor, product and version for this controller are null
terminated instead of being padded with spaces.  The trailing wildcard
character '*' is required.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010710140645.A23929>