Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jul 2013 00:22:09 +1000 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: USB ports on Lenovo T400 do not work after a suspend/resume
Message-ID:  <20130630233640.Y23789@sola.nimnet.asn.au>
In-Reply-To: <CAJ-VmomUGm7CMpe5k=x4J8g5X9hzP-wV2OEhLf8ySbWx-THJLA@mail.gmail.com>
References:  <CAJ-Vmomg2j-nJi%2BqFr3CpCjHKjHEiLE=xyNyx1VGRL5U-r8gzQ@mail.gmail.com> <20130621220013.X55167@sola.nimnet.asn.au> <CAJ-Vmo=W3GW9FzLrTPePhJo_-KY_U--YWCCqA%2B8aWx8HbLkT%2Bg@mail.gmail.com> <20130626152833.M78748@sola.nimnet.asn.au> <CAJ-Vmo=rhm-9mnRcnwWO1ANOZMNpiFXVkHNTVJ%2BaeJzpbGgF-g@mail.gmail.com> <20130626195154.GK88288@e-new.0x20.net> <CAJ-VmokEf2_EKKJMB=yqH1pimdNvdmaKvh%2B3-jJu_6vt5CUakA@mail.gmail.com> <20130627213331.W26984@sola.nimnet.asn.au> <CAJ-VmomUGm7CMpe5k=x4J8g5X9hzP-wV2OEhLf8ySbWx-THJLA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Jun 2013, Adrian Chadd wrote:
 > On 27 June 2013 04:58, Ian Smith <smithi@nimnet.asn.au> 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: <FTDI> at usbus3
-[] uftdi0: <FT232R USB UART> on usbus3
+ugen3.2: <FTDI> 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: <vendor 0x08ff> at usbus1 (disconnected)
 ugen1.3: <Lenovo Computer Corp> 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: <Chicony Electronics Co., Ltd.> 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: <FTDI> 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: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
-[] uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
-[] uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
-[] uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
-[] uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
-[] uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
+[] uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
+[] uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
+[] uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
+[] uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
+[] uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
+[] uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> 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: <network> 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: <vendor 0x08ff> at usbus1
-ugen3.2: <FTDI> at usbus3
-[] uftdi0: <FT232R USB UART> on usbus3
 ugen2.2: <Chicony Electronics Co., Ltd.> at usbus2
 ugen1.3: <Lenovo Computer Corp> at usbus1
 [] ubt0: <Lenovo Computer Corp ThinkPad Bluetooth with Enhanced Data Rate II, class 224/1, rev 2.00/3.99, addr 3> on usbus1
=======



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130630233640.Y23789>