[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711211610.58684.oliver@neukum.org>
Date: Wed, 21 Nov 2007 16:10:58 +0100
From: Oliver Neukum <oliver@...kum.org>
To: Felipe Balbi <me@...ipebalbi.com>
Cc: Markus Rechberger <mrechberger@...il.com>, Mark Lord <lkml@....ca>,
linux-kernel@...r.kernel.org,
linux-usb-devel@...ts.sourceforge.net,
Laurent Pinchart <laurentp@...-semaphore.com>
Subject: Re: USB deadlock after resume
Am Mittwoch 21 November 2007 schrieb Felipe Balbi:
> > Do you know any good way for performing a softreset within the driver?
> > The video application should get a continuous datastream after
> > resuming the notebook, so the driver shouldn't be unloaded.
> > The driver also keeps a list of previous camera settings which should
> > be set up again after resuming. Stopping the video application and
> > reattaching the device using ACPI (this board supports reconnecting
> > the device using ACPI) should be avoided.
>
> When you suspend, you cut off vbus (afaik, correct me if I'm wrong), which
> means your device will get disconnected. One way to avoid this is enabling
> CONFIG_USB_PERSIST and trying with that on.
Suspend may or may not cut off power. If it does cut off power, resume() will
never be called, instead either disconnect() or reset_resume().
Regards
Oliver
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists