Skip to content

Missing udev rule with Debian #121

@molusk

Description

@molusk

Hi,

I just figured out how to flash my MT12 radio with edgeTX buddy and Debian Trixie, may it can help other linux users 😸 . It was complaining about access being denied.
My user was already in dialout and plugdev groups but an udev rule was missing to put the device in the right group.

I took the rule from MPflash documentation
In case that page changes later, here is the content I used :

Linux permissions for usb devices

In order to flash the firmware to the board, you need to have the correct permissions to access the USB devices. The details will depend on the specific USB device and the operating system you are using.

You can use the following udev rules to give non-root users access to the USB devices.

File: /etc/udev/rules.d/65-mpflash.rules

# allow non-root users to access to stm32 device in dfu mode (bootloader)
SUBSYSTEM=="usb", ACTION=="add", ATTR{product}=="STM32  BOOTLOADER", GROUP="plugdev", MODE="0660" 

reload the udev rules with the following command:

sudo udevadm control --reload 

Unplug and replug the usb device to apply the new rules.

Thank you for your great work on edgeTX !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions