public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@f_philipp.fastmail.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Bluez hcid.conf syntax
Date: Thu, 11 Dec 2008 17:15:45 +0100	[thread overview]
Message-ID: <49413CB1.1000609@f_philipp.fastmail.net> (raw)
In-Reply-To: <491DE35C.50105@f_philipp.fastmail.net>

Florian Philipp schrieb:
> Hi list!
> 
> I have a minor problem:
> 
> I recently bought a Microsoft Presenter Mouse (I know, shame on me, but
> it's the only affordable device with this kind of functionality).
> 
> So far, it works as expected:
> - it works out of the box with the Microsoft dongle
> - it works with my normal bluetooth adapter with some fine tuning (see
> below)
> - its special keys will need some additional configuration
> 
> However, there is one problem: It only works with deactivated
> authentication and encryption. This is no problem by itself: You can
> activate and deactivate these options in /etc/bluetooth/hcid.conf on a
> per-device basis but for some reason this doesn't seem to work:
> 
> 
> [...]
> 
> # Default settings for HCI devices
> device {
> [...]
>         auth enable;
>         encrypt enable;
> }
> 
> device 00:1D:D8:35:C4:39 {
> 	name “Microsoft Wireless Notebook Presenter Mouse 8000”;
> 	auth disable;
> 	encrypt disable;
> }
> 
> When I use this configuration I'm asked for a PIN for the connection,
> which - naturally - doesn't work. When I disable auth and encrypt for
> all devices, it works.
> 
> Have I misunderstood the syntax for this file?
> 
> Thanks in advance!
> 
> Florian Philipp
> 

This thread is cold as ice but in case someone stumbles upon it: The 
solution is to put device-specific settings above the default other 
settings in your config file.



      reply	other threads:[~2008-12-11 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 20:45 [gentoo-user] Bluez hcid.conf syntax Florian Philipp
2008-12-11 16:15 ` Florian Philipp [this message]

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=49413CB1.1000609@f_philipp.fastmail.net \
    --to=lists@f_philipp.fastmail.net \
    --cc=gentoo-user@lists.gentoo.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