(in this case for burnbootloader in arduino IDE )
cek usb device |
B. Solution
#temporary
sudo chmod 666 /dev/bus/usb/002/016
*note: 002 and 016 based the bus and device number.
done. i can burn bootloader |
#permanent
- + download driver from www.fischl.de/usbasp
download driver from www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz
unzip, and find the file from folder usbasp.2011-05-28/bin/linux-nonroot
2.+ copyed driver to folder
/etc/udev/rules.d/
sudo cp 99-USBasp.rules /etc/udev/rules.d/
3. + set auto load via 'customizing udev rule'sudo nano 70-snap.core.rules
and then, input line text like this.
ACTION=="add" SUBSYSTEM=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", DRIVERS=="usb", GROUP="dialout"
save with Ctrl O, then exit with ctrl X.
4.+add your user to group dialout.
sudo usermod -a -G dialout $USER
Note: you may need to log out and log back in (or reboot your computer) for the changes to take effect.
Share This :
0 comments