FS#29543 - [xf86-video-nouveau] backlight brightness (Fn+F5, Fn+F6) not working

Attached to Project: Arch Linux
Opened by artix (sundoctor) - Friday, 20 April 2012, 17:56 GMT
Last edited by Allan McRae (Allan) - Saturday, 17 November 2012, 06:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Ionut Biru (wonder)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Noteboot Sony Vaio SZRXN
Backlight (Fn+F5, Fn+F6) not working


Additional info:

Arch+openbox

Standard kernel 3.3.2-1
xf86-video-nouveau 0.0.16_git20120210-1

xorg.conf

Section "Device"
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

Section "Module"
Load "extmod"
Load "record"
Load "dri2"
Load "dbe"
Load "dri"
#Load "nv-control"
EndSection

(nv-control - not working too)

nvclock -S ... - not working


I tried LMDE live-cd - all works but without nouveua

# find /sys/devices/|grep bright
/sys/devices/platform/sony-laptop/brightness_default
/sys/devices/virtual/backlight/sony/brightness
/sys/devices/virtual/backlight/sony/actual_brightness
/sys/devices/virtual/backlight/sony/max_brightness
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/card0-LVDS-1/nv_backlight/brightness
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/card0-LVDS-1/nv_backlight/actual_brightness
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/card0-LVDS-1/nv_backlight/max_brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/phy0-led/brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/phy0-led/max_brightness

This one
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/card0-LVDS-1/nv_backlight/brightness
works in LMDE, and max_brightness=255

In Arch max_brightness=100. And all of them are not working.

Kernel boot:

kernel /vmlinuz-linux cryptdevice=/dev/sda2:crypt root=/dev/mapper/lvm-root resume=/dev/mapper/lvm-swap acpi_osi=Linux acpi_backlight=vendor hpet=disable pcie_aspm=force ipv6.disable=1 nopcmcia acpi_sleep=s3_bios,s3_mode ro

lspci

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400M GS] (rev a1)
06:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
07:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
09:04.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
09:04.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
09:04.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 17 November 2012, 06:51 GMT
Reason for closing:  No response
Comment by artix (sundoctor) - Tuesday, 24 April 2012, 16:03 GMT
Another card of this laptop works fine:

Driver "intel"
BusID "PCI:0:2:0"

# lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)

# find /sys/devices/ | grep bright
/sys/devices/platform/sony-laptop/brightness_default
/sys/devices/virtual/backlight/sony/brightness
/sys/devices/virtual/backlight/sony/actual_brightness
/sys/devices/virtual/backlight/sony/max_brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/actual_brightness
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/phy0-led/brightness
/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/leds/phy0-led/max_brightness

# cat /sys/devices/pci0000\:00/0000\:00\:02.0/drm/card0/card0-LVDS-1/intel_backlight/max_brightness
13267905
# cat /sys/devices/pci0000\:00/0000\:00\:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness
13267650

# echo 1200000 > /sys/devices/pci0000\:00/0000\:00\:02.0/drm/card0/card0-LVDS-1/intel_backlight/brightness

OK!
Comment by Greg (dolby) - Monday, 15 October 2012, 10:07 GMT
Still a problem? if so please report upstream
Comment by Andreas Radke (AndyRTR) - Tuesday, 16 October 2012, 15:51 GMT
Is this a hybrid gfx notebook? You say nouveau and Intel driver in one notebook? That's not officially supported. Neither in ddx drivers not in the kernel drm code.

Fn keys are sometimes done in BIOS, sometimes software controlled by xf86 events (check our wiki).

Loading...