Hello,

On Thu, May 7, 2009 at 12:09 PM, Mike Mazur <mma...@gmail.com> wrote:
> I have an external USB IBM ThinkPad UltraNav keyboard[1] attached to
> my laptop and I'd like to get scrolling to work. Currently to scroll I
> mouse over the scrollbar, click and move the pointer. I have looked at
> some resources[2][3][4] but was unsuccessful.
>
> [...]
>
> [1] 
> http://fula.jp/blog/image/ThinkPlus_USB_Keyboard_with_UltraNav_Japanese.jpg
> [2] http://kaeru.my/journal/scrolling-with-thinkpad-keyboard-with-ultranav
> [2] 
> http://www.thinkwiki.org/wiki/Installing_Ubuntu_8.10_(Intrepid_Ibex)_on_a_ThinkPad_T61#Emulate_Wheel_.28Middle-click_scrolling.29
> [4] http://mvogt.wordpress.com/2008/08/15/xorg-evdev-and-emulatewheel/
>
> $ cat /etc/hal/fdi/policy/mouse-wheel.fdi
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <deviceinfo version="0.2">
>  <device>
>  <match key="info.product" string="Lite-On Tech IBM USB Keyboard with
> UltraNav">
>  <!--match key="info.product" string="Synaptics Inc. Composite
> TouchPad / TrackPoint"-->
>  <!--match key="info.product" string="SynPS/2 Synaptics TouchPad"-->
>   <merge key="input.x11_options.EmulateWheel" type="string">true</merge>
>   <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
>   <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
>   <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
>  </match>
>  </device>
> </device>

I found the problem: there's a tag mismatch in the fdi policy file. I
have two </device> tags, but the second one needs to be a
</deviceinfo> tag.

Mike

Reply via email to