public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Bluez hcid.conf syntax
@ 2008-11-14 20:45 Florian Philipp
  2008-12-11 16:15 ` Florian Philipp
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Philipp @ 2008-11-14 20:45 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] Bluez hcid.conf syntax
  2008-11-14 20:45 [gentoo-user] Bluez hcid.conf syntax Florian Philipp
@ 2008-12-11 16:15 ` Florian Philipp
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Philipp @ 2008-12-11 16:15 UTC (permalink / raw
  To: gentoo-user

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-12-11 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14 20:45 [gentoo-user] Bluez hcid.conf syntax Florian Philipp
2008-12-11 16:15 ` Florian Philipp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox