dfu-buddy icon indicating copy to clipboard operation
dfu-buddy copied to clipboard

(Documentation) Instructions for udev rule on linux

Open databoose opened this issue 1 year ago • 2 comments

I am quite stumped here, i have ran the dfu buddy appimage on linux both with and without root, and i cannot find my USB-C bluetooth device listed.

image

As stated here within the readme, it says that i need to set up the udev rules correctly, but as far as i can tell in the documentation no instructions for how to do this are shown.

Any ideas? Thanks.

databoose avatar Jan 19 '24 09:01 databoose

Linux udev rules are a security feature of the operating system and not related to a certain application like DFU Buddy. Therefore, you have to refer to some general documentaion about them, e.g. https://wiki.archlinux.org/title/udev

The udev rules include the vendor and product id of the DFU device, so you have to find them out first. In case of an STM32-based device, have a look here: https://github.com/wiieva/dfu-util/blob/master/doc/40-dfuse.rules

If your device is not based on an STM32, then DFU Buddy will maybe not work. Try to use the command line dfu-util in that case. The udev rules are also required then.

sourcebox avatar Jan 19 '24 09:01 sourcebox

Also make sure that your device is in DFU mode before starting DFU Buddy.

sourcebox avatar Jan 19 '24 09:01 sourcebox