<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with w1-master-slave]]></title><description><![CDATA[A list of topics that have been tagged with w1-master-slave]]></description><link>http://community.onion.io/tags/w1-master-slave</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 00:57:08 GMT</lastBuildDate><atom:link href="http://community.onion.io/tags/w1-master-slave.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Feb 2020 07:41:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[w1-master-gpio Omega2]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1310/1-wire-temperature-sensor-ds18b20-on-omega2">1-Wire Temperature Sensor - DS18B20 - on Omega2</a></p>
<p dir="auto">Hallo! I've got problem with OpenWrt on Omega2 Onion and reading one wire ID.</p>
<ol>
<li>So many issues about connecting temp sensor ds1820 for example, but problem that i can't resolve is:<br />
timeout for read ibutton (ds2401 for example) is 10 seconds/ but want 1 or 2 seconds for normal time period to read. i can't transmit options then insmod w1 module and time is 5-10 seconds for reading ID dallas is tooo long/ please, is anybody knows how to make this faster?</li>
</ol>
<p dir="auto"><em>is_key=$(cat /sys/devices/w1_bus_master1/w1_master_slave_count)<br />
if [ "$is_key" -eq "1" ]<br />
then<br />
key=$(cat /sys/devices/w1_bus_master1/w1_master_slaves)<br />
echo $key<br />
fi</em></p>
<p dir="auto">i did in raspberry pi add lsmod with parameter  timeout=1.<br />
Please help ^_^</p>
<ol>
<li>i keep connected key ibutton (ds1990 or 2401) and in period 10 sec omega2 begins get number. So then 100 seconds i can't do nothing because id number is in /sys/devices/w1_bus_master1/w1_master_slaves<br />
and no methods to remove it.  can i remove any ibutton after reading?</li>
</ol>
<p dir="auto"><a href="https://docs.onion.io/omega2-docs/communicating-with-1w-devices.html" rel="nofollow">this article</a> ignore all problems of timeout and removing. For example <em>rmmod</em> don't remove module if id number is in folder w1-master.</p>
<p dir="auto">thanks all for any help!</p>
]]></description><link>http://community.onion.io/topic/4009/w1-master-gpio-omega2</link><guid isPermaLink="true">http://community.onion.io/topic/4009/w1-master-gpio-omega2</guid><dc:creator><![CDATA[ole resh]]></dc:creator><pubDate>Fri, 07 Feb 2020 07:41:54 GMT</pubDate></item></channel></rss>