<?xml version="1.0" encoding="ISO-8859-15"?>
<rss version="2.0"><channel>
<title>how to quickfix bluetooth pairing in debian linux</title>
<link>http://sange.fi/~atehwa/cgi-bin/piki.cgi/</link>
<description>Recent changes in how to quickfix bluetooth pairing in debian linux</description>
<item><title>how to quickfix bluetooth pairing in debian linux</title>
<link>http://sange.fi/~atehwa/cgi-bin/piki.cgi/how%20to%20quickfix%20bluetooth%20pairing%20in%20debian%20linux</link>
<guid>http://sange.fi/~atehwa/cgi-bin/piki.cgi/#1216536356</guid>
<description>&lt;p&gt;&lt;del&gt;Selitä tässä, mitä how to quickfix bluetooth pairing in Debian 
linux tarkoittaa.&lt;/del&gt; 

&lt;p&gt;[...]

&lt;p&gt;&lt;ins&gt;This information (mostly) resides in 
/usr/share/doc/bluetooth/README.Debian.gz too (see the section for PIN 
codes), but as there seems to be a lot of outdated information on the 
net, I decided to add to the confusion by writing this page. 
README.Debian.gz states that this is not supported, but I find this by 
far the easiest way to get pairing to work.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;At least for me, hcid seems to want to use a passkey agent even 
if /etc/bluetooth/hcid.conf has "security auto" and a passkey stanza. A 
message of hcid, "call_passkey_agent(): no agent registered" is a 
symptom of this problem, and is logged with facility daemon, errorlevel 
debug, which usually ends in /var/log/daemon.log but on Xandros in 
/var/log/daemon/daemon.debug.&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;One way to fix this is to compile the passkey agent, but you 
can also just supply the PIN in /var/lib/bluetooth/&lt;local device 
id&gt;/pincodes. Insert a line with the remote device id (you can obtain 
this by hcitool scan), a space, and the PIN code, for instance like 
this (as root): {{{ $ echo "&lt;remote device id&gt; &lt;PIN&gt;" &gt; 
/var/lib/bluetooth/&lt;local device id&gt;/pincodes }}}&lt;/ins&gt; 

&lt;p&gt;&lt;ins&gt;If you don't know the local device id, just do a ls -l 
/var/lib/bluetooth. Usually there is only one subdirectory there.&lt;/ins&gt;

</description>
<pubDate>Sun, 20 Jul 2008 06:45:56 +0000</pubDate>
</item>

</channel></rss>
