From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 7 16:37:14 2014 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18EA54D9; Sat, 7 Jun 2014 16:37:14 +0000 (UTC) Received: from mail-we0-x22c.google.com (mail-we0-x22c.google.com [IPv6:2a00:1450:400c:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 54EF02C9F; Sat, 7 Jun 2014 16:37:13 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id k48so4189660wev.31 for ; Sat, 07 Jun 2014 09:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=cPLCcc/B/+rw3u+8HxoPYeTUMavxQXWbtXBbDRssc4o=; b=I1jvJw0LS01wfotFR9d6prqR3fsEqfrzB/uMq4piT3IS6l0L0gGY9I+lTld2YT9fDT ph0sWVhNQ8eOHm89r+g3bC7GDZt3rktb0+GPOwWbhRO4FeI2u4p47I7f9k4t7rwqlcN5 JU4Zpvx4HoGgEuALyd9n8di3LYRT1SH3mfV0SvRMneyyp785QPnLRPokMoCOqIKPvJZG lRpiop/oXdNaloMKJn0op1bxXns6himwJGX3Bz+L4aDqv91ETYz1lgs6q0P02HL794+y wfnFWRGCBF3GcbRr+Jw+mTzzmHK1pAdoZssM5pN6o2+AS331rjzJc5fHE4ZBv+5Ejm/X KzbQ== X-Received: by 10.14.216.135 with SMTP id g7mr24552eep.55.1402159031576; Sat, 07 Jun 2014 09:37:11 -0700 (PDT) Received: from brick.home (aedr225.neoplus.adsl.tpnet.pl. [79.186.95.225]) by mx.google.com with ESMTPSA id cj41sm31430252eeb.34.2014.06.07.09.37.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jun 2014 09:37:11 -0700 (PDT) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Sat, 7 Jun 2014 18:37:08 +0200 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Adrian Chadd Subject: Re: Investigating failed suspend/resume T61 Message-ID: <20140607163708.GB23405@brick.home> References: <1400861698.1126.0.camel@bruno> <1401898025.1123.17.camel@bruno> <20140604171714.GA931@brick.home> <201406041330.54793.jhb@freebsd.org> <1401979859.1123.29.camel@bruno> <20140606075737.GA826@brick.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 16:37:14 -0000 With modem enabled? I don't know; I don't see anything related to hdac0 during resume. With modem disabled resuming is completely broken - it fails _very_ early, by failing to return from acpi_machdep_sleep() iirc. On 0607T1221, Adrian Chadd wrote: > That's odd. Is it still trying to resume hdac0 ? > > > -a > > > On 6 June 2014 03:57, Edward Tomasz NapieraƂa wrote: > > The difference in dmesg with (-) and without (+) the modem looks like this: > > > > --- dmesg.modem 2014-06-06 09:46:02.000000000 +0200 > > +++ dmesg.bez 2014-06-06 09:52:45.000000000 +0200 > > @@ -48,7 +48,7 @@ Event timer "HPET1" frequency 14318180 H > > Event timer "HPET2" frequency 14318180 Hz quality 440 > > atrtc0: port 0x70-0x71 irq 8 on acpi0 > > Event timer "RTC" frequency 32768 Hz quality 0 > > -Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > > +Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > > acpi_lid0: on acpi0 > > acpi_button0: on acpi0 > > @@ -157,12 +157,13 @@ est0: > coretemp1: on cpu1 > > est1: on cpu1 > > Timecounters tick every 1.000 msec > > +hdac0: Command timeout on address 1 > > +hdac0: Command timeout on address 1 > > +hdac0: CODEC is not responding! > > hdacc0: at cad 0 on hdac0 > > hdaa0: at nid 1 on hdacc0 > > pcm0: at nid 18,17 and 28,20,21 on hdaa0 > > pcm1: at nid 27 on hdaa0 > > -hdacc1: at cad 1 on hdac0 > > -unknown: at nid 2 on hdacc1 (no driver attached) > > random: unblocking device. > > usbus0: 12Mbps Full Speed USB v1.0 > > usbus1: 12Mbps Full Speed USB v1.0 > > > > Note that with modem disabled, it's not suspend that fails - it's the > > resuming. > > > > On 0605T2152, Adrian Chadd wrote: > >> ok so when you disable the modem, does it still think there's a modem > >> there? Is it still trying to power the device off via ACPI even though > >> it's not probed? > >> > >> > >> -a > >> > >> > >> On 5 June 2014 10:50, Sean Bruno wrote: > >> > On Wed, 2014-06-04 at 15:32 -0700, Adrian Chadd wrote: > >> >> Hi, > >> >> > >> >> Please also document why it is/isn't working. It's only documented as > >> >> "suspend/resume doesn't work" :) > >> >> > >> >> > >> >> -a > >> > > >> > > >> > Well there's this that trasz updated to indicate that it works: > >> > https://wiki.freebsd.org/SuspendResume > >> > > >> > I just updated this to indicate the same information: > >> > https://wiki.freebsd.org/Laptops/Thinkpad_T61 > >> > > >> > sean > >> >