Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]No functional keyboard/mouse at X login
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Fri Sep 30, 2011 9:07 pm    Post subject: [SOLVED]No functional keyboard/mouse at X login Reply with quote

I simply have no functional keyboard or mouse at X login without gdm login manager. The thing is when an X session is launched with gdm only the mouse is active/functional at login if a user is not selected in the user list. That's mean if I want to switch to a terminal I have to select a user first! so the keyboard will work after that, otherwise no functional/active keyboard.

The issue is worse when trying to use another login manager other than gdm... I'm trying to use slim/elsa (new e17 login manager), but if I do, I simply have no responsive keyboard or mouse. And i'd like to get rid of gdm because I decided to remove gnome[-2.31] because I'm not going to gnome-3.0 route anyway. I have too many dependencies related to gdm and a few gnome package related to it... I managed to get rid of roughly 100 packages right now of nearly 200.

I did not have this issue before but I cannot remember when it started, I did not care as long as I had gdm arround. Maybe it was when I made a half migration to the new xorg configuration: move everything to `/etc/X11/xorg.conf.d' and remove xorg.conf file.

Well, actually I have those files:
20-mouse.conf wrote:
Section "InputClass"
Identifier "eMX610"
Driver "evdev"
MatchProduct "Logitech USB-PS/2 Optical Mouse"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relBits" "~0-2 ~6 ~8"
EndSection

30-keyboard.conf wrote:
Section "InputClass"
Identifier "eKeyboard"
Driver "evdev"
MatchProduct "AT Translated Set 2 keyboard"
MatchIsKeyboard "on"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr,us"
Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
Option "XkbVariant" ",qwerty"
EndSection

40-monitor.conf wrote:
Section "Monitor"
Identifier "Identifier "DVI-D-1"
VendorName "DELL"
ModelName "2000WFP"
Option "PreferredMode" "1680x1050"
EndSection

Section "Device"
Option "AddARGBGLXVisuals" "on"
Option "NoLogo"
Identifier "NVIDIA"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

I don't use 40-monitor.conf because, running xorg-server-1.9.5, end up getting error about "no screen found". The same is true even after adding a "Screen" section in 40-monitor.conf, so I'm still using a xorg.conf file... because I did not want to waste time on it... half baked migration as I was saying. But anyway, this shouldn't be an issue.

And here my xorg.conf file:
xorg.conf wrote:
Section "ServerLayout"
Identifier "X.conf.ik-nvidia"
Screen 0 "NVIDIA" 0 0
EndSection

Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/ttf-fstd/"
FontPath "/usr/share/fonts/pfonts/"
EndSection

Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "glx"
Load "GLcore"
EndSection

Section "Monitor"
Identifier "DELL20"
VendorName "Dell"
ModelName "Dell 20"
EndSection

Section "Device"
Option "AddARGBGLXVisuals" "on"
Option "NoLogo"
Identifier "NVIDIA"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "NVIDIA"
Device "NVIDIA"
Monitor "DELL20"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

And everything run perfectly fine, I mean everything goes as expected, there's nothing particular in Xorg.0.log. The screen and devices are detected and the input classes are applied to the right devices as expected. So there's nothing to be found there.

So the question is what is happening at X login that make the keyboard/mouse not being active/functional? Someone has an idea?
Thanks for any input.


Last edited by tclover on Wed Oct 05, 2011 12:59 am; edited 2 times in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5270

PostPosted: Fri Sep 30, 2011 11:57 pm    Post subject: Reply with quote

Hard to tel at first, but:
- drop that file for mouse - there's already a default one and none of those options that you're trying to set can be set anymore
- restrict keyboard to 'dev/input/event*' paths (those are only ones that will work anyway) - chances are that for you it will work better than MatchProduct
- don't try to set XkbRules - evdev driver hardcodes that

As for more details, we'd need to see the xorg log.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3919

PostPosted: Sat Oct 01, 2011 12:04 am    Post subject: Reply with quote

VoidMage wrote:
As for more details, we'd need to see the xorg log.

Looks like the jedi mind trick "So there's nothing to be found there." doesn't work on VoidMage :)

If i was a seer i would answer also : didn't rebuild evdev after xorg ?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5270

PostPosted: Sat Oct 01, 2011 1:07 am    Post subject: Reply with quote

krinn wrote:
VoidMage wrote:
As for more details, we'd need to see the xorg log.

Looks like the jedi mind trick "So there's nothing to be found there." doesn't work on VoidMage :)

If i was a seer i would answer also : didn't rebuild evdev after xorg ?


Bah, jedi - as in Babylon5, even if sith were wrong, they were less wrong than then.


And no, the poster said, that after using gdm, the keyboard is working and before that the mouse is.
Back to top
View user's profile Send private message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Sat Oct 01, 2011 9:06 am    Post subject: Reply with quote

Well, here is a Xorg.0.log for that X.conf.ik-nvidia X server layout.
Xorg.0.log wrote:
[ 1345.810]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[ 1345.810] X Protocol Version 11, Revision 0
[ 1345.810] Build Operating System: Linux 2.6.38-pf8 x86_64 Gentoo
[ 1345.810] Current Operating System: Linux lufik 3.0.3-git #3 SMP PREEMPT Mon Sep 26 14:30:22 UTC 2011 x86_64
[ 1345.810] Kernel command line: BOOT_IMAGE=/boot/kernel-3.0.3-git iroot=irvg-root:c:ext4 isqfsd=y,a:lib64 ikroot=gpg:sde1:/k/ikk.g ilvm=irpv-sdc6 ikmap=fr_l1-amd64.bin: video=uvesafb:ywrap,1680x1050-24@50 max_loop=32 raid=noautodetect zcache
[ 1345.810] Build Date: 16 June 2011 09:36:34AM
[ 1345.810]
[ 1345.810] Current version of pixman: 0.22.2
[ 1345.810] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1345.810] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1345.810] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 30 21:38:37 2011
[ 1345.810] (==) Using config file: "/etc/X11/xorg.conf"
[ 1345.810] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 1345.810] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1345.813] (==) ServerLayout "X.conf.ik-nvidia"
[ 1345.813] (**) |-->Screen "NVIDIA" (0)
[ 1345.813] (**) | |-->Monitor "DELL20"
[ 1345.813] (**) | |-->Device "NVIDIA"
[ 1345.813] (==) Automatically adding devices
[ 1345.813] (==) Automatically enabling devices
[ 1345.813] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[ 1345.813] Entry deleted from font path.
[ 1345.813] (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 1345.813] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1345.813] Entry deleted from font path.
[ 1345.813] (WW) The directory "/usr/share/fonts/pfonts/" does not exist.
[ 1345.813] Entry deleted from font path.
[ 1345.813] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[ 1345.813] Entry deleted from font path.
[ 1345.813] (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 1345.813] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 1345.813] Entry deleted from font path.
[ 1345.813] (**) FontPath set to:
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/,
/usr/share/fonts/ttf-fstd/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 1345.813] (**) ModulePath set to "/usr/lib64/xorg/modules"
[ 1345.813] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 1345.813] (II) Loader magic: 0x7d5140
[ 1345.813] (II) Module ABI versions:
[ 1345.813] X.Org ANSI C Emulation: 0.4
[ 1345.813] X.Org Video Driver: 8.0
[ 1345.813] X.Org XInput driver : 11.0
[ 1345.813] X.Org Server Extension : 4.0
[ 1345.813] (--) PCI:*(0:1:0:0) 10de:0611:19da:1040 rev 162, Mem @ 0xfa000000/16777216, 0xd0000000/268435456, 0xf8000000/33554432, I/O @ 0x0000df00/128, BIOS @ 0x????????/131072
[ 1345.813] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1345.813] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 1345.813] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 1345.813] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 1345.813] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 1345.813] (II) "dri" will be loaded by default.
[ 1345.813] (II) "dri2" will be loaded by default.
[ 1345.813] (II) LoadModule: "extmod"
[ 1345.813] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[ 1345.813] (II) Module extmod: vendor="X.Org Foundation"
[ 1345.813] compiled for 1.9.5, module version = 1.0.0
[ 1345.813] Module class: X.Org Server Extension
[ 1345.813] ABI class: X.Org Server Extension, version 4.0
[ 1345.813] (II) Loading extension MIT-SCREEN-SAVER
[ 1345.813] (II) Loading extension XFree86-VidModeExtension
[ 1345.813] (II) Loading extension XFree86-DGA
[ 1345.813] (II) Loading extension DPMS
[ 1345.813] (II) Loading extension XVideo
[ 1345.813] (II) Loading extension XVideo-MotionCompensation
[ 1345.813] (II) Loading extension X-Resource
[ 1345.813] (II) LoadModule: "dbe"
[ 1345.813] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[ 1345.813] (II) Module dbe: vendor="X.Org Foundation"
[ 1345.813] compiled for 1.9.5, module version = 1.0.0
[ 1345.813] Module class: X.Org Server Extension
[ 1345.813] ABI class: X.Org Server Extension, version 4.0
[ 1345.813] (II) Loading extension DOUBLE-BUFFER
[ 1345.813] (II) LoadModule: "record"
[ 1345.813] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[ 1345.813] (II) Module record: vendor="X.Org Foundation"
[ 1345.813] compiled for 1.9.5, module version = 1.13.0
[ 1345.813] Module class: X.Org Server Extension
[ 1345.813] ABI class: X.Org Server Extension, version 4.0
[ 1345.813] (II) Loading extension RECORD
[ 1345.813] (II) LoadModule: "glx"
[ 1345.813] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 1345.823] (II) Module glx: vendor="NVIDIA Corporation"
[ 1345.823] compiled for 4.0.2, module version = 1.0.0
[ 1345.823] Module class: X.Org Server Extension
[ 1345.823] (II) NVIDIA GLX Module 275.09.07 Wed Jun 8 14:34:43 PDT 2011
[ 1345.823] (II) Loading extension GLX
[ 1345.823] (II) LoadModule: "dri"
[ 1345.825] (WW) Warning, couldn't open module dri
[ 1345.825] (II) UnloadModule: "dri"
[ 1345.825] (EE) Failed to load module "dri" (module does not exist, 0)
[ 1345.825] (II) LoadModule: "dri2"
[ 1345.825] (WW) Warning, couldn't open module dri2
[ 1345.825] (II) UnloadModule: "dri2"
[ 1345.825] (EE) Failed to load module "dri2" (module does not exist, 0)
[ 1345.825] (II) LoadModule: "nvidia"
[ 1345.825] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 1345.825] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 1345.825] compiled for 4.0.2, module version = 1.0.0
[ 1345.825] Module class: X.Org Video Driver
[ 1345.825] (II) NVIDIA dlloader X Driver 275.09.07 Wed Jun 8 14:18:12 PDT 2011
[ 1345.825] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 1345.825] (++) using VT number 7

[ 1345.825] (II) Loading sub module "fb"
[ 1345.825] (II) LoadModule: "fb"
[ 1345.825] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 1345.825] (II) Module fb: vendor="X.Org Foundation"
[ 1345.825] compiled for 1.9.5, module version = 1.0.0
[ 1345.825] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1345.825] (II) Loading sub module "wfb"
[ 1345.825] (II) LoadModule: "wfb"
[ 1345.827] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 1345.827] (II) Module wfb: vendor="X.Org Foundation"
[ 1345.827] compiled for 1.9.5, module version = 1.0.0
[ 1345.827] ABI class: X.Org ANSI C Emulation, version 0.4
[ 1345.827] (II) Loading sub module "ramdac"
[ 1345.827] (II) LoadModule: "ramdac"
[ 1345.827] (II) Module "ramdac" already built-in
[ 1345.827] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 1345.827] (==) NVIDIA(0): RGB weight 888
[ 1345.827] (==) NVIDIA(0): Default visual is TrueColor
[ 1345.827] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 1345.827] (**) NVIDIA(0): Option "NoLogo"
[ 1345.827] (**) NVIDIA(0): Option "AddARGBGLXVisuals" "on"
[ 1346.569] (II) NVIDIA(GPU-0): Display (DELL 2007WFP (DFP-0)) does not support NVIDIA 3D
[ 1346.569] (II) NVIDIA(GPU-0): Vision stereo.
[ 1346.571] (II) NVIDIA(0): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
[ 1346.571] (--) NVIDIA(0): Memory: 524288 kBytes
[ 1346.571] (--) NVIDIA(0): VideoBIOS: 62.92.24.00.00
[ 1346.571] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 1346.571] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[ 1346.571] (--) NVIDIA(0): Connected display device(s) on GeForce 8800 GT at PCI:1:0:0
[ 1346.571] (--) NVIDIA(0): DELL 2007WFP (DFP-0)
[ 1346.571] (--) NVIDIA(0): DELL 2007WFP (DFP-0): 330.0 MHz maximum pixel clock
[ 1346.571] (--) NVIDIA(0): DELL 2007WFP (DFP-0): Internal Dual Link TMDS
[ 1346.645] (II) NVIDIA(0): Assigned Display Device: DFP-0
[ 1346.645] (==) NVIDIA(0):
[ 1346.645] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 1346.645] (==) NVIDIA(0): will be used as the requested mode.
[ 1346.645] (==) NVIDIA(0):
[ 1346.645] (II) NVIDIA(0): Validated modes:
[ 1346.645] (II) NVIDIA(0): "nvidia-auto-select"
[ 1346.645] (II) NVIDIA(0): Virtual screen size determined to be 1680 x 1050
[ 1346.676] (--) NVIDIA(0): DPI set to (99, 98); computed from "UseEdidDpi" X config
[ 1346.676] (--) NVIDIA(0): option
[ 1346.676] (**) NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
[ 1346.676] (--) Depth 24 pixmap format is 32 bpp
[ 1346.676] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
[ 1346.684] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[ 1346.712] (II) Loading extension NV-GLX
[ 1346.752] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 1346.752] (==) NVIDIA(0): Backing store disabled
[ 1346.752] (==) NVIDIA(0): Silken mouse enabled
[ 1346.752] (==) NVIDIA(0): DPMS enabled
[ 1346.752] (II) Loading extension NV-CONTROL
[ 1346.753] (II) Loading extension XINERAMA
[ 1346.753] (II) Loading sub module "dri2"
[ 1346.753] (II) LoadModule: "dri2"
[ 1346.753] (WW) Warning, couldn't open module dri2
[ 1346.753] (II) UnloadModule: "dri2"
[ 1346.753] (EE) NVIDIA: Failed to load module "dri2" (module does not exist, 0)
[ 1346.753] (II) NVIDIA(0): The X server will not be able to send the VDPAU driver name to
[ 1346.753] (II) NVIDIA(0): libvdpau.
[ 1346.753] (==) RandR enabled
[ 1346.753] (II) Initializing built-in extension Generic Event Extension
[ 1346.753] (II) Initializing built-in extension SHAPE
[ 1346.753] (II) Initializing built-in extension MIT-SHM
[ 1346.753] (II) Initializing built-in extension XInputExtension
[ 1346.753] (II) Initializing built-in extension XTEST
[ 1346.753] (II) Initializing built-in extension BIG-REQUESTS
[ 1346.753] (II) Initializing built-in extension SYNC
[ 1346.753] (II) Initializing built-in extension XKEYBOARD
[ 1346.753] (II) Initializing built-in extension XC-MISC
[ 1346.753] (II) Initializing built-in extension XINERAMA
[ 1346.753] (II) Initializing built-in extension XFIXES
[ 1346.753] (II) Initializing built-in extension RENDER
[ 1346.753] (II) Initializing built-in extension RANDR
[ 1346.753] (II) Initializing built-in extension COMPOSITE
[ 1346.753] (II) Initializing built-in extension DAMAGE
[ 1346.754] (II) Initializing extension GLX
[ 1346.856] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[ 1346.856] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 1346.856] (II) LoadModule: "evdev"
[ 1346.856] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 1346.856] (II) Module evdev: vendor="X.Org Foundation"
[ 1346.856] compiled for 1.9.5, module version = 2.6.0
[ 1346.856] Module class: X.Org XInput Driver
[ 1346.856] ABI class: X.Org XInput driver, version 11.0
[ 1346.856] (**) Power Button: always reports core events
[ 1346.856] (**) Power Button: Device: "/dev/input/event4"
[ 1346.856] (--) Power Button: Found keys
[ 1346.856] (II) Power Button: Configuring as keyboard
[ 1346.856] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 1346.856] (**) Option "xkb_rules" "evdev"
[ 1346.856] (**) Option "xkb_model" "evdev"
[ 1346.856] (**) Option "xkb_layout" "us"
[ 1346.880] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 1346.880] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 1346.880] (**) Power Button: always reports core events
[ 1346.880] (**) Power Button: Device: "/dev/input/event3"
[ 1346.880] (--) Power Button: Found keys
[ 1346.880] (II) Power Button: Configuring as keyboard
[ 1346.880] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[ 1346.880] (**) Option "xkb_rules" "evdev"
[ 1346.880] (**) Option "xkb_model" "evdev"
[ 1346.880] (**) Option "xkb_layout" "us"
[ 1346.884] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event0)
[ 1346.884] (**) CHESEN USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 1346.884] (**) CHESEN USB Keyboard: Applying InputClass "eKeyboard"
[ 1346.884] (**) CHESEN USB Keyboard: always reports core events
[ 1346.884] (**) CHESEN USB Keyboard: Device: "/dev/input/event0"
[ 1346.884] (--) CHESEN USB Keyboard: Found keys
[ 1346.884] (II) CHESEN USB Keyboard: Configuring as keyboard
[ 1346.884] (II) XINPUT: Adding extended input device "CHESEN USB Keyboard" (type: KEYBOARD)
[ 1346.884] (**) Option "xkb_rules" "evdev"
[ 1346.884] (**) Option "xkb_model" "pc105"
[ 1346.884] (**) Option "xkb_layout" "fr,us"
[ 1346.884] (**) Option "xkb_variant" ",qwerty"
[ 1346.884] (**) Option "xkb_options" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
[ 1346.907] (II) config/udev: Adding input device CHESEN USB Keyboard (/dev/input/event1)
[ 1346.907] (**) CHESEN USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 1346.907] (**) CHESEN USB Keyboard: Applying InputClass "eKeyboard"
[ 1346.907] (**) CHESEN USB Keyboard: always reports core events
[ 1346.907] (**) CHESEN USB Keyboard: Device: "/dev/input/event1"
[ 1346.907] (--) CHESEN USB Keyboard: Found keys
[ 1346.907] (II) CHESEN USB Keyboard: Configuring as keyboard
[ 1346.907] (II) XINPUT: Adding extended input device "CHESEN USB Keyboard" (type: KEYBOARD)
[ 1346.907] (**) Option "xkb_rules" "evdev"
[ 1346.907] (**) Option "xkb_model" "pc105"
[ 1346.907] (**) Option "xkb_layout" "fr,us"
[ 1346.907] (**) Option "xkb_variant" ",qwerty"
[ 1346.907] (**) Option "xkb_options" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
[ 1346.907] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event2)
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "eMX610"
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event2"
[ 1346.907] (--) Logitech USB-PS/2 Optical Mouse: Found 12 mouse buttons
[ 1346.907] (--) Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[ 1346.907] (--) Logitech USB-PS/2 Optical Mouse: Found relative axes
[ 1346.907] (--) Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[ 1346.907] (II) Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[ 1346.907] (II) Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 1346.907] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE)
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[ 1346.907] (II) Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[ 1346.907] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse0)
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "eMX610"
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[ 1346.907] (**) Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/mouse0"
[ 1346.907] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
[ 1346.940] (II) UnloadModule: "evdev"
[ 1346.940] (EE) PreInit returned NULL for "Logitech USB-PS/2 Optical Mouse"

I cannot remove the match product for 20-mouse.conf because I actually use the same config files for two machines. And the second machine is a laptop. So to be complete, I have a few more lines in 20-mouse.conf:
2nd half of 20-mouse.conf wrote:
Section "InputClass"
Identifier "eVXNano"
Driver "evdev"
MatchProduct "Logitech USB Receiver"
Option "Buttons" "9"
Option "WHEELRelativeAxisButtons" "4 5"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection

and
50-synaptics.conf wrote:
Section "InputClass"
Identifier "eTouchpad"
Driver "synaptics"
MatchIsTouchpad "on"
Option "VertTwoFingerScroll" "1"
Option "TapButton1" "1"
EndSection

which is necessary otherwise the tap buton does not work. So I can pretty much remove the match product option for 30-keyboard.conf because the options aren't different anyway between the two machine anymore. However, I couldn't for 20-mouse.conf or 50-synaptics.conf otherwise both input eclasses would be applied for every mouse/touchpad and that I do not want to happen.
Actually I use a single stage5 for both machines which share almost everything but a few things... like hostname, fstab of course and such. This way, I do not bother to go fishing the config files when updating changing some stuff. I've just set up a vga profile with hprofile which swap a xorg.conf file based on the hostname and the driver in use, e.g. nivida/nouveau/nv or i915/radeon and set up opengl accordingly.

Lets see what I can do with your inputs.
Back to top
View user's profile Send private message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Mon Oct 03, 2011 2:51 pm    Post subject: Reply with quote

Drasica posted in topic 6832150 page 13 a possible fix... one has to upgrade to xorg-server-1.11. I'll see if can upgrade nvidia-drivers which will let me do that.
Back to top
View user's profile Send private message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Wed Oct 05, 2011 12:59 am    Post subject: Solved Reply with quote

It was `compose:rwin' keyboard option that was the culpirit for the keyboard... darn, that thing caused me too much headache! And the MatchDevicePath may be necessary as well, at least it is for the mouse.

So I had the time to switch to xorg.conf free with it. Here the final tweaks of the previous files:
30-keyboard.conf wrote:
Section "InputClass"
Identifier "eKeyboard"
Driver "evdev"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,fr"
Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,terminate:ctrl_alt_bksp"
EndSection

20-mouse.conf wrote:
Section "InputClass"
Identifier "eMX610"
Driver "evdev"
MatchProduct "Logitech USB-PS/2 Optical Mouse"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relBits" "~0-2 ~6 ~8"
EndSection

Section "InputClass"
Identifier "eVXNano"
Driver "evdev"
MatchProduct "Logitech USB Receiver"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Option "Buttons" "9"
Option "WHEELRelativeAxisButtons" "4 5"
Option "HWHEELRelativeAxisButtons" "7 6"
EndSection

40-monitor.conf wrote:
Section "Monitor"
Identifier "DFP-0"
VendorName "DELL"
ModelName "2000WFP"
Option "PreferredMode" "1680x1050"
EndSection

Section "Device"
Option "AddARGBGLXVisuals" "on"
Option "NoLogo"
Identifier "8800GT"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "NVIDIA"
Device "8800GT"
Monitor "DFP-0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

50-synaptics.conf wrote:
Section "Monitor"
Identifier "DFP-0"
VendorName "DELL"
ModelName "2000WFP"
Option "PreferredMode" "1680x1050"
EndSection

Section "Device"
Option "AddARGBGLXVisuals" "on"
Option "NoLogo"
Identifier "8800GT"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "NVIDIA"
Device "8800GT"
Monitor "DFP-0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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