[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-serial
Subject: Re: g_serial hangs on write when the cable is disconnected
From: Alan Stern <stern () rowland ! harvard ! edu>
Date: 2015-08-06 14:15:10
Message-ID: Pine.LNX.4.44L0.1508061013280.1268-100000 () iolanthe ! rowland ! org
[Download RAW message or body]
On Thu, 6 Aug 2015, Laszlo Papp wrote:
> > You should also add a printk statement to the disconnect callback so
> > that you can verify whether it really is getting called.
>
> Thanks. Should that also be called if I just boot up the board with
> Linux on it while the cable is not attached.
No. It gets called only at the time you unplug the cable.
> In other words, the
> problem that I am also experiencing is that it blocks even when no
> cable is attached to the board and there has been no cable ever
> attached for the last boot.
You didn't mention this before.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic