From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 27 18:00: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 9BA0C940; Sun, 27 Jan 2013 18:00:04 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by mx1.freebsd.org (Postfix) with ESMTP id 761C2E4D; Sun, 27 Jan 2013 18:00:04 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id un1so1043661pbc.26 for ; Sun, 27 Jan 2013 09:59:58 -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=VIDBfGaerE6jlW52dY2YMuG6+ZpXwlMT56TaUdqOTAg=; b=UzPOH8Tto5tE3ymKYUGJ3HaILSeDs4x+z9t6HWS8MjLfdcBgohxv8iWcsr6tz7Odza AkPK4DLgH1A72qY+gL2r/iBAGlmGEnAUauLanTsuQPu4C9eEoIqGXi+s9ai9cOqPNsEu HezKylZsBG7sAQodrNModDuVlgbzWWX9fJbAIGGW5dxO8ZlLA2VZDZ8mHNKhM485qAHD qPlELyAlSICTpq3682mdcQOR/SXkxsZ2wbqMBvLGkBhDXmElMOE6kcJGkcjkO8nUYHVy ZQVPy95EVi9RPYYA9XTNUegoC2CUhIfKqFO+Knp0g4KjCIvNN0MxxU4qR41yDcjJQSn4 3f9w== MIME-Version: 1.0 X-Received: by 10.68.225.42 with SMTP id rh10mr31241171pbc.145.1359309598701; Sun, 27 Jan 2013 09:59:58 -0800 (PST) Received: by 10.67.2.65 with HTTP; Sun, 27 Jan 2013 09:59:58 -0800 (PST) In-Reply-To: References: <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> Date: Sun, 27 Jan 2013 09:59:58 -0800 Message-ID: Subject: Re: what is required to support a new laptop? From: Kevin Oberman To: Eitan Adler Content-Type: text/plain; charset=UTF-8 Cc: Glen Barber , 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: Sun, 27 Jan 2013 18:00:04 -0000 On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler wrote: > On 25 January 2013 14:51, Kevin Oberman wrote: >> There are several threads in the archives of acpi@ and mobile@ >> discussing this. Most things are pretty easy. Use xev to find the >> events generated by the volume buttons. > > I'm handling the volume keys with xbindkeys. > >> Mute and the ThinkLight (if >> your system has one) should work as is. > > Mute does not function - I am using xbindkeys to handle it. The > "video" key generates no event. > >> Brightness is a bit bigger issue as Lenovo has completely revamped it >> These buttons don't generate events. :-( > > Where *should* they be handled? How do they work on windows? > > FWIW they seem to change hw.acpi.video.brightness, but change nothing > visible on the screen. > >> You can install the acpi_call >> port and use it to set the brightness, but it is a pain as it does not >> allow for setting incremental changes, only absolute values.(16 of >> them). > > Any pointers for what to look at? I have no idea what I'm doing w.r.t. > computers ^W ACPI. Install sysutils/acpi_call kldload acpi_call acpi_call -p '\VBRC' -i [0-15] There seem to be some differences on the range, but in my T530 0=off and 15=full. Unfortunately, the brightness functions do not generate X events and I have not seen any posts on how to tie them to anything to adjust brightness. -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Sun Jan 27 23:25:14 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 6D750917 for ; Sun, 27 Jan 2013 23:25:14 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx1.freebsd.org (Postfix) with ESMTP id D1A02BF7 for ; Sun, 27 Jan 2013 23:25:13 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id l12so3099179lbo.5 for ; Sun, 27 Jan 2013 15:25:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=NPCxEjZWT/7OR74l/4TDL2AGVaZVaGKnkMEku7Cqf6E=; b=magtbD0uGnOyOmNbwf96uaPB51JpkMfaD/cR1dbCEPVUwSWSbiYST0PNhhvOkkyUy+ 5/tFwYVQq/Gi8gt0/Z3dTZXJ8NK2DX8arLrjugBXmUGxf3bgkWbuYvxwJU+LC8b4ahp8 I0vUjjoLPbJbpBJ8Hprws/F+X8wBlH15unOa4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=NPCxEjZWT/7OR74l/4TDL2AGVaZVaGKnkMEku7Cqf6E=; b=dgQkaBR6Lrg3TvqzB00O+gLrEkogGuQlXGeMZhIACbPMlweAklBDidGmGED19LyP8l NzfTOdzA8poHI7Wf+OFyAH1xbBBxly7yAY4CRHei2YjX60ixsMqvLAAwErnetoESNh9N SHWKUJzH3mjKGsojeNOo8jHr/L06Gf3L3kWj5fo7tSHpJK8AfUB5cZpjnLBjqC3nCct5 9+s2mddX6SjhYXvqM9T3zq1dBzX7oxF5ot7zG9HNorRjAEEZlrhYggslS4GPH5PbhmhT 1dARNbqnTmlv7Ez9YuEKAXLoUYqen6gGw2BofMkfcIQUWb/eVJcTX8RK2ON+1oPpfWeC JCEg== X-Received: by 10.112.87.66 with SMTP id v2mr2917154lbz.130.1359329106851; Sun, 27 Jan 2013 15:25:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.100.164 with HTTP; Sun, 27 Jan 2013 15:24:36 -0800 (PST) In-Reply-To: References: <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> From: Eitan Adler Date: Sun, 27 Jan 2013 18:24:36 -0500 Message-ID: Subject: Re: what is required to support a new laptop? To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQndm72TwfJhLIR0mUiBHL02umCoxsaWpF/e9nhqGbGPGTRInGhrop8GKS1/jrcK7Z6VkcOc Cc: Glen Barber , 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: Sun, 27 Jan 2013 23:25:14 -0000 On 27 January 2013 12:59, Kevin Oberman wrote: > On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler wrote: >> On 25 January 2013 14:51, Kevin Oberman wrote: >>> There are several threads in the archives of acpi@ and mobile@ >>> discussing this. Most things are pretty easy. Use xev to find the >>> events generated by the volume buttons. >> >> I'm handling the volume keys with xbindkeys. >> >>> Mute and the ThinkLight (if >>> your system has one) should work as is. >> >> Mute does not function - I am using xbindkeys to handle it. The >> "video" key generates no event. >> >>> Brightness is a bit bigger issue as Lenovo has completely revamped it >>> These buttons don't generate events. :-( >> >> Where *should* they be handled? How do they work on windows? >> >> FWIW they seem to change hw.acpi.video.brightness, but change nothing >> visible on the screen. >> >>> You can install the acpi_call >>> port and use it to set the brightness, but it is a pain as it does not >>> allow for setting incremental changes, only absolute values.(16 of >>> them). >> >> Any pointers for what to look at? I have no idea what I'm doing w.r.t. >> computers ^W ACPI. > > Install sysutils/acpi_call > kldload acpi_call > acpi_call -p '\VBRC' -i [0-15] > > There seem to be some differences on the range, but in my T530 0=off > and 15=full. > > Unfortunately, the brightness functions do not generate X events and I > have not seen any posts on how to tie them to anything to adjust > brightness. [2881 root@gravity ~ ]#acpi_call -p '\VBRC' -i 1 Unknown object type '0' [2882 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 2 Unknown object type '0' [2883 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 0 Unknown object type '0' [2884 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 15 Unknown object type '0' -- Eitan Adler From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 00:20:29 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 CAD311FF; Mon, 28 Jan 2013 00:20:29 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF0DDFB; Mon, 28 Jan 2013 00:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=IT4ln9oJ/PihT+UONV2iWAR/M/GiJUWcbBFX7yZdPV8=; b=v5ic9mpd/5wtow9A4R4ASWcXD6Y2tIcqPNW9Gb4FWNAbY8cJ6c82YXlKRZJhOGy9T4v4N+aS9LRrUR/86HTfy+ew6dSOy6UlXR/e3pLGPQGtTRmNDMQ3MSxOrSxKfsqv; Received: from [122.129.203.50] (port=40744 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TzcSZ-004OYr-Fc; Sun, 27 Jan 2013 17:20:28 -0700 Date: Mon, 28 Jan 2013 07:20:23 +0700 From: Erich Dollansky To: Eitan Adler Subject: Re: what is required to support a new laptop? Message-ID: <20130128072023.63939e6f@X220.ovitrap.com> In-Reply-To: References: <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Glen Barber , 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, 28 Jan 2013 00:20:29 -0000 Hi, On Sun, 27 Jan 2013 18:24:36 -0500 Eitan Adler wrote: > On 27 January 2013 12:59, Kevin Oberman wrote: > > On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler > > wrote: > >> On 25 January 2013 14:51, Kevin Oberman wrote: > >>> There are several threads in the archives of acpi@ and mobile@ > >>> discussing this. Most things are pretty easy. Use xev to find the > >>> events generated by the volume buttons. > >> > >> I'm handling the volume keys with xbindkeys. > >> > >>> Mute and the ThinkLight (if > >>> your system has one) should work as is. > >> > >> Mute does not function - I am using xbindkeys to handle it. The > >> "video" key generates no event. > >> > >>> Brightness is a bit bigger issue as Lenovo has completely > >>> revamped it These buttons don't generate events. :-( > >> > >> Where *should* they be handled? How do they work on windows? > >> > >> FWIW they seem to change hw.acpi.video.brightness, but change > >> nothing visible on the screen. > >> > >>> You can install the acpi_call > >>> port and use it to set the brightness, but it is a pain as it > >>> does not allow for setting incremental changes, only absolute > >>> values.(16 of them). > >> > >> Any pointers for what to look at? I have no idea what I'm doing > >> w.r.t. computers ^W ACPI. > > > > Install sysutils/acpi_call > > kldload acpi_call > > acpi_call -p '\VBRC' -i [0-15] > > > > There seem to be some differences on the range, but in my T530 0=off > > and 15=full. > > > > Unfortunately, the brightness functions do not generate X events > > and I have not seen any posts on how to tie them to anything to > > adjust brightness. > > > [2881 root@gravity ~ ]#acpi_call -p '\VBRC' -i 1 > Unknown object type '0' > [2882 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 2 > Unknown object type '0' > [2883 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 0 > Unknown object type '0' > [2884 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 15 > Unknown object type '0' > > I can confirm that this works on an X220: acpi_call -p '\VBRC' -i $value It also works lower case for me. Erich From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 02:24: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 E0D0570A; Mon, 28 Jan 2013 02:24:04 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id B35681DD; Mon, 28 Jan 2013 02:24:04 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi5so1222104pad.27 for ; Sun, 27 Jan 2013 18:23:58 -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=CiRq+N4m3GLkopg2jqO8HVua/TEfux9eoqszaLZNdkw=; b=hpmBJSjyDf7GoNRQhm6QfTA5v2X1a2bv2EMYiLnI+z2zO55in9nQpaKlD3KFEeRidG nAjqSZ170fm7r5iP+uEcXm8mmJW0oKXe15QcfxtIqAAZUsprrwvyHGvHAqB7N6OoNUPG rubVDyYPuD1gAyA5YgeuN17fFmoWDTRxAphgNfUmqZc7WseznAKmliJNtN9Nk/s4+Unb be8KPR0G1IrcuzMR9D2DZRHYCG0l/LXEHkgyugWN/uYY4ipeXNxzRIMEfWZP93hAGOZS pjCsWcAYCxpNu8GANF3ibukqd6xc2b1KzN/5i0PmBE24+iZm7PUDNzY+6DOzH6UCJ6VO J7dg== MIME-Version: 1.0 X-Received: by 10.68.238.39 with SMTP id vh7mr34201559pbc.6.1359339838461; Sun, 27 Jan 2013 18:23:58 -0800 (PST) Received: by 10.67.2.65 with HTTP; Sun, 27 Jan 2013 18:23:58 -0800 (PST) In-Reply-To: <20130128072023.63939e6f@X220.ovitrap.com> References: <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> <20130128072023.63939e6f@X220.ovitrap.com> Date: Sun, 27 Jan 2013 18:23:58 -0800 Message-ID: Subject: Re: what is required to support a new laptop? From: Kevin Oberman To: Erich Dollansky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-acpi@freebsd.org, Glen Barber 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, 28 Jan 2013 02:24:04 -0000 On Sun, Jan 27, 2013 at 4:20 PM, Erich Dollansky wrote: > Hi, > > On Sun, 27 Jan 2013 18:24:36 -0500 > Eitan Adler wrote: > >> On 27 January 2013 12:59, Kevin Oberman wrote: >> > On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler >> > wrote: >> >> On 25 January 2013 14:51, Kevin Oberman wrote: >> >>> There are several threads in the archives of acpi@ and mobile@ >> >>> discussing this. Most things are pretty easy. Use xev to find the >> >>> events generated by the volume buttons. >> >> >> >> I'm handling the volume keys with xbindkeys. >> >> >> >>> Mute and the ThinkLight (if >> >>> your system has one) should work as is. >> >> >> >> Mute does not function - I am using xbindkeys to handle it. The >> >> "video" key generates no event. >> >> >> >>> Brightness is a bit bigger issue as Lenovo has completely >> >>> revamped it These buttons don't generate events. :-( >> >> >> >> Where *should* they be handled? How do they work on windows? >> >> >> >> FWIW they seem to change hw.acpi.video.brightness, but change >> >> nothing visible on the screen. >> >> >> >>> You can install the acpi_call >> >>> port and use it to set the brightness, but it is a pain as it >> >>> does not allow for setting incremental changes, only absolute >> >>> values.(16 of them). >> >> >> >> Any pointers for what to look at? I have no idea what I'm doing >> >> w.r.t. computers ^W ACPI. >> > >> > Install sysutils/acpi_call >> > kldload acpi_call >> > acpi_call -p '\VBRC' -i [0-15] >> > >> > There seem to be some differences on the range, but in my T530 0=off >> > and 15=full. >> > >> > Unfortunately, the brightness functions do not generate X events >> > and I have not seen any posts on how to tie them to anything to >> > adjust brightness. >> >> >> [2881 root@gravity ~ ]#acpi_call -p '\VBRC' -i 1 >> Unknown object type '0' >> [2882 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 2 >> Unknown object type '0' >> [2883 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 0 >> Unknown object type '0' >> [2884 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 15 >> Unknown object type '0' >> >> > > I can confirm that this works on an X220: > > acpi_call -p '\VBRC' -i $value > > It also works lower case for me. > > Erich Probably won't help, but can you confirm that acpi_call is loaded (kldstat)? -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 02:29:41 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 8D959803 for ; Mon, 28 Jan 2013 02:29:41 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0D420200 for ; Mon, 28 Jan 2013 02:29:40 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id gm6so3220826lbb.40 for ; Sun, 27 Jan 2013 18:29:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=5ehe42/kxAwMVQ9XQ2g9ARxDXbaER1RDKMjoZZ2Jhk0=; b=mMfRVWhq9ErPgmkMwu1AWBI+c8qvN+KkgSbB034SfvoWD9LRN54FaYgXfzSnUbqkqx 3OyBeenlXnMCVDTuB0l52mxZPOBB/KgAv9kE/BytlAAOGntccvQL39WEnIQK130pZef8 l4NaIBg6llJpCa8auw2z9FGIa3f8GNkHE9slo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=5ehe42/kxAwMVQ9XQ2g9ARxDXbaER1RDKMjoZZ2Jhk0=; b=DRT92I4j1DgpQ3yWRmb2xxgrrQK3jMx/KrN0mt8YOTNPbrhuuK0oVPBftOgZQSh4SV fzoQErOC7qTlRG+tQJW9FQXe7bcPy6rS8IAwZEomDhjv/6TKOrOQeKkvTUepInX9Gdze TqFNzQkREGIaLYqM7xMx8CUuANP3UJLlXJUQXCw3hueGTH8XzDLpzM06ZarVrpJvKCtu sE54nPzG6G8cyCtGIcOYKSH/c0RwQQqNVHg3zZBPhhbG5AZVB5nTuIFRUoBh9LZavi1U XNnNS0n22cvj0Di4UaA7Jx2VW6aQrkMtwNqPFFRc5Ny82MaIupHy6AX3Hvu2WaKL56lx HObg== X-Received: by 10.112.51.175 with SMTP id l15mr4874920lbo.5.1359340179573; Sun, 27 Jan 2013 18:29:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.100.164 with HTTP; Sun, 27 Jan 2013 18:29:08 -0800 (PST) In-Reply-To: References: <20130125140953.GA1328@glenbarber.us> <20130125141202.GB1328@glenbarber.us> <20130128072023.63939e6f@X220.ovitrap.com> From: Eitan Adler Date: Sun, 27 Jan 2013 21:29:09 -0500 Message-ID: Subject: Re: what is required to support a new laptop? To: Kevin Oberman Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmXRp6KKpedxJMkJ4eOQ4IIku2gXsROLIIqbAT0zYgNmroqkZ1oYBK9BuZdcdzD1mKv/UMK Cc: Glen Barber , 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, 28 Jan 2013 02:29:41 -0000 On 27 January 2013 21:23, Kevin Oberman wrote: > On Sun, Jan 27, 2013 at 4:20 PM, Erich Dollansky > wrote: >> Hi, >> >> On Sun, 27 Jan 2013 18:24:36 -0500 >> Eitan Adler wrote: >> >>> On 27 January 2013 12:59, Kevin Oberman wrote: >>> > On Fri, Jan 25, 2013 at 9:25 PM, Eitan Adler >>> > wrote: >>> >> On 25 January 2013 14:51, Kevin Oberman wrote: >>> >>> There are several threads in the archives of acpi@ and mobile@ >>> >>> discussing this. Most things are pretty easy. Use xev to find the >>> >>> events generated by the volume buttons. >>> >> >>> >> I'm handling the volume keys with xbindkeys. >>> >> >>> >>> Mute and the ThinkLight (if >>> >>> your system has one) should work as is. >>> >> >>> >> Mute does not function - I am using xbindkeys to handle it. The >>> >> "video" key generates no event. >>> >> >>> >>> Brightness is a bit bigger issue as Lenovo has completely >>> >>> revamped it These buttons don't generate events. :-( >>> >> >>> >> Where *should* they be handled? How do they work on windows? >>> >> >>> >> FWIW they seem to change hw.acpi.video.brightness, but change >>> >> nothing visible on the screen. >>> >> >>> >>> You can install the acpi_call >>> >>> port and use it to set the brightness, but it is a pain as it >>> >>> does not allow for setting incremental changes, only absolute >>> >>> values.(16 of them). >>> >> >>> >> Any pointers for what to look at? I have no idea what I'm doing >>> >> w.r.t. computers ^W ACPI. >>> > >>> > Install sysutils/acpi_call >>> > kldload acpi_call >>> > acpi_call -p '\VBRC' -i [0-15] >>> > >>> > There seem to be some differences on the range, but in my T530 0=off >>> > and 15=full. >>> > >>> > Unfortunately, the brightness functions do not generate X events >>> > and I have not seen any posts on how to tie them to anything to >>> > adjust brightness. >>> >>> >>> [2881 root@gravity ~ ]#acpi_call -p '\VBRC' -i 1 >>> Unknown object type '0' >>> [2882 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 2 >>> Unknown object type '0' >>> [2883 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 0 >>> Unknown object type '0' >>> [2884 root@gravity ~ !5!]#acpi_call -p '\VBRC' -i 15 >>> Unknown object type '0' >>> >>> >> >> I can confirm that this works on an X220: >> >> acpi_call -p '\VBRC' -i $value >> >> It also works lower case for me. >> >> Erich > > Probably won't help, but can you confirm that acpi_call is loaded (kldstat)? Yes. I get different errors if it isn't. -- Eitan Adler From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 07:20:56 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 EC778577; Mon, 28 Jan 2013 07:20:56 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB75DE6; Mon, 28 Jan 2013 07:20:56 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id fa1so1363655pad.7 for ; Sun, 27 Jan 2013 23:20:56 -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=hJMye/DBMg++72HJFGzW4kr+MADKliGvUE9DWTgXD9o=; b=gNZjF1kwFhLBMJ++IdkySNmCMm+3JuLbnHKS2AdYUDWoDKw5jRCtOPJrLyKECN4JBv vOilO6t/47WlpyERrnbvG+31qFo6gjwX/IkQHkpA7LLj6rs3eonaJd/H2ipGQ/SriV0v PmAut66UUXtqSUutT6wnuVWup254qCvzG0TXgiuYDLx0xLwikKavwvAUPvlioGHyD+jQ Ddh7pgvIvcj8er8sz3xI6pApKSHlt0owqVnMTrx3hDGXF8qhYbKCNuqOC5aVWHnOeYwf 9D19cDdr+z4lFGBRT65z3tcYEKa8JhDOIM2qqQ0MZ2m+9PsxwfNzqwVlFjsWUhQ0He+v nHlQ== MIME-Version: 1.0 X-Received: by 10.68.243.33 with SMTP id wv1mr35369521pbc.143.1359357656058; Sun, 27 Jan 2013 23:20:56 -0800 (PST) Received: by 10.66.218.134 with HTTP; Sun, 27 Jan 2013 23:20:55 -0800 (PST) In-Reply-To: <50F71740.4000402@FreeBSD.org> References: <50D85E24.7000108@gmail.com> <50D879A1.40206@FreeBSD.org> <50DD67C5.60504@gmail.com> <50F71740.4000402@FreeBSD.org> Date: Mon, 28 Jan 2013 08:20:55 +0100 Message-ID: Subject: Re: Kernel panic when playing games/iourbanterror From: David Demelier To: Andriy Gapon Content-Type: text/plain; charset=UTF-8 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: Mon, 28 Jan 2013 07:20:57 -0000 Thanks, will try tonight (sorry completely forgot that mail) 2013/1/16 Andriy Gapon > on 28/12/2012 11:35 David Demelier said the following: > > > > I'm not used to the patch / diff files, how do you apply it? I selected > all the > > patch text from the mail and wrote it in a acpi.patch file, but when I > tried to > > do patch -p1 < acpi.patch inside /usr/src I got this error: > > > > Hmm... Looks like a unified diff to me... > > The text leading up to this was: > > -------------------------- > > |--- a/sys/dev/acpica/Osd/OsdMemory.c > > |+++ b/sys/dev/acpica/Osd/OsdMemory.c > > -------------------------- > > Patching file sys/dev/acpica/Osd/OsdMemory.c using Plan A... > > Hunk #1 succeeded at 39 with fuzz 2. > > patch: **** malformed patch at line 12: Value, UINT32 Width) > > You are doing everything right, but apparently some long lines got wrapped > around in the gmane interface. > Here is a patch that should not be mangled: > http://people.freebsd.org/~avg/acpi-uma-cache.diff > > -- > Andriy Gapon > -- Demelier David From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 11:06: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 7651C86D for ; Mon, 28 Jan 2013 11:06:40 +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 4E192CC8 for ; Mon, 28 Jan 2013 11:06:40 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0SB6eGs034473 for ; Mon, 28 Jan 2013 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0SB6d3G034471 for freebsd-acpi@FreeBSD.org; Mon, 28 Jan 2013 11:06:39 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Jan 2013 11:06:39 GMT Message-Id: <201301281106.r0SB6d3G034471@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, 28 Jan 2013 11:06:40 -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/164329 acpi [acpi] hw.acpi.thermal.tz0.temperature shows strange v o kern/163268 acpi [acpi_hp] fix driver detach in absence of CMI 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/152438 acpi [acpi]: patch to acpi_asus(4) to add extra sysctls for 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 kern/137042 acpi [acpi] hp laptop's lcd not wakes up after suspend to r 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 p kern/128634 acpi [patch] fix acpi_asus(4) in asus a6f laptop o bin/126162 acpi [acpi] ACPI autoload failed : loading required module o kern/123039 acpi [acpi] ACPI AML_BUFFER_LIMIT errors during boot 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/105537 acpi [acpi] problems in acpi on HP Compaq nc6320 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 o kern/56024 acpi ACPI suspend drains battery while in S3 33 problems total. From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 11:49:42 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 4792DEE9 for ; Mon, 28 Jan 2013 11:49:42 +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 D854F1F0 for ; Mon, 28 Jan 2013 11:49:41 +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 2A8CD6A6000; Mon, 28 Jan 2013 12:49:39 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.5/8.14.5) with ESMTP id r0SBncLW022183; Mon, 28 Jan 2013 12:49:38 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.5/8.14.5/Submit) id r0SBnc3g021725; Mon, 28 Jan 2013 12:49:38 +0100 (CET) (envelope-from lars) Date: Mon, 28 Jan 2013 12:49:38 +0100 From: Lars Engels To: Eitan Adler Subject: Re: what is required to support a new laptop? Message-ID: <20130128114938.GK50515@e-new.0x20.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="08ATZu8fEq0x2T3M" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.3-RELEASE-p4 User-Agent: Mutt/1.5.21 (2010-09-15) 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, 28 Jan 2013 11:49:42 -0000 --08ATZu8fEq0x2T3M Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: > Hi all, >=20 > I recently purchased a Lenovo Y530 and attempted to use some of the > ACPI features (brightness of backlight, etc.) >=20 > I attempted to load acpi_ibm but devd reported no events (running with > devd -dD). What information might be useful to help support this > laptop? Did you set dev.acpi_ibm.0.events=3D1? --08ATZu8fEq0x2T3M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEGZdIACgkQKc512sD3afj5/gCfZZhEQ8pgR73y5yIHrq9mR4zp ofQAn20W7ZyYudrv4rCpmj4Z+JGtU+Uv =Q2Ep -----END PGP SIGNATURE----- --08ATZu8fEq0x2T3M-- From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 18:42:24 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 516DFC85; Mon, 28 Jan 2013 18:42:24 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id F0A70186; Mon, 28 Jan 2013 18:42:23 +0000 (UTC) Message-ID: <5106C63A.2000906@FreeBSD.org> Date: Mon, 28 Jan 2013 13:40:58 -0500 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130116 Thunderbird/17.0.2 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: uma for acpi object cache References: <20130122175629.GA1714@garage.freebsd.pl> <51008661.4060006@FreeBSD.org> <510101B4.4030409@FreeBSD.org> <51017D79.6060202@FreeBSD.org> <51018223.4030702@FreeBSD.org> <51019AAE.10501@FreeBSD.org> <51024475.20909@FreeBSD.org> <51039423.2070203@FreeBSD.org> In-Reply-To: <51039423.2070203@FreeBSD.org> X-Enigmail-Version: 1.4.6 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, 28 Jan 2013 18:42:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-01-26 03:30:27 -0500, Andriy Gapon wrote: > on 25/01/2013 10:38 Andriy Gapon said the following: >> on 24/01/2013 22:33 Jung-uk Kim said the following: >>> On 2013-01-24 13:49:07 -0500, Andriy Gapon wrote: >>>> on 24/01/2013 20:29 Jung-uk Kim said the following: >>>>> When utcache.c works, it works fairly well, actually. :-) >>> >>>> Well, my primary motivation for the patch is all the reports >>>> about mysterious panics that seem to involve the cache: >>>> http://thread.gmane.org/gmane.os.freebsd.devel.acpi/7562 >>>> http://thread.gmane.org/gmane.os.freebsd.devel.acpi/7613 >>>> http://thread.gmane.org/gmane.os.freebsd.devel.acpi/7077 >>> >>>> There were a few more reports with the same theme. I hoped >>>> that using uma(9) instead of hand-rolled code would lead to >>>> better diagnostic and debugging cabilities. >>> >>> Hmm... I am not really sure local cache is to blame here. If >>> you really want to prove your theory, I think a simple >>> modification to utcache.c should do: >>> >>> Cache->LinkOffset = 8; Cache->ListName = CacheName; >>> Cache->ObjectSize = ObjectSize; - Cache->MaxDepth = >>> MaxDepth; + Cache->MaxDepth = 0; >>> >>> *ReturnCache = Cache; return (AE_OK); >>> >>> This should effectively kill object caching. >> >> That's a very simple trick, I wonder why I didn't think about it >> :-) Now I need to wait until one of the reporters resurfaces. > > And just to clarify - I didn't and don't suspect the cache code > itself. I suspect some code that uses the cache (directly or > indirectly) - something like double-free or use-after-free, etc. I haven't tried it for ages but ACPI_DBG_TRACK_ALLOCATIONS was meant to track such problems. Try adding it in acfreebsd.h. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRBsY6AAoJECXpabHZMqHO/sYH/0T/Imtxw70IwN5Ri7qP2C0G +zkZeUosV8hUI8xmXOdQMtyYhBXQprAoewXvAAnx0iCTLYtjNDt0lMGvoyyMDqOW bwupzYE+6GhaTDDc+8bfSxxMbDXgXqFuIqkohBnZPAQ7GdfLNwY2KHwGlA6T+o/s XailQ+sq9zN4VJ6SDoNAvpi1+O9FsO1GJBfnIihdY/S8b99n2ffpOO2XcAIIPwCE huxWnZ/GYVPmoVuvEKyc7CzzsGxRZfdQpJ5e7oPvwM5JAG7GEmc1VzRDPBtCFBWL VO3sBH3ObKX2+H0LhU9tskCVsmuzD0U+/ygF3P8NRkuLP7Y/yQiAWIoZeEr1saI= =05h0 -----END PGP SIGNATURE----- From owner-freebsd-acpi@FreeBSD.ORG Mon Jan 28 19:06:57 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 C2C7FF63 for ; Mon, 28 Jan 2013 19:06:57 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-x233.google.com (la-in-x0233.1e100.net [IPv6:2a00:1450:4010:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 1A47D38C for ; Mon, 28 Jan 2013 19:06:56 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id fo13so1011698lab.24 for ; Mon, 28 Jan 2013 11:06:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Ftrnx64HeAPoiChzA5vhWaXlsYxc14LTLWuPLhk28Y8=; b=U8UoLjHTyB41HwoeSByO26a5g4A8PrlkghklVvcX/vJpU9osLQFl8K1cmB9ZXZAVhG NA3Vqc3wW4JqAncv0rCon+KB4KyHLqG6uzkdmoSF3jtCj1ObXmEjf9EXnu4efK1QrxU6 sq2hej34FdR/1gkK8glpSwvSW44VmbOAM4/n4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=Ftrnx64HeAPoiChzA5vhWaXlsYxc14LTLWuPLhk28Y8=; b=mTBqLCtX9/BK3UDisQvFqPR6aBFckecDKCEh1kRFglD1nO6bhLLh8+FIepNdMjjXjk LrcPlAy0UMVy59O7Kr5qR+9U6QAbb/FsZzTbyMdm1aLiLmGeZE0+tWforXogk7klUmhe UKqU3CwpjomY4vS762xttmMldCt2g69WyLtKC9AywOxND4sFbJXRpEnuDcRghudcRtX6 jmFGgLFiRUXjBiP71+c0+1s/ERMVVuJpxi8QnGm0Yh2PatKh1G512plC9puykJysZN/1 jyUb2y/KEjlqJUeAB+1eLEQIz0BiMDEwts51Cw5KV40YLBQXfys52zxmHGB84V2QTV5I tNrQ== X-Received: by 10.152.114.66 with SMTP id je2mr14014166lab.40.1359400015735; Mon, 28 Jan 2013 11:06:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.100.164 with HTTP; Mon, 28 Jan 2013 11:06:25 -0800 (PST) In-Reply-To: <20130128114938.GK50515@e-new.0x20.net> References: <20130128114938.GK50515@e-new.0x20.net> From: Eitan Adler Date: Mon, 28 Jan 2013 14:06:25 -0500 Message-ID: Subject: Re: what is required to support a new laptop? To: Lars Engels Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkE06um4WAEdqBpgdByv6d6TdozvyxrHiL569qbZsKRZm+xS9VEOy2hxroLULiCV6odh9KT 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, 28 Jan 2013 19:06:57 -0000 On 28 January 2013 06:49, Lars Engels wrote: > On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: >> Hi all, >> >> I recently purchased a Lenovo Y530 and attempted to use some of the >> ACPI features (brightness of backlight, etc.) >> >> I attempted to load acpi_ibm but devd reported no events (running with >> devd -dD). What information might be useful to help support this >> laptop? > > Did you set dev.acpi_ibm.0.events=1? I don't see this as an option at all. -- Eitan Adler From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 06:24:30 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 CFD6A816 for ; Tue, 29 Jan 2013 06:24:30 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-da0-f45.google.com (mail-da0-f45.google.com [209.85.210.45]) by mx1.freebsd.org (Postfix) with ESMTP id AD4D79EC for ; Tue, 29 Jan 2013 06:24:30 +0000 (UTC) Received: by mail-da0-f45.google.com with SMTP id w4so60421dam.32 for ; Mon, 28 Jan 2013 22:24:29 -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=WmLNGQCbt9JdGTSyZxserLTW5bjK/24ccbWRae/D3YM=; b=fl9xN9mkYh47FmuGBXxNFLHnJkdmQ3kQpTzJYJQKuofrPjPuqadkWATAy2zTBqGNy/ cyk0HF4VZmYt9ec8b/XbEi/zgcWbp5hxZdFOWMPcIdAEhpmyOu0pYNtT0J1ycyyWaQlq eFwkVKdpEI2fjZLGmVlDot4lF1rQOBPPdPHF0VnsVHN7+oOew89VyURlZZPH4MtOY3I8 ld4C355g/9tQEmvvIgneXFgb5ok/KGnkrbWlv0IciE9VDV53G+48/3laMdHNWD2W+c6u tEb/dt/hVkNWPRbsxkRkrHOejfnaFIWC8i1QFmN0xfiyrBVO0qQf9nmbYaiZLqSEmPkB QMZA== MIME-Version: 1.0 X-Received: by 10.68.131.35 with SMTP id oj3mr1366338pbb.17.1359440669546; Mon, 28 Jan 2013 22:24:29 -0800 (PST) Received: by 10.67.2.65 with HTTP; Mon, 28 Jan 2013 22:24:29 -0800 (PST) In-Reply-To: References: <20130128114938.GK50515@e-new.0x20.net> Date: Mon, 28 Jan 2013 22:24:29 -0800 Message-ID: Subject: Re: what is required to support a new laptop? From: Kevin Oberman To: Eitan Adler Content-Type: text/plain; charset=UTF-8 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: Tue, 29 Jan 2013 06:24:30 -0000 On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler wrote: > On 28 January 2013 06:49, Lars Engels wrote: >> On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: >>> Hi all, >>> >>> I recently purchased a Lenovo Y530 and attempted to use some of the >>> ACPI features (brightness of backlight, etc.) >>> >>> I attempted to load acpi_ibm but devd reported no events (running with >>> devd -dD). What information might be useful to help support this >>> laptop? >> >> Did you set dev.acpi_ibm.0.events=1? > > I don't see this as an option at all. Setting dev.acpi_ibm.0.events=1 still does not cause the brightness functions to generate events. Could the initialmask and or availmask tie into this in some way? -- R. Kevin Oberman, Network Engineer E-mail: kob6558@gmail.com From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 15:51:07 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 4CD83634 for ; Tue, 29 Jan 2013 15:51:07 +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 C92A8358 for ; Tue, 29 Jan 2013 15:51:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r0TForul089197; Wed, 30 Jan 2013 02:50:53 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 30 Jan 2013 02:50:53 +1100 (EST) From: Ian Smith To: Kevin Oberman Subject: Re: what is required to support a new laptop? In-Reply-To: Message-ID: <20130130024649.R87033@sola.nimnet.asn.au> References: <20130128114938.GK50515@e-new.0x20.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Tue, 29 Jan 2013 15:51:07 -0000 On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: > On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler wrote: > > On 28 January 2013 06:49, Lars Engels wrote: > >> On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: > >>> Hi all, > >>> > >>> I recently purchased a Lenovo Y530 and attempted to use some of the > >>> ACPI features (brightness of backlight, etc.) > >>> > >>> I attempted to load acpi_ibm but devd reported no events (running with > >>> devd -dD). What information might be useful to help support this > >>> laptop? > >> > >> Did you set dev.acpi_ibm.0.events=1? > > > > I don't see this as an option at all. > > Setting dev.acpi_ibm.0.events=1 still does not cause the brightness > functions to generate events. Could the initialmask and or availmask > tie into this in some way? Have we seen 'sysctl dev.acpi_ibm' from this machine yet? Maybe clues? Ideally after kldload acpi_ibm and before any sysctl changes .. cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 15:59: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 4A3326D3 for ; Tue, 29 Jan 2013 15:59:41 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-x233.google.com (la-in-x0233.1e100.net [IPv6:2a00:1450:4010:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 95E91395 for ; Tue, 29 Jan 2013 15:59:40 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id fo13so416608lab.24 for ; Tue, 29 Jan 2013 07:59:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=YG/eJTdOnhW57kAJ7dPUkcUznJtK621ArC6cOe24xtU=; b=R09aPFIMtSEA8dtcYFUqSsIBybUXTufAQHAtw/UJKqkp+RDd0WEYouTul7x07+KyTt cC7zxtnmW/drLsPsf4sdVgL5xDgGiSV9bkHLdWccYVy5cDv7wOE3YM7sRhXDA1FHb1IB zd5XIYTaIbSqNtDWhjfmyvzMB/p/8BkTgJtDY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=YG/eJTdOnhW57kAJ7dPUkcUznJtK621ArC6cOe24xtU=; b=P1IguZje54oeKsFlX+wXiXOgjEo7L7SryISkkIujBM0Dve4SmiinF4JdyqfJm8P0b5 BCiEbuBuV7GBavsNhWm2XZxNg85pgFxUk24GYgSQI/Gqvg2seQGr6yGqTjVTFmQTWtp7 bjJ8QI5auVm2fWQ9T2PhUmJmBeN2hgsE+FXeCv8Qo822I18wu3F3gHk0Hx4ND6MLHkJ7 jXFkgYxDMs/WDy+DRs0d6XdWNupvz0wHY4yteEnmbVWx8XnlJQL7H+VyujOXI1u7f8eW +5rEniR9RiD6lhUVWJq9Iw1I5t+S8WJVQs4dquLM3Yt11IL0DNcTFiF+8SLTgNM95pxQ ngjA== X-Received: by 10.152.114.66 with SMTP id je2mr1566931lab.40.1359475179312; Tue, 29 Jan 2013 07:59:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.100.164 with HTTP; Tue, 29 Jan 2013 07:59:09 -0800 (PST) In-Reply-To: <20130130024649.R87033@sola.nimnet.asn.au> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> From: Eitan Adler Date: Tue, 29 Jan 2013 10:59:09 -0500 Message-ID: Subject: Re: what is required to support a new laptop? To: Ian Smith Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlRItc72AJCGq5O9c2+UDxWiciN5rNVhMIITZW6MF20A+M2zMATffhNSdmUnrjhQSKlg/PO 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: Tue, 29 Jan 2013 15:59:41 -0000 On 29 January 2013 10:50, Ian Smith wrote: > On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: > > On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler wrote: > > > On 28 January 2013 06:49, Lars Engels wrote: > > >> On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: > > >>> Hi all, > > >>> > > >>> I recently purchased a Lenovo Y530 and attempted to use some of the > > >>> ACPI features (brightness of backlight, etc.) > > >>> > > >>> I attempted to load acpi_ibm but devd reported no events (running with > > >>> devd -dD). What information might be useful to help support this > > >>> laptop? > > >> > > >> Did you set dev.acpi_ibm.0.events=1? > > > > > > I don't see this as an option at all. > > > > Setting dev.acpi_ibm.0.events=1 still does not cause the brightness > > functions to generate events. Could the initialmask and or availmask > > tie into this in some way? > > Have we seen 'sysctl dev.acpi_ibm' from this machine yet? Maybe clues? > Ideally after kldload acpi_ibm and before any sysctl changes .. [3462 root@gravity /home/eitan ]#kldload acpi_ibm.ko [3463 root@gravity /home/eitan ]#sysctl dev.acpi_ibm sysctl: unknown oid 'dev.acpi_ibm' I assume this is either missing a device ID and/or not the right driver at all. I mentioned this was a Lenovo IdeaPad Y530 -- Eitan Adler From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 17:29:46 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 95FE2AD6; Tue, 29 Jan 2013 17:29:46 +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 BD7B7A96; Tue, 29 Jan 2013 17:29:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id r0THTdfR092900; Wed, 30 Jan 2013 04:29:40 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 30 Jan 2013 04:29:39 +1100 (EST) From: Ian Smith To: Eitan Adler Subject: Re: what is required to support a new laptop? In-Reply-To: Message-ID: <20130130032714.D87033@sola.nimnet.asn.au> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, bapt@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, 29 Jan 2013 17:29:46 -0000 On Tue, 29 Jan 2013 10:59:09 -0500, Eitan Adler wrote: > On 29 January 2013 10:50, Ian Smith wrote: > > On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: > > > On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler wrote: > > > > On 28 January 2013 06:49, Lars Engels wrote: > > > >> On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: > > > >>> Hi all, > > > >>> > > > >>> I recently purchased a Lenovo Y530 and attempted to use some of the > > > >>> ACPI features (brightness of backlight, etc.) > > > >>> > > > >>> I attempted to load acpi_ibm but devd reported no events (running with > > > >>> devd -dD). What information might be useful to help support this > > > >>> laptop? > > > >> > > > >> Did you set dev.acpi_ibm.0.events=1? > > > > > > > > I don't see this as an option at all. > > > > > > Setting dev.acpi_ibm.0.events=1 still does not cause the brightness > > > functions to generate events. Could the initialmask and or availmask > > > tie into this in some way? > > > > Have we seen 'sysctl dev.acpi_ibm' from this machine yet? Maybe clues? > > Ideally after kldload acpi_ibm and before any sysctl changes .. > > [3462 root@gravity /home/eitan ]#kldload acpi_ibm.ko > [3463 root@gravity /home/eitan ]#sysctl dev.acpi_ibm > sysctl: unknown oid 'dev.acpi_ibm' Ah right. I don't suppose kldload -v shows anything useful about the problem loading it? Ah, never mind, it may be obvious .. lightly skimming your asl.y530.gz, I recalled folks having to patch something for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164538 > I assume this is either missing a device ID and/or not the right driver at all. Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if not more digging may be needed for this model. > I mentioned this was a Lenovo IdeaPad Y530 I'm assuming running 9.x? I didn't see uname output in this thread. Strange; according to that PR this was supposed to have been MFC'd last November, but didn't make it into 9.1-RELEASE sources. Committer cc'd. cheers, Ian From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 17:32:14 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 72206B83 for ; Tue, 29 Jan 2013 17:32:14 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx1.freebsd.org (Postfix) with ESMTP id F2396AAE for ; Tue, 29 Jan 2013 17:32:13 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id o1so684690wic.6 for ; Tue, 29 Jan 2013 09:32:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=R0Asy6GefwZqNraE7E1j3EOTqKPouPzfZLFivJsW9/w=; b=pAK3SNvh1g5H/414W5pN6mw1RGmvtUCO/HFBS6qwNRGBAXwmm0xHsHsrhhkJTSXuIB dsojEfBT0oVoWhb2s/0qNirKMfWBlPn5FE9a2h/nSjJdbzqnwD/0+UyIMyBlFwi/PDPJ 58WpZ6OOHzYL/FcC74/IFZWujuzh6thUg8+ATnwBaRPAYRLInlI3rnmI1Jvc7Qv8exZB q8gXVppokRYZaxCNSv0OzHCzxwRp31lFKDLd542nikCwLKjaPEOlGEGLZjGxE/TgNq2D 1KLH8nj5sPJlS0m7NnVAimf6CmUGvih8jj1C1dacxZLa3P/D8NeWc/XzZZb8Eh7dNR5D phMg== X-Received: by 10.194.76.7 with SMTP id g7mr3910713wjw.50.1359480726891; Tue, 29 Jan 2013 09:32:06 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPS id eo10sm4559699wib.9.2013.01.29.09.32.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 09:32:05 -0800 (PST) Sender: Baptiste Daroussin Date: Tue, 29 Jan 2013 18:32:03 +0100 From: Baptiste Daroussin To: Ian Smith Subject: Re: what is required to support a new laptop? Message-ID: <20130129173203.GJ43629@ithaqua.etoilebsd.net> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> <20130130032714.D87033@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pMCBjikF2xGw87uL" Content-Disposition: inline In-Reply-To: <20130130032714.D87033@sola.nimnet.asn.au> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Tue, 29 Jan 2013 17:32:14 -0000 --pMCBjikF2xGw87uL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 30, 2013 at 04:29:39AM +1100, Ian Smith wrote: > On Tue, 29 Jan 2013 10:59:09 -0500, Eitan Adler wrote: > > On 29 January 2013 10:50, Ian Smith wrote: > > > On Mon, 28 Jan 2013 22:24:29 -0800, Kevin Oberman wrote: > > > > On Mon, Jan 28, 2013 at 11:06 AM, Eitan Adler wrote: > > > > > On 28 January 2013 06:49, Lars Engels wr= ote: > > > > >> On Fri, Jan 25, 2013 at 08:55:40AM -0500, Eitan Adler wrote: > > > > >>> Hi all, > > > > >>> > > > > >>> I recently purchased a Lenovo Y530 and attempted to use some = of the > > > > >>> ACPI features (brightness of backlight, etc.) > > > > >>> > > > > >>> I attempted to load acpi_ibm but devd reported no events (run= ning with > > > > >>> devd -dD). What information might be useful to help support = this > > > > >>> laptop? > > > > >> > > > > >> Did you set dev.acpi_ibm.0.events=3D1? > > > > > > > > > > I don't see this as an option at all. > > > > > > > > Setting dev.acpi_ibm.0.events=3D1 still does not cause the bright= ness > > > > functions to generate events. Could the initialmask and or availm= ask > > > > tie into this in some way? > > > > > > Have we seen 'sysctl dev.acpi_ibm' from this machine yet? Maybe clu= es? > > > Ideally after kldload acpi_ibm and before any sysctl changes .. > >=20 > > [3462 root@gravity /home/eitan ]#kldload acpi_ibm.ko > > [3463 root@gravity /home/eitan ]#sysctl dev.acpi_ibm > > sysctl: unknown oid 'dev.acpi_ibm' >=20 > Ah right. I don't suppose kldload -v shows anything useful about the=20 > problem loading it? Ah, never mind, it may be obvious .. lightly=20 > skimming your asl.y530.gz, I recalled folks having to patch something=20 > for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/164538 >=20 > > I assume this is either missing a device ID and/or not the right drive= r at all. >=20 > Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if= =20 > not more digging may be needed for this model. >=20 > > I mentioned this was a Lenovo IdeaPad Y530 >=20 > I'm assuming running 9.x? I didn't see uname output in this thread. >=20 > Strange; according to that PR this was supposed to have been MFC'd last= =20 > November, but didn't make it into 9.1-RELEASE sources. Committer cc'd. >=20 > cheers, Ian 9.1 was already branched at the time I MFCed it to 9-STABLE so not it didn't make into 9.1-RELEASE. regards, Bapt --pMCBjikF2xGw87uL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlEIB5MACgkQ8kTtMUmk6Ey56ACgpPJ4uatVNr8T0/eBD5tHAlbZ lvAAoIkwQNAv94DyE1R6eTbbbHBpwpW5 =qHf4 -----END PGP SIGNATURE----- --pMCBjikF2xGw87uL-- From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 17:47: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 B9E7D512 for ; Tue, 29 Jan 2013 17:47:15 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx1.freebsd.org (Postfix) with ESMTP id 617F2C20 for ; Tue, 29 Jan 2013 17:47:15 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id m1so499772ves.36 for ; Tue, 29 Jan 2013 09:47:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=0rar3Bya+3eggnXIe0FsR/fPv8axqBk+jwOnET5JL08=; b=Vmyz4/Y5VBun+fzfwWC9o6oq+KB+epGkHIq2bnbT9DoyGv/USvDB/Q8c83Vp+bxvnx dB2lRKpAYViUaHYOVX3JZNvuXlqnTTWrEA/ssE9hVLsxLR555z/ks8YJuttrTrLNa8NH mtufocyo/mw/HmpNz3wXmH9jSkZUJmy0yNSMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:x-gm-message-state; bh=0rar3Bya+3eggnXIe0FsR/fPv8axqBk+jwOnET5JL08=; b=HuM5x7Unu15NkR7Vl8BYYYWoSnVBRXPoJccO5uSYYS0QJf7chCjXE3BsI6iFKLmlRq Z1i0SNezK1/bDLGE/CNEQ6TQ7pKafKeTUg/Lu4nYNWHkFgYIw1Lo1y18Czhn0dHo8b+3 sj2NGwJg7DoLfSfd9KyLvMPkc2xOnuAIyKJUO/TdzCs0u3ebS+pY2Ae0W28U1euvKaHP AZOyN9rnpdScNwYX+cGu0NDHp7Gm6SVbxxXFPR2k144ZxMy8k9hrGWLA1n+POE5VvHw0 /cjiW5dZqOnnv8QQvCwUNnjCNYYa2ExkOM6xCVY2LvHLtLoFJUnEZfl8xTUR7R66n9Tx 5ZEA== X-Received: by 10.52.98.98 with SMTP id eh2mr1704381vdb.64.1359481634801; Tue, 29 Jan 2013 09:47:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.195.70 with HTTP; Tue, 29 Jan 2013 09:46:43 -0800 (PST) In-Reply-To: <20130130032714.D87033@sola.nimnet.asn.au> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> <20130130032714.D87033@sola.nimnet.asn.au> From: Eitan Adler Date: Tue, 29 Jan 2013 12:46:43 -0500 Message-ID: Subject: Re: what is required to support a new laptop? To: Ian Smith Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlWGyeGzcpVh0q5TFYmvYWYUWv1LPJP+Fa8XRRnHQfo8NHw8Ri/kJ5F2VxRB7XKO9Hg5jaW Cc: freebsd-acpi@freebsd.org, bapt@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, 29 Jan 2013 17:47:15 -0000 On 29 January 2013 12:29, Ian Smith wrote: > Ah right. I don't suppose kldload -v shows anything useful about the > problem loading it? Ah, never mind, it may be obvious .. lightly > skimming your asl.y530.gz, I recalled folks having to patch something > for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164538 This is after the install of a patched acpi_ibm [3500 root@gravity /usr/src/sys/modules/acpi ]#kldload -v acpi_ibm Loaded acpi_ibm, id=12 [5507 eitan@gravity (100)% ~ !1!]%sysctl dev.acpi_ibm sysctl: unknown oid 'dev.acpi_ibm' > Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if > not more digging may be needed for this model. I'm not sure what ID this is matching so I don't even know what to look at to try a different one. > > I mentioned this was a Lenovo IdeaPad Y530 > > I'm assuming running 9.x? I didn't see uname output in this thread. [5505 eitan@gravity (100)% ~ ]%uname -a FreeBSD gravity 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r244942M: Wed Jan 2 08:00:02 EST 2013 root@gravity:/usr/obj/usr/src/sys/GENERIC amd64 The "M" is a patched AR8161 driver and now a patched acpi_ibm driver. -- Eitan Adler From owner-freebsd-acpi@FreeBSD.ORG Tue Jan 29 18:24:14 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 7E7C56B3; Tue, 29 Jan 2013 18:24:14 +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 7074BEB5; Tue, 29 Jan 2013 18:24: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 r0TIO4Dw094762; Wed, 30 Jan 2013 05:24:05 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 30 Jan 2013 05:24:04 +1100 (EST) From: Ian Smith To: Eitan Adler Subject: Re: what is required to support a new laptop? In-Reply-To: Message-ID: <20130130050811.H87033@sola.nimnet.asn.au> References: <20130128114938.GK50515@e-new.0x20.net> <20130130024649.R87033@sola.nimnet.asn.au> <20130130032714.D87033@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-acpi@freebsd.org, bapt@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, 29 Jan 2013 18:24:14 -0000 On Tue, 29 Jan 2013 12:46:43 -0500, Eitan Adler wrote: > On 29 January 2013 12:29, Ian Smith wrote: > > Ah right. I don't suppose kldload -v shows anything useful about the > > problem loading it? Ah, never mind, it may be obvious .. lightly > > skimming your asl.y530.gz, I recalled folks having to patch something > > for Lenovo rather than IBM OEMIDs .. hunt, hunt .. ok, here it is: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164538 > > > This is after the install of a patched acpi_ibm > [3500 root@gravity /usr/src/sys/modules/acpi ]#kldload -v acpi_ibm > Loaded acpi_ibm, id=12 Which looks maybe successful, on the face of it? .. > [5507 eitan@gravity (100)% ~ !1!]%sysctl dev.acpi_ibm > sysctl: unknown oid 'dev.acpi_ibm' .. but clearly wasn't. > > Hopefully adding the LEN0068 to ibm_ids might allow acpi_ibm to load; if > > not more digging may be needed for this model. > > I'm not sure what ID this is matching so I don't even know what to > look at to try a different one. Me neither. My Thinkpad T23 ASL shows this ID at: Device (HKEY) { Name (_HID, EisaId ("IBM0068")) Method (_STA, 0, NotSerialized) { Return (0x0F) } but I see no obvious corresponding device or other reference in yours. > > > I mentioned this was a Lenovo IdeaPad Y530 > > > > I'm assuming running 9.x? I didn't see uname output in this thread. > > [5505 eitan@gravity (100)% ~ ]%uname -a > FreeBSD gravity 9.1-RELEASE FreeBSD 9.1-RELEASE #3 r244942M: Wed Jan > 2 08:00:02 EST 2013 root@gravity:/usr/obj/usr/src/sys/GENERIC > amd64 > > The "M" is a patched AR8161 driver and now a patched acpi_ibm driver. Sorry, that was my one shot; now I'm out of my depth (and off to sleep) [ Baptiste, fair enough that patch not making it into 9.1 .. and it seems there's more to getting this particular model going anyway. ] cheers, Ian