hhsiao2403 / muonic

Automatically exported from code.google.com/p/muonic
0 stars 0 forks source link

UDev rule for Ubuntu 12.XY and newer #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
DAQ card is not available on the standard dev path - follow this path to the 
good side:
It is a Udev rule:
place the following content in a file called "muonic.rules" in 
/etc/udev/rules.d/, from which it is read on start up:

# USB Karte fuer Lese&Schreibzugriff freischalten
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", OWNER=="cosmiclab"

Otherwise is the DAQ card not accessible.

Original issue reported on code.google.com by basho.got on 14 Jun 2013 at 1:10

GoogleCodeExporter commented 9 years ago
cosmiclab has to be changed to the specific username. Or you have to add:
, MODE="0777"

The problem is: found no way to change it NOT for all!

, GROUP=="cosmic", MODE="0771"

Failed!
Any other solution??

Original comment by basho.got on 21 Aug 2013 at 5:59

GoogleCodeExporter commented 9 years ago
Ok fixed.
muonic.rules" in /etc/udev/rules.d/ has to look like:
# USB Karte fuer Lese&Schreibzugriff freischalten
ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", OWNER=="admin_user", 
GROUP="cosmo_group_of_user", MODE="0661"

with the admin/ sudoers member admin_user and the group of the user: 
cosmo_group_of_user

Original comment by basho.got on 21 Aug 2013 at 6:09