Bug#378543: middle and right buttons are swapped

2007-05-08 Thread Marcel Sebek
On Mon, May 07, 2007 at 10:27:20PM +0200, Brice Goglin wrote:
 Hi,
Hi.

 
 About a year ago, you reported a bug to the Debian BTS regarding middle
 and right button being swapped in the evdev driver. Did you reproduce
 this problem recently? With Xorg/Etch? With latest evdev driver in
 unstable (1.1.5)? If not, I will close this bug in the next weeks.
 

I installed Xorg from unstable and the problem is still there.

-- 
Marcel Sebek



signature.asc
Description: Digital signature


Bug#378543: middle and right buttons are swapped

2007-05-08 Thread Brice Goglin
Marcel Sebek wrote:
 About a year ago, you reported a bug to the Debian BTS regarding middle
 and right button being swapped in the evdev driver. Did you reproduce
 this problem recently? With Xorg/Etch? With latest evdev driver in
 unstable (1.1.5)? If not, I will close this bug in the next weeks.
 

 I installed Xorg from unstable and the problem is still there.
   

Ok thanks. Could you please send the output of
/usr/share/bug/xserver-xorg-core/script 31
so that we see your config and log?

Brice



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



Bug#378543: middle and right buttons are swapped

2007-05-08 Thread Brice Goglin
Marcel Sebek wrote:
 xlog.2 is just xserver log after switching to the new version. 
 As you can see, the X server failed to start,
   

Section InputDevice
Identifiermouse
Driverevdev
OptionCorePointer
OptionDevice/dev/input/psmouse
#OptionevBits+1-2
#OptionkeyBits~272-287
#OptionrelBits~0-2 ~6 ~8
#OptionPass3
#OptionCorePointer
EndSection

(EE) PreInit returned NULL for mouse
(EE) No Input driver matching `mouse'

I guess it failed because evdev only supports device named
/dev/input/eventX (as explained in the manpage).

 so I uncommented that
 commented lines in Device section and commented the line Option Device.
   

So in the end, you had the following lines, right?

Section InputDevice
Identifiermouse
Driverevdev
OptionCorePointer
#OptionDevice/dev/input/psmouse
OptionevBits+1-2
OptionkeyBits~272-287
OptionrelBits~0-2 ~6 ~8
OptionPass3
OptionCorePointer
EndSection

And you got your mouse to work with buttons swapped?

(**) mouse-isa0060/serio1/input0: Core Pointer
(II) mouse-isa0060/serio1/input0: Found 4 relative axes.
(II) mouse-isa0060/serio1/input0: Configuring as pointer.
(**) mouse-isa0060/serio1/input0: HWHEELRelativeAxisButtons: 6 7.
(**) mouse-isa0060/serio1/input0: WHEELRelativeAxisButtons: 4 5.
(II) mouse-isa0060/serio1/input0: Found 5 mouse buttons
(**) mouse-isa0060/serio1/input0: Configuring 4 relative axes.
(II) mouse-isa0060/serio1/input0: Configured 9 mouse buttons
(EE) No Input driver matching `mouse'
(II) XINPUT: Adding extended input device mouse-isa0060/serio1/input0
(type: MOUSE)
(II) XINPUT: Adding extended input device evdev brain (type: evdev brain)
(II) XINPUT: Adding extended input device ps2-kbd (type: KEYBOARD)
(**) mouse-isa0060/serio1/input0: 4 valuators.
(**) ../../src/evdev_btn.c (166): Registering 9 buttons.
(II) mouse-isa0060/serio1/input0: Init
(II) evdev brain: Rescanning devices (2).
(II) mouse-isa0060/serio1/input0: On
(II) mouse-isa0060/serio1/input0: Off
(II) UnloadModule: evdev

I am not familiar with evdev, but the above does not look very good to
me. Are you sure that your evdev options are correct? Or did you just
copy the manpage example?

Brice



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



Bug#378543: middle and right buttons are swapped

2007-05-08 Thread Marcel Sebek
On Tue, May 08, 2007 at 08:47:49PM +0200, Brice Goglin wrote:
 Marcel Sebek wrote:
  xlog.2 is just xserver log after switching to the new version. 
  As you can see, the X server failed to start,

 
 Section InputDevice
 Identifiermouse
 Driverevdev
 OptionCorePointer
 OptionDevice/dev/input/psmouse
 #OptionevBits+1-2
 #OptionkeyBits~272-287
 #OptionrelBits~0-2 ~6 ~8
 #OptionPass3
 #OptionCorePointer
 EndSection
 
 (EE) PreInit returned NULL for mouse
 (EE) No Input driver matching `mouse'
 
 I guess it failed because evdev only supports device named
 /dev/input/eventX (as explained in the manpage).

Hmm, I missed that, previous version worked with it.

 
  so I uncommented that
  commented lines in Device section and commented the line Option Device.

 
 So in the end, you had the following lines, right?
 
 Section InputDevice
 Identifiermouse
 Driverevdev
 OptionCorePointer
 #OptionDevice/dev/input/psmouse
 OptionevBits+1-2
 OptionkeyBits~272-287
 OptionrelBits~0-2 ~6 ~8
 OptionPass3
 OptionCorePointer
 EndSection

Yes.

 
 And you got your mouse to work with buttons swapped?

Yes.

 
 (**) mouse-isa0060/serio1/input0: Core Pointer
 (II) mouse-isa0060/serio1/input0: Found 4 relative axes.
 (II) mouse-isa0060/serio1/input0: Configuring as pointer.
 (**) mouse-isa0060/serio1/input0: HWHEELRelativeAxisButtons: 6 7.
 (**) mouse-isa0060/serio1/input0: WHEELRelativeAxisButtons: 4 5.
 (II) mouse-isa0060/serio1/input0: Found 5 mouse buttons
 (**) mouse-isa0060/serio1/input0: Configuring 4 relative axes.
 (II) mouse-isa0060/serio1/input0: Configured 9 mouse buttons
 (EE) No Input driver matching `mouse'
 (II) XINPUT: Adding extended input device mouse-isa0060/serio1/input0
 (type: MOUSE)
 (II) XINPUT: Adding extended input device evdev brain (type: evdev brain)
 (II) XINPUT: Adding extended input device ps2-kbd (type: KEYBOARD)
 (**) mouse-isa0060/serio1/input0: 4 valuators.
 (**) ../../src/evdev_btn.c (166): Registering 9 buttons.
 (II) mouse-isa0060/serio1/input0: Init
 (II) evdev brain: Rescanning devices (2).
 (II) mouse-isa0060/serio1/input0: On
 (II) mouse-isa0060/serio1/input0: Off
 (II) UnloadModule: evdev
 
 I am not familiar with evdev, but the above does not look very good to
 me. Are you sure that your evdev options are correct? Or did you just
 copy the manpage example?

I tried the new module with old config with just changing the device to
/dev/input/event5 (which is the file which is linked by
/dev/input/psmouse), buttons got swapped too, X log was the same.

Perhaps there is a configuration which would work. I have quite strange
mouse, two normal buttons, one extra button, one wheel-button.

The extra button has number 6 (in xev output) with both modules. With
the old version, wheel button (middle) is 2 and right is 3, and with the
new version, wheel is 3 and right is 2.

In input-events output, the extra button is named BTN_SIDE.

-- 
Marcel Sebek



signature.asc
Description: Digital signature


Bug#378543: middle and right buttons are swapped

2007-05-07 Thread Brice Goglin
Hi,

About a year ago, you reported a bug to the Debian BTS regarding middle
and right button being swapped in the evdev driver. Did you reproduce
this problem recently? With Xorg/Etch? With latest evdev driver in
unstable (1.1.5)? If not, I will close this bug in the next weeks.

Thanks,
Brice



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



Bug#378543: middle and right buttons are swapped

2006-07-17 Thread Marcel Sebek
Package: xserver-xorg-input-evdev
Version: 1:1.1.2-1
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi.

After upgrade, right and middle mouse buttons got swapped.


- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-ck1
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg-input-evdev depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  xserver-xorg-core 1:1.0.2-9  X.Org X server -- core server

xserver-xorg-input-evdev recommends no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEu0/ti2PKBl+Ic14RAhLsAKDyFa6UahomV+5e4XjBIFPGBX9a3ACg9S+s
2bpwdsGnQSwfanKMIW9nkQM=
=hPgs
-END PGP SIGNATURE-


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