Bugzilla – Bug 13373
Determine how users properly eject USB/SD devices
Last modified: 2010-04-08 17:24:04 UTC
This forum thread came up with a good idea. To make it easy for people to remember to unmount their USB devices, add a second icon to the home menu next to the power icon. We may even want to display this on all screens, next to the back button, although that might be too much. Additionally, everytime something is plugged in, we could show a reminder popup that highlights where the eject icon is and remind people to use it or they risk data loss, etc.
Would this be touch only? fab4 only? How would this be dealt with on non-touch interfaces? Controller also has an SD slot, no? I see the need for the feature, but there needs to be a broader solution than the one suggested...
Fab4 only, yes I think so, but I don't know about non-touch. Do we plan to sell non-touch to normal users? Not sure it's needed on Controller as you have to pull the battery to remove the card.
(In reply to comment #2) > Fab4 only, yes I think so, but I don't know about non-touch. Do we plan to sell > non-touch to normal users? No, but we'd need to decide if there needs to be a way to eject the card using the IR remote (dumb I know). To this point we've had very few, if any, fab4 features that can't be accessed with an IR remote (one is included in the box)...
(In reply to comment #3) > No, but we'd need to decide if there needs to be a way to eject the card using > the IR remote (dumb I know). To this point we've had very few, if any, fab4 > features that can't be accessed with an IR remote (one is included in the > box)... I still haven't figured out all the intended permutations of IR interface/touch interface/10 ft skin/3 ft skin/skin preferences/proximity sensor, but if the touch interface is completely defeatable in settings, then this will be necessary.
At a minimum, we should add a popup alerting the user a device has been plugged in AND recognized by the SB. Then decide to add a "what would you like to do with this device" or supporting info about, "...to eject chose x from the home menu. Failure to do so could result in data loss." Weldon- For IR it would simply be another home menu item taking you into a screen/context menu: Safely Eject Hardware option 1: Cancel option 2: Eject hardware "name" Then add a confirmation, "You may now remove the device safely" or "This device can now be removed." The text is cribbed from windows OS. The terminology can be changed... The item would only appear after a device was plugged into a SB.
Do users need this if TinySC is not running? What else in fab4 would write to the mounted disk? Perhaps there should be a Jive API that TinySC and (3rd party?) applets could call to indicate that they assumed write access to the attached storage. If TinySC isn't running and nothing else says it needs to *write* to the storage device, then there shouldn't be any problem unplugging mounted filesystems -- code like Image Viewer will need to properly handle I/O errors, but that kind of defensive coding should be in place already. Maybe there should be no icon/option if the user attaches read-only media (e.g. an SD/SDHC card with the write-protect switch on). Somewhat further afield, if TinySC isn't running, maybe fab4 should automount removable media read-only. Start TinySC and fab4 could "remount" with rw. (Side note: you might consider bug 11197 -- my iPod Video doesn't recognize when fab4 really has unmounted it. Having indication on fab4 that it's safely unmounted would be valuable for this and any other devices with similar problems.)
If you pull the usb device without unmounting, what data could be lost? Is this only data that was currently being written or could you lose anything/everything on the usb device?
I think we should assume the worst: you lose your entire drive.
To be clear, this should cover SD cards, not just USB drives and sticks.
Created attachment 5953 [details] Ref artwork - eject icon The icon is available when the direction has been finalized.
I wonder if we should put this in the title bar, styled similar to the power button. So it's more obvious and always available, rather than just on the home menu?
Moving these issues into my TinySC uber-design-bug (bug 14576) *** This bug has been marked as a duplicate of bug 14576 ***
reopening so i dont forget
Included in new spec/flow: http://embargo.wiki.slimdevices.com/index.php?title=TinySC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release. If you are still seeing this issue, please let us know!