Skip to content

Commit

Permalink
Readability updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
markd committed Feb 11, 2013
1 parent 065adee commit ad51b53
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/source/initial_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,20 @@ so that it can talk with the wireless radios.
#. In order for the update to take, we need to reboot once again

#. Now we install and setup permissions for the SPI device. This involves removing the
spi module from the blacklist. To do this uncomment the ``#blacklist spi-bcm2708`` line
from the ``/etc/modprobe.d/raspi-blacklist.conf`` file. Then add ``spidev`` to the
``/etc/modules`` file
spi module from the blacklist. To do this uncomment the following line
``#blacklist spi-bcm2708``
from the ``/etc/modprobe.d/raspi-blacklist.conf`` file.

Then add the following line to the ``/etc/modules`` file
``spidev``

The last step for setting up SPI involves changing some permissions, so we can use SPI
without being root. To do this run the following lines::
$sudo groupadd -f --system spi
$sudo adduser pi spi
Finally, as root (sudo) create a file called ``90-spi.rules`` in the ``/etc/udev/rules.d/``
directory with the following contents.::
Expand Down

0 comments on commit ad51b53

Please sign in to comment.