From owner-freebsd-acpi@FreeBSD.ORG Thu Dec 19 15:18:49 2013 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2372EBDA; Thu, 19 Dec 2013 15:18:49 +0000 (UTC) Received: from forward18.mail.yandex.net (forward18.mail.yandex.net [IPv6:2a02:6b8:0:1402::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A8B45198B; Thu, 19 Dec 2013 15:18:48 +0000 (UTC) Received: from web9g.yandex.ru (web9g.yandex.ru [95.108.252.109]) by forward18.mail.yandex.net (Yandex) with ESMTP id 593F91782484; Thu, 19 Dec 2013 19:18:34 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web9g.yandex.ru (Yandex) with ESMTP id E579F6603A0; Thu, 19 Dec 2013 19:18:33 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1387466314; bh=39RvsEnuqGoMhxWxuEWDL6xiufFfYdbmxEjAfBwV3/w=; h=From:To:Subject:Date; b=bpvLzA3pFjof91oFQ7yLbEOErmGHkFuvjI+atpmsBdLIRWMxhJiC4OQraaaLHF6cv wUmw2mtdk5Yf4YUy7S6zS0nwNfvXDCd2sK7SNZW/OZlArFaL3iI/ZNP9ug+55u5xU6 xuVo7bzlVMEkmIO89BulZhFn8woyfOJV4Q7kmUWw= Received: from net245.234.188-30.ertelecom.ru (net245.234.188-30.ertelecom.ru [188.234.245.30]) by web9g.yandex.ru with HTTP; Thu, 19 Dec 2013 19:18:33 +0400 From: =?koi8-r?B?59XM0cXXIOfP28E=?= To: freebsd-acpi@freebsd.org, freebsd-mobile@freebsd.org Subject: Reduced screen light after power disappearing. MIME-Version: 1.0 Message-Id: <81841387466313@web9g.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 19 Dec 2013 21:18:33 +0600 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2013 15:18:49 -0000 Good day! I have a laptop with FreeBSD 10-BETA4 AMD64. When the power is lost it automatically reduces screen brightness. But when the power comes back, the brightness does not return to a normal level. Fn + BrightUP key do not help. I have no other auto power saving set up except powerd_enable="yes" in /etc/rc.conf The only way to return brightness to a normal level now is to reboot. How I can fix that? Info from /var/log/messages when power lost/resumed: ========================================================================== Dec 11 12:27:20 MYBSD devd: Executing '/etc/rc.d/power_profile 0x00' Dec 11 12:27:20 MYBSD power_profile: changed to 'economy' Dec 11 12:27:23 MYBSD devd: Executing '/etc/rc.d/power_profile 0x01' Dec 11 12:27:23 MYBSD power_profile: changed to 'performance' my dmesg ========================================================================== Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-BETA4 #0: Fri Dec 6 13:14:42 YEKT 2013 goshanecr@MYBSD:/usr/obj/usr/src/sys/MYBSD amd64 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (2494.39-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a Stepping = 9 Features=0xbfebfbff Features2=0x7fbae3bf AMD Features=0x28100800 AMD Features2=0x1 Standard Extended Features=0x281 TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 4016545792 (3830 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 irqs 0-23 on motherboard Cuse4BSD v0.1.30 @ /dev/cuse kbd1 at kbdmux0 random: initialized acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xe000-0xe07f mem 0xf6000000-0xf6ffffff,0xe0000000-0xefffffff,0xf0000000-0xf1ffffff irq 16 at device 0.0 on pci1 pcib2: irq 16 at device 1.1 on pci0 pci2: on pcib2 vgapci1: port 0xf000-0xf03f mem 0xf7400000-0xf77fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0 xhci0: mem 0xf7a00000-0xf7a0ffff irq 16 at device 20.0 on pci0 xhci0: 32 byte context size. xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 pci0: at device 22.0 (no driver attached) ehci0: mem 0xf7a17000-0xf7a173ff irq 16 at device 26.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 hdac0: mem 0xf7a10000-0xf7a13fff irq 22 at device 27.0 on pci0 pcib3: irq 16 at device 28.0 on pci0 pci3: on pcib3 pcib4: irq 18 at device 28.2 on pci0 pci4: on pcib4 pci4: at device 0.0 (no driver attached) pcib5: irq 19 at device 28.3 on pci0 pci5: on pcib5 pci5: at device 0.0 (no driver attached) re0: port 0xc000-0xc0ff mem 0xf2104000-0xf2104fff,0xf2100000-0xf2103fff irq 19 at device 0.2 on pci5 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x48800000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 00:90:f5:d0:a5:c4 ehci1: mem 0xf7a16000-0xf7a163ff irq 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xf110-0xf117,0xf100-0xf103,0xf0f0-0xf0f7,0xf0e0-0xf0e3,0xf0d0-0xf0df,0xf0c0-0xf0cf irq 19 at device 31.2 on pci0 ata2: at channel 0 on atapci0 ata3: at channel 1 on atapci0 pci0: at device 31.3 (no driver attached) atapci1: port 0xf0b0-0xf0b7,0xf0a0-0xf0a3,0xf090-0xf097,0xf080-0xf083,0xf070-0xf07f,0xf060-0xf06f irq 19 at device 31.5 on pci0 ata4: at channel 0 on atapci1 ata5: at channel 1 on atapci1 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 orm0: at iomem 0xcf000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 coretemp0: on cpu0 est0: on cpu0 p4tcc0: on cpu0 coretemp1: on cpu1 est1: on cpu1 p4tcc1: on cpu1 coretemp2: on cpu2 est2: on cpu2 p4tcc2: on cpu2 coretemp3: on cpu3 est3: on cpu3 p4tcc3: on cpu3 fuse-freebsd: version 0.4.4, FUSE ABI 7.8 Timecounters tick every 1.000 msec hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 36,37 and 41 on hdaa0 pcm1: at nid 43 on hdaa0 hdacc1: at cad 3 on hdac0 hdaa1: at nid 1 on hdacc1 pcm2: at nid 6 on hdaa1 random: unblocking device. usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 usbus2: 480Mbps High Speed USB v2.0 ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: <0x8086> at usbus0 uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ugen2.1: at usbus2 uhub2: on usbus2 uhub0: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered ada0 at ata2 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: Serial Number TA95123VCA8GUX ada0: 300.000MB/s transfers (SATA 2.x, UDMA5, PIO 8192bytes) ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) ada0: quirks=0x1<4K> ada0: Previously was known as ad4 cd0 at ata2 bus 0 scbus0 target 1 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: Serial Number 667216404976 cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! Timecounter "TSC-low" frequency 1247195270 Hz quality 1000 uhub1: 8 ports with 8 removable, self powered Root mount waiting for: usbus2 usbus1 usbus0 ugen2.2: at usbus2 uhub3: on usbus2 ugen1.2: at usbus1 uhub4: on usbus1 ugen0.2: at usbus0 uhub4: 6 ports with 6 removable, self powered uhub3: 6 ports with 6 removable, self powered Root mount waiting for: usbus2 usbus1 ugen1.3: at usbus1 ugen2.3: at usbus2 Trying to mount root from ufs:/dev/ada0s3a [rw]... ubt0: on usbus0 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() agp0: on vgapci1 agp0: aperture size is 256M, detected 65532k stolen memory info: [drm] Initialized drm 1.1.0 20060810 drmn1: on vgapci1 info: [drm] MSI enabled 1 message(s) info: [drm] AGP at 0xd0000000 256MB iicbus0: on iicbb0 addr 0xff iic0: on iicbus0 iic1: on iicbus1 iicbus2: on iicbb1 addr 0xff iic2: on iicbus2 iic3: on iicbus3 iicbus4: on iicbb2 addr 0xff iic4: on iicbus4 iic5: on iicbus5 iicbus6: on iicbb3 addr 0xff iic6: on iicbus6 iic7: on iicbus7 iicbus8: on iicbb4 addr 0xff iic8: on iicbus8 iic9: on iicbus9 iicbus10: on iicbb5 addr 0xff iic10: on iicbus10 iic11: on iicbus11 iicbus12: on iicbb6 addr 0xff iic12: on iicbus12 iic13: on iicbus13 iicbus14: on iicbb7 addr 0xff iic14: on iicbus14 iic15: on iicbus15 info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). info: [drm] Driver supports precise vblank timestamp query. drmn1: taking over the fictitious range 0xd0000000-0xe0000000 info: [drm] Initialized i915 1.6.0 20080730 pid 5765 (iconvcap), uid 0: exited on signal 11 (core dumped) error: [drm:pid818:intel_lvds_enable] *ERROR* timed out waiting for panel to power off Related topic on forum: [1] http://forums.freebsd.org/viewtopic.php?f=12&t=43758