• Lamarque Vieira Souza's avatar
    Work around one problem with my Acer Bluetooth Optical Rechargeable Mouse · 2f89b8bd
    Lamarque Vieira Souza authored
    where the cursor gets stuck at screen's upper-left corner.
    
    Even my notebook's touchpad is not able to move cursor when the bluetooth
    mouse is connected to my Acer Ferrari 4005 notebook.
    
    Using input session instead of hid session solves this problem although
    the cursor still moves a little sluggishly with the bluetooth mouse,
    cursor moves correctly using the touchpad.
    
    My bluetooth mouse used to work well (no sluggish) until kernel 2.6.21,
    since then the problems are getting worse with each kernel release (it got
    sluggish in 2.6.22 and this this upper-left corner problem appeared in
    2.6.28 or 2.6.27).
    
    The patch adds a general quirk handling framework to the HIDP core and
    then uses this framework to implement a quirk for this device.
    
    [akpm@linux-foundation.org: use ARRAY_SIZE()-based search]
    Signed-off-by: default avatarLamarque V. Souza <lamarque@gmail.com>
    Cc: Marcel Holtmann <marcel@holtmann.org>
    Cc: Dave Young <hidave.darkstar@gmail.com>
    Cc: Jiri Kosina <jkosina@suse.cz>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    2f89b8bd
core.c 24.9 KB