From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 7 07:40:49 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 B668B190 for ; Thu, 7 Mar 2013 07:40:49 +0000 (UTC) (envelope-from SNasonov@BCC.RU) Received: from extmx.bcc.ru (extmx.bcc.ru [217.170.85.214]) by mx1.freebsd.org (Postfix) with ESMTP id CB71463E for ; Thu, 7 Mar 2013 07:40:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by extmx.bcc.ru (Postfix) with ESMTP id 9B19115FC3; Thu, 7 Mar 2013 11:40:46 +0400 (GMT-4) Received: from extmx.bcc.ru ([127.0.0.1]) by localhost (extmx.bcc.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12808-03; Thu, 7 Mar 2013 11:40:46 +0400 (GMT-4) Received: from mail.bcc (unknown [172.16.250.23]) by extmx.bcc.ru (Postfix) with ESMTP id 1C1C7155E8; Thu, 7 Mar 2013 11:40:46 +0400 (GMT-4) Received: from snasonovnbwxp.bcc ([192.168.201.205]) by mail.bcc over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Mar 2013 11:40:45 +0400 From: Sergey Nasonov To: =?utf-8?B?0JvRjtCx0L7QvNC40YAg0JPRgNC40LPQvtGA0L7Qsg==?= Subject: Re: Thinkpad x230 display brightness Date: Thu, 07 Mar 2013 11:40:45 +0400 Message-ID: <2637356.OstbGPXVBC@snasonovnbwxp.bcc> Organization: BCC User-Agent: KMail/4.9.5 (FreeBSD/9.1-STABLE; KDE/4.9.5; amd64; ; ) In-Reply-To: References: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> MIME-Version: 1.0 X-OriginalArrivalTime: 07 Mar 2013 07:40:45.0811 (UTC) FILETIME=[1435BC30:01CE1B07] X-Virus-Scanned: amavisd-new at bcc.ru Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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: Thu, 07 Mar 2013 07:40:49 -0000 I have tested Intel adapter. And test results shows problem with bright= ness=20 control. Brightness level stop changing after loading kernel. Another p= roblem=20 I found is that laptop just hang during shutdown. I suppose that hang m= ay be=20 related to VT switch, because it still dont realized in case of Intel K= MS=20 driver. USB works fine. For example suspend/resume passed fine when USB flash d= ive=20 inserted. And after resume I can access files on that volume. I found only one problem: If at suspend time I have running VM Windows = XP then=20 resume process will fail.=20 On Wednesday 06 March 2013 21:21:05 =D0=9B=D1=8E=D0=B1=D0=BE=D0=BC=D0=B8= =D1=80 =D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=BE=D0=B2 wrote: > Unfortunately, I knew that NVIDIA works. Different way the calls are = made. > I had to go back to doing acpi_call and the VBRC to set brightness be= tween > 0-16. While not a button, it still works. I have yet to test > suspend/resume. Do you have USB powered after resume? >=20 > 2013/3/6 Sergey Nasonov >=20 > > ------------------------------ > >=20 > > 2012/10/20 Erich Dollansky > >>=20 > > > Hi, > > >=20 > > >=20 > > >=20 > > > On Sun, 21 Oct 2012 02:20:22 +0200 > > >=20 > > > Jan Hannibal Smith > wrote: > > > > Hey Guys, I just installed FreeBSD 9.1 RC2 on my ThinkPad x230,= so far > > > >=20 > > > > everythings works fine except the keys for the brightness adjus= tment. > > > >=20 > > > >=20 > > > >=20 > > > > I tried the tricks I found for the x220 series but nothing help= ed. > > > >=20 > > > > Does anybody got a clue how I can get these buttons to work? > > > >=20 > > > > Maybe there is a patch for the kms driver? > > >=20 > > > can you check if the keys do even generate events? > > >=20 > > >=20 > > >=20 > > > They do not generate them on my X220. > > >=20 > > >=20 > > >=20 > > > If they do not generate events, you can use only the command line= to > > >=20 > > > change brightness. > >=20 > > any info on this? I got a T430 from my work. I am afraid I will hav= e to do > >=20 > > the manual calls like on my personal X220. > >=20 > >=20 > >=20 > >=20 > > -- > >=20 > > Lyubomir Grigorov (bgalakazam) > >=20 > >=20 > >=20 > >=20 > >=20 > > I am using T430 with FreeBSD 9.1 amd64. And I want to say that this= laptop > > is a best choice to install FreeeBSD on it. Brightess control work = just > > fine. But it work with nvidia card. I didnt tested integrated Intel= > > adapter. BIOS settings allows me to select primary adapter for vide= o > > output. > >=20 > >=20 > >=20 > > Message appears each time when brightness control key pressed: > >=20 > > CPU0: local APIC error 0x80 > >=20 > >=20 > >=20 > > These errors just informational. And I dont give it any attention. > >=20 > >=20 > >=20 > > Suspend/resume also work without any problems. > >=20 > >=20 > >=20 > > I will test intel adapter and let you know if needed. > >=20 > >=20 > >=20 > > -- > >=20 > > Best Regards, > >=20 > > Nasonov Sergey --=20 Best Regards, Nasonov Sergey From owner-freebsd-acpi@FreeBSD.ORG Thu Mar 7 17:47: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 3BD26FC5 for ; Thu, 7 Mar 2013 17:47:54 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by mx1.freebsd.org (Postfix) with ESMTP id B268E93C for ; Thu, 7 Mar 2013 17:47:53 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hm6so466672wib.14 for ; Thu, 07 Mar 2013 09:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=HXHmH2D5u5VHNZXMM0EJR6wcQRqFdJWvVoOx7KygTvk=; b=nKkoeCJaKGMvvdQUakBUyMQ34OHbyUC+c3zSkgQ6ACpbZ2JagZr3W4yalvUmXBCdUI pTfe5sNl9FRb+YwlLImiLvwcwDvrEQ/C9/SRKdQlKda+eAkUQPndQgeUDQqm+EhJ66/3 O4NHglWHSVfOjhOPJljxTHn86JxkTUUX9KL+qflHwPGhzRoxoM0TXpa2Zyp/bhka5zhE C4fOtOtQCdk43ikdMA52jOLgv1U9JX2J4vA6amKNjaPOM9vEoYm6Yruc4ehccoQKimO6 q8/SPIAOFWxWL5e2YDr1yh8pzDfOqE0t2aIqQD18J0enoesGEBqn1UvoEMrUNPNCTxSn u2sA== MIME-Version: 1.0 X-Received: by 10.181.11.164 with SMTP id ej4mr35543221wid.29.1362678461861; Thu, 07 Mar 2013 09:47:41 -0800 (PST) Received: by 10.194.57.241 with HTTP; Thu, 7 Mar 2013 09:47:41 -0800 (PST) In-Reply-To: <2637356.OstbGPXVBC@snasonovnbwxp.bcc> References: <4992739.5Qo1xB3jpc@snasonovnbwxp.bcc> <2637356.OstbGPXVBC@snasonovnbwxp.bcc> Date: Thu, 7 Mar 2013 09:47:41 -0800 Message-ID: Subject: Re: Thinkpad x230 display brightness From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: Sergey Nasonov 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: Thu, 07 Mar 2013 17:47:54 -0000 2013/3/6 Sergey Nasonov > ** > > I have tested Intel adapter. And test results shows problem with > brightness control. Brightness level stop changing after loading kernel. > Brightness controll is possible by doing the following # cd /usr/ports/sysutils/acpi_call && make install clean # rehash # kldload acpi_ibm # kldload acpi_call # acpi_call -p '\VBRC' -i N where N is 0-16. (strangely, 15 is brighter than 16). Another problem I found is that laptop just hang during shutdown. I suppose > that hang may be related to VT switch, because it still dont realized in > case of Intel KMS driver. > > I don't have a problem with shutdown. However, issuing halt or shutdown -h now, just results in a reboot after key is pressed. Not a problem, I just hold power button at that point. -- Lyubomir Grigorov (bgalakazam)