mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +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>
|
||||
sudo cpan Device::SMBus</code></ul><br>
|
||||
</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>
|
||||
<a name="RPII2CDefine"></a><br>
|
||||
<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>
|
||||
WiringPi Installation ist hier beschrieben: <a href="#RPI_GPIO">RPI_GPIO</a><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>
|
||||
</ul>
|
||||
</li><br>
|
||||
@ -672,6 +677,11 @@ sub RPII2C_HWACCESS_ioctl($$) {
|
||||
<ul><code>sudo apt-get install libmoose-perl<br>
|
||||
sudo cpan Device::SMBus</code></ul><br>
|
||||
</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>
|
||||
<a name="RPII2CDefine"></a><br>
|
||||
<b>Define</b>
|
||||
|
Loading…
x
Reference in New Issue
Block a user