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 > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-acpi > To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-acpi To unsubscribe, send any mail to "[email protected]"
