You are not logged in.

#26 2017-10-31 12:52:42

vlogswawa
Member
Registered: 2017-09-29
Posts: 26

Re: Can't use CTRL ALT F1...6 to switch TTY

here is some updates:


i'm 100% sure xorg has something to do with this.

here is some test i did trying to make it work!

xmodmap -e 'keycode  68 = F2 F2 F2 F2 F2 F2 XF86Switch_VT_2'

ctrl+alt+f2 can't switch to tty2

xmodmap -e 'keycode  68 = F2 XF86Switch_VT_2 F2 F2 F2 F2 F2'

shift+f2 can't switch to tty2
.
.
.

xmodmap -e 'keycode  68 = XF86Switch_VT_2 F2 F2 F2 F2 F2 F2'

f2 can switch to tty2

any idea why?

Last edited by vlogswawa (2017-10-31 13:33:37)

Offline

#27 2017-11-03 08:22:48

seth
Member
Registered: 2012-09-03
Posts: 51,302

Re: Can't use CTRL ALT F1...6 to switch TTY

https://bbs.archlinux.org/viewtopic.php?id=231455

Do you use the testing repo (ie. have you been on libinput 1.9 "early") - you should have tried evdev ;-)

Online

#28 2017-11-07 00:38:08

vlogswawa
Member
Registered: 2017-09-29
Posts: 26

Re: Can't use CTRL ALT F1...6 to switch TTY

i have 1.81 version i tried both 1.7 and 1.9 nothing change the same issue

plz correct me if am wrong! in order to use evdev, i have to add input device section in xorg.conf and use driver "evdev"
i did so and this what i have in xorg log file

[   395.033] (II) Using input driver 'libinput' for 'Power Button'
[   395.035] (II) Using input driver 'libinput' for 'Video Bus'
[   395.036] (II) Using input driver 'libinput' for 'Power Button'
[   395.037] (II) Using input driver 'libinput' for 'Sleep Button'
[   395.039] (II) Using input driver 'libinput' for 'Apple Inc. iBridge'
[   395.040] (II) Using input driver 'libinput' for 'Apple SPI Keyboard'
[   395.041] (II) Using input driver 'synaptics' for 'Apple SPI Touchpad'

i don't see any evedev

am i doing something wrong?

Offline

#29 2017-11-07 07:39:52

seth
Member
Registered: 2012-09-03
Posts: 51,302

Re: Can't use CTRL ALT F1...6 to switch TTY

Ok, you're not hitting https://bbs.archlinux.org/viewtopic.php?id=231455 (would have been too easy) - the touchbar might be an extra pitfall

You need to install xf86-input-evdev.

If that doesn't help to get the evdev driver working, please add /etc/X11/xorg.conf.d/11-keyboard.conf

Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard	"yes"
    # Option		"XkbModel" "evdev" # optional
    # Option		"XkbOptions" "terminate:ctrl_alt_bksp,compose:caps" # optional
    # Option		"XkbRules" "xorg" # optional
    # Option		"XkbKeycodes" "evdev" # optional
    Driver		"evdev"
EndSection

You should not use a static xorg.conf, but if you need it for other reasons, please post it (and your Xorg log)

Online

#30 2017-11-07 09:51:04

vlogswawa
Member
Registered: 2017-09-29
Posts: 26

Re: Can't use CTRL ALT F1...6 to switch TTY

i did so
i deleted xorg.conf i had nothing on it just   
Section "InputDevice"       
Driver        "evdev"
EndSection

i deleted libinput and xf86-input-libinput, i had xf86-input-evdev already installed. now i have evdev working but still the same issue
here is xorg log

[   651.301] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[   651.301] X Protocol Version 11, Revision 0
[   651.301] Build Operating System: Linux 4.9.54-1-lts x86_64 
[   651.301] Current Operating System: Linux oden 4.12.13-1-ARCH #1 SMP PREEMPT Fri Sep 15 06:36:43 UTC 2017 x86_64
[   651.301] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=377d2574-b0ef-445b-b3bf-790751a4f04b rw quiet splash amdgpu.si_support=1 amdgpu.cik_support=1 acpi_backlight=vendor
[   651.301] Build Date: 12 October 2017  09:59:53PM
[   651.301]  
[   651.302] Current version of pixman: 0.34.0
[   651.302] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   651.302] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   651.302] (==) Log file: "/home/anas/.local/share/xorg/Xorg.0.log", Time: Tue Nov  7 10:40:01 2017
[   651.302] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   651.302] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   651.302] (==) No Layout section.  Using the first Screen section.
[   651.302] (==) No screen section available. Using defaults.
[   651.302] (**) |-->Screen "Default Screen Section" (0)
[   651.302] (**) |   |-->Monitor "<default monitor>"
[   651.302] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   651.302] (**) |   |-->Device "AMD"
[   651.302] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   651.302] (==) Automatically adding devices
[   651.302] (==) Automatically enabling devices
[   651.302] (==) Automatically adding GPU devices
[   651.302] (==) Automatically binding GPU devices
[   651.302] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   651.302] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   651.302] 	Entry deleted from font path.
[   651.302] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[   651.302] (==) ModulePath set to "/usr/lib/xorg/modules"
[   651.302] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   651.302] (II) Loader magic: 0x560782a30d60
[   651.302] (II) Module ABI versions:
[   651.302] 	X.Org ANSI C Emulation: 0.4
[   651.302] 	X.Org Video Driver: 23.0
[   651.302] 	X.Org XInput driver : 24.1
[   651.302] 	X.Org Server Extension : 10.0
[   651.303] (++) using VT number 1

[   651.303] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   651.304] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[   651.304] (II) xfree86: Adding drm device (/dev/dri/card0)
[   651.304] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   651.306] (--) PCI:*(0:1:0:0) 1002:67ef:106b:017a rev 199, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0x82600000/262144, I/O @ 0x00004000/256, BIOS @ 0x????????/131072
[   651.306] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   651.306] (II) LoadModule: "glx"
[   651.306] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   651.307] (II) Module glx: vendor="X.Org Foundation"
[   651.307] 	compiled for 1.19.5, module version = 1.0.0
[   651.307] 	ABI class: X.Org Server Extension, version 10.0
[   651.307] (II) LoadModule: "amdgpu"
[   651.307] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[   651.307] (II) Module amdgpu: vendor="X.Org Foundation"
[   651.307] 	compiled for 1.19.3, module version = 1.4.0
[   651.307] 	Module class: X.Org Video Driver
[   651.307] 	ABI class: X.Org Video Driver, version 23.0
[   651.307] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[   651.307] (II) [KMS] Kernel modesetting enabled.
[   651.307] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   651.307] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   651.307] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[   651.307] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[   651.307] (==) AMDGPU(0): Default visual is TrueColor
[   651.307] (==) AMDGPU(0): RGB weight 888
[   651.307] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[   651.307] (--) AMDGPU(0): Chipset: "AMD Radeon (TM) RX Graphics" (ChipID = 0x67ef)
[   651.307] (II) Loading sub module "fb"
[   651.307] (II) LoadModule: "fb"
[   651.307] (II) Loading /usr/lib/xorg/modules/libfb.so
[   651.307] (II) Module fb: vendor="X.Org Foundation"
[   651.307] 	compiled for 1.19.5, module version = 1.0.0
[   651.307] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   651.307] (II) Loading sub module "dri2"
[   651.307] (II) LoadModule: "dri2"
[   651.307] (II) Module "dri2" already built-in
[   651.334] (II) Loading sub module "glamoregl"
[   651.334] (II) LoadModule: "glamoregl"
[   651.334] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   651.335] (II) Module glamoregl: vendor="X.Org Foundation"
[   651.335] 	compiled for 1.19.5, module version = 1.0.0
[   651.335] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   651.335] (II) glamor: OpenGL accelerated X.org driver based.
[   651.336] (II) glamor: EGL version 1.5 (DRI2):
[   651.338] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[   651.338] (==) AMDGPU(0): TearFree property default: auto
[   651.338] (II) AMDGPU(0): KMS Pageflipping: enabled
[   651.343] (II) AMDGPU(0): Output eDP using monitor section <default monitor>
[   651.375] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[   651.405] (II) AMDGPU(0): Output DisplayPort-1 has no monitor section
[   651.435] (II) AMDGPU(0): Output DisplayPort-2 has no monitor section
[   651.465] (II) AMDGPU(0): Output DisplayPort-3 has no monitor section
[   651.470] (II) AMDGPU(0): EDID for output eDP
[   651.470] (II) AMDGPU(0): Manufacturer: APP  Model: a031  Serial#: 0
[   651.470] (II) AMDGPU(0): Year: 2015  Week: 38
[   651.470] (II) AMDGPU(0): EDID Version: 1.4
[   651.470] (II) AMDGPU(0): Digital Display Input
[   651.470] (II) AMDGPU(0): 10 bits per channel
[   651.470] (II) AMDGPU(0): Digital interface is DisplayPort
[   651.470] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 33  vert.: 21
[   651.470] (II) AMDGPU(0): Gamma: 2.20
[   651.470] (II) AMDGPU(0): No DPMS capabilities specified
[   651.470] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 
[   651.470] (II) AMDGPU(0): First detailed timing is preferred mode
[   651.470] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[   651.470] (II) AMDGPU(0): redX: 0.680 redY: 0.320   greenX: 0.265 greenY: 0.690
[   651.470] (II) AMDGPU(0): blueX: 0.151 blueY: 0.053   whiteX: 0.312 whiteY: 0.329
[   651.470] (II) AMDGPU(0): Manufacturer's mask: 0
[   651.470] (II) AMDGPU(0): Supported detailed timing:
[   651.470] (II) AMDGPU(0): clock: 328.9 MHz   Image Size:  331 x 207 mm
[   651.470] (II) AMDGPU(0): h_active: 2880  h_sync: 2888  h_sync_end 2920 h_blank_end 2960 h_border: 0
[   651.471] (II) AMDGPU(0): v_active: 1800  v_sync: 1838  v_sync_end 1846 v_blanking: 1852 v_border: 0
[   651.471] (II) AMDGPU(0): Monitor name: Color LCD
[   651.471] (II) AMDGPU(0): EDID (in hex):
[   651.471] (II) AMDGPU(0): 	00ffffffffffff00061031a000000000
[   651.471] (II) AMDGPU(0): 	26190104b5211578020fe1ae5243b026
[   651.471] (II) AMDGPU(0): 	0d505400000001010101010101010101
[   651.471] (II) AMDGPU(0): 	0101010101017c804050b00834700820
[   651.471] (II) AMDGPU(0): 	68084bcf1000001a0000001000000000
[   651.471] (II) AMDGPU(0): 	00000000000000000000000000fc0043
[   651.471] (II) AMDGPU(0): 	6f6c6f72204c43440a20202000000010
[   651.471] (II) AMDGPU(0): 	00000000000000000000000000000070
[   651.471] (II) AMDGPU(0): Printing probed modes for output eDP
[   651.471] (II) AMDGPU(0): Modeline "2880x1800"x60.0  328.92  2880 2888 2920 2960  1800 1838 1846 1852 +hsync -vsync (111.1 kHz eP)
[   651.471] (II) AMDGPU(0): Modeline "1920x1200"x60.0  193.48  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1920x1080"x60.0  173.11  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1600x1200"x60.0  161.23  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync (74.6 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1680x1050"x60.0  146.36  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1400x1050"x60.0  121.79  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1280x1024"x59.9  109.10  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync (63.7 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1440x900"x60.0  106.68  1440 1528 1672 1904  900 903 909 934 -hsync +vsync (56.0 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1280x960"x60.0  101.34  1280 1360 1488 1696  960 963 967 996 -hsync +vsync (59.8 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1280x854"x60.0   89.34  1280 1352 1480 1680  854 857 867 887 -hsync +vsync (53.2 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1280x800"x60.0   83.71  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.8 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1280x720"x60.0   74.65  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.9 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1152x768"x59.9   71.95  1152 1216 1328 1504  768 771 781 798 -hsync +vsync (47.8 kHz)
[   651.471] (II) AMDGPU(0): Modeline "1024x768"x59.9   63.53  1024 1072 1176 1328  768 771 775 798 -hsync +vsync (47.8 kHz)
[   651.471] (II) AMDGPU(0): Modeline "800x600"x60.0   38.31  800 832 912 1024  600 603 607 624 -hsync +vsync (37.4 kHz)
[   651.471] (II) AMDGPU(0): Modeline "848x480"x59.9   31.65  848 872 952 1056  480 483 493 500 -hsync +vsync (30.0 kHz)
[   651.471] (II) AMDGPU(0): Modeline "720x480"x59.9   26.85  720 744 808 896  480 483 493 500 -hsync +vsync (30.0 kHz)
[   651.471] (II) AMDGPU(0): Modeline "640x480"x59.9   23.98  640 664 720 800  480 483 487 500 -hsync +vsync (30.0 kHz)
[   651.502] (II) AMDGPU(0): EDID for output DisplayPort-0
[   651.532] (II) AMDGPU(0): EDID for output DisplayPort-1
[   651.562] (II) AMDGPU(0): EDID for output DisplayPort-2
[   651.592] (II) AMDGPU(0): EDID for output DisplayPort-3
[   651.592] (II) AMDGPU(0): Output eDP connected
[   651.592] (II) AMDGPU(0): Output DisplayPort-0 disconnected
[   651.592] (II) AMDGPU(0): Output DisplayPort-1 disconnected
[   651.592] (II) AMDGPU(0): Output DisplayPort-2 disconnected
[   651.592] (II) AMDGPU(0): Output DisplayPort-3 disconnected
[   651.592] (II) AMDGPU(0): Using exact sizes for initial modes
[   651.592] (II) AMDGPU(0): Output eDP using initial mode 2880x1800 +0+0
[   651.592] (II) AMDGPU(0): mem size init: gart size :bfe3e000 vram size: s:7e2ca000 visible:e2ca000
[   651.592] (==) AMDGPU(0): DPI set to (96, 96)
[   651.592] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[   651.592] (II) Loading sub module "ramdac"
[   651.592] (II) LoadModule: "ramdac"
[   651.592] (II) Module "ramdac" already built-in
[   651.592] (--) Depth 24 pixmap format is 32 bpp
[   651.592] (II) AMDGPU(0): [DRI2] Setup complete
[   651.592] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[   651.592] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[   651.592] (II) AMDGPU(0): Front buffer pitch: 11776 bytes
[   651.592] (II) AMDGPU(0): SYNC extension fences enabled
[   651.592] (II) AMDGPU(0): Present extension enabled
[   651.593] (==) AMDGPU(0): DRI3 enabled
[   651.593] (==) AMDGPU(0): Backing store enabled
[   651.593] (II) AMDGPU(0): Direct rendering enabled
[   651.596] (II) AMDGPU(0): Use GLAMOR acceleration.
[   651.596] (II) AMDGPU(0): Acceleration enabled
[   651.596] (==) AMDGPU(0): DPMS enabled
[   651.596] (==) AMDGPU(0): Silken mouse enabled
[   651.596] (II) AMDGPU(0): Set up textured video (glamor)
[   651.596] (II) AMDGPU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   651.597] (WW) AMDGPU(0): Option "Backlight" is not used
[   651.597] (--) RandR disabled
[   651.606] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   651.606] (II) AIGLX: enabled GLX_ARB_create_context
[   651.606] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   651.606] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   651.606] (II) AIGLX: enabled GLX_INTEL_swap_event
[   651.606] (II) AIGLX: enabled GLX_SGI_swap_control
[   651.606] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   651.607] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   651.607] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   651.607] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   651.607] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   651.609] (II) AIGLX: Loaded and initialized radeonsi
[   651.609] (II) GLX: Initialized DRI2 GL provider for screen 0
[   651.611] (II) AMDGPU(0): Setting screen physical size to 294 x 166
[   651.689] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   651.689] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   651.689] (**) Power Button: Applying InputClass "Keyboard Defaults"
[   651.689] (II) LoadModule: "evdev"
[   651.689] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[   651.689] (II) Module evdev: vendor="X.Org Foundation"
[   651.689] 	compiled for 1.19.1, module version = 2.10.5
[   651.689] 	Module class: X.Org XInput Driver
[   651.689] 	ABI class: X.Org XInput driver, version 24.1
[   651.689] (II) Using input driver 'evdev' for 'Power Button'
[   651.689] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 24 paused 0
[   651.689] (**) Power Button: always reports core events
[   651.689] (**) evdev: Power Button: Device: "/dev/input/event3"
[   651.689] (--) evdev: Power Button: Vendor 0 Product 0x1
[   651.689] (--) evdev: Power Button: Found keys
[   651.689] (II) evdev: Power Button: Configuring as keyboard
[   651.689] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   651.689] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   651.689] (**) Option "xkb_rules" "evdev"
[   651.690] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[   651.690] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   651.690] (**) Video Bus: Applying InputClass "Keyboard Defaults"
[   651.690] (II) Using input driver 'evdev' for 'Video Bus'
[   651.690] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 25 paused 0
[   651.690] (**) Video Bus: always reports core events
[   651.690] (**) evdev: Video Bus: Device: "/dev/input/event4"
[   651.690] (--) evdev: Video Bus: Vendor 0 Product 0x6
[   651.690] (--) evdev: Video Bus: Found keys
[   651.690] (II) evdev: Video Bus: Configuring as keyboard
[   651.690] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input4/event4"
[   651.690] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   651.690] (**) Option "xkb_rules" "evdev"
[   651.690] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   651.690] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   651.691] (**) Power Button: Applying InputClass "Keyboard Defaults"
[   651.691] (II) Using input driver 'evdev' for 'Power Button'
[   651.691] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 26 paused 0
[   651.691] (**) Power Button: always reports core events
[   651.691] (**) evdev: Power Button: Device: "/dev/input/event1"
[   651.691] (--) evdev: Power Button: Vendor 0 Product 0x1
[   651.691] (--) evdev: Power Button: Found keys
[   651.691] (II) evdev: Power Button: Configuring as keyboard
[   651.691] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[   651.691] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   651.691] (**) Option "xkb_rules" "evdev"
[   651.691] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   651.691] (II) No input driver specified, ignoring this device.
[   651.691] (II) This device may have been added with another device file.
[   651.691] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[   651.691] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   651.691] (**) Sleep Button: Applying InputClass "Keyboard Defaults"
[   651.691] (II) Using input driver 'evdev' for 'Sleep Button'
[   651.692] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 27 paused 0
[   651.692] (**) Sleep Button: always reports core events
[   651.692] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[   651.692] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[   651.692] (--) evdev: Sleep Button: Found keys
[   651.692] (II) evdev: Sleep Button: Configuring as keyboard
[   651.692] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[   651.692] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   651.692] (**) Option "xkb_rules" "evdev"
[   651.692] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=10 (/dev/input/event10)
[   651.692] (II) No input driver specified, ignoring this device.
[   651.692] (II) This device may have been added with another device file.
[   651.692] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=11 (/dev/input/event11)
[   651.692] (II) No input driver specified, ignoring this device.
[   651.692] (II) This device may have been added with another device file.
[   651.692] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=3 (/dev/input/event6)
[   651.692] (II) No input driver specified, ignoring this device.
[   651.692] (II) This device may have been added with another device file.
[   651.693] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=7 (/dev/input/event7)
[   651.693] (II) No input driver specified, ignoring this device.
[   651.693] (II) This device may have been added with another device file.
[   651.693] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=8 (/dev/input/event8)
[   651.693] (II) No input driver specified, ignoring this device.
[   651.693] (II) This device may have been added with another device file.
[   651.693] (II) config/udev: Adding input device HDA ATI HDMI HDMI/DP,pcm=9 (/dev/input/event9)
[   651.693] (II) No input driver specified, ignoring this device.
[   651.693] (II) This device may have been added with another device file.
[   651.693] (II) config/udev: Adding input device Apple Inc. iBridge (/dev/input/event14)
[   651.693] (**) Apple Inc. iBridge: Applying InputClass "evdev keyboard catchall"
[   651.693] (**) Apple Inc. iBridge: Applying InputClass "Keyboard Defaults"
[   651.693] (II) Using input driver 'evdev' for 'Apple Inc. iBridge'
[   651.694] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 28 paused 0
[   651.694] (**) Apple Inc. iBridge: always reports core events
[   651.694] (**) evdev: Apple Inc. iBridge: Device: "/dev/input/event14"
[   651.694] (--) evdev: Apple Inc. iBridge: Vendor 0x5ac Product 0x8600
[   651.694] (--) evdev: Apple Inc. iBridge: Found keys
[   651.694] (II) evdev: Apple Inc. iBridge: Configuring as keyboard
[   651.694] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2/0003:05AC:8600.0001/input/input15/event14"
[   651.694] (II) XINPUT: Adding extended input device "Apple Inc. iBridge" (type: KEYBOARD, id 10)
[   651.694] (**) Option "xkb_rules" "evdev"
[   651.694] (II) config/udev: Adding input device Apple SPI Keyboard (/dev/input/event12)
[   651.694] (**) Apple SPI Keyboard: Applying InputClass "evdev keyboard catchall"
[   651.694] (**) Apple SPI Keyboard: Applying InputClass "Keyboard Defaults"
[   651.694] (II) Using input driver 'evdev' for 'Apple SPI Keyboard'
[   651.694] (II) systemd-logind: got fd for /dev/input/event12 13:76 fd 29 paused 0
[   651.694] (**) Apple SPI Keyboard: always reports core events
[   651.694] (**) evdev: Apple SPI Keyboard: Device: "/dev/input/event12"
[   651.695] (--) evdev: Apple SPI Keyboard: Vendor 0 Product 0
[   651.695] (--) evdev: Apple SPI Keyboard: Found keys
[   651.695] (II) evdev: Apple SPI Keyboard: Configuring as keyboard
[   651.695] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1e.3/pxa2xx-spi.5/spi_master/spi2/spi-APP000D:00/input/input12/event12"
[   651.695] (II) XINPUT: Adding extended input device "Apple SPI Keyboard" (type: KEYBOARD, id 11)
[   651.695] (**) Option "xkb_rules" "evdev"
[   651.695] (II) config/udev: Adding input device Apple SPI Touchpad (/dev/input/event13)
[   651.695] (**) Apple SPI Touchpad: Applying InputClass "evdev touchpad catchall"
[   651.695] (**) Apple SPI Touchpad: Applying InputClass "touchpad catchall"
[   651.695] (**) Apple SPI Touchpad: Applying InputClass "Default clickpad buttons"
[   651.695] (**) Apple SPI Touchpad: Applying InputClass "Disable clickpad buttons on Apple touchpads"
[   651.695] (**) Apple SPI Touchpad: Applying InputClass "touchpad"
[   651.695] (II) LoadModule: "synaptics"
[   651.695] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[   651.695] (II) Module synaptics: vendor="X.Org Foundation"
[   651.695] 	compiled for 1.19.0, module version = 1.9.0
[   651.695] 	Module class: X.Org XInput Driver
[   651.695] 	ABI class: X.Org XInput driver, version 24.1
[   651.695] (II) Using input driver 'synaptics' for 'Apple SPI Touchpad'
[   651.695] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 30 paused 0
[   651.695] (**) Apple SPI Touchpad: always reports core events
[   651.695] (**) Option "Device" "/dev/input/event13"
[   651.695] (II) synaptics: Apple SPI Touchpad: found clickpad property
[   651.696] (--) synaptics: Apple SPI Touchpad: x-axis range -7456 - 7976 (res 96)
[   651.696] (--) synaptics: Apple SPI Touchpad: y-axis range -163 - 9283 (res 95)
[   651.696] (II) synaptics: Apple SPI Touchpad: device does not report pressure, will use touch data.
[   651.696] (II) synaptics: Apple SPI Touchpad: device does not report finger width.
[   651.696] (--) synaptics: Apple SPI Touchpad: buttons: left double triple
[   651.696] (--) synaptics: Apple SPI Touchpad: Vendor 0 Product 0
[   651.696] (--) synaptics: Apple SPI Touchpad: invalid pressure range.  defaulting to 0 - 255
[   651.696] (--) synaptics: Apple SPI Touchpad: invalid finger width range.  defaulting to 0 - 15
[   651.696] (**) Option "FingerLow" "30"
[   651.696] (**) Option "FingerHigh" "50"
[   651.696] (**) Option "MaxTapTime" "125"
[   651.696] (**) Option "EmulateTwoFingerMinZ" "40"
[   651.696] (**) Option "EmulateTwoFingerMinW" "8"
[   651.696] (**) Option "VertEdgeScroll" "on"
[   651.696] (**) Option "HorizEdgeScroll" "on"
[   651.696] (**) Option "VertTwoFingerScroll" "on"
[   651.696] (**) Option "HorizTwoFingerScroll" "on"
[   651.696] (**) Option "TapButton1" "1"
[   651.696] (**) Option "TapButton2" "2"
[   651.696] (**) Option "TapButton3" "3"
[   651.696] (**) Option "CircularScrolling" "on"
[   651.696] (**) Option "CircScrollTrigger" "2"
[   651.696] (**) Option "CoastingSpeed" "0"
[   651.696] (**) Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
[   651.696] (--) synaptics: Apple SPI Touchpad: touchpad found
[   651.696] (**) Apple SPI Touchpad: always reports core events
[   651.696] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1e.3/pxa2xx-spi.5/spi_master/spi2/spi-APP000D:00/input/input13/event13"
[   651.696] (II) XINPUT: Adding extended input device "Apple SPI Touchpad" (type: TOUCHPAD, id 12)
[   651.696] (**) synaptics: Apple SPI Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[   651.696] (**) synaptics: Apple SPI Touchpad: (accel) MaxSpeed is now 1.75
[   651.696] (**) synaptics: Apple SPI Touchpad: (accel) AccelFactor is now 0.011
[   651.696] (**) Apple SPI Touchpad: (accel) keeping acceleration scheme 1
[   651.696] (**) Apple SPI Touchpad: (accel) acceleration profile 1
[   651.696] (**) Apple SPI Touchpad: (accel) acceleration factor: 2.000
[   651.696] (**) Apple SPI Touchpad: (accel) acceleration threshold: 4
[   651.696] (--) synaptics: Apple SPI Touchpad: touchpad found
[   651.696] (II) config/udev: Adding input device Apple SPI Touchpad (/dev/input/mouse0)
[   651.696] (**) Apple SPI Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[   651.696] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[   651.696] (II) No input driver specified, ignoring this device.
[   651.696] (II) This device may have been added with another device file.
[   651.804] (II) AMDGPU(0): EDID vendor "APP", prod id 41009
[   651.804] (II) AMDGPU(0): Printing DDC gathered Modelines:
[   651.804] (II) AMDGPU(0): Modeline "2880x1800"x0.0  328.92  2880 2888 2920 2960  1800 1838 1846 1852 +hsync -vsync (111.1 kHz eP)

Offline

#31 2017-11-07 14:52:01

seth
Member
Registered: 2012-09-03
Posts: 51,302

Re: Can't use CTRL ALT F1...6 to switch TTY

I deleted libinput and xf86-input-libinput

That's not a good idea, please restore them.

I frankly had lost hope when you said you had this with libinput 1.7 - this is just a freaky coincidence between a libinput regression and your first perception of your issue (which is most likely touchbar specific)

Online

#32 2017-11-08 17:46:39

vlogswawa
Member
Registered: 2017-09-29
Posts: 26

Re: Can't use CTRL ALT F1...6 to switch TTY

Thanks Seth, I just reinstalled both libinput and xf86-input-libinput.

here some news:  i just tried GNOME under Wayland, and i can switch between TTY no problem!
do you think it's related to X server or something like this!!

Thank you

Offline

#33 2017-11-08 20:10:58

seth
Member
Registered: 2012-09-03
Posts: 51,302

Re: Can't use CTRL ALT F1...6 to switch TTY

It's most likely related to how input control is handed over to the X11 server, yes. (With wayland, this no longer happens, so no real surprise itr.)

Online

#34 2017-11-09 02:36:05

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Can't use CTRL ALT F1...6 to switch TTY

You might want to check your xorg.conf fragment against the active configuration, if you're running a DE. I am not sure about GNOME, but KDE will happily screw with the device configuration for things (notably the keyboard). Essentially, you have to make sure that the settings KDE has match the xorg.conf fragment in order for everyone to play nicely together. I honestly don't know if this might be relevant here, but it took me somewhat unawares. (I'd seen the issue before for font config, but not the keyboard.)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB