linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lamarque Vieira Souza <lamarque@gmail.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: linux-input@vger.kernel.org,
	Marcel Holtmann <marcel@holtmann.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Problem with Acer Bluetooth Optical Rechargeable Mouse
Date: Thu, 6 Aug 2009 22:47:28 -0300	[thread overview]
Message-ID: <200908062247.29254.lamarque@gmail.com> (raw)

	Hi,

	As requested by Marcel Holtmann I am sending this e-mail to the linux-input 
mailing list so we can sort out one problem I have with my bluetooth mouse. 
Since kernel 2.6.28 my bluetooth mouse (0458:0058) makes Xorg cursor to get 
stucked at upper left corner of the screen. Even if I use the touchpad of my 
notebook (Acer Ferrari 4005) the cursor still gets trapped at upper left 
corner. One workaround I have found for this problem is change session type 
from hid to input in linux/net/bluetooth/hidp/core.c. Marcel does not like 
this idea so I need help to find a better way to solve this problem.

	One think I have discovered is that when using hid session the mouse send 
several 9-bytes frames with this content:  0x05 0xff 0x6e 0x6f 0x54 0xc6 0x10 
0x00 0x02 (or 0x03 instead of 0x02). If I filter those frames in 
hidp_recv_intr_frame (linux/net/bluetooth/hidp/core.c) before calling 
hid_input_report, the cursor does not get stucked but the overhead of doing 
that is too high, the cursor gets sluggish. Using input session instead of hid 
session gets muth better results and is not as uggly as filtering frames. Can 
someone help me to find a better solution?

-- 
Lamarque V. Souza
http://www.geographicguide.com/brazil.htm
Linux User #57137 - http://counter.li.org/

             reply	other threads:[~2009-08-07  1:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07  1:47 Lamarque Vieira Souza [this message]
2009-08-08  0:38 ` Problem with Acer Bluetooth Optical Rechargeable Mouse Jiri Kosina
2009-08-08  1:23   ` Lamarque Vieira Souza
2009-08-13 11:47     ` Jiri Kosina
2009-08-13 23:05       ` Lamarque Vieira Souza
2009-08-13 23:52       ` Lamarque Vieira Souza
2009-08-14  1:30         ` Lamarque Vieira Souza
2009-08-14 11:08           ` Jiri Kosina
2009-08-14 16:34             ` Lamarque Vieira Souza
2009-09-16  0:44               ` Lamarque Vieira Souza
2009-09-22 15:34                 ` Jiri Kosina
2009-09-22 16:19                   ` Lamarque Vieira Souza
2009-09-24  9:39                     ` Jiri Kosina
2009-09-24 13:43                       ` Lamarque Vieira Souza
2009-12-26  0:40                     ` Lamarque Vieira Souza
2010-01-04 11:33                       ` Jiri Kosina
2010-01-04 11:54                         ` Lamarque Vieira Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200908062247.29254.lamarque@gmail.com \
    --to=lamarque@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).