steptail.com

How many light bulbs does it take to change a penguin?

User Tools

Site Tools


guides:virtual_modem:section_4:changing_the_serial_port

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
guides:virtual_modem:section_4:changing_the_serial_port [2018-09-23 01:51]
omolini [Update vmodem.sh script]
guides:virtual_modem:section_4:changing_the_serial_port [2019-08-22 18:24]
omolini [Finding out the name of the serial device]
Line 12: Line 12:
   * If you do not see a new serial device, the device may not be compatible with Linux. Run ''​**dmesg**''​ to see if it is detected. In my case it is detected, and is named **ttyUSB0**:​   * If you do not see a new serial device, the device may not be compatible with Linux. Run ''​**dmesg**''​ to see if it is detected. In my case it is detected, and is named **ttyUSB0**:​
 {{ :​guides:​pics:​vmodem_raspberry_serial_dmesg.png |}} {{ :​guides:​pics:​vmodem_raspberry_serial_dmesg.png |}}
 +//Ignore the under-voltage error on my screenshot. You shouldn'​t be getting that error.//
 ===== Update vmodem.sh script ===== ===== Update vmodem.sh script =====
-  * To update ​the **vmodem.sh** script ​stored in **/​boot/​vmodem/​**, do the following:+  * To change the serial port used in the **vmodem.sh** script, do the following:
   * Run ''​sudo nano /​boot/​vmodem/​vmodem.sh''​   * Run ''​sudo nano /​boot/​vmodem/​vmodem.sh''​
-  * Find the line **serport=ttyUSB0** and update it to reflect the correct serial device. ​+  * Find the line ''​serport=ttyUSB0'' ​and update it to reflect the correct serial device. ​
     * For example, if your USB device is called "/​dev/​ttyAMA0",​ then make sure the line says ''​serport=ttyAMA0''​. ​     * For example, if your USB device is called "/​dev/​ttyAMA0",​ then make sure the line says ''​serport=ttyAMA0''​. ​
   * Save file by pressing **CTRL + o**, then ENTER to save under the same name.    * Save file by pressing **CTRL + o**, then ENTER to save under the same name. 
guides/virtual_modem/section_4/changing_the_serial_port.txt · Last modified: 2019-08-22 18:24 by omolini