Subject: Re: USB card readers?
To: Simon J. Gerraty <sjg@crufty.net>
From: Brian Buhrow <buhrow@lothlorien.nfbcal.org>
List: port-i386
Date: 03/28/2006 12:43:55
	Hello.  I never run scsictl to probe a newly added USB device.  When
it's plugged in, if all's well, it's probed and all targets are attached.
	Below is an excerpt from cvsweb.netbsd.org showing when the changes
from usb_subr.c V1.130 were pulled into the netbsd-2 and netbsd-3 branches,
respectively.  It looks like the netbsd-2-0 branch was left in the cold, so
if you want this new functionality, you need to go with NetBSD-2.1,
NetBSD-3.x or NetBSD-current.  Or, just apply the patch manually, which is
what I did for a couple of months before I upgraded everything to
NetBSD-3.0.
-Brian


   Revision  1.111.2.1.2.1  / (download) - annotate - [select for diffs],
   Tue Dec 6 16:55:30 2005 UTC (3 months, 2 weeks ago) by tron
   Branch: netbsd-2 
   Changes since 1.111.2.1: +2 -11 lines
   Diff to previous 1.111.2.1 (colored) next main 1.112 (colored)
Pull up following revision(s) (requested by riz in ticket #10181):
        sys/dev/usb/usb_subr.c: revision 1.130
usbd_setup_pipe(): Don't call usbd_clear_endpoint_stall(). It's not
necessary for normal devices, and it prevents some common (but
apparantly buggy) devices from working, including the Apple iPod (mini
and photo) and certain M-Systems DiskOnKey flash devices.
If (also buggy) devices resurface that need this when they are
attached, they can be addressed, ideally in each device's driver.
     _________________________________________________________________

   Revision  1.122.2.1  / (download) - annotate - [select for diffs], Thu
   Oct 6 11:40:52 2005 UTC (5 months, 3 weeks ago) by tron
   Branch: netbsd-3 
   CVS    Tags:   netbsd-3-0-RELEASE,   netbsd-3-0-RC6,   netbsd-3-0-RC5,
   netbsd-3-0-RC4,    netbsd-3-0-RC3,   netbsd-3-0-RC2,   netbsd-3-0-RC1,
   netbsd-3-0 
   Changes since 1.122: +2 -11 lines
   Diff to previous 1.122 (colored) next main 1.123 (colored)
Pull up following revision(s) (requested by nathanw in ticket #861):
        sys/dev/usb/usb_subr.c: revision 1.130
usbd_setup_pipe(): Don't call usbd_clear_endpoint_stall(). It's not
necessary for normal devices, and it prevents some common (but
apparantly buggy) devices from working, including the Apple iPod (mini
and photo) and certain M-Systems DiskOnKey flash devices.
If (also buggy) devices resurface that need this when they are
attached, they can be addressed, ideally in each device's driver.
     _________________________________________________________________

   Revision  1.130  / (download) - annotate - [select for diffs], Wed Sep
   21 20:17:22 2005 UTC (6 months ago) by nathanw
   Branch: MAIN 
   CVS  Tags:  yamt-vop-base3,  yamt-vop-base2,  yamt-vop-base, yamt-vop,
   yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2,
   yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr 
   Branch point for: yamt-readahead 
   Changes since 1.129: +2 -11 lines
   Diff to previous 1.129 (colored)
usbd_setup_pipe(): Don't call usbd_clear_endpoint_stall(). It's not
necessary for normal devices, and it prevents some common (but
apparantly buggy) devices from working, including the Apple iPod (mini
and photo) and certain M-Systems DiskOnKey flash devices.

If (also buggy) devices resurface that need this when they are
attached, they can be addressed, ideally in each device's driver.
     _________________________________________________________________