[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pbbuttonsd, synaptics and sleep on lid close

On Tue, 2005-08-09 at 19:33 +0200, Matthias Grimm wrote:

> Have a look at event_handler() in input_manager.c. You will see that
> only keyboard events and relative mouse events are processed. Any
> other event will be ignored.

That's obviously the problem. For synaptics compatibility, the
appletouch driver reports absolute events.

Could you change the code to also reset the timer on absolute mouse
events? (What is the reason for not resetting the timer on them?)

For reference, here's the cev output of the appletouch driver:
[7] ids - 3 5ac 20e 7  Name: appletouch
  Supported Events:
  0 (Reset) 1 (Key) 3 (Absolute)

or from evtest:
Input driver version is 1.0.0
Input device ID: bus 0x3 vendor 0x5ac product 0x20e version 0x7
Input device name: "appletouch"
Supported events:
  Event type 0 (Reset)
    Event code 0 (Reset)
    Event code 1 (Key)
    Event code 3 (Absolute)
  Event type 1 (Key)
    Event code 272 (LeftBtn)
    Event code 325 (ToolFinger)
    Event code 330 (Touch)
    Event code 333 (?)
    Event code 334 (?)
  Event type 3 (Absolute)
    Event code 0 (X)
      Value    644
      Min        0
      Max      959
      Fuzz      16
    Event code 1 (Y)
      Value    385
      Min        0
      Max      644
      Fuzz      16
    Event code 24 (Pressure)
      Value      0
      Min        0
      Max      300


Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: