Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]xorg-server 1.18: no keyboard or mouse after upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gfaccin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2004
Posts: 110

PostPosted: Thu Jan 05, 2017 6:15 pm    Post subject: [Solved]xorg-server 1.18: no keyboard or mouse after upgrade Reply with quote

[Moderator edit: changed Xorg server version from 1.8 to 1.18 in both title and the opening sentence below, based on an Xorg log posted farther down thread. Additionally, there is some confusion over whether OP meant to write 1.4 as the previous Xorg version, since this would represent a very large jump. -Hu]

Ok so I upgraded from an old xorg-server (1.4) to version 1.18 and have no mouse or keyboard working on X afterwards.

Usually this is fixed by:

Code:

qlist  -I -C | grep ^x11-drivers/ | xargs emerge -1


But in this case, all latest drivers have been reinstalled and still no keyboard under X.

Any tips on possible causes? What I'm getting is that X server starts but stays waiting in the login screen, which I can't pass through since the keyboard is not responsive under X.

Thanks


Last edited by gfaccin on Fri Jan 06, 2017 5:46 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 05, 2017 7:35 pm    Post subject: Reply with quote

Xorg log has the answers.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Thu Jan 05, 2017 7:38 pm    Post subject: Reply with quote

That's a pretty big jump, likely the input routines have changed since you last configured it.
The new input device system is to autodetect them using kernel drivers. What do you have your INPUT_DEVICES set in your make.conf? Make sure you have evdev or libinput and your kernel has the appropriate input devices configured.

You may be able to muck with your xorg.conf to disable autodetect and manually insert your input devices.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
gfaccin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2004
Posts: 110

PostPosted: Thu Jan 05, 2017 7:57 pm    Post subject: Reply with quote

eccerr0r wrote:
That's a pretty big jump, likely the input routines have changed since you last configured it.
The new input device system is to autodetect them using kernel drivers. What do you have your INPUT_DEVICES set in your make.conf? Make sure you have evdev or libinput and your kernel has the appropriate input devices configured.

You may be able to muck with your xorg.conf to disable autodetect and manually insert your input devices.


Hi eccerr0r and Jaglover,

INPUT_DEVICES="evdev synaptics keyboard mouse"

I believe that the kernel has all the basic input devices enabled, since it's setup is pretty much the same that used to work before.

As for the Xorg log, here it's:

Code:

jacare log # cat Xorg.0.log
[  1968.869]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  1968.879] X Protocol Version 11, Revision 0
[  1968.882] Build Operating System: Linux 4.4.26-gentoo x86_64 Gentoo
[  1968.885] Current Operating System: Linux jacare 4.4.26-gentoo #3 SMP Mon Jan 2 18:50:53 AMST 2017 x86_64
[  1968.885] Kernel command line: BOOT_IMAGE=/kernel-4.4.26 root=/dev/sda4 ro
[  1968.892] Build Date: 02 January 2017  06:40:26PM
[  1968.896] 
[  1968.899] Current version of pixman: 0.32.4
[  1968.906]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1968.906] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1968.920] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan  5 15:15:29 2017
[  1968.924] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1968.928] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1968.928] (==) No Layout section.  Using the first Screen section.
[  1968.929] (==) No screen section available. Using defaults.
[  1968.929] (**) |-->Screen "Default Screen Section" (0)
[  1968.929] (**) |   |-->Monitor "<default monitor>"
[  1968.929] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  1968.929] (==) Automatically adding devices
[  1968.929] (==) Automatically enabling devices
[  1968.929] (==) Automatically adding GPU devices
[  1968.929] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1968.973] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  1968.973]    Entry deleted from font path.
[  1968.973] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1968.973]    Entry deleted from font path.
[  1968.973] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1968.973]    Entry deleted from font path.
[  1968.973] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1968.973]    Entry deleted from font path.
[  1968.973]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1968.973] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1968.973]    Entry deleted from font path.
[  1968.973]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1968.973] (==) FontPath set to:
        /usr/share/fonts/misc/
[  1968.973] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1968.973] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1968.986] (II) Loader magic: 0x80bc80
[  1968.986] (II) Module ABI versions:
[  1968.986]    X.Org ANSI C Emulation: 0.4
[  1968.986]    X.Org Video Driver: 20.0
[  1968.986]    X.Org XInput driver : 22.1
[  1968.986]    X.Org Server Extension : 9.0
[  1968.987] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1968.988] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1969.496] (--) PCI:*(0:0:2:0) 8086:a001:1043:8446 rev 2, Mem @ 0xf5e00000/524288, 0xb0000000/268435456, 0xf5d00000/1048576, I/O @ 0x0000cc00/8
[  1969.497] (--) PCI: (0:0:2:1) 8086:a002:1043:8446 rev 2, Mem @ 0xf5e80000/524288
[  1969.497] (--) PCI: (0:4:0:0) 10de:0a76:1043:8446 rev 162, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x0000ec00/128, BIOS @ 0x????????/524288
[  1969.497] (II) LoadModule: "glx"
[  1969.597] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  1969.868] (II) Module glx: vendor="X.Org Foundation"
[  1969.868]    compiled for 1.18.4, module version = 1.0.0
[  1969.868]    ABI class: X.Org Server Extension, version 9.0
[  1969.868] (==) AIGLX enabled
[  1969.868] (==) Matched intel as autoconfigured driver 0
[  1969.868] (==) Matched nouveau as autoconfigured driver 1
[  1969.868] (==) Matched nv as autoconfigured driver 2
[  1969.868] (==) Matched intel as autoconfigured driver 3
[  1969.868] (==) Matched modesetting as autoconfigured driver 4
[  1969.868] (==) Matched fbdev as autoconfigured driver 5
[  1969.868] (==) Matched vesa as autoconfigured driver 6
[  1969.868] (==) Assigned the driver to the xf86ConfigLayout
[  1969.868] (II) LoadModule: "intel"
[  1969.899] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[  1969.947] (II) Module intel: vendor="X.Org Foundation"
[  1969.947]    compiled for 1.18.4, module version = 2.99.917
[  1969.947]    Module class: X.Org Video Driver
[  1969.947]    ABI class: X.Org Video Driver, version 20.0
[  1969.947] (II) LoadModule: "nouveau"
[  1969.947] (II) Loading /usr/lib64/xorg/modules/drivers/nouveau_drv.so
[  1969.986] (II) Module nouveau: vendor="X.Org Foundation"
[  1969.986]    compiled for 1.18.4, module version = 1.0.12
[  1969.986]    Module class: X.Org Video Driver
[  1969.986]    ABI class: X.Org Video Driver, version 20.0
[  1969.986] (II) LoadModule: "nv"
[  1970.019] (WW) Warning, couldn't open module nv
[  1970.019] (II) UnloadModule: "nv"
[  1970.019] (II) Unloading nv
[  1970.019] (EE) Failed to load module "nv" (module does not exist, 0)
[  1970.019] (II) LoadModule: "modesetting"
[  1970.019] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  1970.040] (II) Module modesetting: vendor="X.Org Foundation"
[  1970.040]    compiled for 1.18.4, module version = 1.18.4
[  1970.040]    Module class: X.Org Video Driver
[  1970.040]    ABI class: X.Org Video Driver, version 20.0
[  1970.040] (II) LoadModule: "fbdev"
[  1970.040] (WW) Warning, couldn't open module fbdev
[  1970.040] (II) UnloadModule: "fbdev"
[  1970.040] (II) Unloading fbdev
[  1970.040] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1970.040] (II) LoadModule: "vesa"
[  1970.041] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[  1970.068] (II) Module vesa: vendor="X.Org Foundation"
[  1970.068]    compiled for 1.18.4, module version = 2.3.4
[  1970.068]    Module class: X.Org Video Driver
[  1970.068]    ABI class: X.Org Video Driver, version 20.0
[  1970.068] (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
[  1970.069] (II) intel: Driver for Intel(R) HD Graphics
[  1970.069] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[  1970.069] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[  1970.069] (II) NOUVEAU driver
[  1970.069] (II) NOUVEAU driver for NVIDIA chipset families :
[  1970.069]    RIVA TNT        (NV04)
[  1970.069]    RIVA TNT2       (NV05)
[  1970.069]    GeForce 256     (NV10)
[  1970.069]    GeForce 2       (NV11, NV15)
[  1970.069]    GeForce 4MX     (NV17, NV18)
[  1970.070]    GeForce 3       (NV20)
[  1970.070]    GeForce 4Ti     (NV25, NV28)
[  1970.070]    GeForce FX      (NV3x)
[  1970.070]    GeForce 6       (NV4x)
[  1970.070]    GeForce 7       (G7x)
[  1970.070]    GeForce 8       (G8x)
[  1970.070]    GeForce GTX 200 (NVA0)
[  1970.070]    GeForce GTX 400 (NVC0)
[  1970.070] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1970.070] (II) VESA: driver for VESA chipsets: vesa
[  1970.070] (--) using VT number 7

[  1970.086] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20151010
[  1970.090] (II) [drm] nouveau interface version: 1.3.1
[  1970.090] (WW) Falling back to old probe method for modesetting
[  1970.090] (WW) Falling back to old probe method for vesa
[  1970.102] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview G
[  1970.102] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[  1970.102] (II) intel(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  1970.102] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  1970.102] (==) intel(0): RGB weight 888
[  1970.102] (==) intel(0): Default visual is TrueColor
[  1970.103] (II) intel(0): Output LVDS1 has no monitor section
[  1970.110] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[  1970.110] (II) intel(0): Enabled output LVDS1
[  1970.110] (II) intel(0): Output VGA1 has no monitor section
[  1970.110] (II) intel(0): Enabled output VGA1
[  1970.110] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  1970.110] (II) intel(0): Output VIRTUAL1 has no monitor section
[  1970.110] (II) intel(0): Enabled output VIRTUAL1
[  1970.111] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 1
[  1970.111] (==) intel(0): TearFree disabled
[  1970.111] (==) intel(0): DPI set to (96, 96)
[  1970.111] (II) Loading sub module "dri3"
[  1970.111] (II) LoadModule: "dri3"
[  1970.111] (II) Module "dri3" already built-in
[  1970.111] (II) Loading sub module "dri2"
[  1970.111] (II) LoadModule: "dri2"
[  1970.111] (II) Module "dri2" already built-in
[  1970.111] (II) Loading sub module "present"
[  1970.111] (II) LoadModule: "present"
[  1970.111] (II) Module "present" already built-in
[  1970.112] (II) Loading sub module "dri2"
[  1970.112] (II) LoadModule: "dri2"
[  1970.112] (II) Module "dri2" already built-in
[  1970.112] (--) NOUVEAU(G0): Chipset: "NVIDIA NVA8"
[  1970.112] (==) NOUVEAU(G0): Depth 24, (--) framebuffer bpp 32
[  1970.112] (==) NOUVEAU(G0): RGB weight 888
[  1970.112] (==) NOUVEAU(G0): Default visual is TrueColor
[  1970.112] (==) NOUVEAU(G0): Using HW cursor
[  1970.112] (==) NOUVEAU(G0): Allowed maximum DRI level 2.
[  1970.112] (==) NOUVEAU(G0): GLX sync to VBlank enabled.
[  1970.112] (==) NOUVEAU(G0): Page flipping enabled
[  1970.112] (==) NOUVEAU(G0): Swap limit set to 1 [Max allowed 2]
[  1970.112] (==) NOUVEAU(G0): Page flipping synced to vblank by kernel.
[  1970.112] (II) NOUVEAU(G0): Initializing outputs ...
[  1970.123] (II) NOUVEAU(G0): Output VGA-1-2 has no monitor section
[  1970.125] (II) NOUVEAU(G0): Output HDMI-1-1 has no monitor section
[  1970.125] (II) NOUVEAU(G0): 2 crtcs needed for screen.
[  1970.156] (II) NOUVEAU(G0): Allocated crtc nr. 0 to this screen.
[  1970.156] (II) NOUVEAU(G0): Allocated crtc nr. 1 to this screen.
[  1970.166] (II) NOUVEAU(G0): EDID for output VGA-1-2
[  1970.167] (II) NOUVEAU(G0): Printing probed modes for output VGA-1-2
[  1970.167] (II) NOUVEAU(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  1970.167] (II) NOUVEAU(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  1970.167] (II) NOUVEAU(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  1970.167] (II) NOUVEAU(G0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[  1970.167] (II) NOUVEAU(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  1970.168] (II) NOUVEAU(G0): EDID for output HDMI-1-1
[  1970.168] (II) NOUVEAU(G0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  1970.168] (--) NOUVEAU(G0): Virtual size is 1024x768 (pitch 0)
[  1970.168] (**) NOUVEAU(G0):  Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
[  1970.168] (II) NOUVEAU(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  1970.168] (**) NOUVEAU(G0):  Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
[  1970.168] (II) NOUVEAU(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  1970.168] (**) NOUVEAU(G0):  Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[  1970.168] (II) NOUVEAU(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  1970.168] (**) NOUVEAU(G0):  Driver mode "848x480": 33.8 MHz (scaled from 0.0 MHz), 31.0 kHz, 60.0 Hz
[  1970.168] (II) NOUVEAU(G0): Modeline "848x480"x60.0   33.75  848 864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
[  1970.168] (**) NOUVEAU(G0):  Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 59.9 Hz
[  1970.168] (II) NOUVEAU(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  1970.168] (==) NOUVEAU(G0): DPI set to (96, 96)
[  1970.168] (II) Loading sub module "fb"
[  1970.168] (II) LoadModule: "fb"
[  1970.169] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  1970.179] (II) Module fb: vendor="X.Org Foundation"
[  1970.179]    compiled for 1.18.4, module version = 1.0.0
[  1970.179]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1970.179] (II) Loading sub module "shadowfb"
[  1970.179] (II) LoadModule: "shadowfb"
[  1970.180] (II) Loading /usr/lib64/xorg/modules/libshadowfb.so
[  1970.194] (II) Module shadowfb: vendor="X.Org Foundation"
[  1970.194]    compiled for 1.18.4, module version = 1.0.0
[  1970.194]    ABI class: X.Org ANSI C Emulation, version 0.4
[  1970.194] (II) UnloadModule: "modesetting"
[  1970.194] (II) Unloading modesetting
[  1970.194] (II) UnloadModule: "vesa"
[  1970.194] (II) Unloading vesa
[  1970.194] (==) Depth 24 pixmap format is 32 bpp
[  1970.227] (II) NOUVEAU(G0): Channel setup complete.
[  1970.250] (II) NOUVEAU(G0): [COPY] async initialised.
[  1970.278] (II) NOUVEAU(G0): Hardware support for Present enabled
[  1970.278] (II) NOUVEAU(G0): [DRI2] Setup complete
[  1970.278] (II) NOUVEAU(G0): [DRI2]   DRI driver: nouveau
[  1970.278] (II) NOUVEAU(G0): [DRI2]   VDPAU driver: nouveau
[  1970.278] (II) Loading sub module "exa"
[  1970.278] (II) LoadModule: "exa"
[  1970.279] (II) Loading /usr/lib64/xorg/modules/libexa.so
[  1970.282] (II) Module exa: vendor="X.Org Foundation"
[  1970.282]    compiled for 1.18.4, module version = 2.6.0
[  1970.282]    ABI class: X.Org Video Driver, version 20.0
[  1970.282] (II) EXA(256): Driver allocated offscreen pixmaps
[  1970.283] (II) EXA(256): Driver registered support for the following operations:
[  1970.283] (II)         Solid
[  1970.283] (II)         Copy
[  1970.283] (II)         Composite (RENDER acceleration)
[  1970.283] (II)         UploadToScreen
[  1970.283] (II)         DownloadFromScreen
[  1970.283] (==) NOUVEAU(G0): Backing store enabled
[  1970.283] (==) NOUVEAU(G0): Silken mouse enabled
[  1970.283] (II) NOUVEAU(G0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[  1970.283] (II) NOUVEAU(G0): [XvMC] Extension initialized.
[  1970.283] (==) NOUVEAU(G0): DPMS enabled
[  1970.283] (II) NOUVEAU(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1970.286] (II) intel(0): SNA initialized with Alviso (gen3) backend
[  1970.286] (==) intel(0): Backing store enabled
[  1970.286] (==) intel(0): Silken mouse enabled
[  1970.286] (II) intel(0): HW Cursor enabled
[  1970.286] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1970.286] (==) intel(0): DPMS enabled
[  1970.287] (==) intel(0): Display hotplug detection enabled
[  1970.314] (II) intel(0): [XvMC] i915_xvmc driver initialized.
[  1970.314] (II) intel(0): [DRI2] Setup complete
[  1970.314] (II) intel(0): [DRI2]   DRI driver: i915
[  1970.314] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  1970.314] (II) intel(0): direct rendering: DRI2 enabled
[  1970.314] (II) intel(0): hardware support for Present enabled
[  1970.314] (--) RandR disabled
[  1971.971] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1971.972] (II) AIGLX: enabled GLX_ARB_create_context
[  1971.972] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  1971.972] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[  1971.972] (II) AIGLX: enabled GLX_INTEL_swap_event
[  1971.972] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  1971.972] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  1971.972] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  1971.972] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[  1971.972] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  1971.972] (II) AIGLX: Loaded and initialized i915
[  1971.972] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1971.973] (II) NOUVEAU(G0): NVEnterVT is called.
[  1972.013] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  1972.013] (II) intel(0): Setting screen physical size to 361 x 203
[  1972.629] (II) intel(0): EDID vendor "HSD", prod id 1206
[  1972.630] (II) intel(0): Printing DDC gathered Modelines:
[  1972.630] (II) intel(0): Modeline "1366x768"x0.0   71.90  1366 1414 1480 1486  768 774 782 806 -hsync -vsync (48.4 kHz eP)
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Thu Jan 05, 2017 8:08 pm    Post subject: Re: xorg-server 1.8: no keyboard or mouse after upgrade. Reply with quote

gfaccin wrote:
Code:

qlist  -I -C | grep ^x11-drivers/ | xargs emerge -1
works too :
Code:
tfoerste@t44 ~ $ qlist -I -C x11-drivers/
x11-drivers/xf86-input-evdev
x11-drivers/xf86-input-synaptics
Back to top
View user's profile Send private message
gfaccin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2004
Posts: 110

PostPosted: Thu Jan 05, 2017 8:14 pm    Post subject: Re: xorg-server 1.8: no keyboard or mouse after upgrade. Reply with quote

Hi Toralf,

Indeed! However the problem does not appear to be related to rebuilding the drivers to match the latest xorg. That's been done.

I guess it's something to do with configuration, since a major change in versions like that probably broke something up. But I'm not sure where to go to fix it.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Thu Jan 05, 2017 8:18 pm    Post subject: Reply with quote

Just a shot in the dark - what's about removing the old legacy keyboard entry ?
For me it is fully enough to have
Code:
INPUT_DEVICES="evdev synaptics"
at a 2 years old ThinkPad.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 05, 2017 8:27 pm    Post subject: Reply with quote

The newest universal development is libinput. 8)
Code:
INPUT_DEVICES="libinput"

There are no errors in Xorg log ... weird.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3647
Location: Hamburg

PostPosted: Thu Jan 05, 2017 8:37 pm    Post subject: Reply with quote

Jaglover wrote:
The newest universal development is libinput. 8)
Code:
INPUT_DEVICES="libinput"

There are no errors in Xorg log ... weird.
eix tells me :
Code:
 Description:         Library to handle input devices in Wayland
or is it for non-wayland too good ?
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6963
Location: Saint Amant, Acadiana

PostPosted: Thu Jan 05, 2017 9:56 pm    Post subject: Reply with quote

I am using it with Xorg, works for keyboard and mouse, haven't tried it on my laptop yet with touchpad.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
gfaccin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2004
Posts: 110

PostPosted: Fri Jan 06, 2017 12:05 am    Post subject: Reply with quote

Reporting on the latest tests:

1 - Removing the legacy keyboard and mouse on the input flags changed nothing. But was a valid shot, though.
2 - Recompiled everything to use libinput instead of evdev. Still no error messages on Xorg.log; and no working keyboard/mouse.

:(
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Fri Jan 06, 2017 12:48 am    Post subject: Reply with quote

Well that Xorg.0.log does show one thing: it detected nothing!

Things to inspect:

- I misread your version numbers. Current stable is 1.18, but you wrote 1.8. So maybe I'm reading something else here - is that 1.4 or 1.14?
I thought that you were doing a 1.4 to 1.18 jump which is huge, and 1.4 had internal drivers for mouse and keyboard which no longer work by default.
- Is your udev working?
- What is your kernel config for the input events?

The kernel needs to be configured with your exact input drivers and udev working for the evdev or libinput drivers to work. The legacy mouse/keyboard drivers do not, as they do direct access to them.

To go back to the old behavior you'll need to disable autodetect in your xorg.conf by adding

Option "AutoAddDevices" "off"

in your xorg.conf ServerFlags section and thus allow your old keyboard and mouse sections to load (assuming that's how old your xorg.conf is...) I suggest not doing this method, but it's up to you. Might as well use the new autodetect routine as this will be used from now on for newer versions of xorg.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
gfaccin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2004
Posts: 110

PostPosted: Fri Jan 06, 2017 5:45 am    Post subject: Reply with quote

eccerr0r,

1 - You are correct. Versions are 1.14 moving forward to 1.18. I misspelled it.
2 - Udev is version 208. Now that you raised the issue, I've upgraded it to 215. And voilá! It's alive!

So the problem was udev. Probably something went wrong after the world upgrade from a very old setup. The new one fixed it!

Thanks guys! Changing the topic subject to Resolved.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jan 06, 2017 9:00 am    Post subject: Reply with quote

gfaccin wrote:
2 - Udev is version 208. Now that you raised the issue, I've upgraded it to 215. And voilá! It's alive!

gfaccin ... I'm prompted to wonder what special magic is involved there.

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum