Re: reset_resume() for sierra driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-02-02 at 14:11 -0800, Oliver Neukum wrote:
> > Hi Oliver,
> > We already have a reset_resume function in our latest sierra driver.
> > We will submit a patch to linux-usb community shortly.
> > Here is our function:
> > 
> > static int sierra_reset_resume(struct usb_interface *intf)
> > {
> >       struct usb_serial *serial = usb_get_intfdata(intf);
> >       dev_err(&serial->dev->dev, "%s\n", __func__);
> >       return usb_serial_resume(intf);
> > }
> 
> How does it do when you test it while the device is online?
> It seems to not notify the host about the breakdown of the connection.
> 
>         Regards
>                 Oliver
> 

Hi Oliver,

The notification (tty_hangup) happens when the device sends DCD (data
carrier detect) update over interrupt endpoint (see
sierra_instat_callback).

Please note that we implemented sierra_reset_resume() function to be
able to accommodate all our devices in the field.

Regards,
Elina




--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux