Si sono verificati i seguenti errori:
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(799) : eval()'d code PHP 8.2.13 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(799) : eval()'d code 5 errorHandler->error_callback
/showthread.php 799 eval




Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
  Condividi: Facebook Twitter
etc
#1
salve a tutti

sto usando un dispositivo elettronico
 che sii chiama digispark 
un  tipo di arduino 
e lo vorrei usare con ubuntu 18.o4,

ecco il link al
urorial che ho seguito

https://www.youtube.com/watch?v=i4HgjFY974s
vado bene fin al minuto 4.29

poi mi da errore


in window 10 ho provato e
basta istallareil file .exe e fila tutto liscio,

 invece con linux ci sono sempre  rogne!!

dovrei mettere il file in

/etc/udev/rules.d/49-micronucleus.rules

 di seguito le istruzioni

Hello! You must place the udev rules below into a file named /etc/udev/rules.d/49-micronucleus.rules : # UDEV Rules for Micronucleus boards including the Digispark.

# This file must be placed at:
#
# /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.



ho cercato su home aprendo con crtl h 
i file nascosti nella home,

 ma non trovo etc.

dove si trova etc?

grazie a tutti 

colgo l'occasione per fare gli auguri di buone feste e speriamo felice anno nuovo.
Cita messaggio
#2
"etc" è una sottodirectory della directory di sistema "/" il suo percorso è /etc/. per via grafica apri il gestore file apri la cartella "radice" e trovi /etc insieme alle altre directory come /home , /usr/ /var etc.
se invece vuoi usare il terminale, in quest'ultimo digiti
Codice:
cd /etc
e ti ritroverai all'interno di questa directory che contiene tutte le configurazioni di sistema delle applicazioni.
Cita messaggio
#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
#4
Le istruzioni passo-passo ti vengono date:


Citazione: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


Qui un mini esempio sull'uso di nano: https://www.wikihow.it/Creare-e-Modifica...-Terminale

Ciao, Mauro
CPU: Intel 6-Core i7-5820K (Haswell rev.2)
nVidia GeForce GTX 750 (drv 525.125.06),  16GB DDR4 RAM
Intel C610/X99 HD Audio / Intel I210 Gigabit Network
Supermicro C7X99-OCE
PCLinuxOS KDE Plasma:5.27.11 Frameworks:5.115.0 Apps:23.08.5
X.org:1.21.1.13 Qt:4.8.7/5.15.6
Kernel:6.6.28-pclos1
Cita messaggio
#5
"create a text file called in  /etc/udev/rules.d/"

Ciao, apri il terminale (che lascerai aperto fino alla fine delle operazioni) e scrivi:

Codice:
sudo touch 49-micronucleus.rules

sudo gedit 49-micronucleus.rules

Una volta che si è aperto il file che sara vuoto ci incolli questo testo:

Codice:
# 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.

Salvalo e chiudilo (attendi che il terminale finisca e torni operativo), poi da terminale dai:

Codice:
sudo cp 49-micronucleus.rules /etc/udev/rules.d/49-micronucleus.rules

sudo udevadm control --reload-rules

Quando usi comandi con sudo ti verra chiesta la password, inseriscila e dai invio ogni volta che ti sara chiesta.

Questo step è fatto se segui queste istruzioni o perlomeno è cio che la guida dice di fare.

Sudo devi usarlo perche ti viene chiesto che il file sia di proprieta root ed anche per metterlo nella cartella si aha bisogno di permessi di root.

Ciao

PS: Una volta fatto tutto puoi cancellare il file sempre da terminale dando il comando:

Codice:
sudo rm 49-micronucleus.rules
_/_/_/_/_/                                      _/     
   _/        _/  _/_/    _/_/_/  _/_/_/  _/  _/ 
  _/_/_/  _/_/      _/     _/  _/    _/  _/_/     
 _/        _/         _/     _/  _/    _/   _/  _/   
_/        _/          _/_/_/  _/    _/  _/      _/
Cita messaggio


Vai al forum:


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