Bluetooth mouse/kbd doesn't reconnect on bootup because hci0 not in scanning mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluez-utils (Ubuntu) |
Confirmed
|
Undecided
|
Bluetooth | ||
gnome-bluetooth (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: bluez-utils
After booting up, my bluetooth hardware is not in scanning mode, hciconfig lists hci0 as "UP RUNNING" but not scanning, even though hcid.conf enables both pscan and iscan. I then do this:
sudo hciconfig hci0 down
sudo hciconfig hci0 up
and then hciconfig lists hci0 as up, running *and scanning*.
Symptoms: my devices don't automatically reconnect at bootup. After running the above commands, my mouse and keyboard automatically reconnect.
Temporary hack: I fixed up my machine by putting the above two commands in /etc/init.
Hardware: Dell Inspiron 9400 with a built-in Dell bluetooth dongle (manufactured by Broadcom according to what I see in hal-device-manager) that presents itself as an USB dongle.
I have run into the exact same problem with Edgy Eft and Feisty Fawn but NOT on Dapper Drake! I have a Compaq nc6000 with a built in bluetooth receiver. I am using a Logitech v270 bluetooth mouse. The first thing you to do is modify the following line in /etc/default/ bluez-utils
From:
HIDD_ENABLED=0
To:
HIDD_ENABLED=1
Next we need to modify the /etc/init. d/bluetooth file look for the section start_hid():
From:
[ "$VERBOSE" != no ] && log_success_msg "Starting $HIDD_NAME..."
fi
}
To:
[ "$VERBOSE" != no ] && log_success_msg "Starting $HIDD_NAME..."
sudo hciconfig hci0 down
sudo hciconfig hci0 up
fi
}
Next we need to pair the device:
For my Logitech v270 I had to power off the mouse and then power it back on. Next, press and release the reset button. At this point you should see the green LED blnking on the bottom of the mouse. Back on the command line, enter in the following command:
sudo hidd --search
At this point your mouse should be working, now give the box a reboot and hopefully it will continue to work!