Ask Your Question
0

Build and install driver from Arch Linux (for ThinkPad TrackPoint scrolling)

asked 2014-12-12 11:14:58 -0500

humanplayer2 gravatar image

updated 2014-12-13 07:32:56 -0500

I have recently migrated from Ubuntu, for which there is a nice script to install a particular driver patch from Arch Linux. The patch makes TrackPads and TrackPoints fully functional on newer ThinkPads, including scroll wheel emulation. The solution thus works better than the solution available for Fedora.

Therefore, I would love to implement the Arch patched driver on my current system, running Fedora 21.

I would be very grateful for help with this in form of specific commands that solves this particular problem, or for a general tutorial on how to build Arch packages for Fedora.

edit retag flag offensive close merge delete

Comments

1

I've seen a few questions like this. You should bring this patch to the attention of the maintainers of the xorg-x11-drv-evdev package by filing a detailed RFE ticket at https://bugzilla.redhat.com

randomuser gravatar imagerandomuser ( 2014-12-12 11:21:38 -0500 )edit
1

Ticket opened. I would still love an answer to the question, though :)

humanplayer2 gravatar imagehumanplayer2 ( 2014-12-12 11:38:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-13 13:17:26 -0500

Okay, here you go :)

# install some tools
yum install @fedora-packager
# get the package sources
fedpkg clone -a xorg-x11-drv-evdev
cd xorg-x11-drv-evdev
# update the release number and changelog
rpmdev-bumpspec xorg-x11-drv-evdev.spec
# get the original sources
spectool -g xorg-x11-drv-evdev.spec
# edit xorg-x11-drv-evdev.spec
# add line next to Source0:
    Patch0: name-of-file.patch
# add line in %prep section after %setup
    %patch0 -p1
# test the package build
fedpkg mockbuild
# fix your patch as needed

These aren't intended by any means to be complete or even accurate instructions, just a general overview of the process.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-12-12 11:14:58 -0500

Seen: 757 times

Last updated: Dec 13 '14