On Sun, 4 Apr 2004 21:46:52 -0700
"Robert White" <[EMAIL PROTECTED]> wrote:

> This is "reasonably well tested" on the x86 platform.
> 
> This patch fixes a problem where the usbserial code would not notify
> connected programs that the serial port was going away.

> @@ -1404,9 +1408,11 @@ static void usb_serial_disconnect(struct
>                 for (i = 0; i < serial->num_ports; ++i) {
>                         port = &serial->port[i];
>                         down (&port->sem);
> -                       if (port->tty != NULL)
> +                       if (port->tty != NULL) {
> +                               tty_hangup(port->tty);
>                                 while (port->open_count > 0)
>                                         __serial_close(port, NULL);
> +                       }

I'll think about it.

If Greg approves and takes, it's fine, too.

What is the actual symptom? Did you expect a SIGHUP?

-- Pete


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to