From: Marcel Holtmann <marcel@holtmann.org>
To: fd@cisco.com
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Logitech MX900 oddities and solutions
Date: Wed, 10 Mar 2004 11:43:21 +0100 [thread overview]
Message-ID: <1078915401.2537.14.camel@pegasus> (raw)
In-Reply-To: <1078912919.32148.356.camel@metal.cisco.com>
Hi Frederic,
> For starters, I patched a stock 2.6.3 Linux kernel with the -mh4 patch,
> then I downloaded and installed bluez-libs2 and bluez-utils2 from CVS in
> order to obtain hid2hci. First problem is that the "compat" tools
> Makefile (including hcitool) needed to be compiled separately. This is
> sad since hcitool is very useful to ensure your hub is really alive.
you can enable it with the --enable-compat switch for configure, but by
default this is not on.
> Second problem is that hid2hci needs to pass multibyte commands to the
> USB-BT hub and the -mh4 patch does not support that. I had to manually
> overpatch the kernel with instructions found here:
>
> http://sourceforge.net/mailarchive/forum.php?thread_id=3803086&forum_id=1883
>
> I would have expected this patch to be part of -mh4 (that is what I
> remember having read) but it was not there. It should! :-) I can't wait
> to have the patches synced to the 2.6 kernel tree.
I never said that I include the multi-byte patch into -mh4. It seems
that some people assume this, but this is not true. Use diffstat to
check the patch and you will see that it only changes Bluetooth stuff.
However Vojtech Pavlik told me that he will push these patches for
mainline integration.
> Third problem is that hid2hci did not recognize my Logitech hub. Looking
> through the code showed that the vendor/product id's are hardcoded
> (that's fair) but my device was not in the list. Here is an excerpt of
> lsusb:
>
> Bus 001 Device 009: ID 046d:c705 Logitech, Inc.
> ^
> |
> culprit ------------------+
>
> So I patched hid2hci to recognize 046d:c705 as a Logitech thingy. Beware
> that I bought the mouse in Belgium and there may be more unknown ID's in
> the world wild wireless mess (wireMess?).
I add your device ID to the CVS.
> Well... I stopped and restarted bthid (both versions) a gazillion times
> with various options, disconnected all my wireless stuff at home to rule
> out interferences, re-paired the mouse,... without success; the mouse
> was still jumpy. Until this morning when I compiled hcid (from util2
> compat), launched it and restarted bthid. The mouse movement was super
> fine! I am dumb wrt/ Bluetooth but I did not understand. So I stopped
> hcid and bthid and restarted bthid alone (the Bluez one) and the mouse
> still worked perfectly.
>
> Sounds like spraying chicken blood on the keyboard or doing the magic
> dance. I am looking for an explanation... what has hcid got to do with
> that ?
If you start the hcid it will modifiy your link policy settings and it
is important that RSWITCH and SNIFF is on.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2004-03-10 10:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-10 10:02 [Bluez-users] Logitech MX900 oddities and solutions Frederic Detienne
2004-03-10 10:43 ` Marcel Holtmann [this message]
2004-03-10 11:02 ` Alexandre Ghisoli
2004-03-10 11:11 ` Marcel Holtmann
2004-03-11 8:25 ` Alexandre Ghisoli
2004-03-10 11:18 ` Frederic Detienne
2004-03-10 11:39 ` Marcel Holtmann
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=1078915401.2537.14.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=fd@cisco.com \
/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