<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Autostart &#8211; bubuxblog</title>
	<atom:link href="https://www.bubuxblog.de/tag/autostart/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bubuxblog.de</link>
	<description></description>
	<lastBuildDate>Sun, 13 Apr 2014 08:51:59 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>ehz &#8211; Baudrate in &#8222;Autostart&#8220;</title>
		<link>https://www.bubuxblog.de/ehz-baudrate-in-autostart/</link>
					<comments>https://www.bubuxblog.de/ehz-baudrate-in-autostart/#respond</comments>
		
		<dc:creator><![CDATA[diefenbecker]]></dc:creator>
		<pubDate>Sun, 13 Apr 2014 08:51:59 +0000</pubDate>
				<category><![CDATA[Heimautomatisierung]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[Autostart]]></category>
		<category><![CDATA[Hausautomatisierung]]></category>
		<category><![CDATA[Raspberry PI]]></category>
		<guid isPermaLink="false">http://blog.bubux.de/?p=411</guid>

					<description><![CDATA[Um die Baudrate für den Lesekopf im Artikel http://blog.bubux.de/?p=89 beim Start des Raspi automatisch zu setzen, kann der stty-Befehl in der Datei /etc/rc.local eingefügt werden. Das schaut dann z.B. so aus: #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Um die Baudrate für den Lesekopf im Artikel <a title="Raspberry Pi – eHZ auslesen" href="http://blog.bubux.de/?p=89">http://blog.bubux.de/?p=89</a> beim Start des Raspi automatisch zu setzen, kann der <strong>stty-Befehl</strong> in der Datei<strong> /etc/rc.local</strong> eingefügt werden.</p>
<p>Das schaut dann z.B. so aus:</p>
<pre>#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
  printf "My IP address is %s\n" "$_IP"
fi

<span style="color: #ff0000;"><strong>sudo stty -F /dev/ttyUSB1 1:0:8bd:0:3:1c:7f:15:4:5:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0</strong></span>

exit 0</pre>
<p>Bei jedem Neustart des Raspi wird die Baudrate für den Lesekopf, der im Beispiel das Device &#8222;ttyUSB1&#8220; ist, nun automatisch gesetzt. Das Device muss natürlich ggf. angepaßt werden.</p>
<p>Gruß Chris</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.bubuxblog.de/ehz-baudrate-in-autostart/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
