public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Hi there! ... and my first question
@ 2004-06-28 15:30 Torsten E.
  2004-06-28 23:32 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Torsten E. @ 2004-06-28 15:30 UTC (permalink / raw)
  To: bluez-users

Hi there,

well, after reading some docs regarding PAN I wasn't able to manage the
problem.
I'd like to attach my iPaq 3970 via BlueTooth to my Linuxbox (SuSE 9.1,
with SuSE kernel 2.6.5-7.75-default).

I configured the Linuxbox so I'm able to l2ping the iPaq, but right when
using DUND I get errors in /var/log/messages like:
Jun 28 17:01:09 gandalf /etc/hotplug/tty.agent[6372]: TTY try 1 while
waiting for /class/tty/rfcomm0's bus_id
Jun 28 17:01:10 gandalf /etc/hotplug/tty.agent[6372]: TTY try 2 while
waiting for /class/tty/rfcomm0's bus_id
Jun 28 17:01:11 gandalf /etc/hotplug/tty.agent[6372]: TTY try 3 while
waiting for /class/tty/rfcomm0's bus_id
Jun 28 17:01:11 gandalf dund[6371]: RFCOMM TTY creation failed. No such
file or directory(2)
Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6389]: remove tty device
/class/tty/rfcomm0
Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6372]: TTY try 4 while
waiting for /class/tty/rfcomm0's bus_id
Jun 28 17:01:13 gandalf /etc/hotplug/tty.agent[6372]: TTY try 5 while
waiting for /class/tty/rfcomm0's bus_id
Jun 28 17:01:24 gandalf /etc/hotplug/tty.agent[6372]: add tty device
/class/tty/rfcomm0

As there's no directory /class onmy box, but /sys/classm I guess that's
the correct one.
But I'm not able to create any file or directory there ... what does I
have to do?

If you need more information please let me know.
(English isn't my native language, so hopefully you get what I mean ...
german would be better ... ;))

Best regards
Torsten




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Hi there! ... and my first question
  2004-06-28 15:30 [Bluez-users] Hi there! ... and my first question Torsten E.
@ 2004-06-28 23:32 ` Marcel Holtmann
  2004-06-29  9:18   ` Torsten E.
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-06-28 23:32 UTC (permalink / raw)
  To: Torsten E.; +Cc: BlueZ Mailing List

Hi Thorsten,

> well, after reading some docs regarding PAN I wasn't able to manage the
> problem.
> I'd like to attach my iPaq 3970 via BlueTooth to my Linuxbox (SuSE 9.1,
> with SuSE kernel 2.6.5-7.75-default).

right now I don't installed SuSE on any of my machines.

> I configured the Linuxbox so I'm able to l2ping the iPaq, but right when
> using DUND I get errors in /var/log/messages like:
> Jun 28 17:01:09 gandalf /etc/hotplug/tty.agent[6372]: TTY try 1 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 28 17:01:10 gandalf /etc/hotplug/tty.agent[6372]: TTY try 2 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 28 17:01:11 gandalf /etc/hotplug/tty.agent[6372]: TTY try 3 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 28 17:01:11 gandalf dund[6371]: RFCOMM TTY creation failed. No such
> file or directory(2)
> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6389]: remove tty device
> /class/tty/rfcomm0
> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6372]: TTY try 4 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 28 17:01:13 gandalf /etc/hotplug/tty.agent[6372]: TTY try 5 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 28 17:01:24 gandalf /etc/hotplug/tty.agent[6372]: add tty device
> /class/tty/rfcomm0

I don't know anything about tty.agent. It is not part of the hotplug
package.

> As there's no directory /class onmy box, but /sys/classm I guess that's
> the correct one.
> But I'm not able to create any file or directory there ... what does I
> have to do?

Nothing. This is sysfs related and is ok.

Regards

Marcel




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Hi there! ... and my first question
  2004-06-28 23:32 ` Marcel Holtmann
@ 2004-06-29  9:18   ` Torsten E.
  2004-06-29 17:47     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Torsten E. @ 2004-06-29  9:18 UTC (permalink / raw)
  To: BlueZ Mailing List

Marcel Holtmann schrieb am Dienstag, 29. Juni 2004 01:32:

> Hi Thorsten,

Hi Marcel,

>> well, after reading some docs regarding PAN I wasn't able to manage
>> the problem.
>> I'd like to attach my iPaq 3970 via BlueTooth to my Linuxbox (SuSE
>> 9.1, with SuSE kernel 2.6.5-7.75-default).
>
> right now I don't installed SuSE on any of my machines.

... might be better not to have any ... ;)

>> I configured the Linuxbox so I'm able to l2ping the iPaq, but right
>> when using DUND I get errors in /var/log/messages like:
>> Jun 28 17:01:09 gandalf /etc/hotplug/tty.agent[6372]: TTY try 1 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:10 gandalf /etc/hotplug/tty.agent[6372]: TTY try 2 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:11 gandalf /etc/hotplug/tty.agent[6372]: TTY try 3 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:11 gandalf dund[6371]: RFCOMM TTY creation failed. No
>> such file or directory(2)
>> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6389]: remove tty
>> device /class/tty/rfcomm0
>> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6372]: TTY try 4 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:13 gandalf /etc/hotplug/tty.agent[6372]: TTY try 5 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:24 gandalf /etc/hotplug/tty.agent[6372]: add tty device
>> /class/tty/rfcomm0
>
> I don't know anything about tty.agent. It is not part of the hotplug
> package.

It seems to be an SuSE script.

>> As there's no directory /class onmy box, but /sys/classm I guess
>> that's the correct one.
>> But I'm not able to create any file or directory there ... what does
>> I have to do?
>
> Nothing. This is sysfs related and is ok.

Yes & No ...
I was able to create /dev/rfcomm0 by using:
    mknod /dev/rfcomm0 c 216 0

But then it becomes strange:
Running dund --master --listen starts just fine (it seems
dund --mster --sdp --listen doen not work (anymore?)).
Trying to establish an connection shows in /var/log/messages:
Jun 29 10:06:21 gandalf /etc/hotplug/tty.agent[5401]: add tty device
/class/tty/rfcomm0
Jun 29 10:07:20 gandalf dund[5448]: New connection from
00:02:C7:11:FE:D6
Jun 29 10:07:20 gandalf pppd[5460]: pppd 2.4.2 started by root, uid 0
Jun 29 10:07:20 gandalf pppd[5460]: Using interface ppp1
Jun 29 10:07:20 gandalf pppd[5460]: Connect: ppp1 <--> /dev/rfcomm0
Jun 29 10:07:20 gandalf /etc/hotplug/tty.agent[5449]: TTY try 1 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:21 gandalf /etc/hotplug/tty.agent[5449]: TTY try 2 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:22 gandalf /etc/hotplug/tty.agent[5449]: TTY try 3 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:23 gandalf /etc/hotplug/tty.agent[5449]: TTY try 4 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:24 gandalf /etc/hotplug/tty.agent[5449]: TTY try 5 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:25 gandalf /etc/hotplug/tty.agent[5449]: add tty device
/class/tty/rfcomm0
Jun 29 10:07:28 gandalf pppd[5460]: Hangup (SIGHUP)
Jun 29 10:07:28 gandalf pppd[5460]: Modem hangup
Jun 29 10:07:28 gandalf pppd[5460]: Connection terminated.
Jun 29 10:07:29 gandalf pppd[5460]: Exit.
Jun 29 10:07:29 gandalf /etc/hotplug/tty.agent[5503]: remove tty device
/class/tty/rfcomm0

Ok, now /sys/class/tty/rfcomm0 is created automatically (maybe just some
seconds too late ...).
So for me it seems the SuSE scripts aren't working proper right now -
what does I have to do to start an BT connection manually?
Which commands are neccessary? Could somebody give me a hand?

I'm using:
RFCOMM configuration utility ver 2.7
hcitool - HCI Tool ver 2.7
hciconfig - ??? hciconfig version (or "hciconfig hci0 version") does not
work
pppd version 2.4.2

> Regards
>
> Marcel

c y
Torsten (without an h ;))




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Hi there! ... and my first question
  2004-06-29  9:18   ` Torsten E.
@ 2004-06-29 17:47     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-06-29 17:47 UTC (permalink / raw)
  To: Torsten E.; +Cc: BlueZ Mailing List

Hi Torsten,

> > right now I don't installed SuSE on any of my machines.
> 
> ... might be better not to have any ... ;)

all the kernel related problems are fixed in the SuSE kernel. So no
problem on that side.

> >> I configured the Linuxbox so I'm able to l2ping the iPaq, but right
> >> when using DUND I get errors in /var/log/messages like:
> >> Jun 28 17:01:09 gandalf /etc/hotplug/tty.agent[6372]: TTY try 1 while
> >> waiting for /class/tty/rfcomm0's bus_id
> >> Jun 28 17:01:10 gandalf /etc/hotplug/tty.agent[6372]: TTY try 2 while
> >> waiting for /class/tty/rfcomm0's bus_id
> >> Jun 28 17:01:11 gandalf /etc/hotplug/tty.agent[6372]: TTY try 3 while
> >> waiting for /class/tty/rfcomm0's bus_id
> >> Jun 28 17:01:11 gandalf dund[6371]: RFCOMM TTY creation failed. No
> >> such file or directory(2)
> >> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6389]: remove tty
> >> device /class/tty/rfcomm0
> >> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6372]: TTY try 4 while
> >> waiting for /class/tty/rfcomm0's bus_id
> >> Jun 28 17:01:13 gandalf /etc/hotplug/tty.agent[6372]: TTY try 5 while
> >> waiting for /class/tty/rfcomm0's bus_id
> >> Jun 28 17:01:24 gandalf /etc/hotplug/tty.agent[6372]: add tty device
> >> /class/tty/rfcomm0
> >
> > I don't know anything about tty.agent. It is not part of the hotplug
> > package.
> 
> It seems to be an SuSE script.

Please make a backup copy and remove it. I don't what it is good for.

> >> As there's no directory /class onmy box, but /sys/classm I guess
> >> that's the correct one.
> >> But I'm not able to create any file or directory there ... what does
> >> I have to do?
> >
> > Nothing. This is sysfs related and is ok.
> 
> Yes & No ...
> I was able to create /dev/rfcomm0 by using:
>     mknod /dev/rfcomm0 c 216 0

Why don't you use udev?

> But then it becomes strange:
> Running dund --master --listen starts just fine (it seems
> dund --mster --sdp --listen doen not work (anymore?)).
> Trying to establish an connection shows in /var/log/messages:
> Jun 29 10:06:21 gandalf /etc/hotplug/tty.agent[5401]: add tty device
> /class/tty/rfcomm0
> Jun 29 10:07:20 gandalf dund[5448]: New connection from
> 00:02:C7:11:FE:D6
> Jun 29 10:07:20 gandalf pppd[5460]: pppd 2.4.2 started by root, uid 0
> Jun 29 10:07:20 gandalf pppd[5460]: Using interface ppp1
> Jun 29 10:07:20 gandalf pppd[5460]: Connect: ppp1 <--> /dev/rfcomm0
> Jun 29 10:07:20 gandalf /etc/hotplug/tty.agent[5449]: TTY try 1 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 29 10:07:21 gandalf /etc/hotplug/tty.agent[5449]: TTY try 2 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 29 10:07:22 gandalf /etc/hotplug/tty.agent[5449]: TTY try 3 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 29 10:07:23 gandalf /etc/hotplug/tty.agent[5449]: TTY try 4 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 29 10:07:24 gandalf /etc/hotplug/tty.agent[5449]: TTY try 5 while
> waiting for /class/tty/rfcomm0's bus_id
> Jun 29 10:07:25 gandalf /etc/hotplug/tty.agent[5449]: add tty device
> /class/tty/rfcomm0
> Jun 29 10:07:28 gandalf pppd[5460]: Hangup (SIGHUP)
> Jun 29 10:07:28 gandalf pppd[5460]: Modem hangup
> Jun 29 10:07:28 gandalf pppd[5460]: Connection terminated.
> Jun 29 10:07:29 gandalf pppd[5460]: Exit.
> Jun 29 10:07:29 gandalf /etc/hotplug/tty.agent[5503]: remove tty device
> /class/tty/rfcomm0
> 
> Ok, now /sys/class/tty/rfcomm0 is created automatically (maybe just some
> seconds too late ...).

The tools from bluez-utils-2.7 should wait three seconds or so.

Regards

Marcel




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-29 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 15:30 [Bluez-users] Hi there! ... and my first question Torsten E.
2004-06-28 23:32 ` Marcel Holtmann
2004-06-29  9:18   ` Torsten E.
2004-06-29 17:47     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox