From owner-freebsd-acpi@FreeBSD.ORG Tue Jun 30 12:54:02 2009 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CA71106566C for ; Tue, 30 Jun 2009 12:54:02 +0000 (UTC) (envelope-from chflags@gmail.com) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.210.181]) by mx1.freebsd.org (Postfix) with ESMTP id D1DE88FC13 for ; Tue, 30 Jun 2009 12:54:01 +0000 (UTC) (envelope-from chflags@gmail.com) Received: by yxe11 with SMTP id 11so120558yxe.3 for ; Tue, 30 Jun 2009 05:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=8nHGtwFyW4H6I3maG/YiUZ3VkyyiRU6FkETz5aWbyyc=; b=Vqu9stIIuQpUjDhqSt9UXnMIDlQCdWyr8vCpBS8Khi8reD1OIJ+yqRDhZ6COJIRAtp EAsyyf9c1bf2APx6yPCJcR3ZpyFeboBkP2u1OmJ4maNsm6Nbj1j/AYO83K4aYx62f1fm fU+nGhGMRPbhJAlt3FRtKne0C+oFUqmHUOwMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=w+iFQXeZ4DmqCbpL0FopvJ+8zo7kIzMnsjBLdzrJSO/qicfNFtZ1f00qfo//WzdLXn MuiL++2CyTGCKPLevJe3bb2EVcWwVqkscaUzHZKz4lhYhURKK0gJ5uT6c7JpKe3LLml4 mamm+nPfa3tZNoHlBMqsPZMSpN3jhZhLSpuHU= MIME-Version: 1.0 Received: by 10.100.154.14 with SMTP id b14mr11146752ane.142.1246366441217; Tue, 30 Jun 2009 05:54:01 -0700 (PDT) In-Reply-To: <25cb30906300537y5fae18afo7c34d5fda170fff3@mail.gmail.com> References: <4A46018B.90709@bindone.de> <4A49E9F4.5010803@bindone.de> <25cb30906300423q2d61bbf6t6bb42f6c362fef2e@mail.gmail.com> <25cb30906300441y4eb862abk9e12313d6b257354@mail.gmail.com> <4A49FD78.90405@bindone.de> <25cb30906300503g4e11290xd18818238c5a4bb3@mail.gmail.com> <4A4A01F3.1080004@bindone.de> <25cb30906300525j650a601cr77f0740f56168e53@mail.gmail.com> <4A4A05FA.8000305@bindone.de> <25cb30906300537y5fae18afo7c34d5fda170fff3@mail.gmail.com> Date: Tue, 30 Jun 2009 20:54:01 +0800 Message-ID: <25cb30906300554u4ef7e638naa0dfe51bac3e83f@mail.gmail.com> From: Kevin Foo To: Michael Gmelin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-acpi@freebsd.org Subject: Re: Patches to acpi_hp X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: chflags@gmail.com List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jun 2009 12:54:02 -0000 On Tue, Jun 30, 2009 at 8:37 PM, Kevin Foo wrote: > Hi Michael, > > I'm currently exploring it. So far, it was good on HP compaq presario V3400 > both i386 and amd64 arch, > > # sysctl dev.acpi_hp.0.bt_enabled=1 > > dmesg :- > ugen0: addr 2> on uhub0 > > # sysctl dev.acpi_hp.0.bt_enabled=0 > > dmesg :- > ugen0: at uhub0 port 4 (addr 2) disconnected > ugen0: detached > > Thanks! > > -- > Regards > Kevin Foo Michael, Controlling via sysctl works well so far. The hpcmi device is missing though. Perhaps I missed any patch for that? zeus# cat /dev/hpcmi cat: /dev/hpcmi: No such file or directory zeus# sysctl -a | grep dev.acpi dev.acpi.0.%desc: HPQOEM SLIC-MPC dev.acpi.0.%driver: acpi dev.acpi.0.%parent: nexus0 dev.acpi_sysresource.0.%desc: System Resource dev.acpi_sysresource.0.%driver: acpi_sysresource dev.acpi_sysresource.0.%location: handle=\_SB_.PCI0.LPC0.MBRD dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C02 _UID=31 dev.acpi_sysresource.0.%parent: acpi0 dev.acpi_sysresource.1.%desc: System Resource dev.acpi_sysresource.1.%driver: acpi_sysresource dev.acpi_sysresource.1.%location: handle=\_SB_.PCI0.LPC0.PMIO dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C02 _UID=3 dev.acpi_sysresource.1.%parent: acpi0 dev.acpi_sysresource.2.%desc: System Resource dev.acpi_sysresource.2.%driver: acpi_sysresource dev.acpi_sysresource.2.%location: handle=\_SB_.PCI0.SYS0 dev.acpi_sysresource.2.%pnpinfo: _HID=PNP0C02 _UID=1 dev.acpi_sysresource.2.%parent: acpi0 dev.acpi_timer.0.%desc: 24-bit timer at 3.579545MHz dev.acpi_timer.0.%driver: acpi_timer dev.acpi_timer.0.%location: unknown dev.acpi_timer.0.%pnpinfo: unknown dev.acpi_timer.0.%parent: acpi0 dev.acpi_ec.0.%desc: Embedded Controller: GPE 0x1 dev.acpi_ec.0.%driver: acpi_ec dev.acpi_ec.0.%location: handle=\_SB_.PCI0.EC0_ dev.acpi_ec.0.%pnpinfo: _HID=PNP0C09 _UID=0 dev.acpi_ec.0.%parent: acpi0 dev.acpi_hpet.0.%desc: High Precision Event Timer dev.acpi_hpet.0.%driver: acpi_hpet dev.acpi_hpet.0.%location: unknown dev.acpi_hpet.0.%pnpinfo: unknown dev.acpi_hpet.0.%parent: acpi0 dev.acpi_lid.0.%desc: Control Method Lid Switch dev.acpi_lid.0.%driver: acpi_lid dev.acpi_lid.0.%location: handle=\_SB_.LID0 dev.acpi_lid.0.%pnpinfo: _HID=PNP0C0D _UID=0 dev.acpi_lid.0.%parent: acpi0 dev.acpi_lid.0.wake: 1 dev.acpi_button.0.%desc: Sleep Button dev.acpi_button.0.%driver: acpi_button dev.acpi_button.0.%location: handle=\_SB_.SLPB dev.acpi_button.0.%pnpinfo: _HID=PNP0C0E _UID=0 dev.acpi_button.0.%parent: acpi0 dev.acpi_button.0.wake: 1 dev.acpi_button.1.%desc: Power Button dev.acpi_button.1.%driver: acpi_button dev.acpi_button.1.%location: handle=\_SB_.PWRB dev.acpi_button.1.%pnpinfo: _HID=PNP0C0C _UID=0 dev.acpi_button.1.%parent: acpi0 dev.acpi_video.0.%desc: ACPI video extension dev.acpi_video.0.%driver: acpi_video dev.acpi_video.0.%parent: vgapci0 dev.acpi_tz.0.%desc: Thermal Zone dev.acpi_tz.0.%driver: acpi_tz dev.acpi_tz.0.%location: handle=\_TZ_.TZS0 dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0 dev.acpi_tz.0.%parent: acpi0 dev.acpi_tz.1.%desc: Thermal Zone dev.acpi_tz.1.%driver: acpi_tz dev.acpi_tz.1.%location: handle=\_TZ_.TZS1 dev.acpi_tz.1.%pnpinfo: _HID=none _UID=0 dev.acpi_tz.1.%parent: acpi0 dev.acpi_acad.0.%desc: AC Adapter dev.acpi_acad.0.%driver: acpi_acad dev.acpi_acad.0.%location: handle=\_SB_.PCI0.EC0_.ADP1 dev.acpi_acad.0.%pnpinfo: _HID=ACPI0003 _UID=0 dev.acpi_acad.0.%parent: acpi0 dev.acpi_perf.0.%driver: acpi_perf dev.acpi_perf.0.%parent: cpu0 dev.acpi_perf.1.%driver: acpi_perf dev.acpi_perf.1.%parent: cpu1 dev.acpi_wmi.0.%desc: ACPI-WMI mapping dev.acpi_wmi.0.%driver: acpi_wmi dev.acpi_wmi.0.%location: handle=\_SB_.WMID dev.acpi_wmi.0.%pnpinfo: _HID=PNP0C14 _UID=0 dev.acpi_wmi.0.%parent: acpi0 dev.acpi_hp.0.%desc: HP ACPI-WMI Mapping dev.acpi_hp.0.%driver: acpi_hp dev.acpi_hp.0.%location: handle=\_SB_.QLBD dev.acpi_hp.0.%pnpinfo: _HID=HPQ0006 _UID=0 dev.acpi_hp.0.%parent: acpi0 dev.acpi_hp.0.wlan_enabled: 1 dev.acpi_hp.0.wlan_radio: 1 dev.acpi_hp.0.wlan_on_air: 1 dev.acpi_hp.0.wlan_enable_if_radio_on: 0 dev.acpi_hp.0.wlan_disable_if_radio_off: 0 dev.acpi_hp.0.bt_enabled: 0 dev.acpi_hp.0.bt_radio: 1 dev.acpi_hp.0.bt_on_air: 0 dev.acpi_hp.0.bt_enable_if_radio_on: 0 dev.acpi_hp.0.bt_disable_if_radio_off: 0 dev.acpi_hp.0.wwan_enabled: 0 dev.acpi_hp.0.wwan_radio: 0 dev.acpi_hp.0.wwan_on_air: 0 dev.acpi_hp.0.wwan_enable_if_radio_on: 0 dev.acpi_hp.0.wwan_disable_if_radio_off: 0 dev.acpi_hp.0.als_enabled: 4 dev.acpi_hp.0.display: 1 dev.acpi_hp.0.hdd_temperature: 4 dev.acpi_hp.0.is_docked: 4 dev.acpi_hp.0.cmi_detail: 0 zeus# sysctl dev.acpi_hp.0.cmi_detail=7 dev.acpi_hp.0.cmi_detail: 0 -> 7 -- Regards Kevin Foo