Brightness level control is not working properly on Sony Vaio

Bug #819002 reported by Lukasz Olszewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Invalid
Medium
linux (Ubuntu)
Incomplete
Undecided
Unassigned
nvidia-graphics-drivers (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

UPDATE: see comment #8

Sony Vaio F1390x
Brightness controls ( Fn+F5 and Fn+F6) are not working.
Acpi codes for these:
 sony/hotkey SNC 00000001 00000011
 sony/hotkey SNC 00000001 0000003b
 sony/hotkey SNC 00000001 00000010
 sony/hotkey SNC 00000001 0000003b

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: linux-image-3.0.0-7-generic 3.0.0-7.9
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC275 Analog [ALC275 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: lukas 2559 F.... pulseaudio
CRDA: Error: [Errno 2] Nie ma takiego pliku ani katalogu
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xea200000 irq 56'
   Mixer name : 'Realtek ALC275'
   Components : 'HDA:10ec0275,104d4f00,00100005'
   Controls : 19
   Simple ctrls : 11
Card1.Amixer.info:
 Card hw:1 'NVidia'/'HDA NVidia at 0xe3080000 irq 17'
   Mixer name : 'Nvidia GPU 14 HDMI/DP'
   Components : 'HDA:10de0014,104d4f00,00100100'
   Controls : 16
   Simple ctrls : 4
Date: Sun Jul 31 22:39:40 2011
HibernationDevice: RESUME=UUID=2ef5145a-b4b5-470b-b7ee-0a3d37d8b5f5
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Sony Corporation VPCF1390X
ProcEnviron:
 PATH=(custom, no user)
 LANG=pl_PL.UTF-8
 SHELL=/usr/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-7-generic root=UUID=0a9d93d9-414c-4222-9472-a3ee68458db1 ro quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-7-generic N/A
 linux-backports-modules-3.0.0-7-generic N/A
 linux-firmware 1.56
SourcePackage: linux
UpgradeStatus: Upgraded to oneiric on 2011-07-27 (4 days ago)
dmi.bios.date: 10/20/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0190Y9
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0190Y9:bd10/20/2010:svnSonyCorporation:pnVPCF1390X:pvrC607147L:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VPCF1390X
dmi.product.version: C607147L
dmi.sys.vendor: Sony Corporation
---
ApportVersion: 1.23-0ubuntu2
Architecture: amd64
DistUpgraded: Log time: 2011-07-18 12:49:12.968254
DistroCodename: oneiric
DistroRelease: Ubuntu 11.10
DistroVariant: ubuntu
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Sony Corporation VPCF1390X
NonfreeKernelModules: nvidia
Package: nvidia-graphics-drivers (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=0a9d93d9-414c-4222-9472-a3ee68458db1 ro nomodeset
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Tags: oneiric ubuntu
Uname: Linux 3.0.0-12-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-09-27 (5 days ago)
UserGroups:

dmi.bios.date: 10/20/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0190Y9
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0190Y9:bd10/20/2010:svnSonyCorporation:pnVPCF1390X:pvrC607147L:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VPCF1390X
dmi.product.version: C607147L
dmi.sys.vendor: Sony Corporation
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Lukasz Olszewski (olszewskil) wrote :
Revision history for this message
Lukasz Olszewski (olszewskil) wrote :

Relevant sections of Xorg.conf:

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 425M"
    Option "ConnectedMonitor" "DFP-0"
    Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "AllowGLXWithComposite" "True"
    Option "DynamicTwinView" "True"
    Option "EnableACPIHotkeys" "True"
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "DFP-0"
    Option "metamodes" "DFP: nvidia-auto-select +0+0"
    Option "NoLogo" "True"
    SubSection "Display"
        Depth 24
    EndSubSection

Revision history for this message
Lukasz Olszewski (olszewskil) wrote :
Revision history for this message
Lukasz Olszewski (olszewskil) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

What's the status of this patch with regards to it getting upstream? We prefer to cherry-pick from upstream rather than having to maintain an out of tree patch. Thanks.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Lukasz Olszewski (olszewskil) wrote :

Well I've reported it upstream but somehow don't think it's getting to the kernel any time soon :(

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "This patch was reported by many as fixing this and some other issues (http://code.google.com/p/vaio-f11-linux/)" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Lukasz Olszewski (olszewskil) wrote : Re: Brightness control keys not working

After one of the latest updates brightness control started working. Sadly the effect is far from desired. There are only 3 levels of brightness and the difference between them is to big. Going anywhere below 3rd. level makes screen flicker. I believe this might be also related to nvidia driver.

summary: - Brightness control keys not working
+ Brightness level control is not working properly on Sony Vaio
Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Changed in nvidia-graphics-drivers (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Lukasz Olszewski (olszewskil) wrote : BootDmesg.txt

apport information

tags: added: apport-collected ubuntu
description: updated
Revision history for this message
Lukasz Olszewski (olszewskil) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : DpkgLog.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : Lspci.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : Lsusb.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : ProcEnviron.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : ProcModules.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : UdevDb.txt

apport information

Revision history for this message
Lukasz Olszewski (olszewskil) wrote : UdevLog.txt

apport information

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "This patch was reported by many as fixing this and some other issues (http://code.google.com/p/vaio-f11-linux/)" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

Hey lcpak,

Hi, thanks for reporting this issue during the development period of
Ubuntu.

I notice there's not been further comments to the bug report since the
release came out, would you mind updating us on the status of it in the
release?

Are you still able to reproduce the issue? If not, do you think the bug
report can be closed, or do you think we should continue tracking it?

Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Lukasz Olszewski (olszewskil) wrote :

Yes, this is still an issue for me.

Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Lukasz Olszewski (olszewskil) wrote :

I've decided to mark it confirmed again in linux (ubuntu) so I don't have to issue a new raport as all my findings are still up to date. Brightness control still doesn't work and there was no action on making the patch I proposed part of either the linux nor ubuntu kernel.

Changed in linux (Ubuntu):
status: Fix Released → Confirmed
Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Confirmed
tags: added: precise
Timo Aaltonen (tjaalton)
no longer affects: xorg-server (Ubuntu)
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Lukasz

Has there been any progress on your patch upstream?

Bryce Harrington (bryce)
Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Brad Figg (brad-figg) wrote :

Given the magnitude of the attached patch and the possibility of regressions we prefer to take this patch (or another patch that addresses this issue) via the stable upstream process. Please work with the upstream developers to get your patch accepted.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kt-worked
Revision history for this message
Bryce Harrington (bryce) wrote :

The attached patch was a roll-up patch of patches that are broken out here:

  http://<email address hidden>/msg01965.html
  http://www.absence.it/vaio-acpi/source/patches/patchset/

The author started updating this set of patches, the first chunk of which are here:

  http://<email address hidden>/msg02399.html
  http://www.absence.it/vaio-acpi/source/patches/patchset-v2/

Unfortunately, it doesn't look like this update includes the brightness fixes. I didn't find if he completed the second half of the patches, but looks like perhaps not.

I think the next logical step would be to contact Marco Chiappero to see if he still has plans for this work.

Revision history for this message
Bryce Harrington (bryce) wrote :

As it appears this is an issue particular to the Vaio's ACPI support in the kernel, rather than a problem with the video driver itself, I'll close out the -nvidia task.

Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → Invalid
Bryce Harrington (bryce)
tags: added: kernel-handoff-graphics
Changed in linux:
status: Incomplete → Invalid
To post a comment you must log in.