Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2014 22:36:23 -0400
From:      Anthony Jenkins <Anthony.B.Jenkins@att.net>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        =?UTF-8?B?5byg5pmT6Z2W?= <zhangxiaojing@hotmail.com>, "freebsd-acpi@freebsd.org" <freebsd-acpi@freebsd.org>
Subject:   Re: =?UTF-8?B?562U5aSNOiDnrZTlpI06IOetlOWkjTog562U5aSNOiDnrZTlpI0=?= =?UTF-8?B?OiBNeSBsYXB0b3AgY2FuJ3QgcmVzdW1lIGZyb20gc3VzcGVuZC4=?=
Message-ID:  <53FD4427.3070308@att.net>
In-Reply-To: <53FD38A6.3020108@att.net>
References:  <BLU436-SMTP62EDBC36C40E7A96279D03A0EA0@phx.gbl>	<CAN6yY1sieCOVmpXOcBvavh8-UB3=zQbP4vn2%2B%2B=Sq49VmCDtWw@mail.gmail.com>	<BLU437-SMTP14CC6D27278DD1F2D7B9E5A0E90@phx.gbl>	<53EE78ED.2030208@att.net>	<BLU436-SMTP67343C48955DBE96365728A0DF0@phx.gbl>	<53FB6011.3080509@att.net>	<BLU436-SMTP892DD42195F92B9B0F0B63A0DC0@phx.gbl>	<53FC7C2D.8030307@att.net>	<BLU436-SMTP102BA89162018909041957EA0DC0@phx.gbl>	<53FCA5B4.7020309@att.net>	<BLU437-SMTP61EC4F3741B6E8B099E51CA0DD0@phx.gbl>	<53FD2F59.4040600@att.net> <CAJ-Vmom7BUSeoKzOXPHKNNM0AcRvZ-beYwK5MpR6=K2LD6bnUQ@mail.gmail.com> <53FD38A6.3020108@att.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 08/26/2014 21:47, Anthony Jenkins wrote:
> On 08/26/2014 21:20, Adrian Chadd wrote:
>> What's the thing that needs porting?
>>
>>
>>
>> -a
>>
> I've been eyeballing these links:
>
> http://h30434.www3.hp.com/t5/Notebook-Display-and-Video/Envy-14-display-backlight-controls-not-working-under-Linux/td-p/289176
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/568611/

Here's a link to (what I think is) the commit that needs to be ported for me to enjoy a laptop with the brightness not at 100% 100% of the time:

http://kernel.ubuntu.com/git?p=kamal/ubuntu-maverick.git;a=commit;h=b134c5ba49666ab640cbc5ad8a562c9f22539cc3

Anthony
> The Linux kernel apparently has backlight handlers and the ACPI kernel can either use the ACPI method or some "vendor" method (I think those are the handlers).  I get a "Cannot find a backlight controller" error when I boot, and that code is in the radeon drm2 driver (sys/dev/drm2/radeon/radeon_acpi.c).
>
> info: [drm] Radeon Display Connectors
> info: [drm] Connector 0:
> info: [drm]   LVDS-1
> info: [drm]   HPD1
> info: [drm]   DDC: 0x6530 0x6530 0x6534 0x6534 0x6538 0x6538 0x653c 0x653c
> info: [drm]   Encoders:
> info: [drm]     LCD1: INTERNAL_UNIPHY2
> info: [drm]     LCD1: TRAVIS
> info: [drm] Connector 1:
> info: [drm]   HDMI-A-1
> info: [drm]   HPD3
> info: [drm]   DDC: 0x6550 0x6550 0x6554 0x6554 0x6558 0x6558 0x655c 0x655c
> info: [drm]   Encoders:
> info: [drm]     DFP1: INTERNAL_UNIPHY
> info: [drm] Internal thermal controller without fan control
> info: [drm] radeon: power management initialized
> info: [drm] fb mappable at 0xE114C000
> info: [drm] vram apper at 0xE0000000
> info: [drm] size 4325376
> info: [drm] fb depth is 24
> info: [drm]    pitch is 5632
> fbd0 on drmn0
> VT: Replacing driver "vga" with new "fb".
> error: [drm:pid0:radeon_acpi_init] *ERROR* Trying encoder 0xfffff80007465400...
> error: [drm:pid0:radeon_acpi_init] *ERROR*  Found LCD support.
> error: [drm:pid0:radeon_acpi_init] *ERROR* Trying encoder 0xfffff80007465000...
> error: [drm:pid0:radeon_acpi_init] *ERROR* Trying encoder 0xfffff80007329e00...
> error: [drm:pid0:radeon_acpi_init] *ERROR* Cannot find a backlight controller
> info: [drm] Initialized radeon 2.29.0 20080528
> vgapci0: Boot video device
>
> (I added the *ERROR* lines to debug).  It looks like the Linux changes mentioned in the 2nd link would go in there...but I gave up looking at it until I had more spare time.
>
> Anthony
> _______________________________________________
> freebsd-acpi@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
> To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53FD4427.3070308>