Closed Bug 796358 Opened 13 years ago Closed 13 years ago

Unchecking USB mass storage while mounted doesn't unmount on Nexus S

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 792506

People

(Reporter: ghtobz, Assigned: dhylands)

Details

(Whiteboard: [label:system])

[GitHub issue by autonome on 2012-06-07T21:56:21Z, https://github.com/mozilla-b2g/gaia/issues/1621] STR: * check usb mass storage setting on phone * check that drive shows up in Finder (or whatever your OS) * uncheck usb mass storage setting on phone Expected: drive unmounts in Finder (or whatever your OS) Actual: drive stays connected and accessible
[GitHub comment by autonome on 2012-06-07T21:56:31Z] Logcat output: http://pastebin.mozilla.org/1658200
[GitHub comment by autonome on 2012-06-07T22:28:04Z] same on sgs2
[GitHub comment by dhylands on 2012-06-08T00:29:54Z] This seems to be an issue with the sequence: uncheck UMS enabled, then ejecting from the FInder (Mac specific). You should eject from the FInder before unchecking UMS. It seems to work properly under linux.
[GitHub comment by autonome on 2012-06-08T00:35:06Z] That's the bug though :) If users can do it, they will. Ideally unchecking the box would unmount. If we can't do that, maybe we should disable the checkbox while it's mounted?
[GitHub comment by dhylands on 2012-06-08T01:47:10Z] From what I can gatther from reading online, this is actually a problem with the Mac USB stack. It can be aleviated by disabling adb (currently we enable UMS and adb). To test this, can you try: adb shell setprop sys.usb.config mass_storage This will disable adb. If you power cycle the phone adb should be re-enabled.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.