Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)DA
Posts
0
Comments
13
Joined
3 mo. ago

  • I've got some experience with Linux USB gadgets, and can confirm that the docs definitely aren't wrong, as I've used them myself to write gadgets using the same symlink commands that the docs mention and that OP used here.

    I've got a working USB ethernet gadget and MTP gadget for the Steam Deck that make the same link that should be broken, and here's a repo that implements every USB gadget with almost every gadget making the same symlink, one directory up from where OP does it. I've tested all the gadgets from that repo and they all work, and because they work, I've forked the repo here for future use in the above mentioned Steam Deck plugin.

    I can pretty confidently say that it's not a broken symlink. I'm not 100% sure why this doesn't work for OP, but I think it's most likely an issue with not loading the correct driver for the UVC function.

  • Hmm, not sure then. It seems correct to me. Check out this repo, it has systemd services for all the USB gadgets, you can run uvc very easily with this: https://github.com/BigfootACA/systemd-gadget

    I can write specific instructions how to get this working later today, if you'll need them.

  • Normally, you'd be right, but this special filesystem doesn't care about that. I've done similar with different gadgets so many times, always with relativr symlinks, sometimes directly from the root of the special filesystem, sometimes from the gadgets own subdirectory, and it just works.