New sensor working, but no credits & can't add to map?


Advanced search

Message boards : Number crunching : New sensor working, but no credits & can't add to map?

Author Message
Profile KarmannGaz
Avatar
Send message
Joined: 12 Mar 13
Posts: 102
Credit: 206,234
RAC: 0

Message 3062 - Posted: 12 Feb 2015 | 21:21:49 UTC

Hi, I've built my sensor kit and plugged it in, it seems to be working ok and has now completed two tasks, both validated ok, but no credit, and when I try to add my sensor to the map it just takes me to a "Your computers" summary page, there doesn't seem to be a way to add my sensor to the map?
If I look at the completed tasks, there does seem to be a lot of error messages like this :
Stderr output
<core_client_version>7.2.42</core_client_version>
<![CDATA[
<stderr_txt>
permitted
Warning: cannot query manufacturer for device: error sending control message: Operation not permitted
Warning: cannot query manufacturer for device: error sending control message: Operation not permitted
Warning: cannot query manufacturer for device: error sending control message: Operation not permitted
(etc.)
I've rebooted my machine but it's still behaving the same.
Any ideas/suggestions?
Thanks.

Profile Euphoriabuzz
Avatar
Send message
Joined: 29 May 12
Posts: 38
Credit: 147,630
RAC: 0

Message 3067 - Posted: 15 Feb 2015 | 16:57:08 UTC - in response to Message 3062.

Hi Gary - try this link here

Profile ChertseyAl
Avatar
Send message
Joined: 16 Jun 11
Posts: 178
Credit: 654,889
RAC: 149

Message 3068 - Posted: 15 Feb 2015 | 17:53:01 UTC - in response to Message 3067.

Fixed link from previous post: http://radioactiveathome.org/boinc/forum_thread.php?id=101


____________

Profile KarmannGaz
Avatar
Send message
Joined: 12 Mar 13
Posts: 102
Credit: 206,234
RAC: 0

Message 3070 - Posted: 17 Feb 2015 | 15:31:20 UTC
Last modified: 17 Feb 2015 | 15:32:18 UTC

Thanks. I've followed these instructions, but it goes wrong at the point where I click on details - there is no map, just some details about my computer. I've sent a message to Szopler to see if he has any ideas. In the meantime, I've put some photos together of my kit being built (and yours, Euphoriabuzz!) :
http://freespace.virgin.net/gaz_liz.teamamc/RK261HTG/Radkit261.htm
It works as a detector anyway, even if I can't use it for the project.

Profile Euphoriabuzz
Avatar
Send message
Joined: 29 May 12
Posts: 38
Credit: 147,630
RAC: 0

Message 3073 - Posted: 19 Feb 2015 | 14:45:05 UTC - in response to Message 3070.

Thank you, great to see it as a work in progress.

Profile Euphoriabuzz
Avatar
Send message
Joined: 29 May 12
Posts: 38
Credit: 147,630
RAC: 0

Message 3074 - Posted: 19 Feb 2015 | 16:57:30 UTC - in response to Message 3068.

Thanks

Profile KarmannGaz
Avatar
Send message
Joined: 12 Mar 13
Posts: 102
Credit: 206,234
RAC: 0

Message 3075 - Posted: 19 Feb 2015 | 20:41:30 UTC

So, I have built two of the v2.61 kits now. One is with Euphoriabuzz, who has it plugged in to a Windows PC and it's working fine and clocking up credits. Mine however, while seeming to work and completing work units which are validated as success, gives me no credits. The only difference I can see is that mine is plugged in to a Linux PC. Is anyone else using Linux Mint 17.1 and did you have to do anything special to get yours to give credits? I so want to put my detector on the map, but it seems you have to get credits first, I just get "Map 0" and it won't let me add my detector (and no, I'm not buying a copy of Windows just to run this!) :-(

Profile KarmannGaz
Avatar
Send message
Joined: 12 Mar 13
Posts: 102
Credit: 206,234
RAC: 0

Message 3076 - Posted: 19 Feb 2015 | 20:41:31 UTC
Last modified: 19 Feb 2015 | 20:43:01 UTC

(and now my browser posted the same post twice, sorry, deleting this one...)

Profile krzyszp
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 16 Apr 11
Posts: 383
Credit: 754,646
RAC: 84

Message 3078 - Posted: 20 Feb 2015 | 17:20:45 UTC - in response to Message 3075.

So, I have built two of the v2.61 kits now. One is with Euphoriabuzz, who has it plugged in to a Windows PC and it's working fine and clocking up credits. Mine however, while seeming to work and completing work units which are validated as success, gives me no credits. The only difference I can see is that mine is plugged in to a Linux PC. Is anyone else using Linux Mint 17.1 and did you have to do anything special to get yours to give credits? I so want to put my detector on the map, but it seems you have to get credits first, I just get "Map 0" and it won't let me add my detector (and no, I'm not buying a copy of Windows just to run this!) :-(

Somewhere on the forum is manual, how to start with Linux (access to USB port), other solution (dangerous) is to start client as root.
____________
Regards,
Krzysztof 'krzyszp' Piszczek
Android Radioactive@Home Map
Android Radioactive@Home Map - donated
My Workplace

--Norbert
Send message
Joined: 6 Jan 15
Posts: 73
Credit: 0
RAC: 0
Message 3080 - Posted: 22 Feb 2015 | 23:04:40 UTC - in response to Message 3078.
Last modified: 22 Feb 2015 | 23:13:05 UTC

Krzysztof, the forum search tool defaults to only 30 days, and allows up to 1 year under Advanced search. If this Linux advice is over a year old, it might as well be not not there if there is no board/thread name to find it manually. Is there a way for admins (you or BOINC admins) to allow searches over 1 year back, and to default it to 1 year?
--Norbert

Profile KarmannGaz
Avatar
Send message
Joined: 12 Mar 13
Posts: 102
Credit: 206,234
RAC: 0

Message 3082 - Posted: 23 Feb 2015 | 16:36:37 UTC

I have my sensor working at last! :-)

Thank you to Euphoriabuzz and Krzysztof Piszczek in particular for your suggestions. It was a permissions problem - the Boinc client runs under its own userid of "boinc", which has to be added to group plugdev to be allowed access to the usb ports, and ALSO have a rule set up in /etc/udev/rules.d to give it read/write access to the usb port (i.e. mode 666).

So, this is how I have it on my machine (running MINT 17.1 Linux) :-

gaz@gaz-A8:~ > lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 003: ID 16c0:05df Van Ooijen Technische Informatica HID device except mice, keyboards, and joysticks
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 006 Device 002: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
gaz@gaz-A8:~ > id boinc
uid=118(boinc) gid=128(boinc) groups=128(boinc),44(video),46(plugdev),1000(gaz)
gaz@gaz-A8:~ > cd /etc/udev/rules.d
gaz@gaz-A8:/etc/udev/rules.d > ls
69-radioactiveathome.rules 70-persistent-net.rules README
gaz@gaz-A8:/etc/udev/rules.d > more 69-radioactiveathome.rules
# Created by Gaz on 23/Feb/15 to allow boinc access to USB sensor.
# Also did sudo adduser boinc plugdev,gaz

# Radioactive at home USB sensor (geiger counter) v2.61
SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", MODE="0666", GROUP="plugdev"
LABEL="RadioactiveAtHomeRulesEnd"
gaz@gaz-A8:/etc/udev/rules.d >


Also, the tasks are completing a lot faster now (like about 1 hour, as per what I asked for on the preferences page, rather than 4 or 5 hours when it was getting the operation not permitted messages), and I am able to get to the map to add my sensor!

Note that the vendor id check in the udev rule has to be 16c0 and not 16C0, it's case sensitive. As I found out.

I may not actually have needed to add boinc to group gaz, but I wondered if the problem may have been because I have the BOINC scripts & other files in a folder under my home directory, so I gave it access to that too. Anyway, the above worked for me. Hope it is useful to anyone else setting up a sensor on a Linux box!

:-)

Chris Skull
Avatar
Send message
Joined: 24 Nov 14
Posts: 34
Credit: 176,249
RAC: 0

Message 3221 - Posted: 22 Apr 2015 | 19:38:08 UTC - in response to Message 3070.
Last modified: 22 Apr 2015 | 19:38:44 UTC

Thanks. I've followed these instructions, but it goes wrong at the point where I click on details - there is no map, just some details about my computer. I've sent a message to Szopler to see if he has any ideas.


Seems to be a browser Problem... with Firefox i also don't see any map... but with IE i works ;-)
____________

Dirk Broer
Send message
Joined: 9 Mar 15
Posts: 81
Credit: 382,638
RAC: 106

Message 3284 - Posted: 20 Jun 2015 | 22:59:17 UTC

Just a thought: why is the 2.61 sensor not mentioned in 'sensors.xml'?

All my last WUs end in

Stderr output
<core_client_version>7.4.42</core_client_version>
<![CDATA[
<stderr_txt>
Radac $Rev: 585 $ starting...
Could not find any of the devices listed in sensors.xml: Device communication error
22:33:43 (2716): called boinc_finish

</stderr_txt>
]]>

Chris Skull
Avatar
Send message
Joined: 24 Nov 14
Posts: 34
Credit: 176,249
RAC: 0

Message 3286 - Posted: 21 Jun 2015 | 7:26:53 UTC

"Device communication error"

I think USB problem...
In my sensor XML there also is no 2.61 listed...

____________

Profile KarmannGaz
Avatar
Send message
Joined: 12 Mar 13
Posts: 102
Credit: 206,234
RAC: 0

Message 3292 - Posted: 21 Jun 2015 | 17:04:54 UTC - in response to Message 3284.

I think sensors.xml is maintained by the OS, you can't edit it (well, you can, but it rebuilds it itself, as you found out). Sounds more like the OS has lost touch with the sensor for some reason (see messages at end of your last task which worked). I would try unplugging it and putting it back in first, then if that doesn't work reboot the system. If it still doesn't work, I think it might be something to do with slots, Euphoriabuzz had a similar problem and I can't remember what the solution was, but will have a look back through the forums & check.

Post to thread

Message boards : Number crunching : New sensor working, but no credits & can't add to map?


Main page · Your account · Message boards


Copyright © 2024 BOINC@Poland | Open Science for the future