PDA

View Full Version : Samsung X420 display brightness control not supported (Fedora 12)


jasonbenedict
19th December 2009, 09:42 AM
Hi,
Had purchased a new laptop Samsung X420. Some how Fedora 12 cannot work for the display brightness control. The Fn+Up or Fn+Down are the keys for control brightness Up or Down, but Fedora 12 can't work it.

Strange behavior, when on power, the display stay 100% brightness but on batt, the dispaly when all the way to dim (est. 45% -50% brightness).

I had search in forum for "brightness" but no help, also tried the following:-

1. setpci -s 00:02.1 F4.B=40, no help.
2. tried nomodeset, no hlep.

My lspci show:-

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Int
egrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device c060
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at fa000000 (64-bit, non-prefetchable)
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 1800 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Samsung Electronics Co Ltd Device c060
Flags: bus master, fast devsel, latency 0
Memory at fa400000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>

And dmesg grep pci:-
ACPI: bus type pci registered
pci 0000:00:02.0: reg 10 64bit mmio: [0xfa000000-0xfa3fffff]
pci 0000:00:02.0: reg 18 64bit mmio: [0xd0000000-0xdfffffff]
pci 0000:00:02.0: reg 20 io port: [0x1800-0x1807]
pci 0000:00:02.1: reg 10 64bit mmio: [0xfa400000-0xfa4fffff]
pci 0000:00:1a.0: reg 20 io port: [0x1820-0x183f]
pci 0000:00:1a.1: reg 20 io port: [0x1840-0x185f]
pci 0000:00:1a.2: reg 20 io port: [0x1860-0x187f]
pci 0000:00:1a.7: reg 10 32bit mmio: [0xfa704800-0xfa704bff]
pci 0000:00:1a.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1a.7: PME# disabled
pci 0000:00:1b.0: reg 10 64bit mmio: [0xfa700000-0xfa703fff]
pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1b.0: PME# disabled
pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.0: PME# disabled
pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold
pci 0000:00:1c.3: PME# disabled
pci 0000:00:1d.0: reg 20 io port: [0x1880-0x189f]
pci 0000:00:1d.1: reg 20 io port: [0x18a0-0x18bf]
pci 0000:00:1d.2: reg 20 io port: [0x18c0-0x18df]
pci 0000:00:1d.7: reg 10 32bit mmio: [0xfa704c00-0xfa704fff]
pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold
pci 0000:00:1d.7: PME# disabled
pci 0000:00:1f.2: reg 10 io port: [0x1818-0x181f]
pci 0000:00:1f.2: reg 14 io port: [0x180c-0x180f]
pci 0000:00:1f.2: reg 18 io port: [0x1810-0x1817]
pci 0000:00:1f.2: reg 1c io port: [0x1808-0x180b]
pci 0000:00:1f.2: reg 20 io port: [0x18e0-0x18ff]
pci 0000:00:1f.2: reg 24 32bit mmio: [0xfa704000-0xfa7047ff]
pci 0000:00:1f.2: PME# supported from D3hot
pci 0000:00:1f.2: PME# disabled
pci 0000:00:1f.3: reg 10 64bit mmio: [0x000000-0x0000ff]
pci 0000:00:1f.3: reg 20 io port: [0x1c00-0x1c1f]
pci 0000:02:00.0: reg 10 64bit mmio: [0xf6000000-0xf600ffff]
pci 0000:02:00.0: supports D1
pci 0000:02:00.0: PME# supported from D0 D1 D3hot
pci 0000:02:00.0: PME# disabled
pci 0000:00:1c.0: bridge io port: [0x2000-0x2fff]
pci 0000:00:1c.0: bridge 32bit mmio: [0xf6000000-0xf7ffffff]
pci 0000:00:1c.0: bridge 64bit mmio pref: [0xf0000000-0xf1ffffff]
pci 0000:04:00.0: reg 10 io port: [0x3000-0x30ff]
pci 0000:04:00.0: reg 18 64bit mmio: [0xf4000000-0xf4000fff]
pci 0000:04:00.0: reg 20 64bit mmio: [0xf2000000-0xf200ffff]
pci 0000:04:00.0: reg 30 32bit mmio: [0x000000-0x01ffff]
pci 0000:04:00.0: supports D1 D2
pci 0000:04:00.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:04:00.0: PME# disabled
pci 0000:00:1c.3: bridge io port: [0x3000-0x3fff]
pci 0000:00:1c.3: bridge 32bit mmio: [0xf8000000-0xf9ffffff]
pci 0000:00:1c.3: bridge 64bit mmio pref: [0xf2000000-0xf5ffffff]
pci 0000:00:1e.0: transparent bridge
PCI: pci_cache_line_size set to 64 bytes
pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02
pci 0000:00:1c.0: IO window: 0x2000-0x2fff
pci 0000:00:1c.0: MEM window: 0xf6000000-0xf7ffffff
pci 0000:00:1c.0: PREFETCH window: 0x000000f0000000-0x000000f1ffffff
pci 0000:00:1c.3: PCI bridge, secondary bus 0000:04
pci 0000:00:1c.3: IO window: 0x3000-0x3fff
pci 0000:00:1c.3: MEM window: 0xf8000000-0xf9ffffff
pci 0000:00:1c.3: PREFETCH window: 0x000000f2000000-0x000000f5ffffff
pci 0000:00:1e.0: PCI bridge, secondary bus 0000:06
pci 0000:00:1e.0: IO window: disabled
pci 0000:00:1e.0: MEM window: disabled
pci 0000:00:1e.0: PREFETCH window: disabled
pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
pci 0000:00:1c.0: setting latency timer to 64
pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19
pci 0000:00:1c.3: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
pci_bus 0000:00: resource 0 io: [0x00-0xffff]
pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffffffffffff]
pci_bus 0000:02: resource 0 io: [0x2000-0x2fff]
pci_bus 0000:02: resource 1 mem: [0xf6000000-0xf7ffffff]
pci_bus 0000:02: resource 2 pref mem [0xf0000000-0xf1ffffff]
pci_bus 0000:04: resource 0 io: [0x3000-0x3fff]
pci_bus 0000:04: resource 1 mem: [0xf8000000-0xf9ffffff]
pci_bus 0000:04: resource 2 pref mem [0xf2000000-0xf5ffffff]
pci_bus 0000:06: resource 3 io: [0x00-0xffff]
pci_bus 0000:06: resource 4 mem: [0x000000-0xffffffffffffffff]
pci 0000:00:02.0: Boot video device
pcieport-driver 0000:00:1c.0: irq 24 for MSI/MSI-X
pcieport-driver 0000:00:1c.0: setting latency timer to 64
pcieport-driver 0000:00:1c.3: irq 25 for MSI/MSI-X
pcieport-driver 0000:00:1c.3: setting latency timer to 64
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.4
input: Logitech Optical USB Mouse as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/input/input7
input: WebCam SCB-0340N as /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/input/input9
ALSA sound/pci/hda/hda_codec.c:3862: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3866: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3870: hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
ALSA sound/pci/hda/hda_codec.c:3871: mono: mono_out=0x0
ALSA sound/pci/hda/hda_codec.c:3882: inputs: mic=0x18, fmic=0x19, line=0x0, fline=0x0, cd=0x0, aux=0x0
ALSA sound/pci/hda/patch_realtek.c:1181: realtek: No valid SSID, checking pincfg 0x40038205 for NID 0x1d
ALSA sound/pci/hda/patch_realtek.c:1197: realtek: Enabling init ASM_ID=0x8205 CODEC_ID=10ec0269
input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input10

lshal -m do not capture any input too. So the Fn + Up/Down keys can't work.

Your help is very much appreciated, thanks.

[SIZE=1]---------- Post added at 01:42 AM CST ---------- Previous post was at 12:17 AM CST ----------

more finding.

lshal for laptop_panel

udi = '/org/freedesktop/Hal/devices/computer_backlight'
info.addons = {'hald-addon-generic-backlight'} (string list)
info.capabilities = {'laptop_panel'} (string list)
info.category = 'laptop_panel' (string)
info.interfaces = {'org.freedesktop.Hal.Device.LaptopPanel'} (string list)
info.parent = '/org/freedesktop/Hal/devices/computer' (string)
info.product = 'Generic Backlight Device' (string)
info.subsystem = 'backlight' (string)
info.udi = '/org/freedesktop/Hal/devices/computer_backlight' (string)
laptop_panel.access_method = 'general' (string)
laptop_panel.brightness_in_hardware = false (bool)
laptop_panel.num_levels = 8 (0x8) (int)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'backlight' (string)
linux.sysfs_path = '/sys/devices/virtual/backlight/acpi_video0' (string)

hope to have solution ...

aleksandr
1st February 2010, 08:21 PM
....
I had search in forum for "brightness" but no help, also tried the following:-

1. setpci -s 00:02.1 F4.B=40, no help.
2. tried nomodeset, no hlep.

My lspci show:-

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Int
egrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
Subsystem: Samsung Electronics Co Ltd Device c060
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at fa000000 (64-bit, non-prefetchable) [size=4M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 1800 [size=8]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Subsystem: Samsung Electronics Co Ltd Device c060
Flags: bus master, fast devsel, latency 0
Memory at fa400000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>

hope to have solution ...

try to use:

setpci -s 00:02.0 F4.B=40

On my Samsung X418 workv:).

jasonbenedict
2nd February 2010, 02:25 AM
thanks, setpci -s 00:02.0 F4.B=40 do work for me too. I uses "00:02.1" (Display) instead of "00:02.0" (VGA) which do not work, should have go for setpci on "00:02.0" id :rolleyes::)

Hope to have gnome brightness controller work, if not working with the "Fn+Up" Key or "Fn+Down" key

do you anyway know what is this Display controller for:-

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

marko90
2nd February 2010, 10:05 AM
Hi,
I've recently found a brightness setup in the screensaver control window. Besides, there is a brightness control applet for the gnome panel (don't know where it came from).

BR.

jasonbenedict
2nd February 2010, 12:59 PM
Hi,
I've recently found a brightness setup in the screensaver control window. Besides, there is a brightness control applet for the gnome panel (don't know where it came from).

BR.

for my samsung X420, these powermager brightness control(found in the screensaver control) doesn't work for me. And it goes with the gnome panel brightness applet too. :eek:

Khabarovsk Vtoroy - Joao Pessoa Instagram Photos - Cancun Photos -