From owner-freebsd-usb@FreeBSD.ORG Sun Jun 30 14:22:21 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 6D6D041E; Sun, 30 Jun 2013 14:22:21 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id ABA821FE2; Sun, 30 Jun 2013 14:22:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5UEM9O2027295; Mon, 1 Jul 2013 00:22:10 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 1 Jul 2013 00:22:09 +1000 (EST) From: Ian Smith To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume In-Reply-To: Message-ID: <20130630233640.Y23789@sola.nimnet.asn.au> 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, 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: Sun, 30 Jun 2013 14:22:21 -0000 On Sat, 29 Jun 2013, Adrian Chadd wrote: > On 27 June 2013 04:58, Ian Smith wrote: > > We don't yet know if this is a bus, ACPI &/or USB issue. Home yet? :) > > Yup: > > http://people.freebsd.org/~adrian/usb/ > > dmesg.boot = dmesg at startup > > 1 - after powerup, usb device in > 2 - after acpiconf -s3 suspend/resume, w/ a USB device plugged in > 3 - after acpiconf -s3 suspend/resume, with a USB device removed > before suspend/resume After removing [numbers] (for WITNESS?), diff started making sense. The below is between the first and second suspend/resume cycles in dmesg-3.txt, encompassing the others. Nothing of note that I can see, if that usb hub-to-bus remapping is normal. As you said, 'CPU0: local APIC error 0x40' looks maybe sus. Maybe someone who knows might comment on that? Just checking: you've tried other USB devices apart from uftdi0? Out of ideas, and my depth, Ian ======= --- dm3.a 2013-06-30 21:49:48.000000000 +1000 +++ dm3.b 2013-06-30 21:50:30.000000000 +1000 @@ -1,23 +1,21 @@ -ugen3.2: at usbus3 -[] uftdi0: on usbus3 +ugen3.2: at usbus3 (disconnected) +[] uftdi0: at uhub4, port 2, addr 2 (disconnected) (ada0:ahcich0:0:0:0): spin-down [] acpi_lid0: wake_prep enabled for \134_SB_.LID_ (S3) [] acpi_button0: wake_prep enabled for \134_SB_.SLPB (S3) -[] uhub0: at usbus0, port 1, addr 1 (disconnected) -[] uhub1: at usbus1, port 1, addr 1 (disconnected) +[] uhub2: at usbus0, port 1, addr 1 (disconnected) +[] uhub0: at usbus1, port 1, addr 1 (disconnected) ugen1.2: at usbus1 (disconnected) ugen1.3: at usbus1 (disconnected) -[] ubt0: at uhub1, port 2, addr 3 (disconnected) -[] uhub2: at usbus2, port 1, addr 1 (disconnected) +[] ubt0: at uhub0, port 2, addr 3 (disconnected) +[] uhub1: at usbus2, port 1, addr 1 (disconnected) ugen2.2: at usbus2 (disconnected) pci0:0:28:0: Transition from D0 to D3 pci0:0:28:1: Transition from D0 to D3 pci0:0:28:3: Transition from D0 to D3 pci0:0:28:4: Transition from D0 to D3 -[] uhub3: at usbus3, port 1, addr 1 (disconnected) -ugen3.2: at usbus3 (disconnected) -[] uftdi0: at uhub3, port 2, addr 2 (disconnected) -[] uhub4: at usbus4, port 1, addr 1 (disconnected) +[] uhub4: at usbus3, port 1, addr 1 (disconnected) +[] uhub3: at usbus4, port 1, addr 1 (disconnected) [] uhub5: at usbus5, port 1, addr 1 (disconnected) pci0:21:0:0: Transition from D0 to D2 [] pci21: failed to set ACPI power state D2 on \134_SB_.PCI0.PCI1.CDBS: AE_BAD_PARAMETER @@ -73,12 +71,12 @@ kbdc: RESET_AUX ID:0000 [] battery0: battery initialization start [] ahcich0: AHCI reset: device ready after 100ms -[] uhub0: on usbus1 -[] uhub1: on usbus2 -[] uhub2: on usbus0 -[] uhub3: on usbus4 -[] uhub4: on usbus3 -[] uhub5: on usbus5 +[] uhub0: on usbus0 +[] uhub1: on usbus1 +[] uhub2: on usbus3 +[] uhub3: on usbus2 +[] uhub4: on usbus5 +[] uhub5: on usbus4 CPU0: local APIC error 0x40 [] battery0: battery initialization done, tried 1 times (ada0:ahcich0:0:0:0): resume @@ -92,15 +90,13 @@ intpin=a, irq=16 powerspec 2 supports D0 D3 current D0 [] cardbus0: at device 0.0 (no driver attached) -[] uhub0: 2 ports with 2 removable, self powered [] uhub1: 2 ports with 2 removable, self powered [] uhub2: 2 ports with 2 removable, self powered +[] uhub0: 2 ports with 2 removable, self powered [] uhub3: 2 ports with 2 removable, self powered -[] uhub5: 2 ports with 2 removable, self powered [] uhub4: 2 ports with 2 removable, self powered +[] uhub5: 2 ports with 2 removable, self powered ugen1.2: at usbus1 -ugen3.2: at usbus3 -[] uftdi0: on usbus3 ugen2.2: at usbus2 ugen1.3: at usbus1 [] ubt0: on usbus1 =======