From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: 2.6.27- Sending uevent from a driver Date: Fri, 3 Jul 2009 16:36:11 +0100 Message-ID: <20090703153611.GA23678@shareable.org> References: <547eba1b0906300130r6b704e9ft408c63d2c1e6f4a@mail.gmail.com> <20090630154110.GD16038@kroah.com> <547eba1b0907012139l6b406191p1fc1bdbe3ebc0737@mail.gmail.com> <20090702111107.08332a4b@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <20090702111107.08332a4b-qBU/x9rampVanCEyBjwyrvXRex20P6io@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alan Cox Cc: Daniel Ng , Greg KH , linux-embedded-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Alan Cox wrote: > > Or, maybe the userspace program can receive some sort of interrupt > > from the TTY device when it is ready for I/O. > > > > Perhaps there is another way to avoid continued polling? > > TIOCMIWAIT ioctl for modem signals, and just using poll/select() on the > tty for I/O. Ah yes, the undocumented ioctl... I knew there was one, just couldn't find it in the man page just now. -- Jamie -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html