On 09/02/2014 01:39 PM, Jack wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I am trying to use [disis_spi] on my raspberry pi (Linux raspberrypi
3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux
) with Pd 0.45.2.
When I open the help patch 'disis_spi-help.pd' and click on [open
/dev/spidev0.0(, in Pd console i get : could not open SPI device.
I used to use a C++ program until now with which I used to open
"/dev/spidev0.0" and all was OK.
What can I do to solve this problem ?
Hi,
I haven't tried the external with pd-vanilla, although there is no
reason I can think of that it would not work with vanilla. Did you make
sure to load the necessary drivers (I assume you did since you mentioned
you used to access it before via a different application, but if you
loaded them manually and have rebooted RPi since, they would not be
necessarily loaded this time around). Just to be sure try:
lsmod | grep spi
...and see if it lists spi-bcm2708, if not, do:
sudo modprobe spi-bcm2708
sudo modprobe i2c-bcm2708
If that works, you may want to add those at the bottom of your
/etc/modules config file (one module per line, like so):
spi-bcm2708
i2c-bcm2708
This will ensure they get loaded every time you start the RPi.
BTW, which gen RPi do you have?
HTH
Ico
++
Jack
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUBgC2AAoJEOuluecjw8GUQygH/R1kfMI0SU2PsHgHx1HUBJi9
yBw1wYW9AdtK2IazWjYXjwWO6WcmiAUU+mjGvtCb0tPbl2U5PjjxidviRFCVqueu
JnisQKD3C2V4qkL2vCJcTpCzJodZmN8FK+0PY+4Jap4tfhUaWp7WLlPolq/ezAkE
yunbNaDQQ/upL6Z9Kml+k3dBVqfiTzobylaPImPfzO+Dm/s0Te4QSlH+55wD/IDv
1CEdVHuT7yevkqoDpTUSbwteblom2+8Kd6MY4JQ1rSGhADD4gfWS8FJYs5yJoe7T
vp1vjZb2SJlyDnsiXYTH8nJKIgCp7E5bmjtnyCihePINcwE/AtDgSEDjXjqB3QY=
=emUj
-----END PGP SIGNATURE-----
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
--
Ivica Ico Bukvic, D.M.A.
Associate Professor
Computer Music
ICAT Senior Fellow
DISIS, L2Ork
Virginia Tech
School of Performing Arts - 0141
Blacksburg, VA 24061
(540) 231-6139
[email protected]
www.performingarts.vt.edu
disis.music.vt.edu
l2ork.music.vt.edu
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list