From owner-freebsd-acpi@freebsd.org Sun Feb 21 11:54:27 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88AAEAAF6B1 for ; Sun, 21 Feb 2016 11:54:27 +0000 (UTC) (envelope-from okunev.s.a@gmail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 273941F90 for ; Sun, 21 Feb 2016 11:54:27 +0000 (UTC) (envelope-from okunev.s.a@gmail.com) Received: by mail-wm0-x232.google.com with SMTP id g62so122975417wme.0 for ; Sun, 21 Feb 2016 03:54:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=TKn3unXA/UwVXx9Rr+MbAmphnKU2ED/qW6Y0ddTHCV0=; b=D1zzGqojESpRMOvvHhlQEnydldUun3Xo97GmQBFcXUTz22780U+YqcRhGIL5ZgVH/3 OpAttCVn6CcpVZp8IYXs4n/9jq8ShWacmsigw/Kttu3Vlm9e9vqMsmwdagRJYK6n/R1i vmXeASl7qQkquGmWF+MNIgCsyKAVqgNh6Wr9O6z2rBJih3Vg8QOCX2PeVBcT0RtPeCcg dZOrvlQntlersRxafVBGg1Y/kba5dhpUNu9IBkEc+zEyZfCPGjpobLupCTB+eT4oGjum kfxuZ5LvPSiWT/v5vvpPQKdejFCaurXIXeJHE+SEi82h9pyWbPlRz9I+IHoeEp0H+fWp 6ZiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=TKn3unXA/UwVXx9Rr+MbAmphnKU2ED/qW6Y0ddTHCV0=; b=PdJK/oRXIfmS4/G5k4lqIwXip5KI9e85y0hEZzPwTMP7HNl41nG6Xfaz7uNY3/Rmfv JVHpTseT7ovTc6dFIMGtXcUX3ywzrmbdbGUSBs2r6SmmVD8LpnJ58p9+YVey+XonK2tP AO0v4i6D4K4eV0FfrNgL2Nz0Dc+GFI6lRhFrLwuUzSMPDZHW7K6B/kOxhW+sJiN+kbDH 5eKk5JLf4IA+TYT7S8Ti7ufm3rtYuPlwmgD9Jjyn2wID7SfK04QcENebCQOZ04aggUvZ MfVchhb0xFsTYYXcf48jwam9W9z1kAcBKqyq3SFdT/OiP2WIkbsEw44qgyB5lkatVnWa ecEQ== X-Gm-Message-State: AG10YOQ4guXAV2N+bD6XD97EhgAq01jrZPj2HrugW95dvxWoq+aHA+p5rQ+McNDS6vhnJK1rRR6O+SLt1W8g+g== X-Received: by 10.194.92.68 with SMTP id ck4mr22095762wjb.144.1456055665694; Sun, 21 Feb 2016 03:54:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.105.195 with HTTP; Sun, 21 Feb 2016 03:53:56 -0800 (PST) From: SERGEY Date: Sun, 21 Feb 2016 14:53:56 +0300 Message-ID: Subject: driver ITE IT8728F To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 11:54:27 -0000 Hello How to install driver for control chip: ITE IT8728F Motherboard: Gigabyte GA-970A-UD3P rev.1 FreeBSD bsd 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 UTC 2015 root at amd64-builder.daemonology.net :/usr/obj/usr/src/= sys/GENERIC amd64 pciconf -lv | grep -A4 nonenone0 at pci0 :0:20:0: class=3D0x0c0500 card=3D0x43851002 chip=3D0x43851002 rev=3D0x42 hdr=3D0x00 vendor =3D 'Advanced Micro Devices [AMD] nee ATI' device =3D 'SBx00 SMBus Controller' class =3D serial bus subclass =3D SMBus --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 =D0=9E=D0=BA=D1=83=D0=BD=D0=B5=D0=B2 +7 921 3121623 From owner-freebsd-acpi@freebsd.org Mon Feb 22 16:31:01 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46069AB1FE7 for ; Mon, 22 Feb 2016 16:31:01 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm37-vm4.bullet.mail.bf1.yahoo.com (nm37-vm4.bullet.mail.bf1.yahoo.com [72.30.238.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01B1E116A for ; Mon, 22 Feb 2016 16:31:00 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1456158517; bh=jCrDmKm9LROJ4DGAEdd8taq9DdcK7OrgTGIQxsaLtDg=; h=Subject:References:To:From:Date:In-Reply-To:From:Subject; b=oGwasafGy5QAbzKjqKhJAEGTh6/lPjsRXvGkmKUCqfGTBv51W0WavBNf5aGsOyMMs5f83kKDYO5N+KBYFSCda+onwrFMD1v8f+BamYkgvnINZp1Uh+f7XWrnPKra9YTTqZsUvy3LmF2ma4fa/vNSBgUsrJrukXTnAo84jHVsnZmIpoIcQtTYkiZAtaCOGoc4i9DOdpQqNFGig3POabYxszmdflZmm15Y04PzPQmJP4T2smsYznSH7z3+G28d1TpjHUL4haRIa3Fp//Tvgv7Q6YcBftpvDGC3lXI87Gzl3hQFrwvP40LVo+IzhtzDdeMxrT8CiGQ3azP2pgSrAvCe2A== Received: from [66.196.81.171] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 22 Feb 2016 16:28:37 -0000 Received: from [98.139.213.15] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 22 Feb 2016 16:28:37 -0000 Received: from [127.0.0.1] by smtp115.mail.bf1.yahoo.com with NNFMP; 22 Feb 2016 16:28:37 -0000 X-Yahoo-Newman-Id: 814749.70449.bm@smtp115.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: bsjP5eYVM1mKZYWHykR4LNNXcaa5G8XvRl8TDx6lOw06Pms mkB9cVe_cJfEy1WsE308_76XjaB3FdK1iA4q5.cY.u_3Kj5t9ha.NFw2xKqV _yk.hcuK.io2ByTEkFi0gxskSkEX22QcDBiOo_j57JUqvZhNh5y4PCUj3aeq JbWoPwIjQUGq8j1kS0VXvT_lBrhqVExIaFciyagFVxSBBC._a2oaOLbT_l8J bvfk02JYoFpMhX8MpZSDPTBChTZ7VnMRCIpUeTYQwup2kDYUe8uSYo3NH_Yr KbkMxoHdBnJj2LfCTovr8UbUmmRWVPteGy6IPX3xKWCeY2Pi00dHxrp47sUF kpWHSMAIH1OfaybnXnSTux9NNiGaT_N8FXtVstLoapi8ib0rISyRaHtau_M6 JvygIJWMBYK1_hxVFLFjZQV0sDLPG.KmYXDAbkC.FhYxHjsFawQUwx.v1AJG NTYnjJ1rYCndX4LDfs3YGdPWO1Cmnficp304_VWm.DpXXiil_q0XIoZjm4P4 OtQmDbvMqS3_9DeTDBx9oTTiUyuNYrW2jLw-- X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Subject: Re: ACPI CMOS and HP laptops References: <56C7AD45.3070408@yahoo.com> <20160220233336.U51785@sola.nimnet.asn.au> <56C86F4D.6000700@yahoo.com> To: Ian Smith , freebsd-acpi@freebsd.org From: Anthony Jenkins Message-ID: <56CB3731.9080002@yahoo.com> Date: Mon, 22 Feb 2016 11:28:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <56C86F4D.6000700@yahoo.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 16:31:01 -0000 On 02/20/2016 08:51 AM, Anthony Jenkins via freebsd-acpi wrote: > On 02/20/2016 07:38 AM, Ian Smith wrote: >> On Fri, 19 Feb 2016 19:03:17 -0500, Anthony Jenkins via freebsd-acpi >> wrote: >> >> Hi Anthony, It's been nearly 11 months, I see. Never realized it's been that long - I was just happy to have fixed something in FreeBSD that works for me, and relatively few have complained about a missing ACPI RTC/CMOS handler. Since I recently lost the original HP laptop, purchased a new one and found the same problem, I had to resurrect this stuff. >> > Just got another HP laptop and it also needs support for the ACPI >> CMOS device >> > to suspend/resume, power down, etc. Simple enough to plop my >> patch into my >> > -CURRENT tree and get it working. So what again do I need to do >> to get this >> > committed to -CURRENT? >> >> Is there a PR with your latest patch? Does it apply also to stable/10? >> >> cheers, Ian > It should... I don't think the CMOS/RTC code has changed in ages. > > Good point, I'll file a PR and stick both versions of my patch in it. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207419 -- Anthony Jenkins From owner-freebsd-acpi@freebsd.org Mon Feb 22 18:18:29 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 60A23AB095C for ; Mon, 22 Feb 2016 18:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 51F201778 for ; Mon, 22 Feb 2016 18:18:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1MIISSn019254 for ; Mon, 22 Feb 2016 18:18:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Date: Mon, 22 Feb 2016 18:18:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:18:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 Jung-uk Kim changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-acpi@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-acpi@freebsd.org Mon Feb 22 19:32:47 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29CAEAB0AF0 for ; Mon, 22 Feb 2016 19:32:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AC8410DA for ; Mon, 22 Feb 2016 19:32:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1MJWkVF002823 for ; Mon, 22 Feb 2016 19:32:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Date: Mon, 22 Feb 2016 19:32:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Scoobi_doo@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 19:32:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 --- Comment #3 from Anthony Jenkins --- The upstream thread actually mirrors the evolution of my OSPM patch. I fir= st tried adding code to the ACPICA code, then, based on some helpful suggestio= ns from acpi@, moved it to the atrtc(4) driver. I agree with the last thread = post (https://lists.acpica.org/pipermail/devel/2016-February/000874.html) - that support for RTC/CMOS devices belongs in the OSPM, not in the ACPICA. If you look closely at the OP's proposed ACPICA patch, the AcpiOs(Read|Write)Cmos() handlers are no-ops (Read returns 0, Write does nothing). I mean I can toss my $0.02 into the thread, but it'll be little more than "I agree this shouldn't be added to ACPICA"... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-acpi@freebsd.org Mon Feb 22 19:48:24 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 54CB9AB1179 for ; Mon, 22 Feb 2016 19:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45BDA17B2 for ; Mon, 22 Feb 2016 19:48:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1MJmOtc029722 for ; Mon, 22 Feb 2016 19:48:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Date: Mon, 22 Feb 2016 19:48:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 19:48:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 --- Comment #4 from Jung-uk Kim --- (In reply to Anthony Jenkins from comment #3) > If you look closely at the OP's proposed ACPICA patch, the > AcpiOs(Read|Write)Cmos() handlers are no-ops (Read returns 0, Write does > nothing). Actually, those are stubs for userland tools, i.e., acpiexec. FYI, OSPM mu= st provide AcpiOsReadCmos() and AcpiOsWriteCmos(). See sys/dev/acpica/Osd/OsdMemory.c, for example. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-acpi@freebsd.org Mon Feb 22 20:03:58 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1DEDDAB1895 for ; Mon, 22 Feb 2016 20:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F0F312D8 for ; Mon, 22 Feb 2016 20:03:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1MK3vHS097404 for ; Mon, 22 Feb 2016 20:03:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Date: Mon, 22 Feb 2016 20:03:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 20:03:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 --- Comment #5 from Jung-uk Kim --- BTW, these functions must be MD. So, it should be placed in sys/x86/acpica (please see OsdEnvironment.c) and/or sys/x86/isa/atrtc.c. If the upstream = does not want them as official API, then your patch is good. FYI, the official ACPICA API is documented here: https://acpica.org/sites/acpica/files/acpica-reference_17.pdf --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-acpi@freebsd.org Mon Feb 22 20:33:22 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 516C8AB06DB for ; Mon, 22 Feb 2016 20:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 42F3614E1 for ; Mon, 22 Feb 2016 20:33:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1MKXL69055027 for ; Mon, 22 Feb 2016 20:33:22 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Date: Mon, 22 Feb 2016 20:33:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jkim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 20:33:22 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 --- Comment #6 from Jung-uk Kim --- (In reply to Anthony Jenkins from comment #1) FYI, the separation is important because ACPI is not mandatory for i386. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-acpi@freebsd.org Thu Feb 25 05:06:23 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3524AB2B12 for ; Thu, 25 Feb 2016 05:06:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4B6612C4 for ; Thu, 25 Feb 2016 05:06:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1P56NIe026954 for ; Thu, 25 Feb 2016 05:06:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-acpi@FreeBSD.org Subject: [Bug 207419] Add ACPI support for RTC/CMOS device Date: Thu, 25 Feb 2016 05:06:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: Scoobi_doo@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-acpi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 05:06:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207419 --- Comment #7 from Anthony Jenkins --- (In reply to Jung-uk Kim from comment #6) Ahh, okay I think that makes sense; seemed an arbitrary request before. My bus-separation patch could probably use some work, but it builds and wor= ks on my amd64. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-acpi@freebsd.org Fri Feb 26 20:37:05 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20BF9AB42D2 for ; Fri, 26 Feb 2016 20:37:05 +0000 (UTC) (envelope-from tom@ycombinator.com) Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3F08880 for ; Fri, 26 Feb 2016 20:37:04 +0000 (UTC) (envelope-from tom@ycombinator.com) Received: by mail-yw0-x236.google.com with SMTP id u200so78523981ywf.0 for ; Fri, 26 Feb 2016 12:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ycombinator.com; s=google; h=mime-version:date:message-id:subject:from:to; bh=XNoTN7ooC/f4NVdw7zo4saJQV9pgYGCJvBgXdWNDjWk=; b=e8pQ30+j6dHmsWqLXxwOhaLac3Q/d2HAkdy5h4MVe+GpT3gsBmwHNBOShFi1gtuBg0 lvfgdZkUss1eFTXoJtK6YyinmEpxzYvLoEUicGDnbIyL+p0GXXBu6duckT9kLufTVm8P VGVnt7otoK4tQwvRa3ILMkOyImHdq3lPhsrsA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=XNoTN7ooC/f4NVdw7zo4saJQV9pgYGCJvBgXdWNDjWk=; b=Uhu2McLHuOsvjGyvWSCXZV65x0fKz/jOJv5H8OnUYH/TjZdeKVKK3PX8U2ku2HEMKo wZ7m5vtLV7ukdCl9jnD8iB+pH4SCdxRNyDKNpy2b9ZroDmNbj6Vnd3Kuf4rhk3Mh8e6U qWgPWWMmcWYLBYHlc7MB6EgMmZHr13yQC8aQDUtswU5M/MVtPIV21fk/It1sPs2seYQ3 1rMPP2LEaTHTziLW4i7tbl3UHdkfLJjmh+HUHJPUb0rWmlKHHOoyW4U0sPCB2GwMNlHj g4VMqug/KMyI1K11kPJNqfwjTevaSs4WVSXrJ8H6PlUq3HQp7Z7wa+8s5vCkK3BKhWWM VPdQ== X-Gm-Message-State: AD7BkJLK8XnKO0iV7jYc1JpUWnR8GJP11PZ/ET78JYr2aVsiLz5uLEWpdiCNV2wJyzwpuyhDmGnnRWDNWDmTe4Js MIME-Version: 1.0 X-Received: by 10.129.154.68 with SMTP id r65mr1928382ywg.151.1456519024031; Fri, 26 Feb 2016 12:37:04 -0800 (PST) Received: by 10.37.214.12 with HTTP; Fri, 26 Feb 2016 12:37:03 -0800 (PST) Date: Fri, 26 Feb 2016 12:37:03 -0800 Message-ID: Subject: ACPI Dock/Undock events? From: Tom Sparks To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 20:37:05 -0000 I'm trying to find information about whether acpi_ibm has info on dock/undock events or status; It looks like the answer is no. This would be pretty handy to have available. Before I start trying to figure out how to add this, just wanted to check and see if anyone else had worked on this. -- Tom Sparks Systems Engineer From owner-freebsd-acpi@freebsd.org Sat Feb 27 08:11:10 2016 Return-Path: Delivered-To: freebsd-acpi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADB8FAB6908 for ; Sat, 27 Feb 2016 08:11:10 +0000 (UTC) (envelope-from timon@timon.net.nz) Received: from flare.plasmahost.ru (static.155.109.4.46.clients.your-server.de [46.4.109.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79C0E79D for ; Sat, 27 Feb 2016 08:11:08 +0000 (UTC) (envelope-from timon@timon.net.nz) Received: from [193.41.76.135] (helo=timon.home.timon.net.nz) by flare.plasmahost.ru with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aZZNb-0002lM-LI; Sat, 27 Feb 2016 07:33:31 +0000 Subject: Re: ACPI Dock/Undock events? To: Tom Sparks , freebsd-acpi@freebsd.org References: From: Alexandr Matveev Message-ID: <56D1514A.3060909@timon.net.nz> Date: Sat, 27 Feb 2016 10:33:30 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 08:11:10 -0000 On 26.02.2016 23:37, Tom Sparks wrote: > I'm trying to find information about whether acpi_ibm has info on > dock/undock events or status; It looks like the answer is no. > This would be pretty handy to have available. > > Before I start trying to figure out how to add this, just wanted to check > and see if anyone else had worked on this. > Hello, Look at acpi_dock kernel module # kldload acpi_dock $ sysctl dev.acpi_dock.0.status dev.acpi_dock.0.status: 0 $ egrep 'define.*STATUS' /usr/src/sys/dev/acpica/acpi_dock.c #define ACPI_DOCK_STATUS_UNKNOWN -1 #define ACPI_DOCK_STATUS_UNDOCKED 0 #define ACPI_DOCK_STATUS_DOCKED 1 -- Aleksandr Matveev