I was able to reproduce the issue on Linux, and our team is working on it.
For Linux, create a .sh file with the following script:
#!/bin/bash
echo "Adding user to dialout group for serial port access..."
sudo usermod -aG dialout $USER
# Check if user was added to dialout group
if id -nG "$USER" | grep -qw "dialout"; then
echo "User $USER added to dialout group successfully."
else
echo "Failed to add user to dialout group. Please check permissions."
exit 1
fi
echo "Creating udev rule for STM32 DFU mode..."
# Add the udev rule for STM32 DFU mode (Vendor ID: 0483, Product ID: df11)
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="df11", MODE="0666"' | sudo tee /etc/udev/rules.d/99-stm32-dfu.rules > /dev/null
# Reload udev rules to apply the changes
sudo udevadm control --reload-rules
echo "Permissions set successfully!"
echo "For changes to take effect:"
echo "- You need to log out and log back in for the group changes (serial port access) to take effect."
echo "- After logging in again, you should have access to both serial and DFU mode without requiring sudo."
echo "If you are unsure about how to log out, please simply restart your system."
Make sure the .sh file has executable permissions (chmod +x). Then run the .sh file and then logout (or reset) PC to take effect.
Let us know your result.
Thanks
If you don’t want to create a .sh file, just execute a single command line as shown below.
sudo usermod -aG dialout $USER
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="0483", ATTR{idProduct}=="df11", MODE="0666"' | sudo tee /etc/udev/rules.d/99-stm32-dfu.rules > /dev/null
sudo udevadm control --reload-rules
then logout (or reset) to take effect.
And it is recommended to use Chrome or Microsoft Edge.
On Linux? ![]()
yes, we can install ME on Linux, but recommend Chrome
No way …
Not on my watch !
Thanks for all your help …
Will test this on Sunday as work is calling until then …
I’m fairly sure this will work as I’ve had to do similar udev rules in the past …
Fantastic to see GHI are not just telling me to ask the community like 1 or 2 other places I could mention !
SUCCESS!!!
I can confirm that this UDEV script works on my Linux Systems
My Thanks for sorting this out