Skip to content

gadget-cli: composable ConfigFS usage #2

@samcday

Description

@samcday

Currently we just stomp on any existing gadget configured in ConfigFS, and set up our own.

We should continue to support this mode to make it maximally easy to start up smoo and kick the tires. But it should not be the default. Instead, the default behaviour of smoo-gadget-cli should be to require a --ffs-dir=/sys/kernel/config/usb/usb_gadget/foo/functions/smoo.ffs flag. This way, the gadget can be trivially composed with a more featureful gadget configuration. This also paves the way for distro adoption.

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