public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Thomas Liebetraut <thomas@tommie-lie.de>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: How to set link policy with Logitech diNovo dongle
Date: Mon, 08 Dec 2008 20:51:47 +0100	[thread overview]
Message-ID: <1228765907.28839.95.camel@violet.holtmann.net> (raw)
In-Reply-To: <493D7110.1020508@tommie-lie.de>

Hi Thomas,

> I recently got a used Logitech diNovo Media Desktop. It has a bluetooth
> hub and the Logitech MX900 bluetooth mouse. I first connected everything
> to my laptop with integrated Cambridge Silicon Bluetooth and everything
> worked fine. Then I plugged the Logitech hub to my desktop PC and used
> hid2hci to switch it over to HCI mode. I configured bluetooth for my
> system and connected to all the devices. Keyboard and Media Pad work
> fine, but the mouse is jumpy, as if some packets get buffered for some
> milliseconds before being send.
> I googled around and found a message from 2004 [1] stating that the
> link policy has to be set correctly. As you can see from my output of
> hciconfig -a (see below), it is not. I have a correct lp line in my
> /etc/bluetooth/hcid.conf (see below) and the exact same configuration
> enables all lp flags on my laptop's internal bluetooth (plugging in the
> Logitech hub to my laptop doesn't set the hub to proper lp either, but
> the internal bluetooth works!).
> Is there a way I can manually set the link policy? I understand that I
> can't use much of the tips from the thread refered to in [1], as the
> tools used there are outdated (I don't even have a hcid on my Ubuntu
> Intrepid Ibex 8.10 with bluez-utils 4.12 and kernel 2.6.27).
> Using another bluetooth mouse (Logitech Travel Mouse) on the Logitech
> hub connected to my PC works fine, the problem only occurs with the MX900.

for the 4.x series we removed the link policy setting and defaulted to
everything enabled. That just makes sense. Also the 2.6.27 kernel uses
the default link policy of Bluetooth and doesn't bother setting it on
every connection attempt. Seems like there might be a bug in bluez-4.12,
but to be honest I don't even bother debugging it since I just released
bluez-4.22 and it works fine for me.

However to be sure what is going on you have to run "hcidump -X -V" and
you can set the link policy manually via "hciconfig hci0 lp".

Regards

Marcel



  reply	other threads:[~2008-12-08 19:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08 19:10 How to set link policy with Logitech diNovo dongle Thomas Liebetraut
2008-12-08 19:51 ` Marcel Holtmann [this message]
2008-12-08 22:24   ` Thomas Liebetraut
2008-12-09 19:52     ` Thomas Liebetraut
2008-12-12  1:48     ` Marcel Holtmann
2008-12-12 17:26       ` Thomas Liebetraut
2008-12-12 17:48         ` Marcel Holtmann
2008-12-12 18:02           ` Thomas Liebetraut
2008-12-12 18:07             ` Marcel Holtmann
2008-12-12 18:39               ` Thomas Liebetraut
2008-12-12 18:43                 ` Marcel Holtmann
2008-12-13 16:41                   ` Thomas Liebetraut
2008-12-12 18:30         ` Jelle de Jong
2008-12-12 19:34           ` Thomas Liebetraut

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=1228765907.28839.95.camel@violet.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=thomas@tommie-lie.de \
    /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