help with backlight control and memory

Wojciech Puchar wojtek at puchar.net
Sat Oct 18 21:03:47 UTC 2014


tried. jsut after kernel is loaded backlight control keys stops working.
tried loading every acpi_* kernel module that is available, with no 
results

On Thu, 16 Oct 2014, Adrian Chadd wrote:

> Hi!
>
> Please try the latest FreeBSD-11 snapshot and see if it still works
> once you've started Xorg.
>
>
> -a
>
>
> On 16 October 2014 05:19, Wojciech Puchar <wojtek at puchar.net> wrote:
>> bought new laptop. it's lenovo B590
>>
>> most things works fine. but brightness control keys doesn't work after
>> FreeBSD is loaded. they work before it.
>>
>> i don't ask for a solution but any point to start. What should i check?
>>
>> is it ACPI tables problem (kernel shows some errors).
>>
>> Other question - can amount of memory dedicated to GFX card be changed?
>> There is no option in BIOS setup to do this. and i have lots of memory
>> wasted as you may see below.
>>
>>
>>
>> Copyright (c) 1992-2014 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.1-BETA1 #4: Wed Oct 15 23:56:56 CEST 2014
>>     root at laptop:/usr/src/sys/amd64/compile/laptop amd64
>> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
>> CPU: Intel(R) Celeron(R) CPU 1005M @ 1.90GHz (1895.73-MHz K8-class CPU)
>>   Origin = "GenuineIntel"  Id = 0x306a9  Family = 0x6  Model = 0x3a
>> Stepping = 9
>>
>> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
>>
>> Features2=0xdbae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,XSAVE,OSXSAVE>
>>   AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
>>   AMD Features2=0x1<LAHF>
>>   Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
>>   VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
>>   TSC: P-state invariant, performance statistics
>> real memory  = 2147483648 (2048 MB)
>> avail memory = 1585037312 (1511 MB)
>> Event timer "LAPIC" quality 600
>> ACPI APIC Table: <LENOVO TP-H9   >
>> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>> FreeBSD/SMP: 1 package(s) x 2 core(s)
>>  cpu0 (BSP): APIC ID:  0
>>  cpu1 (AP): APIC ID:  2
>> ioapic0 <Version 2.0> irqs 0-23 on motherboard
>> random: <Software, Yarrow> initialized
>> iscsi: version 2.3.1
>> kbd1 at kbdmux0
>> cryptosoft0: <software crypto> on motherboard
>> acpi0: <LENOVO TP-H9> on motherboard
>> ACPI Error: No handler for Region [ECOR] (0xfffff80001710400)
>> [EmbeddedControl] (20130823/evregion-178)
>> ACPI Error: Region EmbeddedControl (ID=3) has no handler
>> (20130823/exfldio-320)
>> ACPI Error: Method parse/execution failed [\134_SB_.PCI0.LPCB.H_EC._REG]
>> (Node 0xfffff8000171e200), AE_NOT_EXIST (20130823/psparse-553)
>> acpi0: Power Button (fixed)
>> cpu0: <ACPI CPU> on acpi0
>> cpu1: <ACPI CPU> on acpi0
>> hpet0: <High Precision Event Timer> 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
>> Event timer "HPET5" frequency 14318180 Hz quality 440
>> Event timer "HPET6" frequency 14318180 Hz quality 440
>> atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
>> atrtc0: Warning: Couldn't map I/O.
>> Event timer "RTC" frequency 32768 Hz quality 0
>> attimer0: <AT timer> 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: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0
>> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
>> pci0: <ACPI PCI bus> on pcib0
>> vgapci0: <VGA-compatible display> port 0x3000-0x303f mem
>> 0x90000000-0x903fffff,0x80000000-0x8fffffff irq 16 at device 2.0 on pci0
>> agp0: <IvyBridge mobile GT1 IG> on vgapci0
>> agp0: aperture size is 256M, detected 32764k stolen memory
>> vgapci0: Boot video device
>> xhci0: <Intel Panther Point USB 3.0 controller> mem 0x90600000-0x9060ffff
>> irq 21 at device 20.0 on pci0
>> xhci0: 32 byte context size.
>> xhci0: Port routing mask set to 0xffffffff
>> usbus0 on xhci0
>> pci0: <simple comms> at device 22.0 (no driver attached)
>> ehci0: <Intel Panther Point USB 2.0 controller> mem 0x9061a000-0x9061a3ff
>> irq 16 at device 26.0 on pci0
>> usbus1: EHCI version 1.0
>> usbus1 on ehci0
>> hdac0: <Intel Panther Point HDA Controller> mem 0x90610000-0x90613fff irq 22
>> at device 27.0 on pci0
>> pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
>> pci1: <ACPI PCI bus> on pcib1
>> pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
>> pci2: <ACPI PCI bus> on pcib2
>> pci2: <network> at device 0.0 (no driver attached)
>> pcib3: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
>> pci3: <ACPI PCI bus> on pcib3
>> re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port
>> 0x2000-0x20ff mem 0x90404000-0x90404fff,0x90400000-0x90403fff irq 19 at
>> device 0.0 on pci3
>> re0: Using 1 MSI-X message
>> re0: ASPM disabled
>> re0: Chip rev. 0x2c800000
>> re0: MAC rev. 0x00100000
>> miibus0: <MII bus> on re0
>> ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
>> ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
>> 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
>> re0: Ethernet address: 54:ee:75:13:f2:6b
>> ehci1: <Intel Panther Point USB 2.0 controller> mem 0x90619000-0x906193ff
>> irq 23 at device 29.0 on pci0
>> usbus2: EHCI version 1.0
>> usbus2 on ehci1
>> isab0: <PCI-ISA bridge> at device 31.0 on pci0
>> isa0: <ISA bus> on isab0
>> ahci0: <Intel Panther Point AHCI SATA controller> port
>> 0x3088-0x308f,0x3094-0x3097,0x3080-0x3087,0x3090-0x3093,0x3060-0x307f mem
>> 0x90618000-0x906187ff irq 19 at device 31.2 on pci0
>> ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier not supported
>> ahcich0: <AHCI channel> at channel 0 on ahci0
>> ahcich4: <AHCI channel> at channel 4 on ahci0
>> ahciem0: <AHCI enclosure management bridge> on ahci0
>> acpi_acad0: <AC Adapter> on acpi0
>> acpi_lid0: <Control Method Lid Switch> on acpi0
>> acpi_button0: <Sleep Button> on acpi0
>> acpi_tz0: <Thermal Zone> on acpi0
>> acpi_tz1: <Thermal Zone> on acpi0
>> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0
>> atkbd0: [GIANT-LOCKED]
>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>> psm0: [GIANT-LOCKED]
>> psm0: model Generic PS/2 mouse, device ID 0
>> battery0: <ACPI Control Method Battery> on acpi0
>> acpi_ibm0: <IBM ThinkPad ACPI Extras> on acpi0
>> orm0: <ISA Option ROM> at iomem 0xc0000-0xcefff on isa0
>> sc0: <System console> at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>> est0: <Enhanced SpeedStep Frequency Control> on cpu0
>> p4tcc0: <CPU Frequency Thermal Control> on cpu0
>> est1: <Enhanced SpeedStep Frequency Control> on cpu1
>> p4tcc1: <CPU Frequency Thermal Control> on cpu1
>> fuse-freebsd: version 0.4.4, FUSE ABI 7.8
>> Timecounters tick every 1.000 msec
>> ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept,
>> logging disabled
>> DUMMYNET 0 with IPv6 initialized (100409)
>> load_dn_sched dn_sched RR loaded
>> load_dn_sched dn_sched WF2Q+ loaded
>> load_dn_sched dn_sched FIFO loaded
>> load_dn_sched dn_sched PRIO loaded
>> load_dn_sched dn_sched QFQ loaded
>> hdacc0: <Realtek ALC269 HDA CODEC> at cad 0 on hdac0
>> hdaa0: <Realtek ALC269 Audio Function Group> at nid 1 on hdacc0
>> pcm0: <Realtek ALC269 (Analog 2.0+HP/2.0)> at nid 20,21 and 24,25 on hdaa0
>> hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
>> hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
>> pcm1: <Intel Panther Point (HDMI/DP 8ch)> at nid 5 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
>> ACPI Error: No handler for Region [ECRM] (0xfffff800017dd180)
>> [EmbeddedControl] (20130823/evregion-178)
>> ACPI Error: Region EmbeddedControl (ID=3) has no handler
>> (20130823/exfldio-320)
>> ACPI Error: Method parse/execution failed [\134_TZ_.MDEC] (Node
>> 0xfffff80001725b40), AE_NOT_EXIST (20130823/psparse-553)
>> ACPI Error: Method parse/execution failed [\134_TZ_.TZS0._SCP] (Node
>> 0xfffff80001725a40), AE_NOT_EXIST (20130823/psparse-553)
>> ugen2.1: <Intel> at usbus2
>> uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
>> ugen1.1: <Intel> at usbus1
>> ugen0.1: <0x8086> at usbus0
>> uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
>> uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
>> ses0 at ahciem0 bus 0 scbus2 target 0 lun 0
>> ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
>> ses0: SEMB SES Device
>> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
>> ada0: <WDC WD5000LPVT-24G33T1 02.01A02> ATA-8 SATA 2.x device
>> ada0: Serial Number WD-WXL1EB3KUNR5
>> ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
>> ada0: Command Queueing enabled
>> cd0 at ahcich4 bus 0 scbus1 target 0 lun 0
>> cd0: <HL-DT-ST DVDRAM GTA0N LC00> Removable CD-ROM SCSI-0 device cd0: Serial
>> Number KW9E4571958
>> cd0: 150.000MB/s transfers (SATA 1.x, UDMA2, ATAPI 12bytes, PIO 8192bytes)
>> cd0: Attempt to query device size failed: NOT READY, Medium not present -
>> tray closed
>> ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
>> ada0: quirks=0x1<4K>
>> ada0: Previously was known as ad0
>> Enter passphrase for ada0d: SMP: AP CPU #1 Launched!
>> hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> TSC/1/64/0x20<REA>
>> IAP/8/48/0x3ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA,PRC>
>> IAF/3/48/0x67<INT,USR,SYS,REA,WRI>
>> Timecounter "TSC" frequency 1895731156 Hz quality 1000
>> uhub1: 8 ports with 8 removable, self powered
>> uhub0: 3 ports with 3 removable, self powered
>> uhub2: 3 ports with 3 removable, self powered
>> ugen2.2: <vendor 0x8087> at usbus2
>> uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on
>> usbus2
>> ugen1.2: <vendor 0x8087> at usbus1
>> uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on
>> usbus1
>> uhub3: 4 ports with 4 removable, self powered
>> uhub4: 4 ports with 4 removable, self powered
>> ugen1.3: <Vimicro corp.> at usbus1
>> ugen1.4: <Generic> at usbus1
>> umass0: <Generic Flash Card ReaderWriter, class 0/0, rev 2.00/1.00, addr 4>
>> on usbus1
>> da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
>> da0: <Multiple Card  Reader 1.00> Removable Direct Access SCSI-0 device da0:
>> Serial Number 058F63666435
>> da0: 40.000MB/s transfers
>> da0: Attempt to query device size failed: NOT READY, Medium not present
>> da0: quirks=0x2<NO_6_BYTE>
>> ugen1.5: <Broadcom Corp> at usbus1
>> GEOM_ELI: Device ada0d.eli created.
>> GEOM_ELI: Encryption: AES-CBC 128
>> GEOM_ELI:     Crypto: software
>> Trying to mount root from ufs:ada0d.eli []...
>> _______________________________________________
>> freebsd-hackers at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>


More information about the freebsd-hackers mailing list