* [Bluez-devel] PROBLEM: device node rfcomm0 is removed, but not created.
@ 2004-04-28 13:15 Christoph Burger-Scheidlin
2004-04-28 13:27 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Burger-Scheidlin @ 2004-04-28 13:15 UTC (permalink / raw)
To: Bluez-devel
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [Bluez-devel] PROBLEM: device node rfcomm0 is removed, but not created.
2004-04-28 13:15 [Bluez-devel] PROBLEM: device node rfcomm0 is removed, but not created Christoph Burger-Scheidlin
@ 2004-04-28 13:27 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2004-04-28 13:27 UTC (permalink / raw)
To: Christoph Burger-Scheidlin; +Cc: BlueZ Mailing List
Hi Christoph,
> [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.
>
> [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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-28 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28 13:15 [Bluez-devel] PROBLEM: device node rfcomm0 is removed, but not created Christoph Burger-Scheidlin
2004-04-28 13:27 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox