Gentoo Archives: gentoo-user

From: Mike Mazur <mmazur@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Enable scrolling on external USB IBM UltraNav keyboard
Date: Thu, 07 May 2009 06:04:15
Message-Id: 184110a70905062304n2970f73anf61406332b6e3864@mail.gmail.com
In Reply to: [gentoo-user] Enable scrolling on external USB IBM UltraNav keyboard by Mike Mazur
1 Hello,
2
3 On Thu, May 7, 2009 at 12:09 PM, Mike Mazur <mmazur@×××××.com> wrote:
4 > I have an external USB IBM ThinkPad UltraNav keyboard[1] attached to
5 > my laptop and I'd like to get scrolling to work. Currently to scroll I
6 > mouse over the scrollbar, click and move the pointer. I have looked at
7 > some resources[2][3][4] but was unsuccessful.
8 >
9 > [...]
10 >
11 > [1] http://fula.jp/blog/image/ThinkPlus_USB_Keyboard_with_UltraNav_Japanese.jpg
12 > [2] http://kaeru.my/journal/scrolling-with-thinkpad-keyboard-with-ultranav
13 > [2] http://www.thinkwiki.org/wiki/Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29
14 > [4] http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/
15 >
16 > $ cat /etc/hal/fdi/policy/mouse-wheel.fdi
17 > <?xml version="1.0" encoding="ISO-8859-1"?>
18 > <deviceinfo version="0.2">
19 >  <device>
20 >  <match key="info.product" string="Lite-On Tech IBM USB Keyboard with
21 > UltraNav">
22 >  <!--match key="info.product" string="Synaptics Inc. Composite
23 > TouchPad / TrackPoint"-->
24 >  <!--match key="info.product" string="SynPS/2 Synaptics TouchPad"-->
25 >   <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
26 >   <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
27 >   <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
28 >   <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
29 >  </match>
30 >  </device>
31 > </device>
32
33 I found the problem: there's a tag mismatch in the fdi policy file. I
34 have two </device> tags, but the second one needs to be a
35 </deviceinfo> tag.
36
37 Mike