public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* usb disk drive disconnect making readonly
@ 2022-05-04 20:16 James Dutton
  2022-05-05 14:16 ` Alan Stern
  0 siblings, 1 reply; 5+ messages in thread
From: James Dutton @ 2022-05-04 20:16 UTC (permalink / raw)
  To: linux-usb@vger.kernel.org

Hi,

Use case:
Boot from a USB disk and run for a day.
Sometimes the USB link disconnects and reconnects.
When it reconnects, Linux cannot use it, and the Linux kernel has set
the device mount to read only.
Is there any way to allow a USB disk to disconnect and then reconnect
it, and Linux carry on using it, and not set it to a read-only mount,
provided of course, that it knows that the same disk was reconnected
without being changed.
For example, I have a usb disk device that goes into power save mode
if not accessed for more than 15 mins. When I come back to unlock the
screensaver, it does not wake up the disk, but instead places it in
read-only mode. This necessitates me to reboot the PC to get it
working again.

Any ideas?

Kind Regards

James

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-07 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-04 20:16 usb disk drive disconnect making readonly James Dutton
2022-05-05 14:16 ` Alan Stern
     [not found]   ` <CAAMvbhHsUL6gQ365wZW4J8RCbnhwEt0RDUc5NA4=RSS2bjnK_A@mail.gmail.com>
2022-05-06 14:35     ` Alan Stern
2022-05-06 20:48       ` James Dutton
2022-05-07 15:39         ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox