Bug#733238: xserver-xorg-input-evdev: ioctl EVIOCGBIT for bitmask in EvdevOpenMTDev failed: Inappropriate ioctl for device

2013-12-29 Thread ael
On Sat, Dec 28, 2013 at 08:32:32PM +0100, Julien Cristau wrote:
 On Fri, Dec 27, 2013 at 16:22:21 +, ael wrote:
 
  Package: xserver-xorg-input-evdev
  Version: 1:2.8.2-1
  Severity: normal
  
  From Xorg.0.log:
  
  (EE) evdev: PS2++ Logitech TrackMan: ioctl EVIOCGBIT for bitmask in 
  EvdevOpenMTDev failed: Inappropriate ioctl for device
  [  1052.675] (EE) PS2++ Logitech TrackMan: Couldn't open mtdev device
  
  The trackball is not multi-touch. I have a custom rule for these devices 
  under /etc/udev/rules.d/ which perhaps is no longer used?
  
  
  # Logitech Marble Mice PN 804377-, PN 810-000767 or
  # PN 804251-  connected via USB or PS/2
  # Marble FX or Marble Mouse  (ael)
  
  ACTION!=add|change, GOTO=xorg_marble_end
  KERNEL!=event*, GOTO=xorg_marble_end
  
  #ENV{ID_PATH}!=platform-i8042-serio-1, GOTO=xorg_marble_end
  # Above for PS/2, misses USB. name below seems to be enough
  
  ATTRS{name}==ImExPS/2 Logitech Explorer Mouse, GOTO=marbles
  ATTRS{name}==Logitech USB Trackball, GOTO=marbles
  ATTRS{name}==PS2++ Logitech Mouse, GOTO=marble_FX
  ATTRS{name}==PS2++ Logitech TrackMan  , GOTO=marble_FX
  GOTO=xorg_marble_end
  
  LABEL=marbles
  
  ENV{x11_options.ButtonMapping}=1 9 3 4 5 6 7 8 2
  
  LABEL=marble_FX
  
  #ENV{x11_options.Protocol}=ExplorerPS/2
  
  ENV{x11_options.EmulateWheel}=true
  ENV{x11_options.EmulateWheelButton}=8
  ENV{x11_options.YAxisMapping}=4 5
  ENV{x11_options.XAxisMapping}=6 7
  ENV{x11_options.ZAxisMapping}=4 5
  #ENV{x11_options.Emulate3Buttons}=0
  
 I don't think the above (X options in udev rules) can ever have worked.

They did for a while, but I suspect a long time ago.
But now I have the equivalent in xorg.conf as in the original bug
report. This has been working for several years, but after a recent
upgrade, is now failing with the EVIOCGBIT. Any help with that?
I guess that I should remove the udev rule just in case: I think that I
had just forgotten about it. I will remove that rule and report back
just in case it was somehow triggering the problem.

Thanks for the reply and any further help,

ael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#733238: xserver-xorg-input-evdev: ioctl EVIOCGBIT for bitmask in EvdevOpenMTDev failed: Inappropriate ioctl for device

2013-12-28 Thread Julien Cristau
On Fri, Dec 27, 2013 at 16:22:21 +, ael wrote:

 Package: xserver-xorg-input-evdev
 Version: 1:2.8.2-1
 Severity: normal
 
 From Xorg.0.log:
 
 (EE) evdev: PS2++ Logitech TrackMan: ioctl EVIOCGBIT for bitmask in 
 EvdevOpenMTDev failed: Inappropriate ioctl for device
 [  1052.675] (EE) PS2++ Logitech TrackMan: Couldn't open mtdev device
 
 The trackball is not multi-touch. I have a custom rule for these devices 
 under /etc/udev/rules.d/ which perhaps is no longer used?
 
 
 # Logitech Marble Mice PN 804377-, PN 810-000767 or
 # PN 804251-  connected via USB or PS/2
 # Marble FX or Marble Mouse  (ael)
 
 ACTION!=add|change, GOTO=xorg_marble_end
 KERNEL!=event*, GOTO=xorg_marble_end
 
 #ENV{ID_PATH}!=platform-i8042-serio-1, GOTO=xorg_marble_end
 # Above for PS/2, misses USB. name below seems to be enough
 
 ATTRS{name}==ImExPS/2 Logitech Explorer Mouse, GOTO=marbles
 ATTRS{name}==Logitech USB Trackball, GOTO=marbles
 ATTRS{name}==PS2++ Logitech Mouse, GOTO=marble_FX
 ATTRS{name}==PS2++ Logitech TrackMan  , GOTO=marble_FX
 GOTO=xorg_marble_end
 
 LABEL=marbles
 
 ENV{x11_options.ButtonMapping}=1 9 3 4 5 6 7 8 2
 
 LABEL=marble_FX
 
 #ENV{x11_options.Protocol}=ExplorerPS/2
 
 ENV{x11_options.EmulateWheel}=true
 ENV{x11_options.EmulateWheelButton}=8
 ENV{x11_options.YAxisMapping}=4 5
 ENV{x11_options.XAxisMapping}=6 7
 ENV{x11_options.ZAxisMapping}=4 5
 #ENV{x11_options.Emulate3Buttons}=0
 
I don't think the above (X options in udev rules) can ever have worked.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#733238: xserver-xorg-input-evdev: ioctl EVIOCGBIT for bitmask in EvdevOpenMTDev failed: Inappropriate ioctl for device

2013-12-27 Thread ael
Package: xserver-xorg-input-evdev
Version: 1:2.8.2-1
Severity: normal

From Xorg.0.log:

(EE) evdev: PS2++ Logitech TrackMan: ioctl EVIOCGBIT for bitmask in 
EvdevOpenMTDev failed: Inappropriate ioctl for device
[  1052.675] (EE) PS2++ Logitech TrackMan: Couldn't open mtdev device

The trackball is not multi-touch. I have a custom rule for these devices 
under /etc/udev/rules.d/ which perhaps is no longer used?


# Logitech Marble Mice PN 804377-, PN 810-000767 or
# PN 804251-  connected via USB or PS/2
# Marble FX or Marble Mouse  (ael)

ACTION!=add|change, GOTO=xorg_marble_end
KERNEL!=event*, GOTO=xorg_marble_end

#ENV{ID_PATH}!=platform-i8042-serio-1, GOTO=xorg_marble_end
# Above for PS/2, misses USB. name below seems to be enough

ATTRS{name}==ImExPS/2 Logitech Explorer Mouse, GOTO=marbles
ATTRS{name}==Logitech USB Trackball, GOTO=marbles
ATTRS{name}==PS2++ Logitech Mouse, GOTO=marble_FX
ATTRS{name}==PS2++ Logitech TrackMan  , GOTO=marble_FX
GOTO=xorg_marble_end

LABEL=marbles

ENV{x11_options.ButtonMapping}=1 9 3 4 5 6 7 8 2

LABEL=marble_FX

#ENV{x11_options.Protocol}=ExplorerPS/2

ENV{x11_options.EmulateWheel}=true
ENV{x11_options.EmulateWheelButton}=8
ENV{x11_options.YAxisMapping}=4 5
ENV{x11_options.XAxisMapping}=6 7
ENV{x11_options.ZAxisMapping}=4 5
#ENV{x11_options.Emulate3Buttons}=0

LABEL=xorg_marble_end

-

I realize that this may perhaps be a problem with udev.

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Apr 18  2007 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 2273512 Dec 13 10:50 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. MGA 
G200 AGP [102b:0521] (rev 01)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 4769 Nov 27  2011 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type man /etc/X11/xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
# xfs 
FontPathunix/:7100
# xfstt
FontPathunix/:7101
#   FontPath/usr/share/fonts/X11/misc
#   FontPath/usr/X11R6/lib/X11/fonts/misc
#   FontPath/usr/share/fonts/X11/cyrillic
#   FontPath/usr/X11R6/lib/X11/fonts/cyrillic
#   FontPath/usr/share/fonts/X11/100dpi/:unscaled
#   FontPath/usr/X11R6/lib/X11/fonts/100dpi/:unscaled
#   FontPath/usr/share/fonts/X11/75dpi/:unscaled
#   FontPath/usr/X11R6/lib/X11/fonts/75dpi/:unscaled
#   FontPath/usr/share/fonts/X11/Type1
#   FontPath/usr/X11R6/lib/X11/fonts/Type1
#   FontPath/usr/share/fonts/X11/100dpi
#   FontPath/usr/X11R6/lib/X11/fonts/100dpi
#   FontPath/usr/share/fonts/X11/75dpi
#   FontPath/usr/X11R6/lib/X11/fonts/75dpi
# path to defoma fonts
#   FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
EndSection

#Section Module
#   Loadbitmap
#   Loaddbe
#   Loadddc
#   Loaddri
#   Loadextmod
#   Loadfreetype
#   Loadglx
#   Loadint10
#   Loadrecord
#   Loadvbe
#EndSection

Section ServerFlags
Option  BlankTime 5
Option  StandbyTime   10
Option  SuspendTime   20
Option  OffTime   30
EndSection


Section InputDevice
Identifier  Cherry RS6000 Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout gb
Option  XkbOptionsaltwin:meta_win
EndSection

Section InputClass
Identifier  marble_FX
Driver  evdev
MatchProductImExPS/2 Logitech Explorer Mouse|Logitech USB 
Trackball|PS2++ Logitech Mouse|PS2++ Logitech TrackMan
MatchIsPointer  true
#   Option  Protocol  ExplorerPS/2
Option  EmulateWheel  true
Option  EmulateWheelButton8
#   Option  EmulateWheelTimeout   300
Option  XAxisMapping  6