<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Serial_port_Troubleshooting</id>
	<title>Serial port Troubleshooting - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rivendellaudio.wiki/index.php?action=history&amp;feed=atom&amp;title=Serial_port_Troubleshooting"/>
	<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Serial_port_Troubleshooting&amp;action=history"/>
	<updated>2026-04-23T14:27:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://rivendellaudio.wiki/index.php?title=Serial_port_Troubleshooting&amp;diff=28894&amp;oldid=prev</id>
		<title>imported&gt;WaybackImport: Imported from Wayback via edit</title>
		<link rel="alternate" type="text/html" href="https://rivendellaudio.wiki/index.php?title=Serial_port_Troubleshooting&amp;diff=28894&amp;oldid=prev"/>
		<updated>2020-08-05T11:26:03Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wayback via edit&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Disclaimer: In Linux, there are many ways to do anything. That doesn&amp;#039;t necessarily mean any one way is right, wrong, better, worse, whatever. Any examples or commands listed are for a recent SUSE distribution. If you choose to use something else, the information may have to be modified.&lt;br /&gt;
&lt;br /&gt;
Before anything else, verify you have serial ports and that they are working. I check the startup files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;dmesg | grep tty&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example of what you could see:&amp;lt;pre&amp;gt;&lt;br /&gt;
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A &lt;br /&gt;
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This tells me I have two ports, ttyS0 and ttyS1. These would be equal to COM1 and COM2 for those who are used to COM ports.&lt;br /&gt;
&lt;br /&gt;
You can also use the setserial command, although this did not in my experience show USB serial ports.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;setserial -g /dev/ttyS*&amp;lt;/pre&amp;gt;&lt;br /&gt;
An example of what you could see:&amp;lt;pre&amp;gt;&lt;br /&gt;
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4 &lt;br /&gt;
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3 &lt;br /&gt;
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4 &lt;br /&gt;
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3 &lt;br /&gt;
/dev/ttyS4, UART: unknown, Port: 0x0000, IRQ: 0 &lt;br /&gt;
/dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0 &lt;br /&gt;
/dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0 &lt;br /&gt;
/dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case, only one serial port shows up, the first line.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;interceptty&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
Interceptty can be a useful tool to see what is going on with a serial port in Rivendell.&lt;br /&gt;
&lt;br /&gt;
You can get it at its [http://www.suspectclass.com/sgifford/interceptty/ website]. Installation and usage instruction are there as well.&lt;br /&gt;
&lt;br /&gt;
Here is a simple example of how to use interceptty to monitor what Rivendell is doing. &lt;br /&gt;
&lt;br /&gt;
Note: I am using /dev/ttyS0 the first serial port in these examples if you are using a different port change it to that.&lt;br /&gt;
&lt;br /&gt;
1) Open a konsole window&lt;br /&gt;
2) su root and enter the root password&lt;br /&gt;
3) type the following command &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;interceptty -s &amp;#039;ispeed 19200 ospeed 19200&amp;#039; /dev/ttyS0 /dev/rivendell&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: The above assumes a baud rate of 19200, change it to match your serial port&amp;#039;s speed.&lt;br /&gt;
&lt;br /&gt;
Now to send the output of Rivendell via interceptty go into RDAdmin&amp;gt;Mananage Hosts&amp;gt;Select your host&amp;gt;Edit&amp;gt;Serial Ports&lt;br /&gt;
&lt;br /&gt;
Change the &amp;quot;tty device&amp;quot; to /dev/rivendell and click &amp;quot;Close&amp;quot; &lt;br /&gt;
&lt;br /&gt;
Note: you must do this last step after interceptty is running as it creates the device /dev/rivendell otherwise Rivendell can not connect to it as it does not exist.&lt;br /&gt;
&lt;br /&gt;
Now try running a test event in RDCatch and watch the output in the konsole window.&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;WaybackImport</name></author>
	</entry>
</feed>