Microsoft Bluetooth Notebook Mouse 5000 under Ubuntu

Follow these instructions to configure Ubuntu 8.04 for the Microsoft Bluetooth Notebook Mouse 5000.

From the terminal, type

hcitool scan

If the hardware has been found, the response will be something like

Scanning ...
  00:1D:D8:92:DE:C1   Microsoft Bluetooth Notebook Mouse 5000

Edit the hcid.conf file with

sudo gedit /etc/bluetooth/hcid.conf

and add this section to the end of that file, using the hardware address from your mouse as it was returned earlier:

device 00:1D:D8:92:DE:C1 {
name “Microsoft Bluetooth Notebook Mouse 5000”;
}

Restart the bluetooth system:

sudo /etc/init.d/bluetooth restart

 * Restarting bluetooth         [ OK ]

Place the mouse in discovery mode by pressing the button on the underside (the indicator on top of the mouse should now alternate between green and red) and pair the mouse with:

sudo hidd --search

  Connecting to device 00:1D:D8:92:DE:C1

And the mouse should immediately work.

Note: Ubuntu 8.10 makes this process a lot easier. All that is required is clicking on the Bluetooth icon, placing the mouse in discovery mode and Ubuntu connects and uses the mouse.

Update

Under Ubuntu 8.10 I can pair the mouse from the bluetooth icon on the menu. However, I need to pair the mouse each time I start Ubuntu, so I am missing something here.