From owner-freebsd-acpi@FreeBSD.ORG Tue Apr 17 23:45:40 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 778F016A402 for ; Tue, 17 Apr 2007 23:45:40 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id 0C60413C44B for ; Tue, 17 Apr 2007 23:45:39 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so2522052muf for ; Tue, 17 Apr 2007 16:45:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PpfQvzcP7onj9BvjSlHL6WLnxHSJQNn4Gwgizh40cMRiHBsUXfeVGMc/tnSrWT6682g0PANaF7PHpR3dH3uw4F+2N1UkyyMnItVucBfAmKYSh26ncqlfqBlvom9Da7qlV90yrO1boWzov8Bf7caH1VWzx54XyPTRSYZ44ofTibo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jpvIC7uHU65pOp8LQLiYGIv822WFwppqK25BsZDiIwrSGpnNNX3C3ZuujtsrxQx0zz3Z1DX4DJuKg1JZSKIZBE1b+G9cuDyklUHzteY7vIsmRNCyuMJHjDh9FhWu/WpROzsZC4BKZMt7fsDb4PK0PJtyrh24wHJxPH239GvLWP0= Received: by 10.82.120.14 with SMTP id s14mr1212355buc.1176853538023; Tue, 17 Apr 2007 16:45:38 -0700 (PDT) Received: by 10.82.106.12 with HTTP; Tue, 17 Apr 2007 16:45:37 -0700 (PDT) Message-ID: <6eb82e0704171645n5f7b2ca6h41b41016cdafad24@mail.gmail.com> Date: Wed, 18 Apr 2007 07:45:37 +0800 From: "Rong-en Fan" To: acpi@freebsd.org, mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: acpi_ibm(4): new radio kill switch (readonly) sysctl X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Apr 2007 23:45:40 -0000 As pointed out by Henrik Brix Andersen, I adds a sysctl entry that shows the status of radio kill switch found on some ThinkPad: http://people.freebsd.org/~rafan/acpi_ibm_killswitch.diff dev.acpi_ibm.0.killswitch = 0 means the switch is off. It seems that no acpi event will be generated when the value changes (actually, my x60 does not generate any events when I presses FN+something). Otherwise, we can hook it in devd.conf and remove wireless driver when kill switch is on... Any comments? Regards, Rong-En Fan