Re: reset_resume() for sierra driver

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

 



Am Dienstag, 2. Februar 2010 15:19:29 schrieb Alan Cox:
> > I am implementing reset_resume() in the sierra driver. It seems to me
> > that the best way to do that would be to simulate a sudden loss of
> > connection. To do so I need to know what a sierra device does if the
> > connection simply vanishes. I want to feed emulated error messages
> > to the tty layer to make NetworkManager deal nicely with this situation.
> 
> The tty layer hangs up a port that vanishes so you just need to do
> 
>         tty_hangup(tty)

Is that sensible for these devices? At least the control channels
should not be affected as reset_resume() would be done.

	Regards
		Oliver
--
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