<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.rivendellaudio.org/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="http://wiki.rivendellaudio.org/index.php?action=history&amp;feed=atom&amp;title=Serial_port_Troubleshooting"/>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Serial_port_Troubleshooting&amp;action=history"/>
		<updated>2026-05-01T20:56:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>http://wiki.rivendellaudio.org/index.php?title=Serial_port_Troubleshooting&amp;diff=97&amp;oldid=prev</id>
		<title>Higgles: Created page with &quot;Disclaimer: In Linux, there are many ways to do anything. That doesn't necessarily mean any one way is right, wrong, better, worse, whatever. Any examples or commands listed a...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Serial_port_Troubleshooting&amp;diff=97&amp;oldid=prev"/>
				<updated>2018-03-12T15:48:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;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 a...&amp;quot;&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'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;
== '''interceptty''' ==&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 'ispeed 19200 ospeed 19200' /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'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;/div&gt;</summary>
		<author><name>Higgles</name></author>	</entry>

	</feed>