Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mass storage doesn't seem to work #45

Open
bcaller opened this issue Sep 1, 2018 · 7 comments
Open

Mass storage doesn't seem to work #45

bcaller opened this issue Sep 1, 2018 · 7 comments

Comments

@bcaller
Copy link

bcaller commented Sep 1, 2018

On Ubuntu I get the mass storage device to appear and I can change files, but when I eject it the app doesn't close automatically. When I eventually have to reset the badge the storage is corrupted and I need to factory reset.

Also saw some weird things like Sorry, could not display all the contents of “2821-0000”: Error when getting information for file '/media/ben/2821-0000/ screen.app': Input/output error

Or for file /media.../ import os which makes it seem like something pythony is going wrong.

@SteveAmor
Copy link
Contributor

I am also unable to get the Mass Storage App to see that Ubuntu has unmounted. No unmounted messages via the serial terminal either.

@marekventur
Copy link
Contributor

Maybe we need to add a button "I have already unmounted, please close anyway". @drrk, any thoughts?

@thiseldo
Copy link

thiseldo commented Sep 1, 2018

Having same issue on MacBook and OS X.
Either Eject or unmount from command line does not terminate app. reset on badge causes corruption and factory reset.

@SteveAmor
Copy link
Contributor

And observed in Windows 7

@drrk
Copy link
Contributor

drrk commented Sep 1, 2018

I've fixed it again in MacOS, but Linux and windows needs more investigation.

@SteveAmor
Copy link
Contributor

SteveAmor commented Sep 2, 2018

Hi @drrk where is the tilda library so that I can see how the methods storage_enable_usb() and storage_disable_usb() work?

@SteveAmor
Copy link
Contributor

Here is the mass storage code:
emfcamp/Mk4-micropython-board@65198db
https://github.com/emfcamp/Mk4-micropython-board/blob/73ffe37fd8155c2a92bb8a9563225ff93eb046d7/storage.c#L268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants