20/12/2022, 00:07
grazie per l'aiuto,
ma purtroppo ho trovato questo testo per add udev ruleses,
non ho capito cosa devo fare.
cosa si ignifica
create a text file called 49-miconucleus.rules in /etc/udev/rules.d/
come si fa?
se si spiegassero con esempi passo passo farebbero una cosa gradita.
4. Add udev Rules to the System
To be able to program the Digispark board from the Arduino IDE in Linux, udev rules must be added to the system. This is done by creating a file in /etc/udev/rules.d/ that contains the rules.
Create a text file called 49-micronucleus.rules in /etc/udev/rules.d/ and add the following rules to it.
# UDEV Rules for Micronucleus boards including the Digispark.
# This file must be placed at:meglio!!
#
# /etc/udev/rules.d/49-micronucleus.rules (preferred location)
# or
# /lib/udev/rules.d/49-micronucleus.rules (req'd on some broken systems)
#
# After this file is copied, physically unplug and reconnect the board.
#
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
#
# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.
In order to be able to create this file in the file system, you will need root permission. This can be done by opening a terminal window and entering:
sudo nano /etc/udev/rules.d/49-micronucleus.rules
The above line opens a new file called 49-micronucleus.rules with root permission from /etc/udev/rules.d/ in the nano command line text editor.
After running the above line to start the nano editor, copy all of the udev rules code from the listing above and paste them into the nano editor using the keyboard combination Ctrl + Shift + V.
In the nano editor, press Ctrl + O and then press the Enter key save the file and then Ctrl + X to exit the application.
Finally enter the following in the terminal window to reload the udev rules.
sudo udevadm control --reload-rules
ma purtroppo ho trovato questo testo per add udev ruleses,
non ho capito cosa devo fare.
cosa si ignifica
create a text file called 49-miconucleus.rules in /etc/udev/rules.d/
come si fa?
se si spiegassero con esempi passo passo farebbero una cosa gradita.
4. Add udev Rules to the System
To be able to program the Digispark board from the Arduino IDE in Linux, udev rules must be added to the system. This is done by creating a file in /etc/udev/rules.d/ that contains the rules.
Create a text file called 49-micronucleus.rules in /etc/udev/rules.d/ and add the following rules to it.
# UDEV Rules for Micronucleus boards including the Digispark.
# This file must be placed at:meglio!!
#
# /etc/udev/rules.d/49-micronucleus.rules (preferred location)
# or
# /lib/udev/rules.d/49-micronucleus.rules (req'd on some broken systems)
#
# After this file is copied, physically unplug and reconnect the board.
#
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"
#
# If you share your linux system with other users, or just don't like the
# idea of write permission for everybody, you can replace MODE:="0666" with
# OWNER:="yourusername" to create the device owned by you, or with
# GROUP:="somegroupname" and mange access using standard unix groups.
In order to be able to create this file in the file system, you will need root permission. This can be done by opening a terminal window and entering:
sudo nano /etc/udev/rules.d/49-micronucleus.rules
The above line opens a new file called 49-micronucleus.rules with root permission from /etc/udev/rules.d/ in the nano command line text editor.
After running the above line to start the nano editor, copy all of the udev rules code from the listing above and paste them into the nano editor using the keyboard combination Ctrl + Shift + V.
In the nano editor, press Ctrl + O and then press the Enter key save the file and then Ctrl + X to exit the application.
Finally enter the following in the terminal window to reload the udev rules.
sudo udevadm control --reload-rules