Google
  Web www.spinics.net

Re: [BUG] USB_PERSIST

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


On Tue, 27 Nov 2007, Raymano Garibaldi wrote:

> Hi Alan,
> 
> Here's what I got after compiling kernel with CONFIG_USB_PERSIST and
> CONFIG_USB_DEBUG both enabled. The attached files are:
> 
> config - shows the .config file used when compiling kernel 2.6.23.9
> 
> sysandmount.txt - shows mounts and the state of persist for all usb
> devices right before suspending.
> 
> dmesg_attached.txt - dmesg right after resuming when the USB device
> remained attached while machine was suspend
> 
> dmesg_detachedandreattached.txt - dmesg right after resuming when the
> USB device was detached while suspended and then reattached before
> resuming.

This all looks okay.  Earlier you wrote:

> I have tried this. Simply turning off CONFIG_USB_PERSIST doesn't work.
> In this case the USB drive file system is unmounted on resume, even if
> the drive remained plugged in during suspend.

But the logs you just posted show that the filesystem _does_ remain 
mounted after resume, provided you don't unplug the drive.  At least 
that's what it looked like -- it was hard to tell for sure because each 
logfile contained multiple suspend/resume cycles with varying outcomes.

Alan Stern


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux