[Pkg-bluetooth-maintainers] Bug#643321: Acknowledgement (no bt after upgrade (4.94-2 -> 4.96-1))

Trent W. Buck trentbuck at gmail.com
Tue Sep 27 09:07:44 UTC 2011


OK, yes, that mv_conffile fuckup is the cause of this problem.
Moving it back *and* restarting dbus and bluetooth daemons fixed it.

I didn't realize at first that hcitool talked to the daemon; its
manpage gave me the impression that it talked directly to the devices;
that the bluetooth daemon was merely some higher-level thing.

It might be useful to mention in the manpages that bluetoothd *needs*
a system dbus to do anything at all, and likewise hcitool *needs*
bluetoothd.  It might also be useful for "hcitool scan" to report
something like along the lines of "I can't see bluetoothd" rather than
"no devices found".

# logread -f &
[1] 2717
# /etc/init.d/bluetooth restart
Stopping bluetooth: /usr/sbin/bluetoothd.
Starting bluetooth: bluetoothd.
# Sep 27 19:02:21 dali daemon.info bluetoothd[2729]: Bluetooth daemon 4.96
Sep 27 19:02:21 dali daemon.err bluetoothd[2729]: Unable to get on D-Bus

# /etc/init.d/dbus start
system message bus already started; not starting..
# /etc/init.d/dbus restart
Stopping system message bus: dbus.
Starting system message bus: dbus.
# mv /etc/dbus-1/system.d/bluetooth.conf.dpkg-remove /etc/dbus-1/system.d/bluetooth.conf
# Sep 27 19:02:54 dali daemon.notice dbus[2746]: [system] Reloaded configuration
/etc/init.d/bluetooth restart
Stopping bluetooth: /usr/sbin/bluetoothd.
Starting bluetooth: bluetoothd.
# Sep 27 19:03:03 dali daemon.info bluetoothd[2763]: Bluetooth daemon 4.96
Sep 27 19:03:03 dali daemon.info bluetoothd[2763]: Starting SDP server
Sep 27 19:03:03 dali daemon.err bluetoothd[2763]: D-Bus failed to register org.bluez.Proximity interface
Sep 27 19:03:03 dali user.info kernel: [ 1830.878025] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 27 19:03:03 dali user.info kernel: [ 1830.878038] Bluetooth: BNEP filters: protocol multicast
Sep 27 19:03:03 dali daemon.info bluetoothd[2763]: Listening for HCI events on hci0
Sep 27 19:03:03 dali user.info kernel: [ 1830.900768] Bluetooth: SCO (Voice Link) ver 0.6
Sep 27 19:03:03 dali user.info kernel: [ 1830.900780] Bluetooth: SCO socket layer initialized
Sep 27 19:03:03 dali daemon.info bluetoothd[2763]: HCI dev 0 up
Sep 27 19:03:03 dali daemon.info bluetoothd[2763]: Adapter /org/bluez/2763/hci0 has been enabled

# hcitool scan
Scanning ...
# Sep 27 19:03:48 dali user.info kernel: [ 1875.994795] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Sep 27 19:03:48 dali user.info kernel: [ 1876.009182] input: Apple Wireless Keyboard as /devices/pci0000:00/0000:00:1d.3/usb5/5-1/5-1:1.0/bluetooth/hci0/hci0:11/input12
Sep 27 19:03:48 dali user.info kernel: [ 1876.009901] apple 0005:05AC:0239.0001: input,hidraw0: BLUETOOTH HID v0.50 Keyboard [Apple Wireless Keyboard] on 1C:4B:D6:05:DE:97





More information about the Pkg-bluetooth-maintainers mailing list