Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Endless disconnecting of Bluetooth mobile phone data connection

Hi,

if a data connection with my BT mobile phone unexpectedly drops, the system endlessly tries to disconnect the (already disconnected) connection.

This bug is well known in 10.4. A workaround was to manually kill the PPPD process (or alternatively with a 3rd party script (EndHangingDisconnect)).

It seems, that this workaround does not help in 10.5 anymore. Any other solution? Which process is responsible for this bug in 10.5 (and could be killed).

However, I am very disappointed, that this highly annoying bug was not addressed by Apple with this update.

Graefe

AlBook, Mac OS X (10.5)

Posted on Oct 28, 2007 9:53 AM

Reply
43 replies

Jan 6, 2009 5:27 AM in response to Graefe

Hi,

I see this problem is never going to get fixed. It happened occasionally with 10.4 but with 10.5.6 it really is a joke. I get about 2 mins before the endless disconnecting scroll starts. I'm using an Ericcson P1, but this isn't the fault - its in the mac.

I'm going to go to the Genius Bar at the Mac centre and make them sort it.

You really would expect better from Mac.... I might have to downgrade to Windows if this persists.

Jan 6, 2009 3:45 PM in response to MonacoRob

this situation does completely suck.

it is undoubtedly ridiculous that you can't kill the process. isn't it as ridiculous that it doesn't connect in the first place?

a $200 nokia internet tablet has a wizard that walks you thru tethering to your phone that works flawlessly from that point on. you can even configure it to autoswitch to wlans when they are available. on the nokia n800, this has worked without incident with every nokia phone i have tried it with.

why is this so difficult? i read thru this thread and did some other searches but could not find an official apple response. has there been one?

Jan 16, 2009 5:52 AM in response to Graefe

Hi everyone! I have a solution!

I have felt the same pain. It seemed rediculous to me that this problem requires a reboot. I have tried killing processes and using gdb or dtrace/dtruss, but had no sucess with these methods.

My background is Linux, and so I was finally thinking, why can't I remove the bluetooth module!

Here is what I did:

Saturn:~ root# kextunload -v 6 -p -b com.apple.iokit.IOBluetoothSerialManager
kextunload: calculating version relationships
kextunload: unload id com.apple.iokit.IOBluetoothSerialManager succeeded (any personalities not unloaded)

Once you have done this, pppd will be able to terminate because this removes the cuBluetooth-Modem device pppd seems to be stuck on. However, now you won't be able to reconnect.

The devices in /dev (/dev/cu.*) will have disappeared.
Now do the following:

Saturn:~ root# service com.apple.blued stop
Saturn:~ root# service com.apple.blued start
Saturn:~ root# ls -la /dev/cu.*
cu.Bluetooth-Modem cu.SerialPort-2 cu.SerialPort-7
cu.Bluetooth-PDA-Sync cu.SerialPort-3 cu.SerialPort-8
cu.SerialPort-1 cu.SerialPort-4 cu.SerialPort-9
cu.SerialPort-10 cu.SerialPort-5
cu.SerialPort-11 cu.SerialPort-6

Voila! Now you should be right to connect again.

This method worked for me today when I had a lockup. I havnt had another lockup to verify this, but from my testing, I have been able to verify the removal of the bluetooth device nodes on module unload and then the recreation on restart of blued service.

Hope this helps others. Please let me know.

John

Jan 30, 2009 11:57 PM in response to John Collaros

Okay, so I opened up terminal and entered the following:

sudo tcsh (to get into root)
<root password>
kextunload -v 6 -p -b com.apple.iokit.IOBluetoothSerialManager
ps -ef | grep pppd (to get pid)
kill -HUP <pid>
service com.apple.blued stop
service com.apple.blued start

Nothing happens. The disconnecting is still scrolling across the top. It also doesn't seem like I have a /dev/cu.* directory. What am I missing?

Feb 3, 2009 3:57 PM in response to John Collaros

Hi there,

Thanks very much for the tip. It didn't quite work for me, as the devices in /dev weren't recreated for me after restarting the blued service, but they were when I rebooted and then the problem didn't reappear. Previously it had been reoccurring, even after reboots. It's still super annoying, but at least this seems to make it go away for a while. Thanks!

Daire.

Mar 17, 2009 2:41 AM in response to Graefe

I am running 10.5.6 and connecting using a Nokia E70.

It happened to me, and nothing seemed to help (no reboot, no kernel module unloading etc.). After about a month of being grumpy about it I removed my phone from the bluetooth devices and added it again. Success!

Since then it has happened twice again. Each time I could simply delete the phone pairing and add it again to make it work. I did not have to change any settings or even reboot.

Mar 18, 2009 2:12 PM in response to Graefe

OK so I had a blackberry curve 8320 and I used on a daily basis to connect to the internet. Last weekend I had to change it because I had some problems and bought a new phone of the same model. The first day it worked fine, but since yesterday the mac wont connect to the phone. When I click to connect to the phone I get the Connecting message for a couple of seconds, then "Disconnecting" appears and never disappears until I reboot. Its incredibly annoying. I just want to know if the problem is with the new phone or with the mac?

Mar 20, 2009 1:17 AM in response to javy888

"Bluetooth Preferences": delete the pairing with the phone by using the minus sign at the bottom
"Set up bluetooth device": pair with the phone again (dial up networking should be selected)

Now it should work. I have a friend with a similar setup as mine (unibody macbook, s60 nokia phone) and we have both had this problem. Every time the above recipe has worked.

Mar 25, 2009 3:21 PM in response to pochwa

I had trying deleting the pairing and adding it again and it never worked. What I did was pair a friend's phone and use it to connect to the internet (another Blackberry Curve) and it worked!!! When I tried with my own phone AFTER connecting through my friend's phone, it connected!!! What I do notice now is that when it says "Connecting, Authenticating, Disconnecting..." it suddendly moves slower and then it speeds up to its normal speed. This happens everytime and like each 5 seconds.

May 9, 2009 4:45 PM in response to Graefe

If this is your problem, the solution is to change this default so Leopard doesn't require it from the Bluetooth PPP connection with your phone. You can't make the change in the GUI. But if you are comfortable changing plist files, the solution is to go to /Library » Preferences » SystemConfiguration » preferences.plist, and change the CCPEnabled property for the Bluetooth-Modem device from 1 to 0. Then reboot, and it should work.

(Taken from source: http://www.macosxhints.com/article.php?story=20080911045249289 )

Endless disconnecting of Bluetooth mobile phone data connection

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.