mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Norbert Preining <preining@logic.at>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net
Subject: Re: Instances of visor us devices are not deleted (2.6.9-rc4-mm1)
Date: Wed, 20 Oct 2004 13:18:00 +0200	[thread overview]
Message-ID: <20041020111800.GA6569@gamma.logic.tuwien.ac.at> (raw)
In-Reply-To: <20041020070056.GA15620@kroah.com>

Hi Greg!

On Mit, 20 Okt 2004, Greg KH wrote:
> Hm, no it isn't.  Are you sure that userspace doesn't still have the
> device nodes open?  If they do, the ttyUSB number will not be released
> until that happens.

Ah, ok. So the culprit is gnome-pilot listening for HotSync events. 

I thought that as soon as the unit/usb device is disconnected, also the
device numbers are released.

But then: How to cope with problems like this? REcurring plugging and
unplugging and a program listening to this?

Is it possible to have
	/dev/pilot	->	/dev/ttyUSB1
and gnome-pilot opens /dev/pilot. Will then every new hot sync also
create other devices?

Best wishes

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>         Technische Universität Wien
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
Yesterday it worked.
Today it is not working.
Windows is like that.
                       --- Windows Error Haiku

  reply	other threads:[~2004-10-20 11:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20  6:16 Norbert Preining
2004-10-20  7:00 ` Greg KH
2004-10-20 11:18   ` Norbert Preining [this message]
2004-10-20 23:56     ` Greg KH
2004-10-21 14:27 Kurt Wall

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=20041020111800.GA6569@gamma.logic.tuwien.ac.at \
    --to=preining@logic.at \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®