Just tried again with a new setup, after seeing whtvr's post, and got
seemingly unpredictable behavior.  My setup is now x60s attached to an
ultrabase with external monitor and external usb ibm keyboard.  The usb
keyboard also has a trackpoint and three mouse keys, just like the x60s
keyboard (this thing: http://www-307.ibm.com/pc/support/site.wss/MIGR-
4WKSWX.html).  I'm using fdi to configure both on intrepid.

$ cat /etc/hal/fdi/policy/laptop-keyboard-mouse-wheel.fdi 
<match key="info.product" string="TPPS/2 IBM TrackPoint">
 <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.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 -->
 <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>

$ cat /etc/hal/fdi/policy/usb-keyboard-mouse-wheel.fdi   
<match key="info.product" string="Chicony USB Trackpoint pointing device">
 <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.XAxisMapping" type="string">6 7</merge>
 <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
 -->
 <merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
 <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>


Here's what happened (when I say a keyboard "works" I mean typing and wheel 
mouse emulation).

1. Booted computer with lid/screen closed, using power button on the
ultra base.  The usb keyboard works.

2. Suspend and resume.  Now the usb keyboard doesn't work at all.
Unplug and replug it and it's back to normal.  I now open the lid and
try the laptop keyboard and trackpoint.  Everything works.

3. Suspend and resume.  Laptop keyboard works but usb keyboard doesn't
work at all like in 2.  Unplug and replug fixes it and everything works.

4. Now I unplug the usb keyboard and suspend and resume.  The laptop
keyboard now supports typing and moving the mouse, but when I hold down
the middle button and move the trackpoint the pointer stays still and
nothing happens, as described in my first post in december.  I plug the
usb keyboard back and it works, but laptop keyboard is unaffected.

5. Suspend and resume. Everything works.

6. Suspend and resume. Everything works.

7. Unplug usb keyboard and suspend and resume. Laptop keyboard works.
Plug in usb keyboard.  There is a long delay (5+ seconds) with no
response, but then it works, and laptop keyboard still works.

Because of the long delay in 7 I wonder if the usb keyboard always works
after suspend resume, but sometimes there is just a long delay?

-- 
Wheel emulation doesn't work after suspend/resume
https://bugs.launchpad.net/bugs/289023
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to