Originally Posted by X-Stranger
Confirmed, the solution I've taken from ArchLinux does not work in Ubuntu. To fix Bluetooth, please overwrite /opt/bluez/brcm_patchram_plus file with attached to this message (don't forget to unpack it before) and make it executable ("chmod +x /opt/bluez/brcm_patchram_plus"). Then go to /etc folder of Ubuntu, find rc.local file and comment out the line starting with "/usr/bin/valgrind ...", save file and reboot.
Please let me know if this helps. As for me, I was able to connect my bluetooth mouse after fix.
First of all thanks for great work.
Ubuntu is working nicely except I am having troubles to get bluetooth keyboard working.
I did the fix described above and changed bluetooth device address
mount /dev/mmcblk0p3 /srv
cp -f /srv/bluetooth/bt_addr /opt/bluez/
Also I had to manually start brcm_patchram_plus with command
nohup /opt/bluez/brcm_patchram_plus --bd_addr `cat /opt/bluez/bt_addr` --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 4000000 --use_baudrate_for_download --patchram /opt/bluez/bcm4334.hcd --i2s=1,0,0,0 /dev/ttySAC0 >/dev/null 2>&1 &
after boot. It did not seem to work when started from rc.local.
After these steps I was able to enable bluetooth but still gnome bluetooth settings could not find my bluetooth keyboard. I succeeded to pair my bluetooth keyboard from command line using commands
root@GT-N8000:/# hcitool scan
7C:1E:52:09:A1:E7 Microsoft Wedge Mobile Keyboard
root@GT-N8000:/# bluez-simple-agent hci0 7C:1E:52:09:A1:E7
DisplayPasskey (/org/bluez/2902/hci0/dev_7C_1E_52_09_A1_E7, 065352)
New device (/org/bluez/2902/hci0/dev_7C_1E_52_09_A1_E7)
root@GT-N8000:/# bluez-test-device trusted 7C:1E:52:09:A1:E7 yes
After these steps bluetooth keyboard appeared in gnome settings too. Even though keyboard was communicating with tablet for sure in authentication step above it just won't like to connect after pairing anymore. The connect command just gives varying error messages such as
root@GT-N8000:/# bluez-test-input connect 7C:1E:52:09:A1:E7
Traceback (most recent call last):
File "/usr/bin/bluez-test-input", line 42, in <module>
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
and obviously keyboard is not working.
Am I doing something wrong or missing something or is bluetooth driver just buggy?