From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 23 15:26:03 2013 Return-Path: Delivered-To: freebsd-acpi@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 04E58CB3 for ; Sun, 23 Jun 2013 15:26:03 +0000 (UTC) (envelope-from stefan.horomnea@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id D2E8510E6 for ; Sun, 23 Jun 2013 15:26:02 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id c10so22782531ieb.38 for ; Sun, 23 Jun 2013 08:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=WUt1QCoYf/KPphgGtbn6dB7TXUAM5PUx0Exjt7vTkMw=; b=Zw1xTb2/gTgylGs76JvbTGVAHGV0fj79yX9fpnN5gFc13u5k5FeakuoASQn9fLG9M5 SZm+Io4lMb4eFCxoeJnzwJgvxNdXIezy1/8VLKEbgXLiEUjaS/H5Ky8aoJ7zcRYAGYth uj9wHyDPw5MFXeI7WRikdYJUiS1PgoDOsZlrmzcaI6WJF3TgLLH4skqzpuHFABF4x8qY sY7kgi625za8jvRBV+X4Bc/cMD2INFVRkerv2C8FqCguO/vXT/ArFoXDt0vKmuZeFe+H AfzIHVlFWDTriQ3jvTAyLRflFi4OZwQswjrlBviN00mcYBqZmGqI7uCKuhQeRqYgYPHf Qi7g== MIME-Version: 1.0 X-Received: by 10.50.130.19 with SMTP id oa19mr2423028igb.18.1372001162614; Sun, 23 Jun 2013 08:26:02 -0700 (PDT) Received: by 10.64.23.109 with HTTP; Sun, 23 Jun 2013 08:26:02 -0700 (PDT) Date: Sun, 23 Jun 2013 17:26:02 +0200 Message-ID: Subject: Resume on a Thinkpad L512 From: Stefan Horomnea To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jun 2013 15:26:03 -0000 Hi, I'm trying to get FreeBSD to resume properly on a Thinkpad L512. It seems that is able to go to sleep, the power button pulses slowly. The corresponding /var/log/messages entry are: Jun 23 16:57:57 thinky acpi: suspend at 20130623 16:57:57 Jun 23 16:58:01 thinky kernel: info: [drm] Resetting GPU But after I push the button again to resume, I just hear the fan goes crazy...and the CD-ROM doing something...and it just freezes in that state. I think it is very early in the process, since none of the kernel debug methods show anything. I have this in /boot/loader.conf: debug.acpi.layer="ACPI_ALL_COMPONENTS ACPI_ALL_DRIVERS" debug.acpi.level="ACPI_LV_VERBOSE" boot_verbose="YES" debug.acpi.resume_beep=1 But I hear no beep, and no other messages are printed in /var/log/messages. The next messages after the two lines above look like this: Jun 23 16:59:28 thinky syslogd: kernel boot file is /boot/kernel/kernel Jun 23 16:59:28 thinky kernel: e> port 0xcf8-0xcff on acpi0 Jun 23 16:59:28 thinky kernel: pcib0: decoding 4 range 0-0xcf7 ........ which I think are after I manually power-off and power-on the laptop. If this info helps, Ubuntu is able to suspend/resume properly. I also did a recent upgrade of BIOS. Can anyone help me make progress here ? Thank you, Stefan From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 24 02:31:04 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B59C6500 for ; Mon, 24 Jun 2013 02:31:04 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 92D361839 for ; Mon, 24 Jun 2013 02:31:04 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id bj3so10406269pad.28 for ; Sun, 23 Jun 2013 19:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=f7iFtTFEi3inNmzlt7S8c/fHzQxizM/z7e2eJzbJGow=; b=A/9S8LD56n+wcqp56I6+Ts7Tm5nHqOJW4PTc0duUNcr0HkIvkcuW6aQ9dn3cdRjJ9R oEDXqGd4h8c4cJ5eLR8WCQ9z1dQhwY0ElgqUb5oyOG7Tjs/VBxvWYylBRVnnbGPUGNE0 YJh4tY48JjQVx+vkeiksk1e+T6QUH5a2vTxp1mr1FPDbLqSryDcGqISQLkGNVNyj5pUA Avu9tNkbqrt9f9Q8r/gsf3juD2+qis0/I1lsHNkKcm34J8HanWYJ0vWLod+YOzBIOFPB R7Nz05kTTcMBA9zoh4jDWQDeBts4ZvGY4p3gHXsILDanOi0iWHomtPxEq9f2gq+NoKGj 4Hhg== X-Received: by 10.68.228.169 with SMTP id sj9mr21794500pbc.76.1372041064333; Sun, 23 Jun 2013 19:31:04 -0700 (PDT) Received: from flatline.local (c-67-161-25-189.hsd1.ca.comcast.net. [67.161.25.189]) by mx.google.com with ESMTPSA id y9sm3966694pbb.46.2013.06.23.19.31.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 23 Jun 2013 19:31:03 -0700 (PDT) Message-ID: <51C7AF45.1000303@gmail.com> Date: Sun, 23 Jun 2013 19:30:29 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Stefan Horomnea Subject: Re: Resume on a Thinkpad L512 References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 02:31:04 -0000 > which I think are after I manually power-off and power-on the > laptop. If this info helps, Ubuntu is able to suspend/resume > properly. I also did a recent upgrade of BIOS. > > Can anyone help me make progress here ? > > Thank you, Stefan _______________________________________________ > 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" > Have you tried twiddling the values at hw.pci.do_power_resume and hw.pci.do_power_suspend? Rarely, this helps. Matt From owner-freebsd-acpi@FreeBSD.ORG Mon Jun 24 11:06:41 2013 Return-Path: Delivered-To: freebsd-acpi@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 8E80598 for ; Mon, 24 Jun 2013 11:06:41 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 66ACE1DB4 for ; Mon, 24 Jun 2013 11:06:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5OB6ff0000889 for ; Mon, 24 Jun 2013 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5OB6eSA000887 for freebsd-acpi@FreeBSD.org; Mon, 24 Jun 2013 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 24 Jun 2013 11:06:40 GMT Message-Id: <201306241106.r5OB6eSA000887@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-acpi@FreeBSD.org Subject: Current problem reports assigned to freebsd-acpi@FreeBSD.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 11:06:41 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/174766 acpi [acpi] Random acpi panic o kern/174504 acpi [ACPI] Suspend/resume broken on Lenovo x220 o kern/171305 acpi [acpi] acpi_tz0: _CRT value is absurd, ignored (256.0C o kern/165381 acpi [cpufreq] powerd(8) eats CPUs for breakfast o kern/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/162859 acpi [acpi] ACPI battery/acline monitoring partialy working o kern/161715 acpi [acpi] Dell E6520 doesn't resume after ACPI suspend o kern/161713 acpi [acpi] Suspend on Dell E6520 o kern/160838 acpi [acpi] ACPI Battery Monitor Non-Functional o kern/160419 acpi [acpi_thermal] acpi_thermal kernel thread high CPU usa o kern/158689 acpi [acpi] value of sysctl hw.acpi.thermal.polling_rate ne o kern/154955 acpi [acpi] Keyboard or ACPI doesn't work on Lenovo S10-3 o kern/152098 acpi [acpi] Lenovo T61p does not resume o i386/146715 acpi [acpi] Suspend works, resume not on a HP Probook 4510s o kern/145306 acpi [acpi]: Can't change brightness on HP ProBook 4510s o i386/143798 acpi [acpi] shutdown problem with SiS K7S5A o kern/143420 acpi [acpi] ACPI issues with Toshiba o kern/142009 acpi [acpi] [panic] Panic in AcpiNsGetAttachedObject o kern/139088 acpi [acpi] ACPI Exception: AE_AML_INFINITE_LOOP error o amd64/138210 acpi [acpi] acer aspire 5536 ACPI problems (S3, brightness, o i386/136008 acpi [acpi] Dell Vostro 1310 will not shutdown (Requires us o kern/132602 acpi [acpi] ACPI Problem with Intel SS4200: System does not a i386/122887 acpi [panic] [atkbdc] 7.0-RELEASE on IBM HS20 panics immed s kern/112544 acpi [acpi] [patch] Add High Precision Event Timer Driver f o kern/91594 acpi [acpi] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/ o kern/73823 acpi [request] acpi / power-on by timer support 26 problems total. From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 25 19:07:23 2013 Return-Path: Delivered-To: freebsd-acpi@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 6601D2C6; Tue, 25 Jun 2013 19:07:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 09FF71E71; Tue, 25 Jun 2013 19:07:22 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id m15so7578355qcq.33 for ; Tue, 25 Jun 2013 12:07:22 -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; bh=x2OIyxnIDLVS+b2CPRZ2B3405pIh4+8czctVY9mBRwU=; b=g5B3OQARJc8WmM2s7Ld1Cr8J+2k95eQc1XNkSrI/mp6EkZbZS5vDL6UPTjmf0N1Yh4 ZydAxp8iAGktCVjxoP6Fb7xgPlTG6vtji+oo6dDXJRDQGZQsiZCNM7X4snQT4AHGIeDe hjmWlEX90Y3qOuRz43lo7l4vAVjGcGskOf2TwJ7h/S7TbagsYQw5IMyHI/t/Rvrw7s3R z0WKyW1R/7Q2MZT0tCsPLMQ+8orU7Eg6PYqAHio6c19fYBsxJ+RL4T+h/vAm8t3P+kjn MKbtGRjojqwxuxtP+14luJntos8q6Cps1MgCtPBb7vfWwfh6a5Cxc21qffuxNF828aL9 QNfg== MIME-Version: 1.0 X-Received: by 10.224.74.72 with SMTP id t8mr1314088qaj.74.1372187242550; Tue, 25 Jun 2013 12:07:22 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.10.201 with HTTP; Tue, 25 Jun 2013 12:07:22 -0700 (PDT) In-Reply-To: <20130621220013.X55167@sola.nimnet.asn.au> References: <20130621220013.X55167@sola.nimnet.asn.au> Date: Tue, 25 Jun 2013 12:07:22 -0700 X-Google-Sender-Auth: 05BMIxV7_9UVCogaUeoCUiK39Ew Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2013 19:07:23 -0000 On 21 June 2013 05:48, Ian Smith wrote: > No acpidump output on -stable or -acpi anyway .. likely best as an URL, > if it comes down to ACPI. Ok, I'll put it online in a sec. > So the fingerprint reader, camera and bluetooth shown in your usbconfig > don't serve as 'USB devices plugged in' in this regard? Do they work ok > after resume, or not? they work after resume. > No, the above are still on the suspend path, but logged on resume. I > don't know what CDBS or EXP0,1,3,4 are. You've left out something like > 'pci0:X:Y:0 Transition from D0 to D2' (or D3) before these ones, right? Nope, nothing is left out. I can boot with -v to get _all_ of the messages, if that'll help. > I hope 'slept' message is still in 10, I've seen a few listed without, > and they're very handy if there's any resume delay, as I had up to 8.2 > (plus exactly 60 seconds) unless I unloaded (in particular) UHCI and > reloaded it on resume, needing a kernel w/out uhci, ohci and ehci, > loading on boot and unload/reload in rc.suspend/resume. This however > was fixed by 9.1 for me, the first release where suspend/resume works > flawlessly on the T23. I haven't tried a recent 9-STABLE though. [snip] > Well, the earlier resume issues on UHCI might still not be fixed? You > could try a kernel without UHCI, with the unload/reload dance .. I just tried that. unloading/reloading uhci doesn't affect things - the external ports are still powered down after a suspend/resume pass. Thanks, Adrian From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 26 05:56:15 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6CE7C542; Wed, 26 Jun 2013 05:56:15 +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 BCC6F1F70; Wed, 26 Jun 2013 05:56:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5Q5u51h009959; Wed, 26 Jun 2013 15:56:05 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 26 Jun 2013 15:56:05 +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: <20130626152833.M78748@sola.nimnet.asn.au> References: <20130621220013.X55167@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-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 05:56:15 -0000 On Tue, 25 Jun 2013 12:07:22 -0700, Adrian Chadd wrote: > On 21 June 2013 05:48, Ian Smith wrote: > > > No acpidump output on -stable or -acpi anyway .. likely best as an URL, > > if it comes down to ACPI. > > Ok, I'll put it online in a sec. Doubt I know enough to spot anything askance anyway, but others may. > > So the fingerprint reader, camera and bluetooth shown in your usbconfig > > don't serve as 'USB devices plugged in' in this regard? Do they work ok > > after resume, or not? > > they work after resume. Ok. > > No, the above are still on the suspend path, but logged on resume. I > > don't know what CDBS or EXP0,1,3,4 are. You've left out something like On reflection I think these are likely the card reader and subsidiaries? > > 'pci0:X:Y:0 Transition from D0 to D2' (or D3) before these ones, right? > > Nope, nothing is left out. I can boot with -v to get _all_ of the > messages, if that'll help. It might. I've been running with -v for a while so had forgotten that very little other than USB stuff is logged on suspend/resume without. > > loading on boot and unload/reload in rc.suspend/resume. This however > > was fixed by 9.1 for me, the first release where suspend/resume works > > flawlessly on the T23. I haven't tried a recent 9-STABLE though. Time I did so I guess, in case this may be a more recent regression and not specific to the T400. As soon as I can find a USB keyboard I'll see how 9.1-RELEASE goes on a friend's T500, which seems generally similar (going on their combined service manuals). > > Well, the earlier resume issues on UHCI might still not be fixed? You > > could try a kernel without UHCI, with the unload/reload dance .. > > I just tried that. unloading/reloading uhci doesn't affect things - > the external ports are still powered down after a suspend/resume pass. Right; more data anyway. Hopefully some more clues from boot -v output. cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 26 06:09:21 2013 Return-Path: Delivered-To: freebsd-acpi@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 F114A8A7; Wed, 26 Jun 2013 06:09:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) by mx1.freebsd.org (Postfix) with ESMTP id 9427A1FF4; Wed, 26 Jun 2013 06:09:20 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id l18so1261585qak.2 for ; Tue, 25 Jun 2013 23:09:20 -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; bh=Nsr9k46yhh29pnS4UWGQNwW6vGg/pCIB3inGxK9TUJY=; b=rdpBN3Lc+NH6alu19POdExQrwZVcWj7vD4hIi6fmhLizbhkgODngJjOhqSqTlm6LqV wjFue2NJ40e54mohBNUcVy3H9UumAjEPaLkqrmhohvasoAopEZuAguY/oeauxTA+MVnP 4wHoce6+coqy3YqU7VuMlhfhEm34tZF1Tr2BWg9BBoJFV1kSNuLFubRH8opQ3R3NdAMR x9oDerM8R1ytyTJzvMQTWJlveXiLWt3UTBw8zEJc2CTolorZod7uKA9+QbTNXRZI/6NV yOKQeeDyd6sywIMKMJHDbiTovnPkTJL79JC/GRt+c3z8yQR1gbIbocxdDmS1G7fLUq/K nqHQ== MIME-Version: 1.0 X-Received: by 10.224.213.201 with SMTP id gx9mr3461864qab.94.1372226960140; Tue, 25 Jun 2013 23:09:20 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.214.7 with HTTP; Tue, 25 Jun 2013 23:09:20 -0700 (PDT) In-Reply-To: <20130626152833.M78748@sola.nimnet.asn.au> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> Date: Tue, 25 Jun 2013 23:09:20 -0700 X-Google-Sender-Auth: iGKW5EF8PO8dtQhKTlHWxtyUWR0 Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 06:09:21 -0000 [snip] ok, I'll do a boot -v tonight when I get home and log things. Thanks! Adrian From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 26 19:51:58 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 248338C1; Wed, 26 Jun 2013 19:51:58 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id D83881919; Wed, 26 Jun 2013 19:51:57 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 0712F6A6003; Wed, 26 Jun 2013 21:51:56 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r5QJptOp052746; Wed, 26 Jun 2013 21:51:55 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r5QJpsJG052272; Wed, 26 Jun 2013 21:51:54 +0200 (CEST) (envelope-from lars) Date: Wed, 26 Jun 2013 21:51:54 +0200 From: Lars Engels To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Message-ID: <20130626195154.GK88288@e-new.0x20.net> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQ77YLfPrO/qF/pM" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 19:51:58 -0000 --LQ77YLfPrO/qF/pM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 25, 2013 at 11:09:20PM -0700, Adrian Chadd wrote: > [snip] ok, I'll do a boot -v tonight when I get home and log things. >=20 > Thanks! Please also try a recent CURRENT. I was having the same issues with dead USB ports on my X200, but IIRC it suddenly worked a few weeks ago. Unfotunately with the new X.org resuming doesn't work for me, so I can't try it now. --LQ77YLfPrO/qF/pM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHLRloACgkQKc512sD3afhUUQCdEXg4ongLGtqOkPa7tYoZR2Z/ b/oAoITAP3AS18ZkIkIRxAlPsZRIqBrS =LG7M -----END PGP SIGNATURE----- --LQ77YLfPrO/qF/pM-- From owner-freebsd-acpi@FreeBSD.ORG Wed Jun 26 19:53:44 2013 Return-Path: Delivered-To: freebsd-acpi@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 92DD6AA7; Wed, 26 Jun 2013 19:53:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) by mx1.freebsd.org (Postfix) with ESMTP id 34D0C195D; Wed, 26 Jun 2013 19:53:44 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id n20so6017qaj.20 for ; Wed, 26 Jun 2013 12:53:43 -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; bh=mXNwhO6EiWxWcBkaiRSdnWqo5Obx9UoZHrO6UB4IAgI=; b=FFENfRbJyDU5yBmuvUSwiTtVrnLNSPXF5up0CPcR8q71fx3KCmOvrnTLe4fyf+FSXM +cBvBAYy+23oRkUSdpGQYZpByY1TUoCOaDPF6kkPwY0+SkQ2uy9kW1idh9jz3feGwre5 lZRzekiEWbarOGk8dtc8O2fZNt6zbg63kZTh1e+rEUcZjgmc2W/7A6BACFO+wMgd3gFJ Vp3BQtLhuci8pMGVW6o1DFx0KQmf2BzUIcmxA2rGTFYytPX56GdKXfwml7jluij4iFBU R1gupAc5ZV1hbf1ENasEIFJfCfcyiCdzjr+LkpA1cOCCNrJvh5KqsZeyiOyNGxqhuyFX VUYw== MIME-Version: 1.0 X-Received: by 10.49.35.65 with SMTP id f1mr6798267qej.72.1372276423771; Wed, 26 Jun 2013 12:53:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.214.7 with HTTP; Wed, 26 Jun 2013 12:53:43 -0700 (PDT) In-Reply-To: <20130626195154.GK88288@e-new.0x20.net> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> Date: Wed, 26 Jun 2013 12:53:43 -0700 X-Google-Sender-Auth: wfK3AXfpO02dPcoh6fmhwQ0Ijxw Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jun 2013 19:53:44 -0000 On 26 June 2013 12:51, Lars Engels wrote: > On Tue, Jun 25, 2013 at 11:09:20PM -0700, Adrian Chadd wrote: >> [snip] ok, I'll do a boot -v tonight when I get home and log things. >> >> Thanks! > > Please also try a recent CURRENT. I was having the same issues with dead > USB ports on my X200, but IIRC it suddenly worked a few weeks ago. > Unfotunately with the new X.org resuming doesn't work for me, so I can't > try it now. .. having resume not work with xorg is a big, big red flag. I'm happy to boot a -head snapshot on this thing, but I can't really migrate to running -head if resume doesn't work. :( adrian From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 27 08:15:54 2013 Return-Path: Delivered-To: freebsd-acpi@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 60CA58EE; Thu, 27 Jun 2013 08:15:54 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mx1.freebsd.org (Postfix) with ESMTP id 205061174; Thu, 27 Jun 2013 08:15:53 +0000 (UTC) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 25AEA6A6003; Thu, 27 Jun 2013 10:15:52 +0200 (CEST) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id r5R8FpLO024989; Thu, 27 Jun 2013 10:15:51 +0200 (CEST) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id r5R8FpU0024493; Thu, 27 Jun 2013 10:15:51 +0200 (CEST) (envelope-from lars) Date: Thu, 27 Jun 2013 10:15:51 +0200 From: Lars Engels To: Adrian Chadd Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume Message-ID: <20130627081551.GO88288@e-new.0x20.net> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GPOl6LAGMgeiWDic" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.4-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, Ian Smith , freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 08:15:54 -0000 --GPOl6LAGMgeiWDic Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 26, 2013 at 12:53:43PM -0700, Adrian Chadd wrote: > On 26 June 2013 12:51, Lars Engels wrote: > > On Tue, Jun 25, 2013 at 11:09:20PM -0700, Adrian Chadd wrote: > >> [snip] ok, I'll do a boot -v tonight when I get home and log things. > >> > >> Thanks! > > > > Please also try a recent CURRENT. I was having the same issues with dead > > USB ports on my X200, but IIRC it suddenly worked a few weeks ago. > > Unfotunately with the new X.org resuming doesn't work for me, so I can't > > try it now. >=20 > .. having resume not work with xorg is a big, big red flag. >=20 > I'm happy to boot a -head snapshot on this thing, but I can't really > migrate to running -head if resume doesn't work. :( >=20 Resuming only doesn't work with the new X.org which you don't need to use. But rumor has it that it that resuming works on some machines without vesa in the kernel. --GPOl6LAGMgeiWDic Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlHL9LcACgkQKc512sD3afhouQCbBvEMXX2Yfk26pK0Qskbfmja2 ybQAoJ1VSPEcau/YWr+70+WMVrNs2Jgf =XgTg -----END PGP SIGNATURE----- --GPOl6LAGMgeiWDic-- From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 27 11:58:38 2013 Return-Path: Delivered-To: freebsd-acpi@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 8F69D305; Thu, 27 Jun 2013 11:58:38 +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 D85041E58; Thu, 27 Jun 2013 11:58:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5RBwJWC072647; Thu, 27 Jun 2013 21:58:20 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 27 Jun 2013 21:58:19 +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: <20130627213331.W26984@sola.nimnet.asn.au> References: <20130621220013.X55167@sola.nimnet.asn.au> <20130626152833.M78748@sola.nimnet.asn.au> <20130626195154.GK88288@e-new.0x20.net> 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-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 11:58:38 -0000 On Wed, 26 Jun 2013 12:53:43 -0700, Adrian Chadd wrote: > On 26 June 2013 12:51, Lars Engels wrote: > > On Tue, Jun 25, 2013 at 11:09:20PM -0700, Adrian Chadd wrote: > >> [snip] ok, I'll do a boot -v tonight when I get home and log things. > >> > >> Thanks! > > > > Please also try a recent CURRENT. I was having the same issues with dead > > USB ports on my X200, but IIRC it suddenly worked a few weeks ago. > > Unfotunately with the new X.org resuming doesn't work for me, so I can't > > try it now. > > .. having resume not work with xorg is a big, big red flag. > > I'm happy to boot a -head snapshot on this thing, but I can't really > migrate to running -head if resume doesn't work. :( Well if there's a functional change in head that fixes this on Lars' and yours, getting it into stable shouldn't be so hard I expect. However if there's a fix (or some Lenovo workaround) for yours on 9 it'd be useful to hunt it down, no? I utterly depend on 100% working resume too. We don't yet know if this is a bus, ACPI &/or USB issue. Home yet? :) cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Thu Jun 27 12:32:44 2013 Return-Path: Delivered-To: freebsd-acpi@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 2DEC4345; Thu, 27 Jun 2013 12:32:44 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from sink.sics.se (sink.sics.se [193.10.64.88]) by mx1.freebsd.org (Postfix) with ESMTP id 9DAAD1065; Thu, 27 Jun 2013 12:32:43 +0000 (UTC) Received: from P142.sics.se (n141-p245.kthopen.kth.se [130.229.141.245]) by sink.sics.se (8.14.5/8.14.5) with ESMTP id r5RCWWpu090387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 27 Jun 2013 14:32:35 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.14.5/8.14.5) with ESMTP id r5RCX6vs003224; Thu, 27 Jun 2013 14:33:06 +0200 (CEST) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.14.5/8.14.5/Submit) id r5RCX4Vq003223; Thu, 27 Jun 2013 14:33:04 +0200 (CEST) (envelope-from bengta@P142.sics.se) From: Bengt Ahlgren To: Ian Smith Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume In-Reply-To: <20130627213331.W26984@sola.nimnet.asn.au> (Ian Smith's message of "Thu, 27 Jun 2013 21:58:19 +1000 (EST)") 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) Date: Thu, 27 Jun 2013 14:33:04 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: Adrian Chadd , freebsd-stable@freebsd.org, freebsd-acpi@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 12:32:44 -0000 Ian Smith writes: > On Wed, 26 Jun 2013 12:53:43 -0700, Adrian Chadd wrote: > > On 26 June 2013 12:51, Lars Engels wrote: > > > On Tue, Jun 25, 2013 at 11:09:20PM -0700, Adrian Chadd wrote: > > >> [snip] ok, I'll do a boot -v tonight when I get home and log things. > > >> > > >> Thanks! > > > > > > Please also try a recent CURRENT. I was having the same issues with dead > > > USB ports on my X200, but IIRC it suddenly worked a few weeks ago. > > > Unfotunately with the new X.org resuming doesn't work for me, so I can't > > > try it now. > > > > .. having resume not work with xorg is a big, big red flag. > > > > I'm happy to boot a -head snapshot on this thing, but I can't really > > migrate to running -head if resume doesn't work. :( > > Well if there's a functional change in head that fixes this on Lars' and > yours, getting it into stable shouldn't be so hard I expect. However if > there's a fix (or some Lenovo workaround) for yours on 9 it'd be useful > to hunt it down, no? I utterly depend on 100% working resume too. > > We don't yet know if this is a bus, ACPI &/or USB issue. Home yet? :) Yes, it would be great to get resume working! But the USB issues seems separate from the graphics issues. My experience with suspend/resume on a TP X201 (Ironlake) with stable/9 (recent as of a couple of days) is as follows: With just the text console (no X), suspend/resume seems to work, except that the backlight does not come back on. (Have not tested Xorg with vesa driver.) With Intel/KMS graphics, suspend/resume partly works too. The backlight does come back on, but then the graphics wedges with a "GPU hung". Can provide logs of this. I will try head tomorrow to see if that makes any difference. Last time I did, there wasn't any. I have not noticed any USB issues, however, but will make some more tests. Bengt From owner-freebsd-acpi@FreeBSD.ORG Fri Jun 28 22:19:40 2013 Return-Path: Delivered-To: freebsd-acpi@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 61144414 for ; Fri, 28 Jun 2013 22:19:40 +0000 (UTC) (envelope-from stefan.horomnea@gmail.com) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 28ACF196F for ; Fri, 28 Jun 2013 22:19:40 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id l10so1706040qcy.32 for ; Fri, 28 Jun 2013 15:19:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gcR/aFJ6bJi0CfYO84WBPp/6Z9zSuQSk4Nfdpg1AXi8=; b=TTA2BErvXGytPWDI0siT8KqcHq4WmFAuAjjubLcpoiNjy0CvSRPm4sKw+eqOEmqPV+ vdJx9l4eGVbO2iYyC8FjFw5oALvWlqiX+X7rAtdNCQhp+n9JCGVSMFD6SkfxAfy+hxyR mZK4WHXkvgxk5viK2kWGc3PuR1Py36gGqI7CCA1CN8jzZ0Dmvo3DFaFDOBnC1Avm0BfP qAN3QBTxbhWbNhGnGQVsJ4ZwRJzTRzxsWjXJ/tAVRBjVovYOVcpsEsSZF5fWTdhdZxqM P0rNxhoabZxhAXWaHHZYyUdf7/C2QTmJ2+m1om+QC/2R40GLCrdbwFwH6pPZXvG1EGVK 1Zfg== MIME-Version: 1.0 X-Received: by 10.224.49.74 with SMTP id u10mr4784410qaf.20.1372457979678; Fri, 28 Jun 2013 15:19:39 -0700 (PDT) Received: by 10.49.75.38 with HTTP; Fri, 28 Jun 2013 15:19:39 -0700 (PDT) In-Reply-To: <51C7AF45.1000303@gmail.com> References: <51C7AF45.1000303@gmail.com> Date: Sat, 29 Jun 2013 00:19:39 +0200 Message-ID: Subject: Re: Resume on a Thinkpad L512 From: Stefan Horomnea To: matt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2013 22:19:40 -0000 Yes, I did try, didn't help. On Mon, Jun 24, 2013 at 4:30 AM, matt wrote: > > > which I think are after I manually power-off and power-on the > > laptop. If this info helps, Ubuntu is able to suspend/resume > > properly. I also did a recent upgrade of BIOS. > > > > Can anyone help me make progress here ? > > > > Thank you, Stefan _______________________________________________ > > 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" > > > > Have you tried twiddling the values at hw.pci.do_power_resume and > hw.pci.do_power_suspend? > > Rarely, this helps. > > Matt > From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 29 04:50:44 2013 Return-Path: Delivered-To: freebsd-acpi@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 1FBBB455 for ; Sat, 29 Jun 2013 04:50:44 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) by mx1.freebsd.org (Postfix) with ESMTP id F00041832 for ; Sat, 29 Jun 2013 04:50:43 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id kq13so3138816pab.25 for ; Fri, 28 Jun 2013 21:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=OUr09SrDh07GKMJFapYyg0YrzhOGy0jcQZ5MMu17PqQ=; b=iL7LYWfOv5BQHNmntrd0MXTmiFoeoKfLK6hfh5x/9pZKAVpws3f7CxLymzD5nc7Src ea23KXvfCHpGnlJOND0alxNDVcyjK89jAeTLrcDR9DaZTNOEuIkc8Pm56jQsAle9JGfI 56rTAf9DIq9Gaf8NTNyQc5lyy6bn5oS6UjndvnpcvZgGqk+1ibl8/BfQYe6VZA3DS1Gw rNRZrDR6YXGWRW5y8sn7rL58ix9MEhegAboRwm7YNOCvzVO3cnSBr9Wta3kAxPLNQxhH 3Xv431ethERw7Bo7+jSOwvuHgF0XFBOKSIeIanTESHNhFfQOgzK07Q7gmjaG1NI+rxbf /GWA== X-Received: by 10.66.183.196 with SMTP id eo4mr14450210pac.156.1372481443780; Fri, 28 Jun 2013 21:50:43 -0700 (PDT) Received: from flatline.local (c-67-161-25-189.hsd1.ca.comcast.net. [67.161.25.189]) by mx.google.com with ESMTPSA id vb8sm11159135pbc.11.2013.06.28.21.50.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Jun 2013 21:50:43 -0700 (PDT) Message-ID: <51CE677E.2060508@gmail.com> Date: Fri, 28 Jun 2013 21:50:06 -0700 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Stefan Horomnea Subject: Re: Resume on a Thinkpad L512 References: <51C7AF45.1000303@gmail.com> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 04:50:44 -0000 Try kldunloading any loaded kernel modules including usb. You may need to compile a more modular kernel. Does suspend/resume work for anyone? Matt On 06/28/13 15:19, Stefan Horomnea wrote: > Yes, I did try, didn't help. > > > On Mon, Jun 24, 2013 at 4:30 AM, matt > wrote: > >> >>> which I think are after I manually power-off and power-on the >>> laptop. If this info helps, Ubuntu is able to suspend/resume >>> properly. I also did a recent upgrade of BIOS. >>> >>> Can anyone help me make progress here ? >>> >>> Thank you, Stefan >>> _______________________________________________ >>> 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" >>> >> >> Have you tried twiddling the values at hw.pci.do_power_resume >> and hw.pci.do_power_suspend? >> >> Rarely, this helps. >> >> Matt >> > From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 29 16:40:04 2013 Return-Path: Delivered-To: freebsd-acpi@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 E444D4AE for ; Sat, 29 Jun 2013 16:40:04 +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 622B11CA6 for ; Sat, 29 Jun 2013 16:40:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r5TGe20E082234; Sun, 30 Jun 2013 02:40:02 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 30 Jun 2013 02:40:02 +1000 (EST) From: Ian Smith To: matt Subject: Re: Resume on a Thinkpad L512 In-Reply-To: <51CE677E.2060508@gmail.com> Message-ID: <20130630021916.G81017@sola.nimnet.asn.au> References: <51C7AF45.1000303@gmail.com> <51CE677E.2060508@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Stefan Horomnea , freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 16:40:05 -0000 On Fri, 28 Jun 2013 21:50:06 -0700, matt wrote: > Try kldunloading any loaded kernel modules including usb. You may need > to compile a more modular kernel. On 8 (.1 and .2) I only had to leave uhci, ohci and ehci (not usb) out of kernel and load / unload those around suspend/resume, but that's no longer needed on 9 here. > Does suspend/resume work for anyone? Likely not very exciting news for most, but my '02 Thinkpad T23 reliably suspends and resumes since 9.1-R with zero configuration. Haven't tried it yet with X, might need hw.syscons.sc_no_suspend_vtswitch=1 for that as 6.x, 7.x and 8.x always required, but that's an old S3 Savage video, with working IBM-written ACPI/BIOS. More modern video chips and drivers seem to be far more problematic, not to mention slightly dodgy ACPI code .. cheers, Ian > Matt > > On 06/28/13 15:19, Stefan Horomnea wrote: > > Yes, I did try, didn't help. > > > > > > On Mon, Jun 24, 2013 at 4:30 AM, matt > > wrote: > > > >> > >>> which I think are after I manually power-off and power-on the > >>> laptop. If this info helps, Ubuntu is able to suspend/resume > >>> properly. I also did a recent upgrade of BIOS. > >>> > >>> Can anyone help me make progress here ? > >>> > >>> Thank you, Stefan > >>> _______________________________________________ > >>> 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" > >>> > >> > >> Have you tried twiddling the values at hw.pci.do_power_resume > >> and hw.pci.do_power_suspend? > >> > >> Rarely, this helps. > >> > >> Matt From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 29 20:02:20 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 48580F6; Sat, 29 Jun 2013 20:02:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id DC1F81288; Sat, 29 Jun 2013 20:02:19 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id m15so2083825qcq.19 for ; Sat, 29 Jun 2013 13:02:19 -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; bh=iBXdbFCpELJ1cWG/1WKNXfK5Po+g5poFNzZAs2Cc06o=; b=Y/oAqRmFfgdCONFPG0ca+hPOhbWauaHy+vMsEMu0gynkKAQZNn/3234kgkeYzKo5U7 1ws3KLyTxdq7eBogaTk48aH9xVn0z4nWvdkSSUgEeccpScqKTVRwaU9WeGOXX9nW8XkY POAOlpAtSL2AKb36txgH+kJApOC/9VAF0WdLwcvCUfmYq+0tPdzxR13JqtEhglij1Mm7 xyZESNQQHog5ZM80f3rQuCmPFw6Io53NBtkj759ln6lfTRJ8k5lMq58m/q4vgtxZ+JxG dvQBS9x1yWwDNlIl2nySX1Ln5aLUB6qHuzgl/qEO2zepowcYXCZNfZOvJ3h7Aaz434Op oGQQ== MIME-Version: 1.0 X-Received: by 10.224.36.17 with SMTP id r17mr2152515qad.94.1372536139449; Sat, 29 Jun 2013 13:02:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.101.134 with HTTP; Sat, 29 Jun 2013 13:02:19 -0700 (PDT) In-Reply-To: <20130627213331.W26984@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> Date: Sat, 29 Jun 2013 13:02:19 -0700 X-Google-Sender-Auth: roRZkVHaSJ3PJiW0oZA7g8YDIUU Message-ID: Subject: Re: USB ports on Lenovo T400 do not work after a suspend/resume From: Adrian Chadd To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org, freebsd-usb@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 20:02:20 -0000 On 27 June 2013 04:58, Ian Smith wrote: > Well if there's a functional change in head that fixes this on Lars' and > yours, getting it into stable shouldn't be so hard I expect. However if > there's a fix (or some Lenovo workaround) for yours on 9 it'd be useful > to hunt it down, no? I utterly depend on 100% working resume too. > > 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 Thanks, -adrian From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 29 21:20:47 2013 Return-Path: Delivered-To: freebsd-acpi@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 BF6AA4DF for ; Sat, 29 Jun 2013 21:20:47 +0000 (UTC) (envelope-from stefan.horomnea@gmail.com) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 8411B16A8 for ; Sat, 29 Jun 2013 21:20:47 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id e11so2074976qcx.24 for ; Sat, 29 Jun 2013 14:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XR+BzmWabrqaKg+FTTAW+So/2LWrZGVpusbpcLuqx7w=; b=xioilTV0Y2JFoqBIPM1SJRXZKWRXwyOICnaWCxNJ3DrYj2Ev14ZoQTDAJ5NatO/A25 Omz5Z4uBUG+e1sAWIooCPFM1O+kSUtfR1FlRVjBRsGDH67KTJ2GRYiusxtJQ6FrDXAB/ eltSeIp/4u665wt9IbEjxEjBQhPTE5Ovb9LHTvuVBXIaddtwEOwIo6KX2N51AUfHSkFJ EblhFPXrcqFQD/fLCGM00SRPu+HF16mg0SkWUHe+RKmHfER1tMDYRKkv2eVs9bEm2SDR Csm9JPj7h5ysPIpc48AUuaAgzuS8+qgnLlt615wBYUkWsTOx3/o8pApPR8jwUvxAFGYx lZZg== MIME-Version: 1.0 X-Received: by 10.49.12.114 with SMTP id x18mr24503315qeb.25.1372540847060; Sat, 29 Jun 2013 14:20:47 -0700 (PDT) Received: by 10.49.75.38 with HTTP; Sat, 29 Jun 2013 14:20:46 -0700 (PDT) In-Reply-To: <20130630021916.G81017@sola.nimnet.asn.au> References: <51C7AF45.1000303@gmail.com> <51CE677E.2060508@gmail.com> <20130630021916.G81017@sola.nimnet.asn.au> Date: Sat, 29 Jun 2013 23:20:46 +0200 Message-ID: Subject: Re: Resume on a Thinkpad L512 From: Stefan Horomnea To: Ian Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 21:20:47 -0000 Hi, My first test was with debug.acpi.resume_beep=1 in /etc/sysctl.conf and /boot/loader.conf. I didn't know which is the right file to set this, so I set it in both. No debug beep. According to this: https://wiki.freebsd.org/SuspendResumethis means that the wake up code in the kernel doesn't even begin. Anyway, I tested also with a stripped down kernel, made no difference. It had no usb, no network...I commented out everything I could. I tried another thing, which I have no idea if it makes any sense at all, or if it was correct/relevant what I was trying, but I generated an DSDT.aml file on Ubuntu, and copied to my FreeBSD system, and added this in /boot/loader.conf on FreeBSD: acpi_dsdt_load="YES" acpi_dsdt_name="/boot/DSDT.aml" Nothing changed. Still when I resume it happens the same: I hear the dvd-rom making a sound, then the fan goes crazy, no screen, no other lights, completely frozen, I have to turn-it off with a long press on the power button. Best, Stefan On Sat, Jun 29, 2013 at 6:40 PM, Ian Smith wrote: > On Fri, 28 Jun 2013 21:50:06 -0700, matt wrote: > > > Try kldunloading any loaded kernel modules including usb. You may need > > to compile a more modular kernel. > > On 8 (.1 and .2) I only had to leave uhci, ohci and ehci (not usb) out > of kernel and load / unload those around suspend/resume, but that's no > longer needed on 9 here. > > > Does suspend/resume work for anyone? > > Likely not very exciting news for most, but my '02 Thinkpad T23 reliably > suspends and resumes since 9.1-R with zero configuration. Haven't tried > it yet with X, might need hw.syscons.sc_no_suspend_vtswitch=1 for that > as 6.x, 7.x and 8.x always required, but that's an old S3 Savage video, > with working IBM-written ACPI/BIOS. > > More modern video chips and drivers seem to be far more problematic, not > to mention slightly dodgy ACPI code .. > > cheers, Ian > > > Matt > > > > On 06/28/13 15:19, Stefan Horomnea wrote: > > > Yes, I did try, didn't help. > > > > > > > > > On Mon, Jun 24, 2013 at 4:30 AM, matt > > > wrote: > > > > > >> > > >>> which I think are after I manually power-off and power-on the > > >>> laptop. If this info helps, Ubuntu is able to suspend/resume > > >>> properly. I also did a recent upgrade of BIOS. > > >>> > > >>> Can anyone help me make progress here ? > > >>> > > >>> Thank you, Stefan > > >>> _______________________________________________ > > >>> 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" > > >>> > > >> > > >> Have you tried twiddling the values at hw.pci.do_power_resume > > >> and hw.pci.do_power_suspend? > > >> > > >> Rarely, this helps. > > >> > > >> Matt >