From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 25 16:33:22 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 81F39BD9 for ; Mon, 25 Aug 2014 16:33:22 +0000 (UTC) Received: from mail-qa0-x22e.google.com (mail-qa0-x22e.google.com [IPv6:2607:f8b0:400d:c00::22e]) (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 3D1F83E6C for ; Mon, 25 Aug 2014 16:33:22 +0000 (UTC) Received: by mail-qa0-f46.google.com with SMTP id v10so12393014qac.33 for ; Mon, 25 Aug 2014 09:33:21 -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:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=2z7V6Grv+gNdr1BxIZPLBfmZAfookilqtfknZalumig=; b=wrCHIJScAFcQEVXrpiWrK5UE1KPmOaiQFAh6HihFe6e27CNl+N6OtTvbCbbGs/PEEZ qWIU0YpUVqtxgDolV+ni82kFf6IBsNkuPQtNvIhzn9wllWOahAib8G6wawqfa8+zNAeW CcvEpPmIYWkQ4lErPkz4WG6abdqeQRlRQmBxQGMMuMIeDL9b9/xbClYaCXJWVUpGcmPB FcocplYCzcT9LstfRgMWh+cwe/2J58uwAlIEgjXn/xLLgkO+IyfKlY0vlplMWN8YiSvY ToIN/Pa1S1gcYlvkIPOi7Cff23kvNNUZwtkmrQPWlKVu10/yudJZ6CEIrMm2if49wKJl g/TA== MIME-Version: 1.0 X-Received: by 10.229.140.70 with SMTP id h6mr36475213qcu.3.1408984401166; Mon, 25 Aug 2014 09:33:21 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.39.139 with HTTP; Mon, 25 Aug 2014 09:33:21 -0700 (PDT) In-Reply-To: <53FB6011.3080509@att.net> References: <53EE78ED.2030208@att.net> <53FB6011.3080509@att.net> Date: Mon, 25 Aug 2014 09:33:21 -0700 X-Google-Sender-Auth: 3O-esIlIUI_n9ykre7eAOfClnZs Message-ID: Subject: =?UTF-8?B?UmU6IOetlOWkjTog562U5aSNOiBNeSBsYXB0b3AgY2FuJ3QgcmVzdW1lIGZyb20gc3VzcA==?= =?UTF-8?B?ZW5kLg==?= From: Adrian Chadd To: Anthony Jenkins Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?UTF-8?B?5byg5pmT6Z2W?= , "freebsd-acpi@freebsd.org" X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2014 16:33:22 -0000 Hm! Cool, so you've reimplemented the RTC accesses to go via ACPI. Shouldn't this be another device though? One that gets attached if it finds it on the ACPI bus? -a On 25 August 2014 09:10, Anthony Jenkins wrote: > No problem... attached. And amd64 doesn't matter - works for x86-based c= omputers with the basic CMOS RTC chip (PNP0B00). Hopefully your suspend/re= sume problems are due to your ACPI BIOS needing to read/write info from/to = CMOS and not finding a CMOS handler. > > Anthony > > On 08/25/2014 11:50, =E5=BC=A0=E6=99=93=E9=9D=96 wrote: >> I google less than complete information. Do you have the relevant code c= an be shared under it? I found atrtc.c file in /usr/src/sys/x86/isa directo= ry, but my system is amd64 of ...... >> >> root@skycn:~ # uname -a >> FreeBSD skycn 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #2: Sat Aug 16 00:= 06:30 CST 2014 root@skycn:/usr/obj/usr/src/sys/MyKernel amd64 >> >> >> -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- >> =E5=8F=91=E4=BB=B6=E4=BA=BA: Anthony Jenkins [mailto:Anthony.B.Jenkins@a= tt.net] >> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B48=E6=9C=8816=E6=97=A5= 5:18 >> =E6=94=B6=E4=BB=B6=E4=BA=BA: =E5=BC=A0=E6=99=93=E9=9D=96; 'Kevin Oberman= ' >> =E6=8A=84=E9=80=81: freebsd-acpi@freebsd.org >> =E4=B8=BB=E9=A2=98: Re: =E7=AD=94=E5=A4=8D: My laptop can't resume from = suspend. >> >> On 08/15/2014 16:20, =E5=BC=A0=E6=99=93=E9=9D=96 wrote: >>> Thank Bykov Vladislav and Kevin Oberman's recommendations. Later I >>> received an e-mail, >>> >>> immediately compile the kernel (make a note #options VESA).But the >>> problem persists, dmesg >>> >>> Information Reference url http://url.cn/SQ0vXD. >>> >>> >>> >>> Even worse thing is, I do use "acpiconf -s 3"debugger, resulting in a >>> notebook can not boot >>> >>> until yesterday afternoon for a good notebook motherboard, now do not >>> dare to use =E2=80=9Cacpiconf >>> >>> -s 3=E2=80=9D testing. >>> >>> >>> >>> Do you have suggestions for me? >> You could dig up my kernel patch (Google "FreeBSD ACPI CMOS region suppo= rt atrtc.c.patch") to play with, it works to enable suspend/resume on some = laptops and should be safe to try. I still need to clean it up (style, oth= er suggestions) for submission to FreeBSD, haven't gotten around to it yet. >> >> Anthony Jenkins >> >>> Thanks you~ >>> >>> >>> >>> >>> >>> >>> >>> -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- >>> =E5=8F=91=E4=BB=B6=E4=BA=BA: Bykov Vladislav [mailto:envolyse@gmail.com= ] >>> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B48=E6=9C=8813=E6=97= =A5 0:13 >>> =E6=94=B6=E4=BB=B6=E4=BA=BA: =E5=BC=A0=E6=99=93=E9=9D=96 >>> =E4=B8=BB=E9=A2=98: Re: My laptop can't resume from suspend. >>> >>> >>> >>> On Tue, Aug 12, 2014 at 12:20:28PM +0800, =E5=BC=A0=E6=99=93=E9=9D=96 w= rote: >>> >>>> The laptop can't resume, the screen no display, no beep sound. >>> Can you please try to install video driver for your card and remove VES= A device from kernel configuration? >>> >>> >>> >>> >>> >>> =E5=8F=91=E4=BB=B6=E4=BA=BA: kob6558@gmail.com [mailto:kob6558@gmail.co= m] =E4=BB=A3=E8=A1=A8 Kevin Oberman >>> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B48=E6=9C=8813=E6=97= =A5 1:15 >>> =E6=94=B6=E4=BB=B6=E4=BA=BA: =E5=BC=A0=E6=99=93=E9=9D=96 >>> =E6=8A=84=E9=80=81: freebsd-acpi@freebsd.org >>> =E4=B8=BB=E9=A2=98: Re: My laptop can't resume from suspend. >>> >>> >>> >>> On Mon, Aug 11, 2014 at 9:20 PM, =E5=BC=A0=E6=99=93=E9=9D=96 > wrote: >>> >>> Hello, >>> >>> I am having a problem. >>> >>> My laptop is lenovo's zhaoyang K47A series HM65. >>> >>> I used ati graphics CARDS, Use the url ( >>> https://wiki.freebsd.org/Graphics) >>> the method of normal driving the graphics card. >>> >>> >>> >>> After set " >>> >>> sysctl debug. Bootverbose =3D 1 >>> >>> sysctl debug. Acpi. Suspend_bounce =3D 1 >>> >>> sysctl debug. Acpi. Resume_beep =3D 1 >>> >>> acpiconf -s 3 >>> >>> " >>> >>> The laptop can't resume, the screen no display, no beep sound. >>> >>> >>> >>> Disabling ACPI not helps to fix the problem. All files downloaded from >>> http://url.cn/WVISGF. >>> >>> >>> >>> Output from sysctl hw.acpi >>> >>> hw.acpi.supported_sleep_state: S1 S3 S4 S5 >>> >>> hw.acpi.power_button_state: S5 >>> >>> hw.acpi.sleep_button_state: S1 >>> >>> hw.acpi.lid_switch_state: NONE >>> >>> hw.acpi.standby_state: S1 >>> >>> hw.acpi.suspend_state: S3 >>> >>> hw.acpi.sleep_delay: 1 >>> >>> hw.acpi.s4bios: 0 >>> >>> hw.acpi.verbose: 1 >>> >>> hw.acpi.disable_on_reboot: 0 >>> >>> hw.acpi.handle_reboot: 0 >>> >>> hw.acpi.reset_video: 0 >>> >>> hw.acpi.cpu.cx_lowest: C1 >>> >>> hw.acpi.acline: 1 >>> >>> hw.acpi.battery.life: 100 >>> >>> hw.acpi.battery.time: -1 >>> >>> hw.acpi.battery.state: 0 >>> >>> hw.acpi.battery.units: 2 >>> >>> hw.acpi.battery.info_expire: 5 >>> >>> hw.acpi.thermal.min_runtime: 0 >>> >>> hw.acpi.thermal.polling_rate: 10 >>> >>> hw.acpi.thermal.user_override: 0 >>> >>> hw.acpi.thermal.tz0.temperature: 62.0C >>> >>> hw.acpi.thermal.tz0.active: -1 >>> >>> hw.acpi.thermal.tz0.passive_cooling: 1 >>> >>> hw.acpi.thermal.tz0.thermal_flags: 0 >>> >>> hw.acpi.thermal.tz0._PSV: 95.0C >>> >>> hw.acpi.thermal.tz0._HOT: -1 >>> >>> hw.acpi.thermal.tz0._CRT: 100.0C >>> >>> hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 >>> >>> hw.acpi.thermal.tz0._TC1: 2 >>> >>> hw.acpi.thermal.tz0._TC2: 3 >>> >>> hw.acpi.thermal.tz0._TSP: 100 >>> >>> >>> >>> Sincerely, >>> ZhangXiaoJing. >>> >>> >>> >>> Have you tried building the kernel without VESA? Many laptops won't res= ume if you leave VESA in the kernel build. >>> >>> -- >>> >>> >>> R. Kevin Oberman, Network Engineer, Retired >>> E-mail: rkoberman@gmail.com >>> >>> _______________________________________________ >>> 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" >> >> > > > _______________________________________________ > 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"