Bug#443292: Mouse: cannot open input pEvdev

2007-09-21 Thread Elimar Riesebieter
On Thu, 20 Sep 2007 the mental interface of
Brice Goglin told:

 Elimar Riesebieter wrote:
[...]
  How to follow up?

 
 $ ./autogen.sh
 $ make
 Then you should have a src/.libs/evdev_drv.so, copy it into
 /usr/lib/xorg/modules/drivers/ and restart X.

/usr/lib/xorg/modules/input/ !!!

[...]

On Thu, 20 Sep 2007 the mental interface of
Brice Goglin told:

 Elimar Riesebieter wrote:
  Last step:
  1c40c7db188bc9030aaf256004b914815e821940 is first bad commit
  commit 1c40c7db188bc9030aaf256004b914815e821940
  Author: James Cloos [EMAIL PROTECTED]
  Date:   Mon Sep 3 05:52:08 2007 -0400
 
  Add *~ to .gitignore to skip patch/emacs droppings
 
  :100644 100644 da4f97a7ee76be890f79b46b9612a72be58c17e0 
  df3de7739e7c7add5295ed1220db632e1f072680 M  .gitignore

 
 I don't think this is right. This is the last commit in the branch, and
 it doesn't change anything in the code. So the breakage cannot appear
 here. Either you did not test correctly (did you install the driver and
 restart X correctly at each step?) or there is a difference between the
 debian package and the upstream git tree (if you just git clone, build
 and install, does it work?).

The first bad commit is:
Bisecting: 8 revisions left to test after this
[6db4a9fb84f828f745202c3fddc58d389fca220b] Key: Remove duplicate of
keycode 0x6f, remove index 0xf8 to get a maxKeyCode of 255. This way
keycode range is in sync with core keyboard range.

It was the first after running
git bisect good xf86-input-evdev-1.1.5

HTH

Elimar

-- 
  Numeric stability is probably not all that 
  important when you're guessing;-)


signature.asc
Description: Digital signature


Bug#443292: Mouse: cannot open input pEvdev

2007-09-21 Thread Brice Goglin
Elimar Riesebieter wrote:
 $ ./autogen.sh
 $ make
 Then you should have a src/.libs/evdev_drv.so, copy it into
 /usr/lib/xorg/modules/drivers/ and restart X.
 

 /usr/lib/xorg/modules/input/ !!!
   

Oops very sorry about that, looks like I am more used to make people
debug video drivers problem than input...

 The first bad commit is:
 Bisecting: 8 revisions left to test after this
 [6db4a9fb84f828f745202c3fddc58d389fca220b] Key: Remove duplicate of
 keycode 0x6f, remove index 0xf8 to get a maxKeyCode of 255. This way
 keycode range is in sync with core keyboard range.
   

Even if it says it is a bad commit, you need to keep doing more steps
until there are no more revisions left to test after this. Right now,
we only know that the breakage appeared between 1.1.5 and the above
commit. But there are still 8 commits between them, and it could be any
of them causing the problem.

thanks,
Brice




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



Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Elimar Riesebieter
Package: xserver-xorg-input-evdev
Version: 1:1.2.0~git20070819-3
Severity: important

evdev is unloaded. I've recompiled xserver-xorg-input-evdev-1.1.5
against xserver-xorg-dev (= 2:1.4) and everything seems to be ok
then.

-- 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 Sep 17 19:40 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1669528 Sep 16 20:56 /usr/bin/Xorg

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

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Radeon 
9000] (rev 01)

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

Xorg X server configuration file status:
-rw-r--r-- 1 root root 4743 Sep 20 01:26 /etc/X11/xorg.conf

xorg.conf
[...]
Section InputDevice
 IdentifierMouse
 Driverevdev
 OptionCorePointer
 OptionPhysusb-*/input0#via cat 
/proc/bus/input/devices
 OptionNameLogitech USB Receiver#via cat 
/proc/bus/input/devices
EndSection


Xorg.0.log
[...]
(**) Option CorePointer
(**) Mouse: always reports core events
(EE) Mouse: cannot open input pEvdev
(II) UnloadModule: evdev
(EE) PreInit returned NULL for Mouse
(II) evaluating device (Keyboard)
(II) XINPUT: Adding extended input device Keyboard (type: KEYBOARD)
(II) AIGLX: Suspending AIGLX clients for VT switch


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-rc7-frodo (PREEMPT)
Locale: LANG=de_DE.UTF-8, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-input-evdev depends on:
ii  libc6 2.6.1-5GNU C Library: Shared libraries
ii  xserver-xorg-core 2:1.4-2X.Org X server -- core server

xserver-xorg-input-evdev recommends no packages.

-- no debconf information

-- 



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



Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Brice Goglin
Elimar Riesebieter wrote:
 Package: xserver-xorg-input-evdev
 Version: 1:1.2.0~git20070819-3
 Severity: important

 evdev is unloaded. I've recompiled xserver-xorg-input-evdev-1.1.5
 against xserver-xorg-dev (= 2:1.4) and everything seems to be ok
 then.
   

Could you try to locate which git commit introduced the breakage between
1.1.5 and current 1.2.0 upstream branch?

Brice




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



Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Elimar Riesebieter
On Thu, 20 Sep 2007 the mental interface of
Brice Goglin told:

 Elimar Riesebieter wrote:
  Package: xserver-xorg-input-evdev
  Version: 1:1.2.0~git20070819-3
  Severity: important
 
  evdev is unloaded. I've recompiled xserver-xorg-input-evdev-1.1.5
  against xserver-xorg-dev (= 2:1.4) and everything seems to be ok
  then.

 
 Could you try to locate which git commit introduced the breakage between
 1.1.5 and current 1.2.0 upstream branch?

Please give me a hint to clone branches before git20070819.

Elimar


-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)


signature.asc
Description: Digital signature


Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Brice Goglin
Elimar Riesebieter wrote:
 On Thu, 20 Sep 2007 the mental interface of
 Brice Goglin told:

   
 Elimar Riesebieter wrote:
 
 Package: xserver-xorg-input-evdev
 Version: 1:1.2.0~git20070819-3
 Severity: important

 evdev is unloaded. I've recompiled xserver-xorg-input-evdev-1.1.5
 against xserver-xorg-dev (= 2:1.4) and everything seems to be ok
 then.
   
   
 Could you try to locate which git commit introduced the breakage between
 1.1.5 and current 1.2.0 upstream branch?
 

 Please give me a hint to clone branches before git20070819.
   

You could try git-bisect between current HEAD (almost exactly our
1:1.2.0~git20070819-3) and the 1.1.5 tag.

Grab the whole git tree with:
git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev

Then start bisecting it and tell git that HEAD is bad and 1.1.5 is good.
git bisect start
git bisect bad
git bisect good xf86-input-evdev-1.1.5

git will choose a commit between these 2 points. You build, install, and
test it. If it works
git bisect good
if it does not work
git bisect bad

git will choose another commit,  until you found the exact commit
breaking this.

If you need help building the module, have a look at
http://bgoglin.livejournal.com/10936.html . Let me know if you need more
help.

Brice




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



Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Elimar Riesebieter
On Thu, 20 Sep 2007 the mental interface of
Brice Goglin told:

[...]
 You could try git-bisect between current HEAD (almost exactly our
 1:1.2.0~git20070819-3) and the 1.1.5 tag.
 
 Grab the whole git tree with:
 git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev
 
 Then start bisecting it and tell git that HEAD is bad and 1.1.5 is good.
 git bisect start
 git bisect bad
 git bisect good xf86-input-evdev-1.1.5

Now I am at
Bisecting: 18 revisions left to test after this
[23309b334c1fe892f7afa735d04569e210497dc3] Kill some more unused
bits.

How to follow up?

 git will choose a commit between these 2 points. You build, install, and
 test it. If it works
 git bisect good
 if it does not work
 git bisect bad
 
 git will choose another commit,  until you found the exact commit
 breaking this.
 
 If you need help building the module, have a look at
 http://bgoglin.livejournal.com/10936.html . Let me know if you need more
 help.

Elimar

-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)


signature.asc
Description: Digital signature


Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Brice Goglin
Elimar Riesebieter wrote:
 On Thu, 20 Sep 2007 the mental interface of
 Brice Goglin told:

 [...]
   
 You could try git-bisect between current HEAD (almost exactly our
 1:1.2.0~git20070819-3) and the 1.1.5 tag.

 Grab the whole git tree with:
 git clone git://git.freedesktop.org/git/xorg/driver/xf86-input-evdev

 Then start bisecting it and tell git that HEAD is bad and 1.1.5 is good.
 git bisect start
 git bisect bad
 git bisect good xf86-input-evdev-1.1.5
 

 Now I am at
 Bisecting: 18 revisions left to test after this
 [23309b334c1fe892f7afa735d04569e210497dc3] Kill some more unused
 bits.

 How to follow up?
   

$ ./autogen.sh
$ make
Then you should have a src/.libs/evdev_drv.so, copy it into
/usr/lib/xorg/modules/drivers/ and restart X.

During the build, you might need to do (just once)  
apt-get build-dep xserver-xorg-input-evdev
and
apt-get install xutils-dev

And then git bisect good or bad depending on whether it worked or not.

Brice




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



Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Elimar Riesebieter
On Thu, 20 Sep 2007 the mental interface of
Brice Goglin told:

[...]
 And then git bisect good or bad depending on whether it worked or not.

It worked:

Bisecting: 9 revisions left to test after this
[f15636ac529481a9d83e0250ff89690296f96a3d] Wheel mice work again! (Old configs 
don't.)

If you need any more assistance let me Know




-- 
  We all know Linux is great... it does infinite loops in 5 seconds.
-- Linus Torvalds


signature.asc
Description: Digital signature


Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Brice Goglin
Elimar Riesebieter wrote:
 On Thu, 20 Sep 2007 the mental interface of
 Brice Goglin told:

 [...]
   
 And then git bisect good or bad depending on whether it worked or not.
 

 It worked:

 Bisecting: 9 revisions left to test after this
 [f15636ac529481a9d83e0250ff89690296f96a3d] Wheel mice work again! (Old 
 configs don't.)
   

You need to keep doing this buillding + installing + testing + git
bisect good/bad as long as it says n revisions left to test after
this. The window is being reduced by half at each step. You should be
done with 4 steps max now.

Brice




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



Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Elimar Riesebieter
On Thu, 20 Sep 2007 the mental interface of
Brice Goglin told:

 Elimar Riesebieter wrote:
  On Thu, 20 Sep 2007 the mental interface of
  Brice Goglin told:
 
  [...]

  And then git bisect good or bad depending on whether it worked or not.
  
 
  It worked:
 
  Bisecting: 9 revisions left to test after this
  [f15636ac529481a9d83e0250ff89690296f96a3d] Wheel mice work again! (Old 
  configs don't.)

 
 You need to keep doing this buillding + installing + testing + git
 bisect good/bad as long as it says n revisions left to test after
 this. The window is being reduced by half at each step. You should be
 done with 4 steps max now.

Last step:
1c40c7db188bc9030aaf256004b914815e821940 is first bad commit
commit 1c40c7db188bc9030aaf256004b914815e821940
Author: James Cloos [EMAIL PROTECTED]
Date:   Mon Sep 3 05:52:08 2007 -0400

Add *~ to .gitignore to skip patch/emacs droppings

:100644 100644 da4f97a7ee76be890f79b46b9612a72be58c17e0 
df3de7739e7c7add5295ed1220db632e1f072680 M  .gitignore

HTH
Elimar


-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche


signature.asc
Description: Digital signature


Bug#443292: Mouse: cannot open input pEvdev

2007-09-20 Thread Brice Goglin
Elimar Riesebieter wrote:
 Last step:
 1c40c7db188bc9030aaf256004b914815e821940 is first bad commit
 commit 1c40c7db188bc9030aaf256004b914815e821940
 Author: James Cloos [EMAIL PROTECTED]
 Date:   Mon Sep 3 05:52:08 2007 -0400

 Add *~ to .gitignore to skip patch/emacs droppings

 :100644 100644 da4f97a7ee76be890f79b46b9612a72be58c17e0 
 df3de7739e7c7add5295ed1220db632e1f072680 M  .gitignore
   

I don't think this is right. This is the last commit in the branch, and
it doesn't change anything in the code. So the breakage cannot appear
here. Either you did not test correctly (did you install the driver and
restart X correctly at each step?) or there is a difference between the
debian package and the upstream git tree (if you just git clone, build
and install, does it work?).

Brice




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