From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LAoCu-00054F-Ni for garchives@archives.gentoo.org; Thu, 11 Dec 2008 16:16:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD615E0369; Thu, 11 Dec 2008 16:16:05 +0000 (UTC) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by pigeon.gentoo.org (Postfix) with ESMTP id A7771E0369 for ; Thu, 11 Dec 2008 16:16:05 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 7D32E1E6443; Thu, 11 Dec 2008 11:16:05 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 11 Dec 2008 11:16:05 -0500 X-Sasl-enc: sHwCGKk11ODGaHg1dNy7Dfk9RHPh2FSI3tDMx18KU088 1229012165 Received: from [192.168.88.102] (MOT02224.swm.uni-mannheim.de [134.155.22.119]) by mail.messagingengine.com (Postfix) with ESMTPSA id E4A4F18269 for ; Thu, 11 Dec 2008 11:16:04 -0500 (EST) Message-ID: <49413CB1.1000609@f_philipp.fastmail.net> Date: Thu, 11 Dec 2008 17:15:45 +0100 From: Florian Philipp User-Agent: Thunderbird 2.0.0.18 (X11/20081124) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Bluez hcid.conf syntax References: <491DE35C.50105@f_philipp.fastmail.net> In-Reply-To: <491DE35C.50105@f_philipp.fastmail.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 82e2c211-5d98-48cb-84dc-8f64203d6ccd X-Archives-Hash: dd519e28a3f9f34c5e78839a6e16d0b8 Florian Philipp schrieb: > Hi list! >=20 > I have a minor problem: >=20 > I recently bought a Microsoft Presenter Mouse (I know, shame on me, but > it's the only affordable device with this kind of functionality). >=20 > 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 >=20 > 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: >=20 >=20 > [...] >=20 > # Default settings for HCI devices > device { > [...] > auth enable; > encrypt enable; > } >=20 > device 00:1D:D8:35:C4:39 { > name =E2=80=9CMicrosoft Wireless Notebook Presenter Mouse 8000=E2=80=9D= ; > auth disable; > encrypt disable; > } >=20 > 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. >=20 > Have I misunderstood the syntax for this file? >=20 > Thanks in advance! >=20 > Florian Philipp >=20 This thread is cold as ice but in case someone stumbles upon it: The=20 solution is to put device-specific settings above the default other=20 settings in your config file.