New Radioactive@Home detectors might be coming...
Forum rules
-
- 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...
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
- scole of TSBT
- Boinc Major General
- Posts: 5983
- Joined: Mon Feb 03, 2014 2:38 pm
- Location: Goldsboro, (Eastern) North Carolina, USA
#22 Re: New Radioactive@Home detectors might be coming...
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...
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...
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'...
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"
To activate the rule the 'udev' service needs to be restarted...
Code: Select all
sudo service udev restart
Now we need to add the user 'boinc' to the group 'plugdev'...
Code: Select all
sudo usermod -a -G plugdev boinc