From owner-freebsd-acpi@FreeBSD.ORG Mon Feb 23 20:23:05 2015 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 05FA051A for ; Mon, 23 Feb 2015 20:23:05 +0000 (UTC) Received: from nm6-vm4.bullet.mail.ne1.yahoo.com (nm6-vm4.bullet.mail.ne1.yahoo.com [98.138.91.166]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA4339F2 for ; Mon, 23 Feb 2015 20:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1424722978; bh=ABHd//6dSu1gCLmst2DE/i+Y286Ykf94dAvH8cl6rcs=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=siB4GvkHk6Cz6DuiwcnK/J1qIbMQ2M+Xeg7to+sC1s8zZinfdug2D2u3Mkmi7uglohRS5g9HlDb73RVv6XMQFYbrBT1UGsybrGRPiuujbf3uf8a74q0FM9IKphlMpQE8m5mgJqF+7tjnRMzSKMTT23D/EYa7uyWhRTicf5f+Ja8= Received: from [98.138.100.116] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 23 Feb 2015 20:22:58 -0000 Received: from [98.138.226.132] by tm107.bullet.mail.ne1.yahoo.com with NNFMP; 23 Feb 2015 20:22:58 -0000 Received: from [127.0.0.1] by smtp219.mail.ne1.yahoo.com with NNFMP; 23 Feb 2015 20:22:58 -0000 X-Yahoo-Newman-Id: 513267.94420.bm@smtp219.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: dqi_ftwVM1lZZbV7frVm3.Cg9uSjx6dPoxCWKFF.3cxJmO2 2mzCFspu9ErneXmPiqSrd5tPKY5D3j0bTdLT46O.jAzs1H5K2.1Ma9FDShuL FpTdZcKipoS2yhnfK_vYpeMuL.PpVcVhUQj7Na9iB5f92zo.o3jSCB10GBeO XHeAeQRaJZfqf4ORjBPnDr_vT3M7tsehzN3xifvRXnvBmjRmmYiR8aX1C26h 4LrNhRMQ70HwiB4F9fO4wWG2YictGHtsd6mZ_osyXZcsvOBYUikPlRaNMgLI EMr8i4UO8Tkk9YIiYuHIv7gEUAVZeWnbpPbK37GijfeEx7qmS2IR5DazbOSs s0gbg9qcI88LNMO9NurVjKkiKzJrHrHE8dC_EyXvGIVi_qaqnYri8voABJSp RNcV2SoLPYvSUCXBj6B3s3xQEVASRBA9huwzL17EU6X8ztKwfYi7VOs4uSCf Khd13u.pUSX6vfsQXaam0xdVKQXWKDKfU6BFgw1KlyZv7e3fCNw9n0hEHARA 3wr6x2u5eIZpyiB.ToupRtntNpgAQcbEo_JzsVYvevUS18Q-- X-Yahoo-SMTP: OKD1keCswBBTAmAF1s00hLyKW3wE3YfSK0Eazl6b4VZG4LTqJxg- Message-ID: <54EB8C21.2080600@att.net> Date: Mon, 23 Feb 2015 15:22:57 -0500 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: hiren panchasara Subject: Re: No acpi_dell(4) References: <20150222180817.GD27984@strugglingcoder.info> In-Reply-To: <20150222180817.GD27984@strugglingcoder.info> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 20:23:05 -0000 On 02/22/2015 01:08 PM, hiren panchasara wrote: > I've just got a lightweight dell e7240 which is pretty nice with very > good batterylife. > > Only trouble is none of the buttons work. > > Is there any hackery people do to make them work? Time permitting, I'd > like to see if we can get something together which looks like acpi_ibm. Some machines throw acpi_wmi(4) events when those special buttons are pushed. Load acpi_wmi(4) driver and cat /proc/wmistat0. The WMI objects with hex numbers in the EVENT column *might* be for your keys. My HP Envy Sleekbook uses WMI for the radios key, but I haven't figured out how to get events for the LCD brightness control keys (although my brightness controls *do* work). I used a Linux driver as a reference tho... I'd like to make the acpi_wmi(4) interface easier to use, but my backlog of contributions I'm sitting on is only growing. Anthony > cheers, > Hiren