MiniCom
From MiOS
(Difference between revisions)
m (Some formatting elements to delineate text/commands that can be copy/pasted directly into the SSH Session to save time.) |
Micasaverde (Talk | contribs) |
||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
When you're done, rebooting Vera will restart the normal Luup engine, and serial port handling. The minicom program will not remain on the device after reboot as the previous commands put minicom into a temporary ram drive.<br> | When you're done, rebooting Vera will restart the normal Luup engine, and serial port handling. The minicom program will not remain on the device after reboot as the previous commands put minicom into a temporary ram drive.<br> | ||
+ | |||
+ | Note: To see a list of usb-serial ports run: /proc/tty/driver/usb-serial |
Revision as of 02:17, 22 July 2009
To run minicom to test a usb/serial port you should first kill the Luup engine, the serial proxy, and Network Monitor which reboots Vera when it detects the Luup engine isn't running. Do this by running these 2 commands:
kill $(ps ax | grep 'Start_serproxy.sh.$\|Start_serproxy.sh$\|Start_LuaUPnP.sh$\|Start_LuaUPnP.sh.$\|Start_NetworkMonitor.sh$\|Start_NetworkMonitor.sh.$') killall LuaUPnP NetworkMonitor serproxy
Next, download the minicom package, and extract the minicom program, with the commands:
mkdir /tmp/minicom cd /tmp/minicom wget -O /tmp/minicom.ipk http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/brcm-2.4/packages/minicom_2.3-1_mipsel.ipk tar zxvf /tmp/minicom.ipk tar zxvf data.tar.gz
Afterwards you can setup and start using minicom by running the following command and specifying the port options.:
/tmp/minicom/usr/sbin/minicom -s -o
When you're done, rebooting Vera will restart the normal Luup engine, and serial port handling. The minicom program will not remain on the device after reboot as the previous commands put minicom into a temporary ram drive.
Note: To see a list of usb-serial ports run: /proc/tty/driver/usb-serial