Date: Sat, 24 Jan 2009 12:30:56 -0800 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: Carlos Corona <cdk1@bsd.cl>, freebsd-current@FreeBSD.org Subject: Re: Prblem whit USB in FreeBSD 8 Message-ID: <497B7A80.4060002@FreeBSD.org> In-Reply-To: <200901241638.18591.hselasky@c2i.net> References: <c321c71d0901240614i59258744g9eeb8d342da90662@mail.gmail.com> <200901241638.18591.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hans Petter Selasky wrote: > On Saturday 24 January 2009, Carlos Corona wrote: >> Hi * >> >> I'm running FreeBSD 8 i386 on my machine X2 AMD Athlon 64, I have devices >> such as USB keyboard and mouse, which works perfectly, but as to the >> pendrive, I had some problems when I connect my pendrive Fujitel for 1GB >> recognizes this, but will not let me do anything, I can open applications, >> etc. loggin a console, I managed to do the dmesg when connecting: >> >> (da0: UMass-sim0: 0:0:0): lost device >> (da0: UMass-sim0: 0:0:0): Synchronize cache failed, status == 0x39, scsi >> status == 0x0 >> (da0: UMass-sim0: 0:0:0): removing device entry >> GEOM_LABEL: Label msdosfs / [you: Qiufo] removed. >> umass0: detached >> >> Can onlydisconnect hold back my system, any thoughts on this? thanks in >> advance > > Hi, > > Most likely The firmware on your pendrive is not fully SCSI compliant. > > Read: http://wiki.freebsd.org/USB > > and the section about adding an USB Mass Storage Quirk. > > You need to add something like this to "sys/dev/usb2/storage/umass2.c" : > > {USB_VENDOR_MEIZU, USB_PRODUCT_MEIZU_M6_SL, RID_WILDCARD, > UMASS_PROTO_SCSI | UMASS_PROTO_BBB, > NO_INQUIRY | NO_SYNCHRONIZE_CACHE > }, I wonder if this situation can be handled automatically. To my ignorant view, our USB mass storage driver can try sending "synchronize cache" command and if that fails then failback to the NO_SYNCHRONIZE_CACHE behavior. -Maxim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497B7A80.4060002>