(2020-09-26, 03:44 PM)mgrouch Wrote:Yes the MCS card supports it. It's perfect. I have a switch on the board that initiates the safe shutdown of the software and after a few seconds it cuts power. So when I connect the SSD directly to the RPI (I repeat that I no longer use the micro sd card, but I only use the external SSD) I switch on and off safely, everything is perfect except the excessive absorption that the SSD causes to the system. So I have to apply an external power supply to the SSD and I do this, as you see in the diagram, with the HUB self-powered through the 12 volt connection and 5 volt converter. I connect the SSD to the HUB. In this way I turn on the system ... everything works fine until it is turned off which does not happen because voltage remains on the +12 enable, given by the USB where the HUB is connected. To start the safe shutdown, I have to switch off the 12 volt power supply to the HUB and then the MCS auto shutdown script starts.(2020-09-26, 08:00 AM)niklun Wrote: Grazie, Mgrouch, avevo già visto la tua soluzione. Ma è interessante nel caso di utilizzo solo di un HUB autoalimentato, ma che non necessita di funzionare con un sistema che includa il pulsante di autospegnimento per tutto, come nel caso della scheda MCS GEDAD.
Questo sotto è il mio schema di assemblaggio.
https://drive.google.com/file/d/1RghxzVS...sp=sharing
Quindi quando l'interruttore è spento, il sistema non si spegne perché è alimentato dall'USB, ma se spengo l'alimentazione sull'USB dell'HUB, l'SSD si spegne, il che non va bene causando un arresto del sistema non sicuro.
Soluzioni ??
(2020-09-25, 10:35 PM)mgrouch Wrote:(2020-09-25, 03:22 PM)niklun Wrote: Buongiorno,
finalmente ho assemblato tutto: raspberry pi 4, hat2, MCS con openplotter2.
Tutto aggiornato e funzionante. Infine ho installato un SSD esterno da 240 gb non autoalimentato collegato a usb3 con openplotter ed eliminato la scheda sd. Ma a causa della caduta di tensione che OP rileva ... Ho collegato un HUB autoalimentato e di conseguenza ho collegato l'SSD all'HUB. Ho ricevuto l'alimentazione dal pin GND e dal pin di abilitazione +12 in modo che quando il sistema è acceso, anche l'HUB è alimentato. MA ecco il problema: allo spegnimento quello che dovrebbe fare MCS non accade finché non spengo l'alimentazione all'HUB.
Soluzione????
Grazie
Penso che sia fallito di alimentazione dall'hub USB. È possibile
coprire un pin con nastro isolante nel cavo USB.
Ecco la foto
Avere uno spegnimento sicuro di solito significa avere un pulsante momentaneo che se lo tieni premuto
abbastanza a lungo innesca lo spegnimento e lo spegnimento (pi e hub) viene attivato dopo lo spegnimento (cioè sicuro)
La scheda MCS non lo supporta? Ho pensato che questo fosse il significato di spegnimento sicuro.
Richiede anche pochi script installati a livello di sistema operativo.
Comet 1000 - Openplotter under construction