New Radioactive@Home detectors might be coming...

Forum rules
davidbam
General Bitchin'
General Bitchin'
Posts: 6371
Joined: Wed Aug 15, 2018 1:15 pm
Location: Huntly, Scotland
Contact:

#21 Re: New Radioactive@Home detectors might be coming...

Post by davidbam »

Will try, thanks
I think this is fool-proof but could you just try it for me please? • There are 10 types of people in the world; those who understand binary, and those who don’t
Image
User avatar
scole of TSBT
Boinc Major General
Boinc Major General
Posts: 5980
Joined: Mon Feb 03, 2014 2:38 pm
Location: Goldsboro, (Eastern) North Carolina, USA

#22 Re: New Radioactive@Home detectors might be coming...

Post by scole of TSBT »

Maybe I've never posted this info, needed for the sensor to work under linux...

By default the user 'boinc' is not allowed to access the USB devices. To do so we need to change the udev rules (or better add one)

As root (sudo....) create a file in the directory /etc/udev/rules.d/ the filename is 50-group.rules, with the following content...

Code: Select all

# /etc/udev/rules.d/50-group.rules
SUBSYSTEM!="usb", GOTO="skip_rule"
ACTION=="add", GROUP="plugdev"
LABEL="skip_rule"
This will add a rule that whenever a usb device is added the group for the device-file is set to 'plugdev'. This group already exists on the RPi and the user 'pi' is already a member of that group.

To activate the rule the 'udev' service needs to be restarted...

Code: Select all

sudo service udev restart
Now unplug the usb devices, wait a little bit and replug them in.

Now we need to add the user 'boinc' to the group 'plugdev'...

Code: Select all

sudo usermod -a -G plugdev boinc
Image
Post Reply Previous topicNext topic

Return to “RADIOACTIVE”