thobach / MMM-Gestures

MMM-Gestures is a head-less 3rd party module for MagicMirror that allows to control the Magic Mirror via gestures of two types of infrared sensors. Use cases include presence awareness to trigger compliments or go into sleep mode and scrolling through news tickers or view news details.
http://blog.thomas-bachmann.com/2016/02/magic-mirror-2-0-mit-gestensteuerung.html
42 stars 12 forks source link

Yet another USB connection problem... #7

Closed Black-Zero closed 2 years ago

Black-Zero commented 3 years ago

Hello,

today I tried to connect the Arduino with my MagicMirror. And nothing happens. After digging in how to debug I found the following line in the console output [2021-03-19 00:37:56.638] [LOG] 2021-03-19T00:37:56 <log> Fri Mar 19 2021 00:37:56 GMT+0100 (Mitteleuropäische Normalzeit): exec error: Error: Command failed: ls /dev/ttyUSB* ls: Zugriff auf '/dev/ttyUSB*' nicht möglich: Datei oder Verzeichnis nicht gefunden It seems that he doesn't get access to the usb port.

Installed serialport Version is 9.0.7. Installing a 4.x.x Version just drops me a bunch of errors...

How can I proceed to get it working? Thank you very much!

Greetings,

Black-Zero

Black-Zero commented 3 years ago

Hello,

I got it responding to my MagicMirror. I had to change back from ttyUSB to ttyACM.

At 1st I checked, if the Arduino has been recognised by the raspberry via entering "lsusb" into the terminal. It had been recognised as Device 0004. 2nd: With "mesg" at the terminal I could figure out, that the Arduino hab been installed as ttyACM.

Greetings,

Black-Zero