mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 08:03:40 +00:00
00_RPII2C.pm: Doku modified
git-svn-id: https://svn.fhem.de/fhem/trunk@6885 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a0ce191372
commit
17bb924566
@ -545,6 +545,11 @@ sub RPII2C_HWACCESS_ioctl($$) {
|
|||||||
<ul><code>sudo apt-get install libmoose-perl<br>
|
<ul><code>sudo apt-get install libmoose-perl<br>
|
||||||
sudo cpan Device::SMBus</code></ul><br>
|
sudo cpan Device::SMBus</code></ul><br>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<b>For Raspbian users only</b><br>
|
||||||
|
If you are using I2C-0 at P5 connector on Raspberry Pi model B with newer raspbian versions, including support for Raspberry Pi model B+, you must add following line to <code>/boot/cmdline.txt</code>:<br>
|
||||||
|
<ul><code>bcm2708.vc_i2c_override=1</code></ul><br>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="RPII2CDefine"></a><br>
|
<a name="RPII2CDefine"></a><br>
|
||||||
<b>Define</b>
|
<b>Define</b>
|
||||||
@ -662,7 +667,7 @@ sub RPII2C_HWACCESS_ioctl($$) {
|
|||||||
Für das Raspberry Pi kann alternativ das gpio Utility der <a href="http://wiringpi.com/download-and-install/">WiringPi</a> Bibliothek benutzt werden um FHEM Schreibrechte auf die I2C Schnittstelle zu bekommen.<br>
|
Für das Raspberry Pi kann alternativ das gpio Utility der <a href="http://wiringpi.com/download-and-install/">WiringPi</a> Bibliothek benutzt werden um FHEM Schreibrechte auf die I2C Schnittstelle zu bekommen.<br>
|
||||||
WiringPi Installation ist hier beschrieben: <a href="#RPI_GPIO">RPI_GPIO</a><br>
|
WiringPi Installation ist hier beschrieben: <a href="#RPI_GPIO">RPI_GPIO</a><br>
|
||||||
Das gpio Utility wird, wenn vorhanden, automatisch verwendet<br>
|
Das gpio Utility wird, wenn vorhanden, automatisch verwendet<br>
|
||||||
Wichtig: um den I2C-0 am P5 Stecker des Raspberry nutzen zu können muss das Attribut <code>swap_i2c0</code> verwendet werden.<br>
|
Wichtig: um den I2C-0 am P5 Stecker des Raspberry nutzen zu können muss das Attribut <code>swap_i2c0</code> verwendet werden.<br>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li><br>
|
</li><br>
|
||||||
@ -672,6 +677,11 @@ sub RPII2C_HWACCESS_ioctl($$) {
|
|||||||
<ul><code>sudo apt-get install libmoose-perl<br>
|
<ul><code>sudo apt-get install libmoose-perl<br>
|
||||||
sudo cpan Device::SMBus</code></ul><br>
|
sudo cpan Device::SMBus</code></ul><br>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<b>Nur für Raspbian Nutzer</b><br>
|
||||||
|
Um I2C-0 am P5 Stecker auf Raspberry Pi modell B mit neueren Raspbian Versionen zu nutzen, welche auch das Raspberry Pi model B+ unterstützen, muss folgende Zeile in die <code>/boot/cmdline.txt</code> eingefügt werden:<br>
|
||||||
|
<ul><code>bcm2708.vc_i2c_override=1</code></ul><br>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<a name="RPII2CDefine"></a><br>
|
<a name="RPII2CDefine"></a><br>
|
||||||
<b>Define</b>
|
<b>Define</b>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user