First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 199317
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Piotr Jaroszyński <peper@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose daLuz <jdaluz@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199317 depends on: Show dependency tree
Bug 199317 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-16 02:35 0000
Updating xf86-input-evdev from 1.1.5-r2 to 1.2.0 and restarting X, my mouse no
longer processes X-axis events, it just moves vertically. I get the following
in Xorg.0.log:

(**) Option "CoreKeyboard"
(**) Logitech Cordless Desktop Keyboard: always reports core events
(**) Option "xkb_model" "pc104"
(**) Option "CorePointer"
(**) Logitech MX-600 Cordless USB Mouse: always reports core events
(II) Logitech MX-600 Cordless USB Mouse: Found 1 absolute axes.
(II) Logitech MX-600 Cordless USB Mouse: Configuring as pointer.
(II) Logitech MX-600 Cordless USB Mouse: Found 5 relative axes.
(II) Logitech MX-600 Cordless USB Mouse: Configuring as pointer.
(EE) Logitech MX-600 Cordless USB Mouse: Unable to parse 'RelAxis 0' as a map
specifier.
(**) Logitech MX-600 Cordless USB Mouse: Configuring 1 absolute axes.
(II) Logitech MX-600 Cordless USB Mouse: Checking button DIGI_STYLUS (74)
(II) Logitech MX-600 Cordless USB Mouse: Checking bit 330
(EE) Logitech MX-600 Cordless USB Mouse: AbsoluteTouch: 'DIGI_Touch' does not
exist.
(II) Logitech MX-600 Cordless USB Mouse: Found 9 mouse buttons
(II) Logitech MX-600 Cordless USB Mouse: Configured 18 mouse buttons.
(II) evaluating device (Logitech MX-600 Cordless USB Mouse)
(II) XINPUT: Adding extended input device "Logitech MX-600 Cordless USB Mouse"
(type: KEYBOARD)
(II) evaluating device (Logitech Cordless Desktop Keyboard)
(II) XINPUT: Adding extended input device "Logitech Cordless Desktop Keyboard"
(type: KEYBOARD)
(**) Logitech MX-600 Cordless USB Mouse: 4 valuators.
(**) Logitech MX-600 Cordless USB Mouse: Configuring in Absolute mode.
(**) Logitech MX-600 Cordless USB Mouse: Registering 18 buttons.
evdev: leds are 0x0 for device 2
(II) Logitech MX-600 Cordless USB Mouse: Init
evdev: leds are 0x0 for device 3
(II) Logitech Cordless Desktop Keyboard: Init
(II) Logitech MX-600 Cordless USB Mouse: On
(II) Logitech Cordless Desktop Keyboard: On
(II) Logitech MX-600 Cordless USB Mouse: Off
(II) Logitech Cordless Desktop Keyboard: Off
(WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
(II) No APM support in BIOS or kernel
(II) NVIDIA(0): Setting mode "1920x1200+0+0"
(II) Logitech MX-600 Cordless USB Mouse: On
(II) Logitech Cordless Desktop Keyboard: On

This is with xorg-x11 7.3. Downgrading xf86-input-evdev eliminates the problem.

InputDevice sections from xorg.conf:

Section "InputDevice"
        Identifier  "Logitech Cordless Desktop Keyboard"
        Driver      "evdev"
        Option      "Device" "/dev/input/event2"
        Option      "XkbModel" "pc104"
EndSection

Section "InputDevice"
        Identifier  "Logitech MX-600 Cordless USB Mouse"
        Driver      "evdev"
        Option      "Device" "/dev/input/event3"
        Option      "ZAxisMapping"   "4 5"
        Option      "Buttons"   "12"
EndSection

emerge --info:

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0,
2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
6000+
Timestamp of tree: Fri, 16 Nov 2007 00:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18.50.0.3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --verbose --nospinner"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms
splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/xeffects
/usr/portage/local/layman/vmware /usr/portage/local/layman/berkano
/usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bitmap-fonts
bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd
dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz
gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde
kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg
mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png
pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session
spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts
type1-fonts unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid
zlib" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Donnie Berkholz 2007-11-16 18:21:28 0000 -------
I just unkeyworded 1.2.0 because it apparently requires xorg-server built with
hal support and hal 0.5.10 (gentopia overlay only) installed to work properly.

------- Comment #2 From Jimmy.Jazz@gmx.net 2007-11-17 22:33:17 0000 -------
(In reply to comment #1)
> I just unkeyworded 1.2.0 because it apparently requires xorg-server built with
> hal support and hal 0.5.10 (gentopia overlay only) installed to work properly.
> 
Hello,

i'm using xf86-input-evdev 1.2.0 with sys-apps/hal-0.5.9.1-r3  and a "Razer
Diamondback" mouse. Good news, they work pretty well together.

Here is the InputDevice section i'm using ( i'm not sure about the
{ev,key,rel}Bits things, the doc isn't clear enough. Anyway it works for me. I
was certainly lucky ;)
Section "InputDevice"
        Identifier  "Razer Diamondback"
        Driver      "evdev"
        #Driver      "mouse"
        #Option      "evBits" "+1-2"
        Option      "evBits" "+0-2"
        Option      "keyBits" "+273-278"
        #Option      "keyBits" "~272-287"
        #Option      "relBits" "~0-2 ~6 ~8"
        Option      "relBits" "+0 +1 +8"
        Option      "Pass" "1"

        Option      "Dev Vendor" "0x1532"
        Option      "Dev Product" "0x0002"
        #Option     "Device" "/dev/input/mouse0"
        Option      "Device" "/dev/input/event1"
        Option      "Buttons" "9"
        Option      "ZAxisMapping" "4 5"
        Option      "ButtonMapping" "1 2 3 4 5 6 7 8 9"
        Option      "Resolution" "1600"
        Option      "SampleRate" "2000"
        Option      "SendCoreEvents" "true"
        Option      "Emulate3Buttons" "no"
EndSection

Actually it is more like the keyboard that won't work as expected. us/en
keyboard layout seems to be hard coded. Not only your session will be affected
but gdm as well. I just continue to use the kbd driver for the moment.

As a workaround, you can modify /etc/conf.d/xdm, export some more variables,

XKBKEYMAP=""
XKBTYPES="complete"
XKBCOMPAT="complete+ledscroll(group_lock)"
XKBSYMBOLS="pc+fr+inet(evdev)+us:2+group(lwin_toggle)"
XKBGEOMETRY="pc(pc104)"

export XKBKEYMAP XKBTYPES XKBCOMPAT XKBSYMBOLS XKBGEOMETRY

and update /etc/X11/xdm/Init/Default,

--- Default    2007-11-17 22:48:30.000000000 +0100
+++ /etc/X11/xdm/Init/Default/Default        2007-11-17 22:49:30.000000000
+0100
@@ -62,28 +62,14 @@

 SETXKBMAP=`gdmwhich setxkbmap`
 if [ x$SETXKBMAP != x ] ; then
-  # FIXME: is this all right?  Is this completely on crack?
-  # What this does is move the xkb configuration from the GDM_PARENT_DISPLAY
-  # FIXME: This should be done in code.  Or there must be an easier way ...
-  if [ -n "$GDM_PARENT_DISPLAY" ]; then
-    XKBSETUP=`( DISPLAY=$GDM_PARENT_DISPLAY XAUTHORITY=$GDM_PARENT_XAUTHORITY
$SETXKBMAP -v )`
-    if [ -n "$XKBSETUP" ]; then
-      XKBKEYMAP=`echo "$XKBSETUP" | grep '^keymap' | awk '{ print $2 }'`
-      XKBTYPES=`echo "$XKBSETUP" | grep '^types' | awk '{ print $2 }'`
-      XKBCOMPAT=`echo "$XKBSETUP" | grep '^compat' | awk '{ print $2 }'`
-      XKBSYMBOLS=`echo "$XKBSETUP" | grep '^symbols' | awk '{ print $2 }'`
-      XKBGEOMETRY=`echo "$XKBSETUP" | grep '^geometry' | awk '{ print $2 }'`
-      if [ -n "$XKBKEYMAP" ]; then
-        $SETXKBMAP -keymap "$XKBKEYMAP"
-      elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n
"$XKBGEOMETRY" ]; then
-        $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols
"$XKBSYMBOLS" -geometry "$XKBGEOMETRY"
-      elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then
-        $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols
"$XKBSYMBOLS"
-      elif [ -n "$XKBSYMBOLS" ]; then
-        $SETXKBMAP -symbols "$XKBSYMBOLS"
-      fi
-    fi
+  if [ -n "$XKBKEYMAP" ]; then
+    $SETXKBMAP -keymap "$XKBKEYMAP"
+  elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" -a -n
"$XKBGEOMETRY" ]; then
+    $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS"
-geometry "$XKBGEOMETRY"
+  elif [ -n "$XKBTYPES" -a -n "$XKBCOMPAT" -a -n "$XKBSYMBOLS" ]; then
+    $SETXKBMAP -types "$XKBTYPES" -compat "$XKBCOMPAT" -symbols "$XKBSYMBOLS"
+  elif [ -n "$XKBSYMBOLS" ]; then
+    $SETXKBMAP -symbols "$XKBSYMBOLS"
   fi
 fi
-
 exit 0

It is not really clean but it works.

Jj

------- Comment #3 From Jose daLuz 2008-01-06 03:34:01 0000 -------
I gather from other hal/xorg related bugs that this is probably due to an
incorrect config file for hal hotplug of input devices. Does anyone know if
there's any documentation for this config so I can experiment with different
settings to see if I can get it to recognize both mouse axes?

------- Comment #4 From Eric Bosch 2008-01-07 03:15:26 0000 -------
I too have the same issue with Logitech MX1000.

------- Comment #5 From Karl-Robert Ernst 2008-01-07 18:17:45 0000 -------
There is a new way of setting the keyboard layout:
Its done in hal now by setting fdi files:
1. goto /usr/share/hal/fdi/policy/10osvendor
2. copy file 10-keymap.fdi to /etc/hal/fdi/policy
3. modify the file to fit your needs, e.g.
<merge key="input.xkb.layout" type="string">de</merge>
to enable german keyboard layout

------- Comment #6 From Vlastimil Babka (Caster) 2008-01-07 21:06:57 0000 -------
Please take keyboard layout issues to bug 200061 and let's focus on the mouse
axis issue only :/

Added what seems to be relevant upstream bug to $URL and commented there.

------- Comment #7 From Greg Montgomery 2008-02-03 21:55:36 0000 -------
(In reply to comment #0)
> Updating xf86-input-evdev from 1.1.5-r2 to 1.2.0 and restarting X, my mouse no
> longer processes X-axis events, it just moves vertically. I get the following
> in Xorg.0.log:
> 
> (**) Option "CoreKeyboard"
> (**) Logitech Cordless Desktop Keyboard: always reports core events
> (**) Option "xkb_model" "pc104"
> (**) Option "CorePointer"
> (**) Logitech MX-600 Cordless USB Mouse: always reports core events
> (II) Logitech MX-600 Cordless USB Mouse: Found 1 absolute axes.
> (II) Logitech MX-600 Cordless USB Mouse: Configuring as pointer.
> (II) Logitech MX-600 Cordless USB Mouse: Found 5 relative axes.
> (II) Logitech MX-600 Cordless USB Mouse: Configuring as pointer.
> (EE) Logitech MX-600 Cordless USB Mouse: Unable to parse 'RelAxis 0' as a map
> specifier.
> (**) Logitech MX-600 Cordless USB Mouse: Configuring 1 absolute axes.
> (II) Logitech MX-600 Cordless USB Mouse: Checking button DIGI_STYLUS (74)
> (II) Logitech MX-600 Cordless USB Mouse: Checking bit 330
> (EE) Logitech MX-600 Cordless USB Mouse: AbsoluteTouch: 'DIGI_Touch' does not
> exist.
> (II) Logitech MX-600 Cordless USB Mouse: Found 9 mouse buttons
> (II) Logitech MX-600 Cordless USB Mouse: Configured 18 mouse buttons.
> (II) evaluating device (Logitech MX-600 Cordless USB Mouse)
> (II) XINPUT: Adding extended input device "Logitech MX-600 Cordless USB Mouse"
> (type: KEYBOARD)
> (II) evaluating device (Logitech Cordless Desktop Keyboard)
> (II) XINPUT: Adding extended input device "Logitech Cordless Desktop Keyboard"
> (type: KEYBOARD)
> (**) Logitech MX-600 Cordless USB Mouse: 4 valuators.
> (**) Logitech MX-600 Cordless USB Mouse: Configuring in Absolute mode.
> (**) Logitech MX-600 Cordless USB Mouse: Registering 18 buttons.
> evdev: leds are 0x0 for device 2
> (II) Logitech MX-600 Cordless USB Mouse: Init
> evdev: leds are 0x0 for device 3
> (II) Logitech Cordless Desktop Keyboard: Init
> (II) Logitech MX-600 Cordless USB Mouse: On
> (II) Logitech Cordless Desktop Keyboard: On
> (II) Logitech MX-600 Cordless USB Mouse: Off
> (II) Logitech Cordless Desktop Keyboard: Off
> (WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
> (II) No APM support in BIOS or kernel
> (II) NVIDIA(0): Setting mode "1920x1200+0+0"
> (II) Logitech MX-600 Cordless USB Mouse: On
> (II) Logitech Cordless Desktop Keyboard: On
> 
> This is with xorg-x11 7.3. Downgrading xf86-input-evdev eliminates the problem.
> 
> InputDevice sections from xorg.conf:
> 
> Section "InputDevice"
>         Identifier  "Logitech Cordless Desktop Keyboard"
>         Driver      "evdev"
>         Option      "Device" "/dev/input/event2"
>         Option      "XkbModel" "pc104"
> EndSection
> 
> Section "InputDevice"
>         Identifier  "Logitech MX-600 Cordless USB Mouse"
>         Driver      "evdev"
>         Option      "Device" "/dev/input/event3"
>         Option      "ZAxisMapping"   "4 5"
>         Option      "Buttons"   "12"
> EndSection
> 
> emerge --info:
> 
> Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0,
> 2.6.23-gentoo-r1 x86_64)
> =================================================================
> System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
> 6000+
> Timestamp of tree: Fri, 16 Nov 2007 00:00:01 +0000
> ccache version 2.4 [enabled]
> app-shells/bash:     3.2_p17-r1
> dev-java/java-config: 1.3.7, 2.1.2-r1
> dev-lang/python:     2.5.1-r3
> dev-python/pycrypto: 2.0.1-r6
> dev-util/ccache:     2.4-r7
> sys-apps/baselayout: 2.0.0_rc6
> sys-apps/sandbox:    1.2.18.1-r2
> sys-devel/autoconf:  2.13, 2.61-r1
> sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
> sys-devel/binutils:  2.18.50.0.3
> sys-devel/gcc-config: 1.4.0-r4
> sys-devel/libtool:   1.5.24
> virtual/os-headers:  2.6.23-r1
> ACCEPT_KEYWORDS="amd64 ~amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
> /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
> /etc/udev/rules.d"
> CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
> DISTDIR="/usr/portage/distfiles"
> EMERGE_DEFAULT_OPTS="--ask --verbose --nospinner"
> FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms
> splitdebug strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://gentoo.osuosl.org/
> http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
> LANG="en_US.UTF-8"
> LC_ALL="en_US.UTF-8"
> LINGUAS="en"
> MAKEOPTS="-j4"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --delete-after --stats --timeout=180
> --exclude=/distfiles --exclude=/local --exclude=/packages
> --filter=H_**/files/digest-*"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
> /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/xeffects
> /usr/portage/local/layman/vmware /usr/portage/local/layman/berkano
> /usr/local/overlays/myoverlay"
> SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
> USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bitmap-fonts
> bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd
> dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz
> gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde
> kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg
> mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png
> pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session
> spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts
> type1-fonts unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid
> zlib" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
> dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
> multi null plug rate route share shm softvol" ELIBC="glibc"
> INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en"
> USERLAND="GNU" VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
> PORTAGE_COMPRESS_FLAGS
> 

I'm having the same problem IF I use a USB cordless mouse. If I use a PS/2
mouse it works fine. I have problems with gpm running in my framebuffer
console, and in X Windows with USB cordless mouse attached. My mouse is a
Microsoft Cordless USB Mouse modle 1026. I have also tried the Microsoft
Cordless USB Mouse modle 1056 with the same results... that is that I can not
move horizontally UNLESS I press a button. Also the Verticle movement that
these USB mice display is only when the actual mouse is moved horizontally.
Verticle movment with the mouse does very little. The USB Mice work very well
when booting off of the Gentoo Live CD. Originally the USB mice worked in my
kernel builds somewhere before my 12th kernel build. Of course if I knew what I
had changed in the Kernel I would have already reconfiged my kernel rebuilt
ect. I hope that this additional information helps. 

------- Comment #8 From Jose daLuz 2008-02-03 23:23:12 0000 -------
(In reply to comment #7)
> (In reply to comment #0)
> Of course if I knew what I
> had changed in the Kernel I would have already reconfiged my kernel rebuilt
> ect. I hope that this additional information helps. 
> 

This happens with xf86-input-evdev 1.2.0, and doesn't happen with 1.1.5-r2 (or
earlier). I upgraded my kernel from gentoo-sources 2.6.23-r2 to 2.6.24 with no
changes to this behavior (I just tested it with 1.2.0 to see if any changes to
the kernel event interface might impact this).

Since you have this problem with Microsoft cordless mice, you might want to
post about the models that don't work to the upstream bug in the URL above, so
the X devs know this issue happens with more than Logitech cordless mice.

------- Comment #9 From Lukasz Goralczyk 2008-02-21 15:23:47 0000 -------
I have the same problem. Quick and dirty fix (actual line that causes one axes
not to be processed): remove "if (axes->v_flags[i] & EV_AXES_V_PRESENT)"
condition in src/evdev_axes.c - of course I don't know what might be the side
effects, but it will make your mouse work.

I think that problem lies in the order of so-called (honestly I don't know the
internals of the driver, I was just looking around) axes. In case of "normal"
mouse they go: "RelAxis", "AbsAxis", "Buttons", but in case of my mouse
(Logitech Internet 1500 Laser Cordless Desktop - keyboard + mouse) they go:
"AbsAxis", "RelAxis", ... This confuses the driver (probably some indexing
issue).

------- Comment #10 From Vlastimil Babka (Caster) 2008-02-24 15:48:33 0000 -------
(In reply to comment #9)

I've also investigated a bit and will post results on upstream bug. While
workarounds are fine to discuss here, the actual cause belongs upstream.

------- Comment #11 From Steve Arnold 2008-04-09 07:11:42 0000 -------
Is there an actual fix for this yet?  I have this problem with both a Logitech
and a Belkin(Holtek) cordless mouse/keyboard combo.  I have a different
cordless Logitech on this box which works perfectly fine.  Go figure...

------- Comment #12 From Vlastimil Babka (Caster) 2008-04-09 07:52:53 0000 -------
Dunno about a proper fix yet. There's some activity in upstream git, although
no commit message looks directly related, maybe... I'll try out tomorrow.

------- Comment #13 From Steve Arnold 2008-04-13 23:48:27 0000 -------
I took a look at the input .fdi file in HAL and all it seems to do is provide
mouse battery information for the tooltip in the panel.  So unless someone has
some nifty properties to merge in a custom .fdi file, I think the best
workaround for now is the xorg.conf Server Layout option thing:

Option "AutoAddDevices" "False"

This fixes my mouse axes nicely for both mice, allows customization through
normal xorg device options, and keeps HAL from messing with xorg devices. 
Extra USB mice still seem to work fine, even without an explicit definition in
the config file.  So it looks like there should probably be more mouse
parameters in the default HAL config, but I have no idea what they are...

------- Comment #14 From Luis Diaz 2008-04-27 19:45:22 0000 -------
(In reply to comment #13)
> I took a look at the input .fdi file in HAL and all it seems to do is provide
> mouse battery information for the tooltip in the panel.  So unless someone has
> some nifty properties to merge in a custom .fdi file, I think the best
> workaround for now is the xorg.conf Server Layout option thing:
> 
> Option "AutoAddDevices" "False"
> 
> This fixes my mouse axes nicely for both mice, allows customization through
> normal xorg device options, and keeps HAL from messing with xorg devices. 
> Extra USB mice still seem to work fine, even without an explicit definition in
> the config file.  So it looks like there should probably be more mouse
> parameters in the default HAL config, but I have no idea what they are...
> 

xf86-input-evdev seems to be fixed on SVN, using overlay....

------- Comment #15 From Marcus D. Hanwell 2008-05-11 17:34:44 0000 -------
Just to add I am having this same issue too with my cordless Logitech mouse. It
would be good to get a patched version in the tree. For now I will try the
solution posted but just thinking more along the lines of wanting things to
just work as much as possible.

------- Comment #16 From Claus Hindsgaul 2008-05-31 23:47:53 0000 -------
(In reply to comment #15)
> Just to add I am having this same issue too with my cordless Logitech mouse. It
> would be good to get a patched version in the tree. For now I will try the
> solution posted but just thinking more along the lines of wanting things to
> just work as much as possible.
> 

I can confirm this bug too with a cordless keyboard/mouse set (Logitech
LX-710). The "AutoAddDevices" "False" option did not help. But recompiling with
 "if (axes->v_flags[i] & EV_AXES_V_PRESENT) return 0" commented out in
evdev_axes.c worked (as described by Lukasz above).

Claus

------- Comment #17 From Lukasz Goralczyk 2008-06-03 14:15:55 0000 -------
Seems to be fixed in x11-drivers/xf86-input-evdev-1.99.2.

------- Comment #18 From Vlastimil Babka (Caster) 2008-06-07 23:13:22 0000 -------
Yup, works fine in 1.99.2-r1 here.

------- Comment #19 From Rémi Cardona 2009-02-02 15:33:00 0000 -------
Closing fixed as per comment #17 and comment #18. Please don't hesitate to open
new bugs if you have any issues with newer versions of evdev.

Thanks

First Last Prev Next    No search results available      Search page      Enter new bug