Skip to contentSkip to conversation

PROBLEM: device node rfcomm0 is removed, but not created.

Bluez-devel Christoph Burger-Scheidlin 2 participants 2 messages Apr 28, 2004 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello,

I tried to comply with the bug report guidelines found at=20
http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html

[1] device node rfcomm0 is removed by sysfs upon ppp disconnect, but not=20 created on connect

[2] I am connecting a palm Tungsten T to my linux box using bluetooth (blue= z=20
stack). I am using dund to listen for incoming connections. My problem is,= =20
that the device node rfcomm0 is not created automatically. However, if I=20 create it manually, it is removed upon termination of the connection, by=20 sysfs presumably. Creating the node manually, the connection works fine.

In my rfcommd.conf settings, I have set:
rfcomm0 { =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0bind no; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0device <btaddr of palm>; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0channel 1; =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0comment "Tungsten"; }

which appears to be the problem. Setting "bind yes;" will cause the device= =20
node to be created, but the connection fails, presumably because the Tungst= en=20
does not allow binding.

I also tested bluetooth connectivity with my cellphone. issuing the command rfcomm bind 3 <btaddr of cellphone> works and also creates the device=20 node /dev/rfcomm3.

[3] bluetooth rfcomm sysfs

[4] 2.6.5

I will be happy to provide the rest upon request, but deem it too long to p= ost=20
it initially

Regards,

Christoph Burger-Scheidlin

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Christoph,

Quoted 25 lines

[1] device node rfcomm0 is removed by sysfs upon ppp disconnect, but not created on connect

[2] I am connecting a palm Tungsten T to my linux box using bluetooth (bluez stack). I am using dund to listen for incoming connections. My problem is, that the device node rfcomm0 is not created automatically. However, if I create it manually, it is removed upon termination of the connection, by sysfs presumably. Creating the node manually, the connection works fine.

In my rfcommd.conf settings, I have set:

rfcomm0 {
                bind no;
                device <btaddr of palm>;
                channel 1;
                comment "Tungsten";
}

which appears to be the problem. Setting "bind yes;" will cause the device node to be created, but the connection fails, presumably because the Tungsten does not allow binding.

I also tested bluetooth connectivity with my cellphone. issuing the command rfcomm bind 3 <btaddr of cellphone> works and also creates the device node /dev/rfcomm3.

Quoted 6 lines

[3] bluetooth rfcomm sysfs

[4] 2.6.5

I will be happy to provide the rest upon request, but deem it too long to post it initially

the problem will be that the dund creates the RFCOMM TTY devices by itself and actually when you use udev it takes some time until the device node appears. The "rfcomm connect" function had the same problem and we need a similar fix for dund.

Regards

Marcel

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel