Bug#446385: xserver-xorg: single mouse click registers as double click

2007-11-09 Thread Tom Epperly
I am experiencing this issue, and I haven't been able to find any 
configuration changes that make a difference. I've tried using 
/dev/psaux, /dev/input/mouse0, /dev/input/mice as the device.


I've verified with xev that X is seeing two button press and two button 
release events.


Do you have any other suggestions?  I am going on the road with my 
Debian laptop and the double click issue is pretty annoying.


Tom



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-11-09 Thread Tom Epperly

Julien Cristau wrote:

On Mon, Oct 15, 2007 at 12:37:31 -0700, Tom Epperly wrote:

  
I tried removing the extra InputDevice section, and it didn't change the 
behavior. A single click is still registering as a double click. By the 
way, I restarted gdm after editing xorg.conf, and I actually tried 
rebooting the machine too.


I've seem this behavior with at least three different mice.



The problem isn't the mouse, it's the config.  You might also need to
remove the SendCoreEvents option.

Cheers,
Julien
  




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-25 Thread Jan Lugtenberg
My solution is to nodify xorg.conf into the following lines

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  Protocol  IMPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection
Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  Protocol  IMPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection

Yes, X complained that there must be a Generic Mouse and a Configured Mouse 
section in xorg.log. This config file works yust fine. 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-19 Thread Paul Slootman
On Fri 19 Oct 2007, Paul Slootman wrote:

 I get the exact same thing since updating everything, resulting in these
 versions (these are the relevant packages, I hope):
 
 xserver-xorg1:7.3+2
 xserver-xorg-core   2:1.4-3
 xserver-xorg-input-all  1:7.3+2
 xserver-xorg-input-evdev1:1.2.0~git20070819-3
 xserver-xorg-input-mouse1:1.2.2-6

For completeness, these are presumably the previous versions (they were
still in my /var/cache/apt/archives/) :

xserver-xorg1:7.2-5
xserver-xorg-core   2:1.3.0.0.dfsg-12
xserver-xorg-input-all  1:7.2-5
xserver-xorg-input-evdev1:1.1.5-3
xserver-xorg-input-mouse1:1.2.2-1


And with just the /dev/psaux section, it works correctly but movement
over the screen seems slower...



Paul Slootman



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-19 Thread Paul Slootman
On Tue 16 Oct 2007, Tom Epperly wrote:
   
 Here is what a single click yields:
 
 ButtonPress event, serial 27, synthetic NO, window 0x261,
root 0x7d, subw 0x0, time 76706834, (122,108), root:(258,990),
state 0x0, button 1, same_screen YES
 
 ButtonPress event, serial 27, synthetic NO, window 0x261,
root 0x7d, subw 0x0, time 76706834, (122,108), root:(258,990),
state 0x100, button 1, same_screen YES
 
 ButtonRelease event, serial 27, synthetic NO, window 0x261,
root 0x7d, subw 0x0, time 76706954, (122,108), root:(258,990),
state 0x100, button 1, same_screen YES
 
 ButtonRelease event, serial 27, synthetic NO, window 0x261,
root 0x7d, subw 0x0, time 76706954, (122,108), root:(258,990),
state 0x0, button 1, same_screen YES

I get the exact same thing since updating everything, resulting in these
versions (these are the relevant packages, I hope):

xserver-xorg1:7.3+2
xserver-xorg-core   2:1.4-3
xserver-xorg-input-all  1:7.3+2
xserver-xorg-input-evdev1:1.2.0~git20070819-3
xserver-xorg-input-mouse1:1.2.2-6

I note that Tom deleted one of these input sections, and deleted the
one referencing /dev/psaux. When I do that, I also don't see any change.
However, if I delete the /dev/input/mice section and leave the psaux
one, then behaviour is as it should be!  And I happen to have an USB
mouse, which appears to work as an psaux device as far as X is
concerned...

Another curious thing is that xev shows that the mouse buttons are
repeated, but NOT the scroll wheel events, which are basically also
mouse buttons...

I would understand this change of behaviour if it happened after a
kernel upgrade, causing the psaux emulated(?) mouse to be mixed with
the USB mouse. However, I had not rebooted after the upgrade of X et.al, 
and experienced the problem then. (I have since rebooted with another
kernel to see if that would help, but it didn't.)


Paul Slootman



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-16 Thread Brice Goglin
Tom Epperly wrote:
 Julien Cristau wrote:
 On Mon, Oct 15, 2007 at 12:37:31 -0700, Tom Epperly wrote:
  
 The problem isn't the mouse, it's the config.  You might also need to
 remove the SendCoreEvents option.

 Cheers,
 Julien
   

 I tried removing the SendCoreEvents option, and it didn't change the
 behavior. I didn't reboot, but I did /etc/init.d/gdm stop  followed by
 /etc/init.d/gdm start. A single click still acts like a double click.
 I also tried using an IceWM session to eliminate my GNOME settings as
 a source of the problem. It behaved the same under IceWM.

If you want to be sure that X is sending 2 events instead of one, you
should try 'xev', it will report all X events.

If you want to be sur that your xorg.conf is correct, you should just
move it away. The server start without any config file and
auto-configure itself. If the problem remains, the problem is in the
server/driver. If not, it's in the xorg.conf.

Brice




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-16 Thread Tom Epperly

Brice Goglin wrote:

Tom Epperly wrote:
  



If you want to be sure that X is sending 2 events instead of one, you
should try 'xev', it will report all X events.

  

Here is what a single click yields:

ButtonPress event, serial 27, synthetic NO, window 0x261,
   root 0x7d, subw 0x0, time 76706834, (122,108), root:(258,990),
   state 0x0, button 1, same_screen YES

ButtonPress event, serial 27, synthetic NO, window 0x261,
   root 0x7d, subw 0x0, time 76706834, (122,108), root:(258,990),
   state 0x100, button 1, same_screen YES

ButtonRelease event, serial 27, synthetic NO, window 0x261,
   root 0x7d, subw 0x0, time 76706954, (122,108), root:(258,990),
   state 0x100, button 1, same_screen YES

ButtonRelease event, serial 27, synthetic NO, window 0x261,
   root 0x7d, subw 0x0, time 76706954, (122,108), root:(258,990),
   state 0x0, button 1, same_screen YES

I deleted the xorg.conf, and the behavior does not change.  It still 
treats a single click like a double click. xev showed similar output to 
the listing above.


Tom



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-15 Thread Tom Epperly
I tried removing the extra InputDevice section, and it didn't change the 
behavior. A single click is still registering as a double click. By the 
way, I restarted gdm after editing xorg.conf, and I actually tried 
rebooting the machine too.


I've seem this behavior with at least three different mice.

Tom

Julien Cristau wrote:

On Fri, Oct 12, 2007 at 11:06:19 -0700, Tom Epperly wrote:

  

Package: xserver-xorg
Version: 1:7.3+2
Severity: normal


I just upgraded xserver-xorg to a new version, and now when I make a
single left mouse click from my Microsoft IntelliMouse Optical USB
mouse it registers as a double click. This behavior occurs in all my
applications and gnome-panel menus.

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device  /dev/psaux
Option  ProtocolImPS/2
Option  Emulate3Buttons true
Option  ZAxisMapping4 5
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEvents  true
Option  Device  /dev/input/mice
Option  ProtocolImPS/2
Option  Emulate3Buttons true
Option  ZAxisMapping4 5
EndSection



Your problem is due to these two mouse sections.  Remove one of them,
and it should just work.

Cheers,
Julien
  




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-15 Thread Julien Cristau
On Mon, Oct 15, 2007 at 12:37:31 -0700, Tom Epperly wrote:

 I tried removing the extra InputDevice section, and it didn't change the 
 behavior. A single click is still registering as a double click. By the 
 way, I restarted gdm after editing xorg.conf, and I actually tried 
 rebooting the machine too.

 I've seem this behavior with at least three different mice.

The problem isn't the mouse, it's the config.  You might also need to
remove the SendCoreEvents option.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-15 Thread Tom Epperly

Julien Cristau wrote:

On Mon, Oct 15, 2007 at 12:37:31 -0700, Tom Epperly wrote:
  


The problem isn't the mouse, it's the config.  You might also need to
remove the SendCoreEvents option.

Cheers,
Julien
  


I tried removing the SendCoreEvents option, and it didn't change the 
behavior. I didn't reboot, but I did /etc/init.d/gdm stop  followed by 
/etc/init.d/gdm start. A single click still acts like a double click. I 
also tried using an IceWM session to eliminate my GNOME settings as a 
source of the problem. It behaved the same under IceWM.


Tom
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the ### BEGIN DEBCONF SECTION line above, and/or after the
# ### END DEBCONF SECTION line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file? in /usr/share/doc/xfree86-common/FAQ.gz.

Section Files
#   FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/share/fonts/X11/misc
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
FontPath/usr/share/fonts/X11/100dpi/
FontPath/usr/share/fonts/X11/75dpi/
FontPath/usr/share/fonts/X11/util/
FontPath/usr/lib/X11/fonts/misc
EndSection

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

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us
#   Option  XkbOptionsctrl:swapcaps
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
#   Option  SendCoreEventstrue
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   off
Option  ZAxisMapping  4 5
Option  Buttons   7
EndSection


Section Device
Identifier  Intel Mobile 915GM
#   Driver  vesa
Driver  i810
#   Option  VideoRam  134217728
Option  DevicePresencetrue
#   Option  DisplayInfo   FALSE
#   Option  MonitorLayout DFP,LFP
#   BusID   PCI:00:02:00
Option  dpms  on

EndSection

Section Monitor
Identifier  Dell 2000FP
HorizSync   28-80
VertRefresh 48-80
DisplaySize 406 308
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Intel Mobile 915GM
#   Option  MonitorLayout LFP+CRT,NONE
Option  MonitorLayout CRT,NONE
#   Option  Clone true
Monitor Dell 2000FP
DefaultDepth24
SubSection Display
Depth   1
Modes   1400x1050 1280x1024 1024x768 640x480
EndSubSection
SubSection Display
Depth   4
Modes   1400x1050 1280x1024 1024x768 640x480
EndSubSection
SubSection Display
Depth   8
Modes   1400x1050 1280x1024 1024x768 640x480
EndSubSection
SubSection Display
Depth   15
Modes   1400x1050 1280x1024 1024x768 640x480
EndSubSection
SubSection Display
Depth   16
Modes   1600x1200 1400x1050 1280x1024 1024x768 
640x480
EndSubSection
SubSection Display
Depth   24
#   Modes   640x480
Modes   1600x1200 1400x1050 1280x1024 1024x768 
640x480
EndSubSection
EndSection

Section ServerLayout
Identifier   

Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-12 Thread Tom Epperly
Package: xserver-xorg
Version: 1:7.3+2
Severity: normal


I just upgraded xserver-xorg to a new version, and now when I make a
single left mouse click from my Microsoft IntelliMouse Optical USB
mouse it registers as a double click. This behavior occurs in all my
applications and gnome-panel menus.

It also occurs when I click the left mouse button Dell Latitude D410's
builtin touch pad.

By the way, my system sometimes freezes when I logout without shutting
down. The screen goes mostly back. There are some blocks of gray
towards the bottom of the screen. Ctrl-Alt-Backspace, Ctrl-Alt-Del,
Alt-F1, etc. don't have any effect.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/etc/X11/X target does not match checksum in /var/lib/x11/X.md5sum.

X server symlink status:
lrwxrwxrwx 1 root root 13 Apr 21  2006 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1669976 Sep 29 07:33 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML 
Express Graphics Controller (rev 03)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
lrwxrwxrwx 1 root root 27 Oct 12 10:58 /etc/X11/xorg.conf - 
/etc/X11/xorg.conf.undocked

Contents of /etc/X11/xorg.conf:
### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type man XF86Config-4 at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the ### BEGIN DEBCONF SECTION line above, and/or after the
# ### END DEBCONF SECTION line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file? in /usr/share/doc/xfree86-common/FAQ.gz.

Section Files
#   FontPathunix/:7100# local font server
# if the local font server has problems, we can fall back on these
FontPath/usr/share/fonts/X11/misc
FontPath/usr/share/fonts/X11/Type1
FontPath/usr/share/fonts/X11/100dpi/:unscaled
FontPath/usr/share/fonts/X11/75dpi/:unscaled
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID
FontPath/usr/share/fonts/X11/100dpi/
FontPath/usr/share/fonts/X11/75dpi/
FontPath/usr/share/fonts/X11/util/
FontPath/usr/lib/X11/fonts/misc
EndSection

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

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  pc104
Option  XkbLayout us
#   Option  XkbOptionsctrl:swapcaps
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/psaux
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection

Section InputDevice
Identifier  Generic Mouse
Driver  mouse
Option  SendCoreEventstrue
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
Option  ZAxisMapping  4 5
EndSection


Section Device
Identifier  Intel Mobile 915GM
#   Driver  vesa
Driver  i810
Option  VideoRam  134217728
#   Option  MonitorLayout DFP,LFP
#   BusID   PCI:00:02:00
Option  dpms  on

EndSection

Section Monitor
Identifier  Generic Monitor
HorizSync   28-80
VertRefresh 48-80
Option  DPMS
EndSection

Section Screen
Identifier  Default Screen
Device  Intel Mobile 915GM
#   Option  MonitorLayout CRT,LFP
#   Option  MonitorLayout LFP,NONE
#   Option  MonitorLayout NONE,DFP
#   Option  Clone true
Monitor Generic Monitor
DefaultDepth24
SubSection Display
   

Bug#446385: xserver-xorg: single mouse click registers as double click

2007-10-12 Thread Julien Cristau
On Fri, Oct 12, 2007 at 11:06:19 -0700, Tom Epperly wrote:

 Package: xserver-xorg
 Version: 1:7.3+2
 Severity: normal
 
 
 I just upgraded xserver-xorg to a new version, and now when I make a
 single left mouse click from my Microsoft IntelliMouse Optical USB
 mouse it registers as a double click. This behavior occurs in all my
 applications and gnome-panel menus.
 
 Section InputDevice
   Identifier  Configured Mouse
   Driver  mouse
   Option  CorePointer
   Option  Device/dev/psaux
   Option  Protocol  ImPS/2
   Option  Emulate3Buttons   true
   Option  ZAxisMapping  4 5
 EndSection
 
 Section InputDevice
   Identifier  Generic Mouse
   Driver  mouse
   Option  SendCoreEventstrue
   Option  Device/dev/input/mice
   Option  Protocol  ImPS/2
   Option  Emulate3Buttons   true
   Option  ZAxisMapping  4 5
 EndSection
 
Your problem is due to these two mouse sections.  Remove one of them,
and it should just work.

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]