[Bug 211157] Re: Pairing a bluetooth device hangs a computer
Josiah Yoder
yoder2 at purdue.edu
Sat Mar 20 21:39:26 GMT 2010
I had a similar problem the second time I tried to connect to my phone.
Every time I typed the four-digit pin on both the phone and the
computer, it would connect and then immediately hang. I ended up not
connecting with the bluetooth panel applet, and proceeding straight to
the following commands. Perhaps it is somehow still connected despite
rebooting?
#!/bin/sh
ADDRESS=00:19:A0:A2:70:55
sudo hcitool cc $ADDRESS &&
sudo hcitool auth $ADDRESS &&
( sudo rfcomm connect 0 $ADDRESS 16 </dev/null >/dev/null & )
sleep 2
sudo chmod 666 /dev/rfcomm0
which worked, even though it was a bit finicky.
--
Pairing a bluetooth device hangs a computer
https://bugs.launchpad.net/bugs/211157
You received this bug notification because you are a member of
Bluetooth, which is subscribed to bluez-utils in ubuntu.
More information about the Ubuntu-bluetooth
mailing list