[FUG-BR] Problemas com ACPI no HP 2114br
mrpa.security em gmail.com
mrpa.security em gmail.com
Sábado Maio 15 10:17:45 BRT 2010
Bom dia, Lista.
Tenho um laptop HP 2114br conforme descrição em
http://h10010.www1.hp.com/wwpc/br/pt/ho/WF06b/321957-321957-3329744-64354-64354-4074361-4126200.html
Instalei o FreeBSD 8.0 e está funcionando quase tudo corretamente.
Vejo pedir a ajuda da lista com um problema que tentei contornar, mas
ainda não consegui que é o gerenciamento pelo ACPI (Gerenciamento de
Energia).
O arquivo loader.conf do laptop, configurei assim.
# Kernel Options (Default do SO)
kern.ipc.shmseg=1024
kern.ipc.shmmni=1024
# Load Wireless Support (Default do SO)
if_ipw_load="YES"
if_iwi_load="YES"
if_wpi_load="YES"
if_iwn_load="YES"
legal.intel_ipw.license_ack=1
legal.intel_iwi.license_ack=1
legal.intel_wpi.license_ack=1
legal.intel_iwn.license_ack=1
#Broadcom BCM43xx (Foi adicionado por Mim)
if_bwi_load="YES"
# Load mmc card-reader support (Default do SO)
mmc_load="YES"
mmcsd_load="YES"
sdhci_load="YES"
# Load sata device support (Default do SO)
ahci_load="YES"
sdhci_load="YES"
# Load support for scd (Default do SO)
scd_load="YES"
# Load sound-support (Default do SO)
sound_load="YES"
snd_uaudio_load="YES"
# Load geom support
geom_journal_load="YES"
geom_uzip_load="YES"
geom_mirror_load="YES"
geom_eli_load="YES"
# Load File-System Support (Default do SO)
libiconv_load="YES"
libmchain_load="YES"
cd9660_iconv_load="YES"
msdosfs_iconv_load="YES"
ntfs_load="YES"
ntfs_iconv_load="YES"
udf_load="YES"
udf_iconv_load="YES"
zfs_load="YES"
tmpfs_load="YES"
sem_load="YES"
vboxdrv_load="YES"
# Carregar acpi para HP 2114br (Foi adicionado por mim)
acpi_hp_load="YES"
acpi_wmi_load="YES"
acpi_video_load="YES"
hw.ata.atapi_dma="0"
beastie_disable="NO"
autoboot_delay="10"
#Frequencia de Processador (Foi adicionado por mim)
cpuctl_load="YES" #CPU Throttling
coretemp_load="YES" #Thermal Monitoring
# Linux System
linprocfs_load="YES" #Linux proc
linsysfs_load="YES" #Linux sysfs
#Bluetooh (Foi adicionado por mim)
ubtbcmfw_load="YES #Firmware loader for Broadcom Bluetooth
ng_ubt_load="YES" #Bluetooth driver
kqemu_load="YES"
aio_load="YES"
Já verifiquei no systcl
debug.acpi.suspend_bounce: 0
debug.acpi.reset_clock: 1
debug.acpi.do_powerstate: 1
debug.acpi.acpi_ca_version: 20090521
debug.acpi.ec.timeout: 750
debug.acpi.ec.polled: 0
debug.acpi.ec.burst: 0
debug.acpi.batt.batt_sleep_ms: 0
debug.acpi.resume_beep: 0
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
hw.acpi.sleep_delay: 1
hw.acpi.s4bios: 0
hw.acpi.verbose: 0
hw.acpi.disable_on_reboot: 0
hw.acpi.handle_reboot: 0
hw.acpi.reset_video: 0
hw.acpi.video.crt0.active: 0
hw.acpi.video.lcd0.active: 1
hw.acpi.video.lcd0.brightness: 100
hw.acpi.video.lcd0.fullpower: 100
hw.acpi.video.lcd0.economy: 50
hw.acpi.video.lcd0.levels: 100 50 0 10 20 30 40 50 60 70 80 90 100
hw.acpi.video.tv0.active: 0
hw.acpi.video.tv1.active: 0
hw.acpi.acline: 1
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.user_override: 0
hw.acpi.thermal.tz0.temperature: 69.0C
hw.acpi.thermal.tz0.active: -1
hw.acpi.thermal.tz0.passive_cooling: 0
hw.acpi.thermal.tz0.thermal_flags: 0
hw.acpi.thermal.tz0._PSV: 97.0C
hw.acpi.thermal.tz0._HOT: 100.0C
hw.acpi.thermal.tz0._CRT: 105.0C
hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
hw.acpi.thermal.tz0._TC1: -1
hw.acpi.thermal.tz0._TC2: -1
hw.acpi.thermal.tz0._TSP: -1
hw.acpi.battery.life: -1
hw.acpi.battery.time: -1
hw.acpi.battery.state: 7
hw.acpi.battery.units: 1
hw.acpi.battery.info_expire: 5
hw.acpi.cpu.cx_lowest: C1
machdep.acpi_timer_freq: 3579545
machdep.acpi_root: 1040416
machdep.idle_available: spin, mwait, mwait_hlt, amdc1e, hlt, 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.SYSR
dev.acpi_sysresource.0.%pnpinfo: _HID=PNP0C02 _UID=0
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.MEM_
dev.acpi_sysresource.1.%pnpinfo: _HID=PNP0C01 _UID=0
dev.acpi_sysresource.1.%parent: acpi0
dev.acpi_timer.0.%desc: 32-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 0x3
dev.acpi_ec.0.%driver: acpi_ec
dev.acpi_ec.0.%location: handle=\_SB_.PCI0.LPC0.EC0_
dev.acpi_ec.0.%pnpinfo: _HID=PNP0C09 _UID=1
dev.acpi_ec.0.%parent: acpi0
dev.pci_link.0.%parent: acpi0
dev.pci_link.1.%parent: acpi0
dev.pci_link.2.%parent: acpi0
dev.pci_link.3.%parent: acpi0
dev.pci_link.4.%parent: acpi0
dev.pci_link.5.%parent: acpi0
dev.pci_link.6.%parent: acpi0
dev.pci_link.7.%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_button.0.%desc: Power Button
dev.acpi_button.0.%driver: acpi_button
dev.acpi_button.0.%location: handle=\_SB_.PWRB
dev.acpi_button.0.%pnpinfo: _HID=PNP0C0C _UID=0
dev.acpi_button.0.%parent: acpi0
dev.acpi_button.1.%desc: Sleep Button
dev.acpi_button.1.%driver: acpi_button
dev.acpi_button.1.%location: handle=\_SB_.SLPB
dev.acpi_button.1.%pnpinfo: _HID=PNP0C0E _UID=0
dev.acpi_button.1.%parent: acpi0
dev.pcib.0.%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_acad.0.%desc: AC Adapter
dev.acpi_acad.0.%driver: acpi_acad
dev.acpi_acad.0.%location: handle=\_SB_.ACAD
dev.acpi_acad.0.%pnpinfo: _HID=ACPI0003 _UID=0
dev.acpi_acad.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_.LID_
dev.acpi_lid.0.%pnpinfo: _HID=PNP0C0D _UID=0
dev.acpi_lid.0.%parent: acpi0
dev.acpi_tz.0.%desc: Thermal Zone
dev.acpi_tz.0.%driver: acpi_tz
dev.acpi_tz.0.%location: handle=\_TZ_.TZ01
dev.acpi_tz.0.%pnpinfo: _HID=none _UID=0
dev.acpi_tz.0.%parent: acpi0
dev.atdma.0.%parent: acpi0
dev.fpupnp.0.%parent: acpi0
dev.atrtc.0.%parent: acpi0
dev.attimer.0.%parent: acpi0
dev.atkbdc.0.%parent: acpi0
dev.psmcpnp.0.%parent: acpi0
dev.battery.0.%parent: acpi0
dev.cpu.0.%parent: acpi0
dev.cpu.1.%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_throttle.0.%desc: ACPI CPU Throttling
dev.acpi_throttle.0.%driver: acpi_throttle
dev.acpi_throttle.0.%parent: cpu0
dev.acpi_throttle.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1
5000/-1 3750/-1 2500/-1 1250/-1
Na linha fala a temperatura atual
hw.acpi.thermal.tz0.temperature: 69.0C
Nas linhas abaixo os limites de temperatura (aquecimento)
hw.acpi.thermal.tz0._PSV: 97.0C
hw.acpi.thermal.tz0._HOT: 100.0C
hw.acpi.thermal.tz0._CRT: 105.0C
Nas linhas abaixo (S5 Ligar/Desligar, S1 Hibernar,Stand By, S3
Suspender) creio que está faltando alguma função
hw.acpi.supported_sleep_state: S1 S3 S4 S5
hw.acpi.power_button_state: S5
hw.acpi.sleep_button_state: S1
hw.acpi.lid_switch_state: NONE
hw.acpi.standby_state: S1
hw.acpi.suspend_state: S3
O Som, rede cabeado, touchpad, dvd estão funcionado normalmente
Já a webcam, entrada SD Card, wireless Broadcom (apenas de ter
adicionado compilado/binário no loader.conf, não funciona e não
reconhece), HDMI, escalador de frequencia do processador e controle
remoto não funcionam.
Não sei se devo postar, todo o sysctl aqui, pois nem todas as listas
gostam disso, mas se for ajudar na análise, envio no proximo email.
Já passei pelos procedimentos:
http://www.freebsd.org/doc/en/books/handbook/acpi-debug.html
http://www.freebsd.org/projects/acpi/
Se alguem puder me ajudar, eu agradeço.
Obrigado
Mais detalhes sobre a lista de discussão freebsd