Skip to content

Mass storage, eject/unmount detection? #183

@jmamma

Description

@jmamma

How can we prevent re-enumeration when the mass storage device is unmounted from the host computer?

After unmounting on Windows/Mac it remounts a short time afterwards.

I'm running this on an Atmega16/32u2.

I've experimented with
EVENT_USB_Device_Disconnect(), EVENT_USB_Device_Reset() and EVENT_USB_Device_Suspend() to prevent re-enumeration but no luck.

Is this a consequence of VBUS sense ?

  • Justin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions