Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2009 15:11:18 +0200
From:      Michael Gmelin <freebsdusb@bindone.de>
To:        chflags@gmail.com
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: Patches to acpi_hp
Message-ID:  <4A4A0EF6.1080800@bindone.de>
In-Reply-To: <25cb30906300554u4ef7e638naa0dfe51bac3e83f@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> <25cb30906300554u4ef7e638naa0dfe51bac3e83f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Foo wrote:
> On Tue, Jun 30, 2009 at 8:37 PM, Kevin Foo <chflags@gmail.com> 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: <Broadcom Corp HP Integrated Module, class 224/1, rev 2.00/1.00,
>> 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
> 
Can you send me the output you get when kldloading acpi_hp + the output
of cat /dev/wmistat.

In addition the output of
acpidump -dt

would be useful.

It's possible that your laptop doesn't support CMI.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A4A0EF6.1080800>