LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Bluetooth works, rfcomm doesn't (https://www.linuxquestions.org/questions/slackware-14/bluetooth-works-rfcomm-doesnt-668153/)

Hangdog42 09-07-2008 10:22 AM

Bluetooth works, rfcomm doesn't
 
Been banging my head on this for a bit and finally decided to see if anyone has any new ideas. I used to be able to use the Bitpim program to sync my calendar with my phone via Bluetooth using rfcomm0, but something has happened (and I don't know what) so that now rfcomm0 is refusing all connections. In general, Bluetooth seems to be working in that I can use my Bluetooth mouse and if I scan for Bluetooth devices, I can see them without a problem. The only thing I can't do is communicate using rfcomm0.

It isn't a permissions issue. I use a udev rule to set up rfcomm0 so that it is owned by root:users and both have read/write access. The appropriate kernel modules appear to be loaded and are:

rfcomm
l2cap
bluetooth

It also doesn't appear to be a problem on the phone side as I get the same problem whether the phone is on or off.

The only thing I can think is that this sort of coincides with a change to kernel 2.6.26, however booting into my old kernel (2.6.24.5 where this used to work) still has the same problem.

Any suggestions would be greatly appreciated.

The_Outlander 09-09-2008 05:21 PM

Hi,

/etc/bluetooth/rfcomm.conf ?

I remember overwriting this file once with a .new file. Have you done any updates recently.

Hangdog42 09-09-2008 05:56 PM

Good idea, but no go. I did find a typo in the file, but I think this looks OK:

Code:

#
# RFCOMM configuration file.
#

rfcomm0 {
#        # Automatically bind the device at startup
        bind yes;
#
#        # Bluetooth address of the device
        device 00:19:A1:DE:32:6E;
#
#        # RFCOMM channel for the connection
        channel        16;
#
#        # Description of the connection
        comment "Needed for BitPim";
}



All times are GMT -5. The time now is 03:10 PM.