You are not logged in.

#1 2020-02-21 06:44:35

minecraft2048
Member
Registered: 2017-06-22
Posts: 5

[SOLVED] How do I make script to enable my laptop display at boot?

Background

I run KDE desktop environment with LightDM display manager, and I recently replaced my laptop LCD screen as there are several vertical lines on the left part of the screen. However, for some reason my laptop can't autodetect the new LCD screen, as the BIOS POST screen doesn't appear, I suspect that the hot plug detection doesn't work because the internal display cable looks dodgy, so I bought a replacement display cable.

Problem

As the laptop cannot autodetect the LCD screen, when I boot it, there is nothing displayed in the screen. However, if I switch to any ttys, it works normally, or if I connect to an external monitor, login then go to Display Configuration, enable the Laptop Screen device, and spam the brightness key. After I did that, it still works after suspend and external monitor is disconnected, which is the current way I try to work around this problem.

What I've tried

I try to go to tty and use DISPLAY=:0 xrandr, but I got the mit-magic-cookie-1 did not match error. Then, I tried to add

Section "Monitor"
        Identifier "eDP1"
        Option "Primary" "true"
EndSection

in /etc/Xorg/xorg.conf.d/10-monitor.conf , but the screen is still blank

Xorg log

/var/log/Xorg.0.log :

[     3.336] 
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[     3.336] Build Operating System: Linux Arch Linux
[     3.336] Current Operating System: Linux konoha 5.5.3-arch1-1 #1 SMP PREEMPT Tue, 11 Feb 2020 15:35:41 +0000 x86_64
[     3.336] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=cc1fbee9-8d7d-48f3-b9bb-cb0672bb2f1b rw pci=noaer acpi_osi=! "acpi_osi=Windows 2009" acpi_backlight=native quiet
[     3.336] Build Date: 14 January 2020  07:13:52AM
[     3.336]  
[     3.336] Current version of pixman: 0.38.4
[     3.336] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     3.337] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     3.337] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 21 17:48:46 2020
[     3.338] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     3.338] (==) No Layout section.  Using the first Screen section.
[     3.338] (==) No screen section available. Using defaults.
[     3.338] (**) |-->Screen "Default Screen Section" (0)
[     3.338] (**) |   |-->Monitor "<default monitor>"
[     3.339] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     3.339] (==) Automatically adding devices
[     3.339] (==) Automatically enabling devices
[     3.339] (==) Automatically adding GPU devices
[     3.339] (==) Automatically binding GPU devices
[     3.339] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     3.340] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     3.340] 	Entry deleted from font path.
[     3.341] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     3.341] 	Entry deleted from font path.
[     3.341] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     3.341] 	Entry deleted from font path.
[     3.341] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     3.341] 	Entry deleted from font path.
[     3.341] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     3.341] 	Entry deleted from font path.
[     3.341] (==) FontPath set to:
	/usr/share/fonts/TTF
[     3.341] (==) ModulePath set to "/usr/lib/xorg/modules"
[     3.341] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     3.341] (II) Module ABI versions:
[     3.341] 	X.Org ANSI C Emulation: 0.4
[     3.341] 	X.Org Video Driver: 24.1
[     3.341] 	X.Org XInput driver : 24.1
[     3.341] 	X.Org Server Extension : 10.0
[     3.342] (++) using VT number 7

[     3.342] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     3.342] (II) xfree86: Adding drm device (/dev/dri/card1)
[     3.343] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     3.344] (--) PCI:*(0@0:2:0) 8086:191b:1462:115a rev 6, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[     3.344] (--) PCI: (1@0:0:0) 10de:139b:1462:115a rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[     3.344] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     3.344] (II) LoadModule: "glx"
[     3.349] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.360] (II) Module glx: vendor="X.Org Foundation"
[     3.360] 	compiled for 1.20.7, module version = 1.0.0
[     3.360] 	ABI class: X.Org Server Extension, version 10.0
[     3.360] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[     3.360] 	loading driver: nvidia
[     3.360] (==) Matched nvidia as autoconfigured driver 0
[     3.360] (==) Matched nouveau as autoconfigured driver 1
[     3.360] (==) Matched nv as autoconfigured driver 2
[     3.360] (==) Matched intel as autoconfigured driver 3
[     3.360] (==) Matched modesetting as autoconfigured driver 4
[     3.360] (==) Matched fbdev as autoconfigured driver 5
[     3.360] (==) Matched vesa as autoconfigured driver 6
[     3.360] (==) Assigned the driver to the xf86ConfigLayout
[     3.360] (II) LoadModule: "nvidia"
[     3.360] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     3.368] (II) Module nvidia: vendor="NVIDIA Corporation"
[     3.368] 	compiled for 1.6.99.901, module version = 1.0.0
[     3.368] 	Module class: X.Org Video Driver
[     3.369] (II) LoadModule: "nouveau"
[     3.371] (WW) Warning, couldn't open module nouveau
[     3.372] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     3.372] (II) LoadModule: "nv"
[     3.372] (WW) Warning, couldn't open module nv
[     3.372] (EE) Failed to load module "nv" (module does not exist, 0)
[     3.372] (II) LoadModule: "intel"
[     3.372] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     3.374] (II) Module intel: vendor="X.Org Foundation"
[     3.374] 	compiled for 1.20.6, module version = 2.99.917
[     3.374] 	Module class: X.Org Video Driver
[     3.374] 	ABI class: X.Org Video Driver, version 24.0
[     3.374] (II) LoadModule: "modesetting"
[     3.374] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     3.377] (II) Module modesetting: vendor="X.Org Foundation"
[     3.377] 	compiled for 1.20.7, module version = 1.20.7
[     3.377] 	Module class: X.Org Video Driver
[     3.377] 	ABI class: X.Org Video Driver, version 24.1
[     3.377] (II) LoadModule: "fbdev"
[     3.378] (WW) Warning, couldn't open module fbdev
[     3.378] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     3.378] (II) LoadModule: "vesa"
[     3.378] (WW) Warning, couldn't open module vesa
[     3.378] (EE) Failed to load module "vesa" (module does not exist, 0)
[     3.378] (II) NVIDIA dlloader X Driver  440.59  Thu Jan 30 01:08:17 UTC 2020
[     3.378] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     3.379] (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
[     3.379] (II) intel: Driver for Intel(R) HD Graphics
[     3.379] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[     3.379] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[     3.379] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     3.923] intel: waited 540 ms for i915.ko driver to load
[     3.924] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20191101
[     3.924] (II) intel(0): SNA compiled from 2.99.917-899-gf66d3954
[     3.925] (WW) Falling back to old probe method for modesetting
[     3.926] (II) Loading sub module "fb"
[     3.926] (II) LoadModule: "fb"
[     3.926] (II) Loading /usr/lib/xorg/modules/libfb.so
[     3.927] (II) Module fb: vendor="X.Org Foundation"
[     3.927] 	compiled for 1.20.7, module version = 1.0.0
[     3.927] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.927] (II) Loading sub module "wfb"
[     3.927] (II) LoadModule: "wfb"
[     3.927] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     3.928] (II) Module wfb: vendor="X.Org Foundation"
[     3.928] 	compiled for 1.20.7, module version = 1.0.0
[     3.928] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     3.929] (II) Loading sub module "ramdac"
[     3.929] (II) LoadModule: "ramdac"
[     3.929] (II) Module "ramdac" already built-in
[     3.930] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 530
[     3.930] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[     3.930] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     3.930] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[     3.930] (==) intel(0): RGB weight 888
[     3.930] (==) intel(0): Default visual is TrueColor
[     3.931] (II) intel(0): Output eDP1 has no monitor section
[     3.972] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[     3.972] (II) intel(0): Enabled output eDP1
[     3.972] (II) intel(0): Output HDMI1 has no monitor section
[     3.972] (II) intel(0): Enabled output HDMI1
[     3.972] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[     3.972] (II) intel(0): Output VIRTUAL1 has no monitor section
[     3.972] (II) intel(0): Enabled output VIRTUAL1
[     3.974] (==) intel(0): TearFree enabled
[     3.974] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[     3.974] (==) intel(0): DPI set to (96, 96)
[     3.974] (II) Loading sub module "dri3"
[     3.974] (II) LoadModule: "dri3"
[     3.974] (II) Module "dri3" already built-in
[     3.974] (II) Loading sub module "dri2"
[     3.974] (II) LoadModule: "dri2"
[     3.974] (II) Module "dri2" already built-in
[     3.974] (II) Loading sub module "present"
[     3.974] (II) LoadModule: "present"
[     3.974] (II) Module "present" already built-in
[     3.974] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[     3.974] (==) NVIDIA(G0): RGB weight 888
[     3.974] (==) NVIDIA(G0): Default visual is TrueColor
[     3.974] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[     3.975] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[     3.975] (**) NVIDIA(G0): Option "AllowEmptyInitialConfiguration"
[     3.975] (**) NVIDIA(G0): Enabling 2D acceleration
[     3.975] (EE) NVIDIA(G0): GPU screens are not yet supported by the NVIDIA driver
[     3.975] (EE) NVIDIA(G0): Failing initialization of X screen
[     3.975] (II) UnloadModule: "nvidia"
[     3.975] (II) UnloadSubModule: "wfb"
[     3.975] (II) UnloadSubModule: "fb"
[     3.975] (II) UnloadModule: "modesetting"
[     3.975] (II) Unloading modesetting
[     3.977] (II) intel(0): SNA initialized with Skylake (gen9) backend
[     3.977] (==) intel(0): Backing store enabled
[     3.977] (==) intel(0): Silken mouse disabled
[     3.977] (II) intel(0): HW Cursor enabled
[     3.977] (==) intel(0): DPMS enabled
[     3.978] (==) intel(0): Display hotplug detection enabled
[     3.978] (II) intel(0): [DRI2] Setup complete
[     3.978] (II) intel(0): [DRI2]   DRI driver: i965
[     3.978] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[     3.978] (II) intel(0): direct rendering: DRI2 DRI3 enabled
[     3.978] (II) intel(0): hardware support for Present enabled
[     3.978] (II) Initializing extension Generic Event Extension
[     3.978] (II) Initializing extension SHAPE
[     3.978] (II) Initializing extension MIT-SHM
[     3.978] (II) Initializing extension XInputExtension
[     3.979] (II) Initializing extension XTEST
[     3.979] (II) Initializing extension BIG-REQUESTS
[     3.979] (II) Initializing extension SYNC
[     3.979] (II) Initializing extension XKEYBOARD
[     3.979] (II) Initializing extension XC-MISC
[     3.979] (II) Initializing extension SECURITY
[     3.979] (II) Initializing extension XFIXES
[     3.979] (II) Initializing extension RENDER
[     3.979] (II) Initializing extension RANDR
[     3.980] (II) Initializing extension COMPOSITE
[     3.980] (II) Initializing extension DAMAGE
[     3.980] (II) Initializing extension MIT-SCREEN-SAVER
[     3.980] (II) Initializing extension DOUBLE-BUFFER
[     3.980] (II) Initializing extension RECORD
[     3.980] (II) Initializing extension DPMS
[     3.980] (II) Initializing extension Present
[     3.980] (II) Initializing extension DRI3
[     3.980] (II) Initializing extension X-Resource
[     3.980] (II) Initializing extension XVideo
[     3.980] (II) Initializing extension XVideo-MotionCompensation
[     3.980] (II) Initializing extension GLX
[     4.005] (II) AIGLX: Loaded and initialized i965
[     4.005] (II) GLX: Initialized DRI2 GL provider for screen 0
[     4.005] (II) Initializing extension XFree86-VidModeExtension
[     4.006] (II) Initializing extension XFree86-DGA
[     4.006] (II) Initializing extension XFree86-DRI
[     4.006] (II) Initializing extension DRI2
[     4.054] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[     4.054] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     4.054] (II) LoadModule: "libinput"
[     4.054] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     4.057] (II) Module libinput: vendor="X.Org Foundation"
[     4.057] 	compiled for 1.20.5, module version = 0.29.0
[     4.057] 	Module class: X.Org XInput Driver
[     4.057] 	ABI class: X.Org XInput driver, version 24.1
[     4.057] (II) Using input driver 'libinput' for 'Power Button'
[     4.057] (**) Power Button: always reports core events
[     4.057] (**) Option "Device" "/dev/input/event3"
[     4.057] (**) Option "_source" "server/udev"
[     4.061] (II) event3  - Power Button: is tagged by udev as: Keyboard
[     4.062] (II) event3  - Power Button: device is a keyboard
[     4.062] (II) event3  - Power Button: device removed
[     4.085] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[     4.085] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     4.086] (II) event3  - Power Button: is tagged by udev as: Keyboard
[     4.086] (II) event3  - Power Button: device is a keyboard
[     4.087] (II) config/udev: Adding input device Video Bus (/dev/input/event17)
[     4.087] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     4.087] (II) Using input driver 'libinput' for 'Video Bus'
[     4.087] (**) Video Bus: always reports core events
[     4.087] (**) Option "Device" "/dev/input/event17"
[     4.087] (**) Option "_source" "server/udev"
[     4.088] (II) event17 - Video Bus: is tagged by udev as: Keyboard
[     4.088] (II) event17 - Video Bus: device is a keyboard
[     4.088] (II) event17 - Video Bus: device removed
[     4.142] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input18/event17"
[     4.142] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     4.144] (II) event17 - Video Bus: is tagged by udev as: Keyboard
[     4.144] (II) event17 - Video Bus: device is a keyboard
[     4.145] (II) config/udev: Adding input device Video Bus (/dev/input/event18)
[     4.145] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     4.145] (II) Using input driver 'libinput' for 'Video Bus'
[     4.145] (**) Video Bus: always reports core events
[     4.145] (**) Option "Device" "/dev/input/event18"
[     4.145] (**) Option "_source" "server/udev"
[     4.147] (II) event18 - Video Bus: is tagged by udev as: Keyboard
[     4.147] (II) event18 - Video Bus: device is a keyboard
[     4.147] (II) event18 - Video Bus: device removed
[     4.205] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input19/event18"
[     4.205] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[     4.207] (II) event18 - Video Bus: is tagged by udev as: Keyboard
[     4.207] (II) event18 - Video Bus: device is a keyboard
[     4.209] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[     4.209] (II) No input driver specified, ignoring this device.
[     4.209] (II) This device may have been added with another device file.
[     4.209] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[     4.209] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     4.209] (II) Using input driver 'libinput' for 'Power Button'
[     4.209] (**) Power Button: always reports core events
[     4.209] (**) Option "Device" "/dev/input/event2"
[     4.209] (**) Option "_source" "server/udev"
[     4.211] (II) event2  - Power Button: is tagged by udev as: Keyboard
[     4.211] (II) event2  - Power Button: device is a keyboard
[     4.211] (II) event2  - Power Button: device removed
[     4.245] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event2"
[     4.245] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[     4.247] (II) event2  - Power Button: is tagged by udev as: Keyboard
[     4.247] (II) event2  - Power Button: device is a keyboard
[     4.248] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[     4.248] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     4.248] (II) Using input driver 'libinput' for 'Sleep Button'
[     4.248] (**) Sleep Button: always reports core events
[     4.248] (**) Option "Device" "/dev/input/event1"
[     4.248] (**) Option "_source" "server/udev"
[     4.249] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[     4.249] (II) event1  - Sleep Button: device is a keyboard
[     4.250] (II) event1  - Sleep Button: device removed
[     4.299] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[     4.299] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[     4.300] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[     4.301] (II) event1  - Sleep Button: device is a keyboard
[     4.301] (II) config/udev: Adding drm device (/dev/dri/card0)
[     4.301] (II) xfree86: Adding drm device (/dev/dri/card0)
[     4.301] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[     4.302] (II) config/udev: Adding input device Burr-Brown from TI               USB Audio DAC    (/dev/input/event5)
[     4.302] (**) Burr-Brown from TI               USB Audio DAC   : Applying InputClass "libinput keyboard catchall"
[     4.302] (II) Using input driver 'libinput' for 'Burr-Brown from TI               USB Audio DAC   '
[     4.303] (**) Burr-Brown from TI               USB Audio DAC   : always reports core events
[     4.303] (**) Option "Device" "/dev/input/event5"
[     4.303] (**) Option "_source" "server/udev"
[     4.305] (II) event5  - Burr-Brown from TI               USB Audio DAC   : is tagged by udev as: Keyboard
[     4.305] (II) event5  - Burr-Brown from TI               USB Audio DAC   : device is a keyboard
[     4.305] (II) event5  - Burr-Brown from TI               USB Audio DAC   : device removed
[     4.352] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2/0003:08BB:2706.0001/input/input6/event5"
[     4.352] (II) XINPUT: Adding extended input device "Burr-Brown from TI               USB Audio DAC   " (type: KEYBOARD, id 11)
[     4.355] (II) event5  - Burr-Brown from TI               USB Audio DAC   : is tagged by udev as: Keyboard
[     4.355] (II) event5  - Burr-Brown from TI               USB Audio DAC   : device is a keyboard
[     4.356] (II) config/udev: Adding input device XIUDI XD60v2 (/dev/input/event6)
[     4.356] (**) XIUDI XD60v2: Applying InputClass "libinput keyboard catchall"
[     4.356] (II) Using input driver 'libinput' for 'XIUDI XD60v2'
[     4.356] (**) XIUDI XD60v2: always reports core events
[     4.356] (**) Option "Device" "/dev/input/event6"
[     4.356] (**) Option "_source" "server/udev"
[     4.357] (II) event6  - XIUDI XD60v2: is tagged by udev as: Keyboard
[     4.357] (II) event6  - XIUDI XD60v2: device is a keyboard
[     4.357] (II) event6  - XIUDI XD60v2: device removed
[     4.405] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:FEED:6060.0002/input/input7/event6"
[     4.405] (II) XINPUT: Adding extended input device "XIUDI XD60v2" (type: KEYBOARD, id 12)
[     4.408] (II) event6  - XIUDI XD60v2: is tagged by udev as: Keyboard
[     4.408] (II) event6  - XIUDI XD60v2: device is a keyboard
[     4.410] (II) config/udev: Adding input device XIUDI XD60v2 Consumer Control (/dev/input/event9)
[     4.410] (**) XIUDI XD60v2 Consumer Control: Applying InputClass "libinput keyboard catchall"
[     4.410] (II) Using input driver 'libinput' for 'XIUDI XD60v2 Consumer Control'
[     4.410] (**) XIUDI XD60v2 Consumer Control: always reports core events
[     4.410] (**) Option "Device" "/dev/input/event9"
[     4.410] (**) Option "_source" "server/udev"
[     4.411] (II) event9  - XIUDI XD60v2 Consumer Control: is tagged by udev as: Keyboard
[     4.411] (II) event9  - XIUDI XD60v2 Consumer Control: device is a keyboard
[     4.411] (II) event9  - XIUDI XD60v2 Consumer Control: device removed
[     4.445] (II) libinput: XIUDI XD60v2 Consumer Control: needs a virtual subdevice
[     4.445] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:FEED:6060.0003/input/input10/event9"
[     4.445] (II) XINPUT: Adding extended input device "XIUDI XD60v2 Consumer Control" (type: MOUSE, id 13)
[     4.445] (**) Option "AccelerationScheme" "none"
[     4.445] (**) XIUDI XD60v2 Consumer Control: (accel) selected scheme none/0
[     4.446] (**) XIUDI XD60v2 Consumer Control: (accel) acceleration factor: 2.000
[     4.446] (**) XIUDI XD60v2 Consumer Control: (accel) acceleration threshold: 4
[     4.448] (II) event9  - XIUDI XD60v2 Consumer Control: is tagged by udev as: Keyboard
[     4.448] (II) event9  - XIUDI XD60v2 Consumer Control: device is a keyboard
[     4.450] (II) config/udev: Adding input device XIUDI XD60v2 Keyboard (/dev/input/event10)
[     4.450] (**) XIUDI XD60v2 Keyboard: Applying InputClass "libinput keyboard catchall"
[     4.450] (II) Using input driver 'libinput' for 'XIUDI XD60v2 Keyboard'
[     4.450] (**) XIUDI XD60v2 Keyboard: always reports core events
[     4.450] (**) Option "Device" "/dev/input/event10"
[     4.450] (**) Option "_source" "server/udev"
[     4.452] (II) event10 - XIUDI XD60v2 Keyboard: is tagged by udev as: Keyboard
[     4.452] (II) event10 - XIUDI XD60v2 Keyboard: device is a keyboard
[     4.452] (II) event10 - XIUDI XD60v2 Keyboard: device removed
[     4.472] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:FEED:6060.0003/input/input11/event10"
[     4.472] (II) XINPUT: Adding extended input device "XIUDI XD60v2 Keyboard" (type: KEYBOARD, id 14)
[     4.475] (II) event10 - XIUDI XD60v2 Keyboard: is tagged by udev as: Keyboard
[     4.475] (II) event10 - XIUDI XD60v2 Keyboard: device is a keyboard
[     4.476] (II) config/udev: Adding input device XIUDI XD60v2 Mouse (/dev/input/event7)
[     4.476] (**) XIUDI XD60v2 Mouse: Applying InputClass "libinput pointer catchall"
[     4.476] (II) Using input driver 'libinput' for 'XIUDI XD60v2 Mouse'
[     4.476] (**) XIUDI XD60v2 Mouse: always reports core events
[     4.476] (**) Option "Device" "/dev/input/event7"
[     4.476] (**) Option "_source" "server/udev"
[     4.478] (II) event7  - XIUDI XD60v2 Mouse: is tagged by udev as: Mouse
[     4.479] (II) event7  - XIUDI XD60v2 Mouse: device is a pointer
[     4.479] (II) event7  - XIUDI XD60v2 Mouse: device removed
[     4.552] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:FEED:6060.0003/input/input8/event7"
[     4.552] (II) XINPUT: Adding extended input device "XIUDI XD60v2 Mouse" (type: MOUSE, id 15)
[     4.552] (**) Option "AccelerationScheme" "none"
[     4.552] (**) XIUDI XD60v2 Mouse: (accel) selected scheme none/0
[     4.552] (**) XIUDI XD60v2 Mouse: (accel) acceleration factor: 2.000
[     4.552] (**) XIUDI XD60v2 Mouse: (accel) acceleration threshold: 4
[     4.554] (II) event7  - XIUDI XD60v2 Mouse: is tagged by udev as: Mouse
[     4.555] (II) event7  - XIUDI XD60v2 Mouse: device is a pointer
[     4.556] (II) config/udev: Adding input device XIUDI XD60v2 Mouse (/dev/input/mouse0)
[     4.556] (II) No input driver specified, ignoring this device.
[     4.556] (II) This device may have been added with another device file.
[     4.557] (II) config/udev: Adding input device XIUDI XD60v2 System Control (/dev/input/event8)
[     4.557] (**) XIUDI XD60v2 System Control: Applying InputClass "libinput keyboard catchall"
[     4.557] (II) Using input driver 'libinput' for 'XIUDI XD60v2 System Control'
[     4.557] (**) XIUDI XD60v2 System Control: always reports core events
[     4.557] (**) Option "Device" "/dev/input/event8"
[     4.557] (**) Option "_source" "server/udev"
[     4.559] (II) event8  - XIUDI XD60v2 System Control: is tagged by udev as: Keyboard
[     4.560] (II) event8  - XIUDI XD60v2 System Control: device is a keyboard
[     4.560] (II) event8  - XIUDI XD60v2 System Control: device removed
[     4.605] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:FEED:6060.0003/input/input9/event8"
[     4.605] (II) XINPUT: Adding extended input device "XIUDI XD60v2 System Control" (type: KEYBOARD, id 16)
[     4.608] (II) event8  - XIUDI XD60v2 System Control: is tagged by udev as: Keyboard
[     4.608] (II) event8  - XIUDI XD60v2 System Control: device is a keyboard
[     4.610] (II) config/udev: Adding input device Logitech G300s Optical Gaming Mouse (/dev/input/event12)
[     4.610] (**) Logitech G300s Optical Gaming Mouse: Applying InputClass "libinput pointer catchall"
[     4.610] (II) Using input driver 'libinput' for 'Logitech G300s Optical Gaming Mouse'
[     4.610] (**) Logitech G300s Optical Gaming Mouse: always reports core events
[     4.610] (**) Option "Device" "/dev/input/event12"
[     4.610] (**) Option "_source" "server/udev"
[     4.667] (II) event12 - Logitech G300s Optical Gaming Mouse: is tagged by udev as: Mouse
[     4.667] (II) event12 - Logitech G300s Optical Gaming Mouse: device is a pointer
[     4.668] (II) event12 - Logitech G300s Optical Gaming Mouse: device removed
[     4.725] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:046D:C246.0005/input/input14/event12"
[     4.725] (II) XINPUT: Adding extended input device "Logitech G300s Optical Gaming Mouse" (type: MOUSE, id 17)
[     4.725] (**) Option "AccelerationScheme" "none"
[     4.725] (**) Logitech G300s Optical Gaming Mouse: (accel) selected scheme none/0
[     4.725] (**) Logitech G300s Optical Gaming Mouse: (accel) acceleration factor: 2.000
[     4.725] (**) Logitech G300s Optical Gaming Mouse: (accel) acceleration threshold: 4
[     4.784] (II) event12 - Logitech G300s Optical Gaming Mouse: is tagged by udev as: Mouse
[     4.784] (II) event12 - Logitech G300s Optical Gaming Mouse: device is a pointer
[     4.785] (II) config/udev: Adding input device Logitech G300s Optical Gaming Mouse (/dev/input/mouse1)
[     4.785] (II) No input driver specified, ignoring this device.
[     4.785] (II) This device may have been added with another device file.
[     4.786] (II) config/udev: Adding input device Logitech G300s Optical Gaming Mouse Keyboard (/dev/input/event13)
[     4.786] (**) Logitech G300s Optical Gaming Mouse Keyboard: Applying InputClass "libinput keyboard catchall"
[     4.786] (II) Using input driver 'libinput' for 'Logitech G300s Optical Gaming Mouse Keyboard'
[     4.786] (**) Logitech G300s Optical Gaming Mouse Keyboard: always reports core events
[     4.786] (**) Option "Device" "/dev/input/event13"
[     4.786] (**) Option "_source" "server/udev"
[     4.789] (II) event13 - Logitech G300s Optical Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[     4.789] (II) event13 - Logitech G300s Optical Gaming Mouse Keyboard: device is a keyboard
[     4.789] (II) event13 - Logitech G300s Optical Gaming Mouse Keyboard: device removed
[     4.819] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:046D:C246.0006/input/input15/event13"
[     4.819] (II) XINPUT: Adding extended input device "Logitech G300s Optical Gaming Mouse Keyboard" (type: KEYBOARD, id 18)
[     4.821] (II) event13 - Logitech G300s Optical Gaming Mouse Keyboard: is tagged by udev as: Keyboard
[     4.821] (II) event13 - Logitech G300s Optical Gaming Mouse Keyboard: device is a keyboard
[     4.823] (II) config/udev: Adding input device Logitech G300s Optical Gaming Mouse (/dev/input/event14)
[     4.823] (II) No input driver specified, ignoring this device.
[     4.823] (II) This device may have been added with another device file.
[     4.823] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event19)
[     4.823] (II) No input driver specified, ignoring this device.
[     4.823] (II) This device may have been added with another device file.
[     4.823] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event20)
[     4.823] (II) No input driver specified, ignoring this device.
[     4.823] (II) This device may have been added with another device file.
[     4.824] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event21)
[     4.824] (II) No input driver specified, ignoring this device.
[     4.824] (II) This device may have been added with another device file.
[     4.824] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event22)
[     4.824] (II) No input driver specified, ignoring this device.
[     4.824] (II) This device may have been added with another device file.
[     4.824] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event23)
[     4.824] (II) No input driver specified, ignoring this device.
[     4.824] (II) This device may have been added with another device file.
[     4.825] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event24)
[     4.825] (II) No input driver specified, ignoring this device.
[     4.825] (II) This device may have been added with another device file.
[     4.825] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event25)
[     4.825] (II) No input driver specified, ignoring this device.
[     4.825] (II) This device may have been added with another device file.
[     4.825] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[     4.825] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     4.825] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     4.825] (**) AT Translated Set 2 keyboard: always reports core events
[     4.825] (**) Option "Device" "/dev/input/event4"
[     4.825] (**) Option "_source" "server/udev"
[     4.826] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     4.827] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[     4.828] (II) event4  - AT Translated Set 2 keyboard: device removed
[     4.845] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[     4.845] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 19)
[     4.847] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     4.847] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[     4.850] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event16)
[     4.850] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[     4.850] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[     4.850] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     4.850] (**) Option "Device" "/dev/input/event16"
[     4.850] (**) Option "_source" "server/udev"
[     4.851] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[     4.852] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[     4.852] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[     4.912] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input13/event16"
[     4.912] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 20)
[     4.913] (**) Option "AccelerationScheme" "none"
[     4.913] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[     4.913] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[     4.913] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[     4.915] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[     4.917] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[     4.918] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[     4.918] (II) No input driver specified, ignoring this device.
[     4.918] (II) This device may have been added with another device file.
[     4.918] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
[     4.918] (II) No input driver specified, ignoring this device.
[     4.918] (II) This device may have been added with another device file.
[     4.919] (II) config/udev: Adding input device MSI WMI hotkeys (/dev/input/event15)
[     4.919] (**) MSI WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[     4.919] (II) Using input driver 'libinput' for 'MSI WMI hotkeys'
[     4.919] (**) MSI WMI hotkeys: always reports core events
[     4.919] (**) Option "Device" "/dev/input/event15"
[     4.919] (**) Option "_source" "server/udev"
[     4.920] (II) event15 - MSI WMI hotkeys: is tagged by udev as: Keyboard
[     4.921] (II) event15 - MSI WMI hotkeys: device is a keyboard
[     4.921] (II) event15 - MSI WMI hotkeys: device removed
[     4.979] (**) Option "config_info" "udev:/sys/devices/virtual/input/input17/event15"
[     4.979] (II) XINPUT: Adding extended input device "MSI WMI hotkeys" (type: KEYBOARD, id 21)
[     4.980] (II) event15 - MSI WMI hotkeys: is tagged by udev as: Keyboard
[     4.980] (II) event15 - MSI WMI hotkeys: device is a keyboard
[     4.987] (**) XIUDI XD60v2 Consumer Control: Applying InputClass "libinput keyboard catchall"
[     4.987] (II) Using input driver 'libinput' for 'XIUDI XD60v2 Consumer Control'
[     4.987] (**) XIUDI XD60v2 Consumer Control: always reports core events
[     4.987] (**) Option "Device" "/dev/input/event9"
[     4.987] (**) Option "_source" "_driver/libinput"
[     4.987] (II) libinput: XIUDI XD60v2 Consumer Control: is a virtual subdevice
[     4.987] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:FEED:6060.0003/input/input10/event9"
[     4.987] (II) XINPUT: Adding extended input device "XIUDI XD60v2 Consumer Control" (type: KEYBOARD, id 22)
[     4.988] (II) config/udev: removing device SynPS/2 Synaptics TouchPad
[     4.988] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[     5.059] (II) UnloadModule: "libinput"
[     5.059] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event16)
[     5.059] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[     5.059] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[     5.059] (**) SynPS/2 Synaptics TouchPad: always reports core events
[     5.059] (**) Option "Device" "/dev/input/event16"
[     5.059] (**) Option "_source" "server/udev"
[     5.061] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[     5.062] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[     5.062] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[     5.126] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input13/event16"
[     5.126] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 20)
[     5.126] (**) Option "AccelerationScheme" "none"
[     5.126] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[     5.127] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[     5.127] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[     5.128] (II) event16 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[     5.130] (II) event16 - SynPS/2 Synaptics TouchPad: device is a touchpad
[     5.131] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:02.0/drm/card0 /dev/dri/card0
[     5.131] (II) config/udev: Adding drm device (/dev/dri/card0)
[     5.131] (II) xfree86: Adding drm device (/dev/dri/card0)
[     5.131] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[     5.132] (II) config/udev: removing device Video Bus
[     5.132] (II) event18 - Video Bus: device removed
[     5.205] (II) UnloadModule: "libinput"
[     5.206] (II) config/udev: Adding input device Video Bus (/dev/input/event18)
[     5.206] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     5.206] (II) Using input driver 'libinput' for 'Video Bus'
[     5.206] (**) Video Bus: always reports core events
[     5.206] (**) Option "Device" "/dev/input/event18"
[     5.206] (**) Option "_source" "server/udev"
[     5.208] (II) event18 - Video Bus: is tagged by udev as: Keyboard
[     5.208] (II) event18 - Video Bus: device is a keyboard
[     5.209] (II) event18 - Video Bus: device removed
[     5.232] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:12/LNXVIDEO:01/input/input19/event18"
[     5.232] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[     5.233] (II) event18 - Video Bus: is tagged by udev as: Keyboard
[     5.233] (II) event18 - Video Bus: device is a keyboard
[     5.233] (II) config/udev: removing device Video Bus
[     5.234] (II) event17 - Video Bus: device removed
[     5.285] (II) UnloadModule: "libinput"
[     5.285] (II) config/udev: Adding input device Video Bus (/dev/input/event17)
[     5.285] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     5.285] (II) Using input driver 'libinput' for 'Video Bus'
[     5.285] (**) Video Bus: always reports core events
[     5.285] (**) Option "Device" "/dev/input/event17"
[     5.285] (**) Option "_source" "server/udev"
[     5.286] (II) event17 - Video Bus: is tagged by udev as: Keyboard
[     5.286] (II) event17 - Video Bus: device is a keyboard
[     5.287] (II) event17 - Video Bus: device removed
[     5.325] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input18/event17"
[     5.325] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     5.326] (II) event17 - Video Bus: is tagged by udev as: Keyboard
[     5.326] (II) event17 - Video Bus: device is a keyboard
[     5.327] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event20)
[     5.327] (II) No input driver specified, ignoring this device.
[     5.327] (II) This device may have been added with another device file.
[     5.327] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event25)
[     5.327] (II) No input driver specified, ignoring this device.
[     5.327] (II) This device may have been added with another device file.
[     5.327] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event23)
[     5.327] (II) No input driver specified, ignoring this device.
[     5.327] (II) This device may have been added with another device file.
[     5.327] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event22)
[     5.327] (II) No input driver specified, ignoring this device.
[     5.327] (II) This device may have been added with another device file.
[     5.328] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event19)
[     5.328] (II) No input driver specified, ignoring this device.
[     5.328] (II) This device may have been added with another device file.
[     5.328] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event24)
[     5.328] (II) No input driver specified, ignoring this device.
[     5.328] (II) This device may have been added with another device file.
[     5.328] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event21)
[     5.328] (II) No input driver specified, ignoring this device.
[     5.328] (II) This device may have been added with another device file.
[     5.977] (II) intel(0): EDID vendor "BOE", prod id 1657
[     5.977] (II) intel(0): Printing DDC gathered Modelines:
[     5.977] (II) intel(0): Modeline "1920x1080"x0.0  141.40  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (66.0 kHz eP)
[     5.977] (II) intel(0): Modeline "1920x1080"x0.0   94.26  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (44.0 kHz e)
[    24.309] (II) event3  - Power Button: device removed
[    24.339] (II) event2  - Power Button: device removed
[    24.365] (II) event1  - Sleep Button: device removed
[    24.405] (II) event5  - Burr-Brown from TI               USB Audio DAC   : device removed
[    24.472] (II) event6  - XIUDI XD60v2: device removed
[    24.499] (II) event10 - XIUDI XD60v2 Keyboard: device removed
[    24.525] (II) event7  - XIUDI XD60v2 Mouse: device removed
[    24.575] (II) event8  - XIUDI XD60v2 System Control: device removed
[    24.605] (II) event12 - Logitech G300s Optical Gaming Mouse: device removed
[    24.659] (II) event13 - Logitech G300s Optical Gaming Mouse Keyboard: device removed
[    24.685] (II) event4  - AT Translated Set 2 keyboard: device removed
[    24.712] (II) event15 - MSI WMI hotkeys: device removed
[    24.752] (II) event9  - XIUDI XD60v2 Consumer Control: device removed
[    24.779] (II) event16 - SynPS/2 Synaptics TouchPad: device removed
[    24.832] (II) event18 - Video Bus: device removed
[    24.885] (II) event17 - Video Bus: device removed
[    24.939] (II) AIGLX: Suspending AIGLX clients for VT switch
Question

While waiting for the display cable to arrive, how do I make a script that will run when LightDM is started, that will enable my LCD screen and set it as the primary output, and set the brightness to maximum? Currently I use the external monitor workaround, but then I cannot shut down my laptop as I need an external monitor to enable the LCD screen

Last edited by minecraft2048 (2020-02-21 13:18:16)

Offline

#2 2020-02-21 07:41:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,325

Re: [SOLVED] How do I make script to enable my laptop display at boot?

[     5.977] (II) intel(0): EDID vendor "BOE", prod id 1657
[     5.977] (II) intel(0): Printing DDC gathered Modelines:
[     5.977] (II) intel(0): Modeline "1920x1080"x0.0  141.40  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (66.0 kHz eP)
[     5.977] (II) intel(0): Modeline "1920x1080"x0.0   94.26  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (44.0 kHz e)

Is this the external output or the eDP?

Did you try https://wiki.archlinux.org/index.php/Ke … _KMS_start and/or https://wiki.archlinux.org/index.php/Li … TTY_output

The Monitor section supports an

Option	"Primary"	"True"

I try to go to tty and use DISPLAY=:0 xrandr, but I got the mit-magic-cookie-1 did not match error.

Likely the X11 and console users differ?

For the backlight it's important to first figure what actually drives it, read into https://wiki.archlinux.org/index.php/Backlight to investigate how to access it.

Offline

#3 2020-02-21 13:17:48

minecraft2048
Member
Registered: 2017-06-22
Posts: 5

Re: [SOLVED] How do I make script to enable my laptop display at boot?

seth wrote:
[     5.977] (II) intel(0): EDID vendor "BOE", prod id 1657
[     5.977] (II) intel(0): Printing DDC gathered Modelines:
[     5.977] (II) intel(0): Modeline "1920x1080"x0.0  141.40  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (66.0 kHz eP)
[     5.977] (II) intel(0): Modeline "1920x1080"x0.0   94.26  1920 1968 2000 2142  1080 1083 1089 1100 +hsync -vsync (44.0 kHz e)

Is this the external output or the eDP?

That's the eDP one

I've tried the LightDM one, and it doesn't work, then I tried the early KMS start, and now it works. BIOS POST screen is still missing with the built in monitor, but I can live with that until I got the replacement cable

Offline

Board footer

Powered by FluxBB