Ticket #11404 (closed defect: fixed)

Opened 19 months ago

Last modified 13 months ago

support absolute input devices

Reported by: dsd Owned by: pgf
Priority: normal Milestone: 12.1.0
Component: olpc-kbdshim Version: not specified
Keywords: Cc: pbrobinson, greenfeld
Action Needed: no action Verified: no
Deployments affected: Blocked By:
Blocking:

Description

In the x86-3.1 kernel (and upstream), the hgpk_mode selection of PenTablet mode now reports absolute coordinates to userspace.

kbdshim should be extended to pick up these devices and to convert the absolute motions to relative ones, hence supporting rotation and user activity detection.

Attachments

0001-Absolute-touchpad-support.patch (13.2 kB) - added by dsd 13 months ago.
patch to implement this

Change History

Changed 14 months ago by pgf

what's the status of this? is it still necessary?

Changed 14 months ago by dsd

Yes - when the HGPK pad is put into PenTablet mode it reappears as an absolute input device, so we need to handle it still.

Changed 13 months ago by dsd

patch to implement this

Changed 13 months ago by dsd

Patch attached above.

Changed 13 months ago by dsd

  • next_action changed from never set to package

Paul committed this, thanks.

Changed 13 months ago by dsd

  • cc pbrobinson added

Fixed in kbdshim-26. Peter, please package this. Source tarball is http://dev.laptop.org/~pgf/rpms/srpms/olpc-kbdshim-26-git74c4c20.tar.gz

Changed 13 months ago by dsd

  • next_action changed from package to add to build

Changed 13 months ago by pbrobinson

olpc-kbdshim-26-1.fc17 built for x86 and ARM, should be in the next fedora repo compose for builds

Changed 13 months ago by dsd

  • next_action changed from add to build to test in build

Test in 12.1.0 build 8.

Changed 13 months ago by greenfeld

  • next_action changed from test in build to diagnose

Tested with 12.1.0 build 8 with an ALPS touchpad per pgf's suggestion. {Touchscreens take a different input path.}

When rotated to one of the two sideways orientations, the touchpad on an XO-1 with ALPS is not rotated to match.

Changed 13 months ago by dsd

  • cc greenfeld added

Did you test the touchpad in touchpad mode or in pentablet mode?

The touchpad mode is known broken (#11798), the pentablet one (this ticket) should work.

Changed 13 months ago by greenfeld

  • status changed from new to closed
  • next_action changed from diagnose to no action
  • resolution set to fixed

I did not know that the different modes of the ALPS touchpad reported differently back to the OS.

In non-capacitive mode the ALPS touchpad rotates its output with the display in 12.1.0 os8 on a XO-1.

Note: See TracTickets for help on using tickets.