Re: USB gadgets with configfs hang reboot

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

 



On Monday 18 April 2016 10:02:57 Ivaylo Dimitrov wrote:
> 
> 
> On  8.04.2016 23:13, Ivaylo Dimitrov wrote:
> >Hi,
> >
> >On 16.01.2016 12:40, Ivaylo Dimitrov wrote:
> >>Hi,
> >>
> >>On 16.01.2016 00:48, Tony Lindgren wrote:
> >>>Hi all,
> >>>
> >>>Looks like there's some issue with the USB gadgets and configfs.
> >>>
> ...
> >
> >(copied from "Re: [PATCH] usb: f_mass_storage: test whether thread is
> >running before starting another" thread)
> >
> >Yet another problem with USB gadget, this time with f_acm - if there is
> >an open /dev/ttyGSn device, it is impossible to reboot/power down the
> >device.
> >
> >My investigation shown that there is a process(pnatd) that opens
> >/dev/ttyGSn devices, so gserial_free_port() hangs on
> >wait_event(port->close_wait, gs_closed(port)); if I do "cd
> >/sys/bus/platform/drivers/musb-hdrc && echo musb-hdrc.0.auto > unbind".
> >
> >Unfortunately I don't have serial debug port connector on my N900, so I
> >can't capture logs after the reboot command, however, I suspect it hangs
> >on the same place as with unbind.
> >
> >That looks weird, as one would expect that close() is called when the
> >kernel kills user processes on reboot/powerdown.
> >
> >Ivo
> 
> 
> Anyone?

PING?

-- 
Pali Rohár
pali.rohar@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux