NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: possible fix for strange USB sticks / SD card readers



Matthias Drochner <M.Drochner%fz-juelich.de@localhost> wrote:

> On Mon, 13 Aug 2012 13:02:33 -0700
> Jeff_W <jgw%tx0.org@localhost> wrote:
> > Yes, that patch seems to have fixed things for my no-name "SDHC card
> > reader 150x" on NetBSD-5.0.2/i36:
>
> Great -- could you please try the appended patch instead? It tries
> to fix the reason of the error instead of ignoring it later.
> (The patch is for NetBSD-5.1.2 but I hope it applies too.)


New patch also works for me:

# uname -smr
NetBSD 5.0.2_PATCH i386

# dmesg | tail
...
Aug 17 10:06:58 thinkcentre /netbsd: umass0 at uhub3 port 6 configuration 1 
interface 0
Aug 17 10:06:58 thinkcentre /netbsd:
Aug 17 10:06:58 thinkcentre /netbsd: umass0: Silicon Motion, Inc. Generic 
USB2.0 card, rev 2.00/1.00, addr 2
Aug 17 10:06:58 thinkcentre /netbsd: umass0: using SCSI over Bulk-Only
Aug 17 10:06:58 thinkcentre /netbsd: scsibus0 at umass0: 2 targets, 1 lun per 
target
Aug 17 10:06:58 thinkcentre /netbsd: sd0 at scsibus0 target 0 lun 0: <Generic, 
USB  SD Reader, 1.00> disk removable
Aug 17 10:06:58 thinkcentre /netbsd: sd0: 3796 MB, 964 cyl, 128 head, 63 sec, 
512 bytes/sect x 7774208 sectors
Aug 17 10:09:53 thinkcentre ntpd[246]: kernel time sync status change 
0x2001<PLL,NANO,MODE=0x0=PLL,CLK=0x0=A>

# sudo usbdevs -v -a 2 -d -f /dev/usb3
Controller /dev/usb3:
addr 2: high speed, power 500 mA, config 1, Generic USB2.0 card(0x6200), 
Silicon Motion, Inc.(0x090c), rev 1.00, serial 12345678901234567890
  umass0


Thanks for your efforts!

--Jeff W.



Home | Main Index | Thread Index | Old Index