-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to link configuration to os_descs? #31
Comments
I don't think I understand the code fully, but from a quick glance; in libusbgx, |
Thanks for looking into this. Unfortunately, I've already tried with the linked example to no avail. The descriptors do get set, however the symlink is missing, so they're not applied to the configuration. Currently I'm just running |
I expect the ltrace output would be useful, as would a minimal example
of how to reproduce the problem using dummy_hcd on a laptop.
https://www.collabora.com/news-and-blog/blog/2019/06/24/using-dummy-hcd/
…--
bye,
pabs
https://bonedaddy.net/pabs3/
|
I couldn't get ltrace working (I'm running this on a Raspberry Pi and it's throwing an error for some reason). I did verify using gdb that symlink is not called for linking the config under os_descs. I'll try setting up dummy-hcd. |
Please find the traces and the gadget scheme file here: https://gist.github.com/mrschyte/d9de2ff6ad95157ff43bc55fec618621 |
Not sure when I will have time to look at this, but please note that
RNDIS is apparently an insecure protocol so you may want to drop it.
|
Is there a way to link a configuration to os_desc?
Normally I'd issue
ln -s configs/c.1/ os_desc
in the gadget configfs folder, but I'd like to do this with a gadget-tool schema if possible.I've tried specifying the os_descs multiple ways, but gt never seems to link the config.
The text was updated successfully, but these errors were encountered: