Re: [PATCH] usb-storage: implement autosuspend

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

 



On Mon, 2 Aug 2010, Oliver Neukum wrote:

> Am Mittwoch, 28. Juli 2010, 23:12:39 schrieb Alan Stern:
> > 
> > This patch (as1400) adds runtime-PM support to usb-storage.  It
> > utilizes the SCSI layer's runtime-PM implementation, so its scope is
> > limited.  Currently the only effect is that disk-like devices (such as
> > card readers or flash drives) will be autosuspended if they aren't
> > mounted and their device files aren't open.  This would apply, for
> > example, to card readers that don't contain a memory card.
> 
> So it will autosuspend devices that do contain a medium, which
> is not mounted? This is a bit problematic, as some card readers
> will report a medium change upon resumption?
> 
> How does user space deal with this?

For the most part it won't matter.  It's rare to open a card reader's 
device file without mounting it.

If it does matter, the user can disable autosuspend (or more 
accurately, avoid enabling it) for that device.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux