QCN and BOINC for Raspberry Pi (Debian "Wheezy" Linux) |
| log in |
Questions and Answers : Unix/Linux : QCN and BOINC for Raspberry Pi (Debian "Wheezy" Linux)
1 · 2 · 3 · 4 · Next
| Author | Message |
|---|---|
|
| |
| ID: 4183 · Rating: 0 · rate:
| |
|
Hi Carl | |
| ID: 4344 · Rating: 0 · rate:
| |
|
It's the key to access the account - Full access | |
| ID: 4345 · Rating: 0 · rate:
| |
|
Hoping you (or anyone else) may be able to help me out. When I try to get this set up, everything seems fine, but in my QCN account, under sensor type, it reads "Not Found". I'm running it on the Pi, using your instructions, but I'm having no luck. | |
| ID: 4380 · Rating: 0 · rate:
| |
|
what sensor do you have? The phidget seems to need to be run as root as that's how the libusb implementation they use want it -- the ONavi may require checking permissions for the device as well. | |
| ID: 4381 · Rating: 0 · rate:
| |
|
I've got the o-navi. | |
| ID: 4385 · Rating: 0 · rate:
| |
|
I've try a 512Mb Raspberry Pi, configure it for remote control from a PC windows with BoincView and attached QCN and Radioactive (without connect sensor so far) and have some question about raspbian for QCN: | |
| ID: 4391 · Rating: 0 · rate:
| |
|
I only had an 8GB SD card handy so the image is made from that. I have to run as root for the Phidget sensor as their libusb library requires that. Also it runs better as root as in the BOINC I made for ARM, I run QCN at highest priority otherwise you get a lot of "resets" as the USB hardware seems to be slow. The ONavi should be able to run in a BOINC user account but you have to fiddle with the permissions to allow the lower-priority-security. | |
| ID: 4395 · Rating: 0 · rate:
| |
I only had an 8GB SD card handy so the image is made from that. I have to run as root for the Phidget sensor as their libusb library requires that. Also it runs better as root as in the BOINC I made for ARM, I run QCN at highest priority otherwise you get a lot of "resets" as the USB hardware seems to be slow. The ONavi should be able to run in a BOINC user account but you have to fiddle with the permissions to allow the lower-priority-security. I'm tring QCN on this raspi-host so far: http://qcn.stanford.edu/sensor/show_host_detail.php?hostid=25326 I've used the last standard raspbian image + your arm-boinc 7.1.0 on a JW 24F8 sensor. I'm also used the standard 'pi' used simply coping the boinc 7.1.0 files and start BOINC with a "multiplatform" trick: pi@raspberrypi ~ $ crontab -l @reboot cd /home/pi/BOINC; ./boinc > /dev/null 2> /dev/null I've see a weird behavior, after the attach (from "top") the qcn client use 50 / 80% CPU, after a reboot stay at 2.3% Without GUI how can be sure that exists a true data flow from the JW ? BTW the resets seems != 0, so how can I rise the priority under raspbian ? | |
| ID: 4405 · Rating: 0 · rate:
| |
|
if you run it as root then the boinc version I created will be able to increase the thread priority and lower the # of resets. | |
| ID: 4406 · Rating: 0 · rate:
| |
if you run it as root then the boinc version I created will be able to increase the thread priority and lower the # of resets. I'll try, btw seems that after disconnect all ssh (ping 83602321) reset counter has stopped. | |
| ID: 4407 · Rating: 0 · rate:
| |
|
OK, the Pi seems to be a bit sluggish for QCN, I think due to their cheap USB hardware and has trouble at 50Hz - I had better luck with other devices like the Guru/ShivaPlug. I hope a future RPi will have a little bit better, or maybe we can design an accelerometer plug-in board for direct fast access (bypassing the USB bus), as something like the RPi would be great for getting a lot of cheap QCN stations out there! | |
| ID: 4409 · Rating: 0 · rate:
| |
|
It's not that the clock is bad, Raspberry Pi's don't have a clock by design, so the must be connected to a network and get Nto hacks from somewhere see: | |
| ID: 4412 · Rating: 0 · rate:
| |
OK, the Pi seems to be a bit sluggish for QCN, I think due to their cheap USB hardware and has trouble at 50Hz Notice that I must yet switch to user root the BOINC directory. So, the very few reset, you can see now on the host 25326 are at normal priority. Sorry, I'll try to rise the priority asap. | |
| ID: 4415 · Rating: 0 · rate:
| |
It's not that the clock is bad, Raspberry Pi's don't have a clock by design, so the must be connected to a network and get Nto hacks from somewhere see: The "50Hz" problem concern all slow platform (also x86) that are unable to read samples at 50 times per sec from USB because the relative slowness of the CPU (combined with a non real-time kernel). Not the lack of a RTC on raspberry. QCN use a custom NTP client, BTW my Raspberry using his standard NTP client show to be well synchronized, only the first ping after a reboot show "bad" offset values (es: 83586865), because BOINC and QCN ping start before raspbian NTP service reach to sync the clock. | |
| ID: 4416 · Rating: 0 · rate:
| |
OK, the Pi seems to be a bit sluggish for QCN, I think due to their cheap USB hardware and has trouble at 50Hz - I had better luck with other devices like the Guru/ShivaPlug. I hope a future RPi will have a little bit better, or maybe we can design an accelerometer plug-in board for direct fast access (bypassing the USB bus), as something like the RPi would be great for getting a lot of cheap QCN stations out there! Over the priority change there are 2 others attempts that not require HW mods: 1. raspi OC (from 700MHz to 800, 900, or 1GHz) 2. since my raspi is dedicated to BOINC sensors, try to use a RT kernel (if exists for debian or raspbian) and schedule QCN client as a real-time process, the 2nd probably require also mods to QCN client (for example in order to split a thread for USB data read) | |
| ID: 4417 · Rating: 0 · rate:
| |
|
in the boinc client I made for RaspPi it will bump up QCN app to "real time priority" - this has to be done on the BOINC side as it will force the default of "idle priority" (i.e. as normal BOINC client). I'm glad you have it working, I think this may be great for the future of QCN. | |
| ID: 4418 · Rating: 0 · rate:
| |
OK, the Pi seems to be a bit sluggish for QCN! So lemme ask you another question about this, did you have the sensor pluged straight into the Pi? Wher you using a USB? If so, Was it powered? Or did it drew power from the Pi ? ____________ | |
| ID: 4448 · Rating: 0 · rate:
| |
|
yeah, the Pi is setup for the JoyWarrior, ONavi, and Phidgets 1056 USB sensors. I think it would be best to have an accelerometer on a board that plugs in to the Pi ie bypassing their sluggish USB. | |
| ID: 4449 · Rating: 0 · rate:
| |
|
but did you use a powered USB hub or plug straight in? if you plugged straight in to the Pi you are drawing power from the Pi and possibly causing a brown out the Pi. Try it with a powered USB hub | |
| ID: 4450 · Rating: 0 · rate:
| |
Questions and Answers :
Unix/Linux :
QCN and BOINC for Raspberry Pi (Debian "Wheezy" Linux)