sony-vaio-z-series team mailing list archive
-
sony-vaio-z-series team
-
Mailing list archive
-
Message #02571
Re: Insufficient brightness levels with custom sony-laptop module :-(
Hi Michael,
Thanks for the additional info!
My kernel is configured as follows:
*grep BACKLIGHT /usr/src/linux/.config*
# CONFIG_FB_BACKLIGHT is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=m
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_PROGEAR is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
*find /sys | grep backlight*
/sys/devices/platform/sony-laptop/kbd_backlight
/sys/devices/platform/sony-laptop/kbd_backlight_timeout
/sys/devices/platform/sony-laptop/als_backlight_levels
/sys/devices/platform/sony-laptop/als_backlight
/sys/devices/pci0000:00/0000:00:02.0/backlight
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/uevent
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/subsystem
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/device
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/bl_power
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/actual_brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/max_brightness
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/type
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/async
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/runtime_status
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/runtime_usage
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/runtime_active_kids
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/runtime_enabled
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/control
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/runtime_suspended_time
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/runtime_active_time
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/power/autosuspend_delay_ms
/sys/class/backlight
/sys/class/backlight/acpi_video0
/sys/module/backlight
/sys/module/backlight/holders
/sys/module/backlight/holders/video
/sys/module/backlight/holders/sony_laptop
/sys/module/backlight/initstate
/sys/module/backlight/uevent
/sys/module/backlight/refcnt
/sys/module/video/parameters/use_bios_initial_backlight
/sys/module/sony_laptop/parameters/kbd_backlight_timeout
/sys/module/sony_laptop/parameters/kbd_backlight
*cat /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/type
*firmware
*cat
/sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/max_brightness
*8
I haven't looked hard (yet) but right now I don't understand why I don't
have this "intel_backlight" class.
*grep I915 /usr/src/linux/.config*
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y
*lsmod | grep i915
*i915 310048 7
drm_kms_helper 22512 1 i915
cfbcopyarea 3056 1 i915
cfbimgblt 1968 1 i915
cfbfillrect 3312 1 i915
intel_agp 9556 1 i915
intel_gtt 12664 3 i915,intel_agp
video 9604 1 i915
button 3528 1 i915
So yes, the i915 module is indeed loaded... any thoughts?
Best regards,
Joël
On Tue, Feb 14, 2012 at 8:07 PM, Michael Zugelder <michael@xxxxxxxxxxxx>wrote:
> On Di, 2012-02-14 at 19:33 +0100, Joël Bourquard wrote:
> > Hi Michael,
> >
> > Thanks for the hint. Indeed I was booting with "acpi_backlight=vendor".
> I
> > removed it and now I get brightness levels 0-8 in KDE (instead of the
> 0-4)
> > which matches userspace. It's still quite bad, but it's an improvement
> > already.
> >
> > Now, I'm always running in Stamina mode - so I'll try to add the
> > intel_backlight module and see what happens...
>
> Hi Joël,
>
> do you only have the acpi_video0 switches? Grepping the kernel source
> makes me think intel_backlight should always be available when using the
> i915 module.
>
> > Since removing the acpi_backlight parameter changed the KDE behavior,
> maybe
> > I should try to re-introduce the parameter, but with a different value in
> > order to (hopefully) force it to use the Intel backlight values? Or is
> it
> > impossible to do?
>
> The documentation to the switch reads:
> acpi_backlight= [HW,ACPI]
> acpi_backlight=vendor
> acpi_backlight=video
> If set to vendor, prefer vendor specific driver
> (e.g. thinkpad_acpi, sony_acpi, etc.) instead
> of the ACPI video.ko driver.
>
> So it seems you have already tried all possibilities.
>
>
> Michael
>
>
References