Documentation Problem in https://resources.sienci.com/view/slb-firmware-flashing/

I’ve used Ubuntu for a very long time and was happy to see information about to set up udev so that the SLB will properly download firmware using Ubuntu. Trouble is the instructions are wrong. The download process for the SLB causes the USB device to change its id from 0483:5740 which is used during normal usage to 0483:df11 when the slb enters DFU mode which is used for downloading firmware.

To handle this behavior you have to set up rules for udev so that when ever the ID switches to df11 it will put the usb port in the proper group and when the slb switches back it needs to make sure the slb usb port is put back into the correct group.

The instructions give a udev rule that makes sure the 0483:5740 device will be put in an “unusual” group called “plugdev”. On Ubuntu the usb ports are in the “dialout” group.

To make everything work I created a pair of udev rules in a file named “99-slb.rules”. The number and dash at the start of the file is needed to make your rules be scanned at the right time. The provided instructions tell to you put the rules in a file whose name does not match the required file naming convention.

Inside 99-slb.rules I put the following two rules

SUBSYSTEM==“usb”, ATTR{idVendor}==“0483”, ATTR{idProduct}==“5740”, MODE=“0660”, GROUP=“dialout”
SUBSYSTEM==“usb”, ATTR{idVendor}==“0483”, ATTR{idProduct}==“df11”, MODE=“0660”, GROUP=“dialout”

And, your editor mangled the lines…

To move the file from where you created and make the rules active created a small script in a file name doit. Just source the file and type in your root password and it should just do it. You must run the script from the directory that contains the rule file.

sudo cp ./99-slb.rules /etc/udev/rules.d/.
ls -al /etc/udev/rules.d
sudo udevadm control --reload-rules

After that just use gSender to flash the firmware.

1 Like