On Mon, 2007-11-12 at 18:20 +0100, Tobias Powalowski wrote: > Am Montag, 12. November 2007 schrieb Raymano Garibaldi: > > Hi, > > > > I'm having problems with USB_PERSIST and suspending USB devices in the > > latest kernel 2.6.23.1-6. > > > > Particularly let's say I have a mounted read-only USB drive. If I suspend > > the computer and while suspended remove and reattach the USB drive, and > > then resume the computer, the device mount is lost and it has to be > > remounted. I would like the device to stay mounted while the computer is > > suspended even if it's detached and reattached while the computer is > > suspended. This was the way it behaved under kernel 2.6.21. Kernel 2.6.22 > > didn't even have the USB_PERSIST option so I skipped it in FaunOS. And now, > > USB_PERSIST only works if you leave the device attached to the computer > > while the computer is suspended. > > > > Note that the key here is that the USB device is read-only and it can't be > > changed when it's detached from the suspended computer. > > > > I'm starting to think that I have to back port the USB kernel subsystem in > > 2.6.23 to 2.6.21 and I'm trying to avoid that if I can. > > > > Any help, hacks, patches, ideas are appreciated. > > > > Raymano > Hi > > you know that this option is marked experimental and that the kernel devs > warn > about the usage and the possibilities it might not work. > probably that is the reason that it doesn't work. > > you could try an .24 rc2 kernel here if it's fixed in latest upstream: > http://www.archlinux.org/~tpowa/2.6.24/ > > but do this at your own risk ;)
Another thing is that this feature has to be configured per USB device. You have to enable it in sysfs for your specific harddisk. Also remember to stick the disk into the same USB port where it came from, as this feature will declare your mounted USB device dead when it isn't found on the same port. _______________________________________________ arch mailing list arch@archlinux.org http://archlinux.org/mailman/listinfo/arch