After many hours of searching I can confirm that on Debian 6 and Ubuntu 10.04 information about Bluetooth devices and pairing is not stored by default in any of the following places:
/etc/hcid.conf
/etc/bluetooth/main.conf
gconf registry
I have searched every file in / using ack-grep for the pin for my device in attempt to find where this data is stored. Nothing was found.
The source code for bluetooth-applet (for gnome) seems to indicate that bluetooth device info is encrypted and then saved using D-Bus:
Code:
proxy = dbus_g_proxy_new_for_name(conn, "org.bluez", "/hci0", "org.bluez.Adapter");
agent = bluetooth_agent_new();
bluetooth_agent_set_pincode_func(agent, agent_pincode, NULL);
Can anyone tell me where bluetooth device data is stored on Debian / Ubuntu, and how I can share this data between multiple Debian / Ubuntu distros? Currently I have to re pair all my devices each time I boot into a different distro. All I want to do is share the bluetooth config between the two distros so that I can booth up either of them and my bluetooth devices will work without having to be re-paired.
Thanks,
Sam.