From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 10:06:28 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9F2A6DB0 for ; Tue, 16 Jul 2013 10:06:28 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1584ABB4 for ; Tue, 16 Jul 2013 10:06:27 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id BEE587A19F; Tue, 16 Jul 2013 12:06:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id DB1CB8EEC02; Tue, 16 Jul 2013 12:06:28 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id itH+nNWoxVu5; Tue, 16 Jul 2013 12:06:27 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id A3D3A8EEC00; Tue, 16 Jul 2013 12:06:27 +0200 (CEST) Subject: RE: usb/177895: similar 1TB Western Digital "My Passports" - some load, some don't From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Velcro_Leaf?= , =?utf-8?Q?freebsd-usb=40FreeBSD=2Eorg?= Date: Tue, 16 Jul 2013 12:06:27 +0200 Mime-Version: 1.0 In-Reply-To: <1373965992.34006.YahooMailNeo@web164501.mail.gq1.yahoo.com> References: <201304211610.r3LGA21Y061796@freefall.freebsd.org> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:06:28 -0000 Hi,=0D=0A=0D=0AThe stalled messages has nothing to do with the mass stora= ge part. It simply indicates that some error happened during a USB contro= l request. The USB stack will re-try this particular message, so it is no= t directly dangerous.=0D=0A=0D=0AAfter many years in the USB game I feel = a need to emphasize again, that many of the mass storage related errors r= eported here are not a USB HOST problem. There is a USB standard defined = at www.usb.org, that we are trying to comply to. And also there is a SCSI= standard which we are trying to follow. Unfortunately, like with many st= andards, there are some areas which are not covered properly, which leave= room for different implementations.=0D=0A=0D=0AHowever, please continue = to report these issues at this list when you hit them, but also write to = the manufacturer of your device and complain. The FreeBSD`s USB stack has= been analyzed into scrunity by at least one big company, which I suspect= is going to use it in a game's console, and nobody so far gave me feedba= ck that there is something really bad in there going to freak out your co= mputer!=0D=0A=0D=0AI`ve been thinking that perhaps I should start selling= certified USB hardware that doesn`t have all of these caveats you guys r= eport all the time :-) Would you buy stuff if I opened up an USB shop=3F=0D= =0A=0D=0A--HPS=0D=0A=0D=0A-----Original message-----=0D=0A> From:Velcro L= eaf >=0D=0A= > Sent: Tuesday 16th July 2013 11:13=0D=0A> To: Hans Petter Selasky >;= freebsd-usb@FreeBSD.org =20=0D=0A> Subje= ct: Re: usb/177895: similar 1TB Western Digital "My Passports" = - some load, some don't=0D=0A>=20=0D=0A> Got a new one of these with the = same model number as the previous versions, but still different behavior = this time.=0D=0A>=20=0D=0A> When you connect it, it says this:=0D=0A>=20=0D= =0A> usbd_setup_device_desc: getting device descriptor at addr 2 failed, = USB_ERR_STALLED=0D=0A> ugen1.2: at usbus1=0D=0A> umass0= : o= n usbus1=0D=0A> umass0:=C2=A0 SCSI over Bulk-Only; quirks =3D 0x0000=0D=0A= > umass0:3:0:-1: Attached to scbus3=0D=0A> da0 at umass-sim0 bus 0 scbus3= target 0 lun 0=0D=0A> da0: Fixed Direct Acces= s SCSI-6 device=20=0D=0A> da0: 1.000MB/s transfers=0D=0A> da0: 953837MB (= 1953458176 512 byte sectors: 255H 63S/T 121597C)=0D=0A> ses0 at umass-sim= 0 bus 0 scbus3 target 0 lun 1=0D=0A> ses0: Fixed Enc= losure Services SCSI-6 device=20=0D=0A> ses0: 1.000MB/s transfers=0D=0A> = ses0: SCSI-3 SES Device=0D=0A>=20=0D=0A>=20=0D=0A> The USB_ERR_STALLED th= ing is new.=0D=0A>=20=0D=0A> The drive seems to work on some machines, bu= t on at least one machine, nothing at all happens when you plug it in.=C2= =A0 (Well, no messages, anyway.)=0D=0A>=20=0D=0A>=20=0D=0A> I've updated = to 9.1-RELEASE-p4 but I don't think that has included any of the potentia= l USB fixes, such as the patch here: http://www.freebsd.org/cgi/query-pr.= cgi=3Fpr=3D178771 = =20=0D=0A>=20=0D=0A> Any tests I can run to try to get this one figured o= ut=3F=0D=0A>=20=0D=0A> I can't work out a reasonable backup plan when eve= ry third drive (all of which have the same model number) doesn't function= properly with FreeBSD.=0D=0A>=20=0D=0A>=20=0D=0A=0D=0A From owner-freebsd-usb@FreeBSD.ORG Tue Jul 16 10:14:40 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 89666E54; Tue, 16 Jul 2013 10:14:40 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id CF051BF0; Tue, 16 Jul 2013 10:14:39 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id y10so3474611wgg.4 for ; Tue, 16 Jul 2013 03:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jxMgEGD3jpjEh3dF5u3HQohdXIgP+2VpYW6izXmXgdY=; b=z2JJ2X9uYeq/6jgB7lKDbkAMIrjDtHWn1ZA/ln7DGRU9U8SBB3D3zquaqaK23325+j vnBZt1ZPf3PMXTPtx3CZUhCrjCZXwVnGk5lcpuLaMh84FSzLB7rVTqGzeOl9PrvdnyVc rdejkRCZ/4OVyeQ274UUMDRbU9WA3AgsvZerYDAfdru4w3UFNvJWHMYPD0O/xSbcFENY Xr4hb1/+Pl3BaWsPQ+wHY7HeMkVHYmUEeiGE4xb3pnhMhFok6W22dN4hhlc0xqZ0sRJ9 Qx93dXGEZsMETRAZriUZZF+Kh+gb/HAP5EC3pzmrcmV/eJWHKIDA0p1T+HgkZq7jx+Ta ILcw== MIME-Version: 1.0 X-Received: by 10.180.39.212 with SMTP id r20mr587578wik.30.1373969679048; Tue, 16 Jul 2013 03:14:39 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Tue, 16 Jul 2013 03:14:38 -0700 (PDT) In-Reply-To: References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> <20130627213331.W26984@sola.nimnet.asn.au> <20130630233640.Y23789@sola.nimnet.asn.au> <20130707204957.GD88288@e-new.0x20.net> <20130708140804.R26496@sola.nimnet.asn.au> <20130716063512.d48fcc385a64619952a52a66@tackymt.homeip.net> Date: Tue, 16 Jul 2013 03:14:38 -0700 X-Google-Sender-Auth: pPk_Q1s0OsWw-kuZe_31CIRx5wU Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Taku YAMAMOTO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:14:40 -0000 Nope, no such joy. What else can I try? -adrian On 16 July 2013 02:16, Adrian Chadd wrote: > I'll try it out soon, thanks! > > > > -adrian > > On 15 July 2013 14:35, Taku YAMAMOTO wrote: >> This reminds me of my local patch which I wrote and forgot about deep in >> the git :) >> >> This hack was required to have working USB ports on X61 after resume, >> but I'm not sure whether it's still required because I don't have X61 ha= ndy >> anymore... >> >> >> On Mon, 8 Jul 2013 11:09:20 -0700 >> Adrian Chadd wrote: >> >>> On 7 July 2013 22:00, Ian Smith wrote: >>> >>> > Checking one more point .. do the USB ports come up ok if you origina= lly >>> > boot with nothing plugged in? If so (or if not), does that local API= C >>> >>> Yes. >>> >>> > error message appear the same then too? >>> >>> > >>> >>> No >>> >>> >>> -adrian >>> _______________________________________________ >>> freebsd-acpi@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi >>> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org" >> >> >> -- >> -|-__ =E5=B1=B1=E6=9C=AC=E3=80=80=E6=8B=93 / YAMAMOTO, Taku >> | __ < >> >> - A chicken is an egg's way of producing more eggs. -