You are not logged in.

#1 2014-04-27 21:41:27

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Automatic backlight change when AC (dis)connect

Hello,

I use KDE, after using the kernel command line video.use_native_backlight=1 screen brightness control using KDE means works.
The settings for a specific brightness on battery and AC mode are both disabled in the KDE power settings.

Still, when I plug or unplug the AC power cable the screen brightness is set a some specific value. I'm sure I've not configures another power management daemon, neither any rules in /etc/udev. What could cause the backlight change? Can I disable it?

Machine is a recent Lenovo Thinkpad T440s with Intel graphics.

Thx!

Offline

#2 2014-04-28 08:44:42

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Automatic backlight change when AC (dis)connect

Maybe it's the BIOS instructing the VGA to do that. Could you post /var/log/Xorg.0.log ?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-04-28 17:02:27

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Re: Automatic backlight change when AC (dis)connect

Just checked again, nothing in the BIOS settings. And absolutely nothing on Xorg.0.log when I plug in/out

Thanks!


Complete Xorg log:

[     9.206] 
X.Org X Server 1.15.1
Release Date: 2014-04-13
[     9.206] X Protocol Version 11, Revision 0
[     9.206] Build Operating System: Linux 3.14.0-4-ARCH x86_64 
[     9.206] Current Operating System: Linux asaru 3.14.1-1-ARCH #1 SMP PREEMPT Mon Apr 14 20:40:47 CEST 2014 x86_64
[     9.206] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/cryptroot rw cryptdevice=/dev/sda3:cryptroot:allow-discards video.use_native_backlight=1
[     9.206] Build Date: 14 April 2014  08:39:09AM
[     9.206]  
[     9.206] Current version of pixman: 0.32.4
[     9.206] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     9.206] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.207] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 28 18:57:06 2014
[     9.208] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     9.208] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.209] (==) No Layout section.  Using the first Screen section.
[     9.209] (==) No screen section available. Using defaults.
[     9.209] (**) |-->Screen "Default Screen Section" (0)
[     9.209] (**) |   |-->Monitor "<default monitor>"
[     9.209] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     9.209] (==) Automatically adding devices
[     9.209] (==) Automatically enabling devices
[     9.209] (==) Automatically adding GPU devices
[     9.211] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[     9.211] 	Entry deleted from font path.
[     9.211] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[     9.211] 	Entry deleted from font path.
[     9.212] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[     9.212] 	Entry deleted from font path.
[     9.212] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[     9.212] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[     9.212] 	Entry deleted from font path.
[     9.212] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[     9.212] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[     9.212] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.212] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.212] (II) Loader magic: 0x804c80
[     9.212] (II) Module ABI versions:
[     9.212] 	X.Org ANSI C Emulation: 0.4
[     9.212] 	X.Org Video Driver: 15.0
[     9.212] 	X.Org XInput driver : 20.0
[     9.212] 	X.Org Server Extension : 8.0
[     9.212] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.215] (--) PCI:*(0:0:2:0) 8086:0a16:17aa:220c rev 11, Mem @ 0xf0000000/4194304, 0xe0000000/268435456, I/O @ 0x00003000/64
[     9.215] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     9.215] Initializing built-in extension Generic Event Extension
[     9.215] Initializing built-in extension SHAPE
[     9.215] Initializing built-in extension MIT-SHM
[     9.215] Initializing built-in extension XInputExtension
[     9.215] Initializing built-in extension XTEST
[     9.215] Initializing built-in extension BIG-REQUESTS
[     9.215] Initializing built-in extension SYNC
[     9.215] Initializing built-in extension XKEYBOARD
[     9.215] Initializing built-in extension XC-MISC
[     9.215] Initializing built-in extension SECURITY
[     9.215] Initializing built-in extension XINERAMA
[     9.215] Initializing built-in extension XFIXES
[     9.215] Initializing built-in extension RENDER
[     9.215] Initializing built-in extension RANDR
[     9.215] Initializing built-in extension COMPOSITE
[     9.215] Initializing built-in extension DAMAGE
[     9.215] Initializing built-in extension MIT-SCREEN-SAVER
[     9.215] Initializing built-in extension DOUBLE-BUFFER
[     9.215] Initializing built-in extension RECORD
[     9.215] Initializing built-in extension DPMS
[     9.215] Initializing built-in extension Present
[     9.215] Initializing built-in extension DRI3
[     9.215] Initializing built-in extension X-Resource
[     9.215] Initializing built-in extension XVideo
[     9.215] Initializing built-in extension XVideo-MotionCompensation
[     9.215] Initializing built-in extension XFree86-VidModeExtension
[     9.215] Initializing built-in extension XFree86-DGA
[     9.216] Initializing built-in extension XFree86-DRI
[     9.216] Initializing built-in extension DRI2
[     9.216] (II) "glx" will be loaded by default.
[     9.216] (II) LoadModule: "dri2"
[     9.216] (II) Module "dri2" already built-in
[     9.216] (II) LoadModule: "glamoregl"
[     9.218] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     9.237] (II) Module glamoregl: vendor="X.Org Foundation"
[     9.237] 	compiled for 1.15.0, module version = 0.6.0
[     9.237] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     9.237] (II) LoadModule: "glx"
[     9.238] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.240] (II) Module glx: vendor="X.Org Foundation"
[     9.240] 	compiled for 1.15.1, module version = 1.0.0
[     9.240] 	ABI class: X.Org Server Extension, version 8.0
[     9.240] (==) AIGLX enabled
[     9.240] Loading extension GLX
[     9.240] (==) Matched intel as autoconfigured driver 0
[     9.240] (==) Matched intel as autoconfigured driver 1
[     9.240] (==) Matched modesetting as autoconfigured driver 2
[     9.240] (==) Matched fbdev as autoconfigured driver 3
[     9.240] (==) Matched vesa as autoconfigured driver 4
[     9.240] (==) Assigned the driver to the xf86ConfigLayout
[     9.240] (II) LoadModule: "intel"
[     9.240] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     9.248] (II) Module intel: vendor="X.Org Foundation"
[     9.248] 	compiled for 1.15.0, module version = 2.99.911
[     9.248] 	Module class: X.Org Video Driver
[     9.248] 	ABI class: X.Org Video Driver, version 15.0
[     9.248] (II) LoadModule: "modesetting"
[     9.248] (WW) Warning, couldn't open module modesetting
[     9.248] (II) UnloadModule: "modesetting"
[     9.248] (II) Unloading modesetting
[     9.248] (EE) Failed to load module "modesetting" (module does not exist, 0)
[     9.248] (II) LoadModule: "fbdev"
[     9.248] (WW) Warning, couldn't open module fbdev
[     9.248] (II) UnloadModule: "fbdev"
[     9.248] (II) Unloading fbdev
[     9.248] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     9.248] (II) LoadModule: "vesa"
[     9.248] (WW) Warning, couldn't open module vesa
[     9.248] (II) UnloadModule: "vesa"
[     9.248] (II) Unloading vesa
[     9.248] (EE) Failed to load module "vesa" (module does not exist, 0)
[     9.248] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     9.249] (II) intel: Driver for Intel(R) HD Graphics: 2000-5000
[     9.249] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100
[     9.249] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200
[     9.249] (++) using VT number 7

[     9.260] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400
[     9.260] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[     9.260] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     9.260] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[     9.260] (==) intel(0): RGB weight 888
[     9.260] (==) intel(0): Default visual is TrueColor
[     9.260] (**) intel(0): Framebuffer tiled
[     9.260] (**) intel(0): Pixmaps tiled
[     9.260] (**) intel(0): "Tear free" disabled
[     9.260] (**) intel(0): Forcing per-crtc-pixmaps? no
[     9.260] (II) intel(0): Output eDP1 has no monitor section
[     9.260] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[     9.260] (II) intel(0): Output DP1 has no monitor section
[     9.260] (II) intel(0): Output HDMI1 has no monitor section
[     9.260] (II) intel(0): Output DP2 has no monitor section
[     9.260] (II) intel(0): Output HDMI2 has no monitor section
[     9.260] (II) intel(0): Output VIRTUAL1 has no monitor section
[     9.260] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[     9.260] (==) intel(0): DPI set to (96, 96)
[     9.260] (II) Loading sub module "dri2"
[     9.260] (II) LoadModule: "dri2"
[     9.260] (II) Module "dri2" already built-in
[     9.260] (==) Depth 24 pixmap format is 32 bpp
[     9.261] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[     9.261] (==) intel(0): Backing store enabled
[     9.261] (==) intel(0): Silken mouse enabled
[     9.261] (II) intel(0): HW Cursor enabled
[     9.261] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[     9.261] (==) intel(0): DPMS enabled
[     9.261] (II) intel(0): [DRI2] Setup complete
[     9.261] (II) intel(0): [DRI2]   DRI driver: i965
[     9.261] (II) intel(0): [DRI2]   VDPAU driver: i965
[     9.261] (II) intel(0): direct rendering: DRI2 Enabled
[     9.261] (==) intel(0): hotplug detection: "enabled"
[     9.261] (--) RandR disabled
[     9.282] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[     9.282] (II) AIGLX: enabled GLX_ARB_create_context
[     9.282] (II) AIGLX: enabled GLX_ARB_create_context_profile
[     9.282] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[     9.282] (II) AIGLX: enabled GLX_INTEL_swap_event
[     9.282] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[     9.282] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[     9.282] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[     9.282] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[     9.282] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[     9.282] (II) AIGLX: Loaded and initialized i965
[     9.282] (II) GLX: Initialized DRI2 GL provider for screen 0
[     9.285] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[     9.300] (II) intel(0): Setting screen physical size to 508 x 285
[     9.351] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[     9.351] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[     9.351] (II) LoadModule: "evdev"
[     9.351] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[     9.352] (II) Module evdev: vendor="X.Org Foundation"
[     9.352] 	compiled for 1.15.0, module version = 2.8.2
[     9.352] 	Module class: X.Org XInput Driver
[     9.352] 	ABI class: X.Org XInput driver, version 20.0
[     9.352] (II) Using input driver 'evdev' for 'Power Button'
[     9.352] (**) Power Button: always reports core events
[     9.352] (**) evdev: Power Button: Device: "/dev/input/event3"
[     9.352] (--) evdev: Power Button: Vendor 0 Product 0x1
[     9.352] (--) evdev: Power Button: Found keys
[     9.352] (II) evdev: Power Button: Configuring as keyboard
[     9.352] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event3"
[     9.352] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     9.352] (**) Option "xkb_rules" "evdev"
[     9.352] (**) Option "xkb_model" "pc104"
[     9.352] (**) Option "xkb_layout" "us"
[     9.395] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[     9.395] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[     9.395] (II) Using input driver 'evdev' for 'Video Bus'
[     9.395] (**) Video Bus: always reports core events
[     9.395] (**) evdev: Video Bus: Device: "/dev/input/event11"
[     9.395] (--) evdev: Video Bus: Vendor 0 Product 0x6
[     9.395] (--) evdev: Video Bus: Found keys
[     9.395] (II) evdev: Video Bus: Configuring as keyboard
[     9.395] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input14/event11"
[     9.395] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     9.395] (**) Option "xkb_rules" "evdev"
[     9.395] (**) Option "xkb_model" "pc104"
[     9.395] (**) Option "xkb_layout" "us"
[     9.396] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[     9.396] (II) No input driver specified, ignoring this device.
[     9.396] (II) This device may have been added with another device file.
[     9.396] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[     9.396] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[     9.396] (II) Using input driver 'evdev' for 'Sleep Button'
[     9.396] (**) Sleep Button: always reports core events
[     9.396] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[     9.396] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[     9.396] (--) evdev: Sleep Button: Found keys
[     9.396] (II) evdev: Sleep Button: Configuring as keyboard
[     9.396] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input4/event2"
[     9.396] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[     9.396] (**) Option "xkb_rules" "evdev"
[     9.396] (**) Option "xkb_model" "pc104"
[     9.396] (**) Option "xkb_layout" "us"
[     9.397] (II) config/udev: Adding drm device (/dev/dri/card0)
[     9.397] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event14)
[     9.397] (II) No input driver specified, ignoring this device.
[     9.397] (II) This device may have been added with another device file.
[     9.397] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event13)
[     9.397] (II) No input driver specified, ignoring this device.
[     9.397] (II) This device may have been added with another device file.
[     9.398] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event12)
[     9.398] (II) No input driver specified, ignoring this device.
[     9.398] (II) This device may have been added with another device file.
[     9.398] (II) config/udev: Adding input device Integrated Camera (/dev/input/event4)
[     9.398] (**) Integrated Camera: Applying InputClass "evdev keyboard catchall"
[     9.398] (II) Using input driver 'evdev' for 'Integrated Camera'
[     9.398] (**) Integrated Camera: always reports core events
[     9.398] (**) evdev: Integrated Camera: Device: "/dev/input/event4"
[     9.398] (--) evdev: Integrated Camera: Vendor 0x4ca Product 0x7035
[     9.398] (--) evdev: Integrated Camera: Found keys
[     9.398] (II) evdev: Integrated Camera: Configuring as keyboard
[     9.398] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input7/event4"
[     9.398] (II) XINPUT: Adding extended input device "Integrated Camera" (type: KEYBOARD, id 9)
[     9.398] (**) Option "xkb_rules" "evdev"
[     9.398] (**) Option "xkb_model" "pc104"
[     9.398] (**) Option "xkb_layout" "us"
[     9.399] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[     9.399] (II) No input driver specified, ignoring this device.
[     9.399] (II) This device may have been added with another device file.
[     9.399] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event9)
[     9.399] (II) No input driver specified, ignoring this device.
[     9.399] (II) This device may have been added with another device file.
[     9.399] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event8)
[     9.399] (II) No input driver specified, ignoring this device.
[     9.399] (II) This device may have been added with another device file.
[     9.400] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[     9.400] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[     9.400] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[     9.400] (**) AT Translated Set 2 keyboard: always reports core events
[     9.400] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[     9.400] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[     9.400] (--) evdev: AT Translated Set 2 keyboard: Found keys
[     9.400] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[     9.400] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[     9.400] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[     9.400] (**) Option "xkb_rules" "evdev"
[     9.400] (**) Option "xkb_model" "pc104"
[     9.400] (**) Option "xkb_layout" "us"
[     9.401] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event10)
[     9.401] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[     9.401] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[     9.401] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[     9.401] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad"
[     9.401] (II) LoadModule: "synaptics"
[     9.401] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[     9.402] (II) Module synaptics: vendor="X.Org Foundation"
[     9.402] 	compiled for 1.15.0, module version = 1.7.4
[     9.402] 	Module class: X.Org XInput Driver
[     9.402] 	ABI class: X.Org XInput driver, version 20.0
[     9.402] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[     9.402] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     9.402] (**) Option "Device" "/dev/input/event10"
[     9.511] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[     9.511] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1024 - 5112 (res 0)
[     9.511] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 2024 - 4832 (res 0)
[     9.511] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[     9.511] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[     9.511] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[     9.511] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[     9.511] (**) Option "TapButton1" "0"
[     9.511] (**) Option "TapButton2" "0"
[     9.512] (**) Option "TapButton3" "0"
[     9.512] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[     9.512] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[     9.512] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     9.596] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input9/event10"
[     9.596] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[     9.597] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[     9.597] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[     9.597] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[     9.597] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[     9.597] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[     9.597] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[     9.597] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[     9.597] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[     9.598] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[     9.598] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[     9.598] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[     9.598] (II) No input driver specified, ignoring this device.
[     9.598] (II) This device may have been added with another device file.
[     9.599] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event6)
[     9.599] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[     9.599] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[     9.599] (**) ThinkPad Extra Buttons: always reports core events
[     9.599] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event6"
[     9.599] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[     9.599] (--) evdev: ThinkPad Extra Buttons: Found keys
[     9.599] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[     9.599] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input6/event6"
[     9.599] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)
[     9.599] (**) Option "xkb_rules" "evdev"
[     9.599] (**) Option "xkb_model" "pc104"
[     9.599] (**) Option "xkb_layout" "us"
[    10.167] (II) intel(0): EDID vendor "LGD", prod id 1034
[    10.167] (II) intel(0): Printing DDC gathered Modelines:
[    10.167] (II) intel(0): Modeline "1920x1080"x0.0  140.10  1920 1980 2016 2092  1080 1083 1088 1116 +hsync -vsync (67.0 kHz eP)
[    12.336] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event15)
[    12.336] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    12.336] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[    12.336] (**) TPPS/2 IBM TrackPoint: always reports core events
[    12.336] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event15"
[    12.336] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[    12.336] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[    12.336] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[    12.336] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[    12.336] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[    12.337] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[    12.337] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    12.337] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input13/event15"
[    12.337] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 13)
[    12.337] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[    12.337] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[    12.337] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[    12.337] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    12.337] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    12.337] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    12.337] (II) No input driver specified, ignoring this device.
[    12.337] (II) This device may have been added with another device file.

Offline

#4 2014-08-18 11:29:57

lainrem
Member
Registered: 2014-08-18
Posts: 2

Re: Automatic backlight change when AC (dis)connect

Hey, I've got the same problem on ASUS EeePC laptop with intel videochip.

I'm using i3 wm & slim login screen, so there's no link to DEs.

When I plug in or out the AC cable my backlight changes to a certain value which is one of previously set backlight levels.
Any clues? Kernel? Systemd?

Offline

#5 2014-08-22 18:46:53

lainrem
Member
Registered: 2014-08-18
Posts: 2

Re: Automatic backlight change when AC (dis)connect

Found a solution:
[in my case] brightness is being changed on ACPI event by video subsystem, so the solution is to disable brightness change on acpi event:

# echo "0" > /sys/module/video/parameters/brightness_switch_enabled

Or, permanent:
add "acpi.brightness_switch_enabled=0" to kernel arguments (I didn't check it yet, but I'm 99% sure it will work on arch too)

[ src: https://wiki.ubuntu.com/Kernel/Debuggin … djustments ]

Offline

Board footer

Powered by FluxBB