Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
  Condividi: Facebook Twitter
etc
#3
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
Cita messaggio


Messaggi in questa discussione
etc - da rob-1 - 19/12/2022, 20:56
RE: etc - da m3nhir - 19/12/2022, 21:22
RE: etc - da rob-1 - 20/12/2022, 00:07
RE: etc - da footstep11 - 20/12/2022, 08:57
RE: etc - da Frank - 05/02/2023, 09:27

Vai al forum:


Utenti che stanno guardando questa discussione: 1 Ospite(i)