Sujet : Re: Now I've done it
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacyDate : 17. May 2025, 01:59:34
Autres entêtes
Message-ID : <m8q5bmFp5b0U4@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : Pan/0.160 (Toresk; )
On 16 May 2025 20:59:04 GMT, Stéphane CARPENTIER wrote:
Le 16-05-2025, Farley Flud <fsquared@fsquared.linux> a écrit :
On Fri, 16 May 2025 01:34:50 +0000, rbowman wrote:
>
>
I certainly didn't need an excursion into udev rules earlier this
week.
>
>
Udev is another piece of unnecessary junk that was foisted on all
distros. For a standalone workstation, static device nodes are the best
solution but the universal opinion is that static nodes are obsolete
and have no place in a modern GNU/Linux.
You are confused. A standalone workstation isn't the same thing as an
unused workstation. Anyone has a lot of reason to plug things on a
started workstation. And being able to do the difference between a well
known usb key and a garbage plugged into a computer is very important.
All I really wanted to do is have picotool flash a pico without using
sudo. The Raspberry Pi Pico extension in VS code has a 'Run' button to
flash a device in the BOOTSEL mode and start execution. For some reason it
worked on Ubuntu but failed on Fedora, requiring an invocation with sudo.
The strange thing is I couldn't figure out why the difference other than
it is a snap on Ubuntu and not a flatpak on Fedora. The snap may be
working some magic that doesn't require a rule. I see a lot of rules like
70-snap.gnome-mahjongg.rules in /etc/udev/rules.d but nothing for
picotool. It's not in /lib/udev/rules.d either.
I stopped digging when I got it to work on Fedora.