Re: Disconnect of USB Serial device not notifying application

Pete Zaitcev <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Wed, 15 Aug 2007 21:15:13 -0500, "Dale Martenson" <[email protected]> wrote:

> The new MT9234ZBA-USB modem uses the ti_usb_3410_5052 driver which
> relies on usb-serial. If you remove the USB cable when using this
> driver, the application remains running and does not realize that the
> device is now gone. This was tested on 2.6.9, which I realize is an old
> release in kernel years, but it is not clear to me that there have been
> any changes which might effect this.

This is what tty_hangup() does, but it was implemented in 2.6.9.
It may be just a bug with the order of zeroing for pointers.
There was a fair amount of code shifting since then around those
"if (port->tty)". Can you give it a new try to a more recent kernel?

-- Pete

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.