I want to create a USB gadget with a raspberry pi zero 2W. I'm starting with imitating a webcam I already have to see how much of this I can figure out. I've used the online documentation and a couple AI bots to get this far quickly, but I'm hung up on a ln command. It's telling me "ln: failed to create symbolic link 'configs/c.1/uvc.usb0': No such file or directory" when trying to create the link. This makes no sense to me though. I'm trying to create the link, of course it doesn't exist yet. That's what that command is supposed to do.
I've confirmed this problem in alpine linux and raspbian lite.
Below is the little script I have so far just to create the device:
\#!/bin/bash
modprobe libcomposite
cd /sys/kernel/config/usb_gadget/
mkdir -p fauxcam
cd fauxcam
echo 0x046d > idVendor # Logitech Vendor ID
echo 0x094b > idProduct # Brio 105 Product ID
echo 0x0200 > bcdUSB
echo 0x9914 > bcdDevice
mkdir -p strings/0x409
echo "111111111111" > strings/0x409/serialnumber
echo "Brio 105" > strings/0x409/product
mkdir -p configs/c.1/strings/0x409
echo "UVC Configuration" > configs/c.1/strings/0x409/configuration
echo 250 > configs/c.1/MaxPower
mkdir -p functions/uvc.usb0
ln -s functions/uvc.usb0 configs/c.1/
echo "usb0" > UDC
You can use this kitten to draw a GPU accelerated panel on the edge of your screen or as the desktop wallpaper, that shows the output from an arbitrary terminal program. It is useful for showing st...kitty
I am trying to update from Silverblue 41 to 42 (fully updated) but run into issues when attempting to update from both the software app and from CLI.
The problem using the software app is the same as what is described by this other user, who is using Fedora Workstation not Silverblue like I am:
discussion.fedoraproject.org/t…
When I click the download button, it looks like it's downloading multiple files since the progress bar goes from 0 to 100 several times, and then it gets up to 95% then suddenly returns to the download button. This happens in about 30 seconds.
Using the CLI method, I run the following command:
rpm-ostree rebase fedora:fedora/42/x86_64/silverblue
and get the following errors:
```error: Could not depsolve transaction; 1 problem detected:
Problem: conflicting requests
- package dnf5-plugin-automatic-5.2.12.0-2.fc42.x86_64 from updates requires libcurl-full(x86-64), but none of the providers can be installed
- package dnf5-plugin-automatic-5.2.12.0-1.fc42.x86_64 from fedora requires libcurl-full(x86-64), but none of the providers can be installed
- package dnf5-plugin-automatic-5.2.12.0-2.fc42.x86_64 from updates-archive requires libcurl-full(x86-64), but none of the providers can be installed
- package libcurl-minimal-8.11.1-4.fc42.x86_64 from @System conflicts with libcurl(x86-64) provided by libcurl-8.11.1-4.fc42.x86_64 from fedora
Most of my machines seem to be working fine, but I have one critical one where I have the notification for Fedora 42 in the gnome-software updates window, but when I click the Download button, the progress bar shows up to about 4% and then quits with…Fedora Discussion
It worked! I uninstalled dnf-automatic, libreoffice, and rpmfusion and then restarted.
Thanks for your help! Will keep your tips in mind for the future and try to avoid layering.
Hey again.
Thank you again for all of the help with the dual boot and repartition a few weeks back. I am running Linux Mint.
I repartitioned the Linux side to about 25 GB and over the last few weeks just downloading updates,
I guess it has filled up. It tells me there is only 75 MB left. Is that normal or can I free up room again?
Also, the printer no longer prints. It just hangs when I try to print. It shows up correctly as the HP Deskjet 3510 but won’t print. Any tips on how to fix?
modprobe usb_f_uvc
at the beggining, right aftermodprobe libcomposite