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

set mass_storage function parameters in sheme #21

Open
johannG56 opened this issue Jun 15, 2020 · 1 comment
Open

set mass_storage function parameters in sheme #21

johannG56 opened this issue Jun 15, 2020 · 1 comment

Comments

@johannG56
Copy link

Is there a way to set mass_storage function parameters in scheme ?
I have tried this syntax based on the examples i found on the repo :

functions : {
    mass_storage_usb0 : {
        instance = "usb0";
        type = "mass_storage";
        lun.0 = ({
                file = "/gadget-imgs/usbdisk.img";
        });
    };
};

but i get a syntax error.

am I typing it wrong or Is there some thing to implement to mage it work ?

@katyo
Copy link

katyo commented Jul 15, 2022

@johannG56
Seems I set attributes in a right way (here #27) but it still hasn't effect.

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

2 participants