Go to advanced search

by n7wlc
Thu Jan 29, 2015 11:11 pm
Forum: Advanced users
Topic: New device tree kernel is in testing
Replies: 356
Views: 88016

Re: New device tree kernel is in testing

It was turned on. I found the answer in a different post (http://www.raspberrypi.org/forums/viewt ... 65#p680665) where the spi_ioc_transfer structure was not completely initialized. Adding the suggested memset(&spi, 0, sizeof(spi)) did the trick.

Mike
by n7wlc
Wed Jan 28, 2015 12:17 am
Forum: Advanced users
Topic: New device tree kernel is in testing
Replies: 356
Views: 88016

Re: New device tree kernel is in testing

I've also found a problem with the SPI interface. I'm using the PiFace board, With the new kernel (and enabling SPI in config.txt), I get an error during the write to the SPI interface. This does not work under the rpi-config kernel: 9ae54e3eb780309baf770a10c4e467ddcb011ef8 But it does work under th...
by n7wlc
Fri Oct 10, 2014 7:54 pm
Forum: Troubleshooting
Topic: cpu temperature bug
Replies: 21
Views: 4765

Re: cpu temperature bug

Thanks for the tip. My program is in C and does what you suggest. I can see how leaving open file handles will eventually fill up the table. I modified the program by removing a status request on a separate, remote pi. That worked for 7 days. I added back the status check, and it continues to work p...
by n7wlc
Mon Sep 29, 2014 8:32 pm
Forum: Troubleshooting
Topic: cpu temperature bug
Replies: 21
Views: 4765

cpu temperature bug

Has anyone run into a problem reading the cpu temperature from /sys/class/thermal/thermal_zone0/temp ? My program is repeated reading the temperature from this file, once every 20 seconds. After about an hour or so, the process hangs trying to read from this file. If I come in with a separate login ...

Go to advanced search