Is is possible to view the serial monitor output from an Arduino script while in USB Host Mode on an Intel Edison? I've recently started working with USB peripherals over the Edison's built in USB-A port, which requires you to flip the little microswitch to enable host mode, therefore disabling the middle USB micro client port (/dev/ttyGS0) that is used for debugging/serial-monitoring and deploying code. As a result, I find it very difficult to debug programs involving USB HIDs seeing as there is no way to see the serial output while in host mode.
Perhaps there's a way to view the serial output from the USB micro host port (/dev/ttyMFD2) in the Edison Linux terminal?
I found similar question on Stack Overflow, but it uses an Android Things configuration. Thanks in advance.
Hi Eliza. Thank you for your response.
I ran the lsusb command from the Edison Linux terminal and did not receive an error. After running the command I received the following:
Bus 001 Device 002: ID 04d9:048e Holtek Semiconductor, Inc. Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
I've been testing with an optical mouse plugged into the USB-A port, so that'd explain the mouse.
However, the forum you linked here uses an Edison mini breakout board while I have the Edison Arduino breakout board, which has a physical switch to change between Host/Client mode.
My main question is if anyone has a recommendation on how to perform serial debugging while using a USB peripheral or view serial-monitor output from the linux terminal. Any ideas?