mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joerg Pommnitz <pommnitz@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: select(2), usbserial, tty's and disconnect
Date: Tue, 8 Mar 2005 17:19:35 +0100 (CET)	[thread overview]
Message-ID: <20050308161935.84907.qmail@web51405.mail.yahoo.com> (raw)

Hello all,
currently it seems that select keeps blocking when the USB device behind
ttyUSBx gets unplugged. My understanding is, that select should return
when the next call to one of the operations (read/write) will not block.
This is certainly true for failing with ENODEV. So, is this an issue
that will be fixed or should I poll (not the syscall) the device? Or is 
there another way to monitor for a vanishing tty (it should not be USB 
specific).

Thanks in advance
  Joerg


	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

             reply	other threads:[~2005-03-08 16:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08 16:19 Joerg Pommnitz [this message]
2005-03-08 16:25 ` linux-os
     [not found] <3FPL5-7pH-29@gated-at.bofh.it>
2005-03-09  1:54 ` Robert Hancock
2005-03-09  9:53 Joerg Pommnitz
2005-03-09 10:10 Joerg Pommnitz

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=20050308161935.84907.qmail@web51405.mail.yahoo.com \
    --to=pommnitz@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®