← Back to team overview

ubuntu-x-swat team mailing list archive

Re: [Bug 709915] [NEW] Ubuntu patches to evdev crash X

 

On Sat, Jan 29, 2011 at 09:34:27PM -0000, SheeEttin wrote:
> Since upgrading to evdev 2.6.0, X crashes when starting and leaves all graphics & input in an unusable state.
> Trying evdev from upstream X git works fine, only when using Ubuntu sources does X crash.
> 
> Much more information should be attached.
> 
> I could try applying the Ubuntu patches one by one to see which one
> crashes X, if someone tells me how.

Thanks for reporting this, as well as testing upstream.

To save you some time I've gone ahead and prepared packages in PPAs with
each of the evdev patches disabled:

  https://launchpad.net/~bryce/+archive/apple  # no patch 100
  https://launchpad.net/~bryce/+archive/banana # no patch 101
  https://launchpad.net/~bryce/+archive/cherry # no patch 100 or 101

If you could, please test all three and let me know which one(s) resolve
the crash.  That should pinpoint which patch is causing the crash.

If none of them resolve the crash, then that would suggest some other
setting in the packaging, like an incorrect dependency version in
debian/control, or an inappropriate configure parameter in debian/rules.

To answer your question, you can enable/disable patches in packages like
this:

  apt-get source <package>
  sudo apt-get build-dep <package>
  cd <package>-<version>
  vi debian/patches/series   # Comment out patches you want to disable
  debuild

That should generate .deb files (one for the driver, one dbg for
debugging).

Then install the debs normally, e.g.:

  dpkg -i *evdev*.deb




References