All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: "Torsten E." <linux-user@gmx.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Hi there! ... and my first question
Date: Tue, 29 Jun 2004 19:47:46 +0200	[thread overview]
Message-ID: <1088531266.6030.316.camel@pegasus> (raw)
In-Reply-To: <007001c45dba$19c61a50$640aa8c0@frodo>

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

      reply	other threads:[~2004-06-29 17:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1088531266.6030.316.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=linux-user@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.