You are not logged in.
Pages: 1
Hello, I'm new to Arch Linux, I've been using it for about 2 months and, before that I used Ubuntu for 8 years.
I'm trying to convert the instructions from http://docs.getchip.com/chip.html#linux-specific, which are written for Ubuntu to Arch Linux.
However, Arch Linux seem not to have either a plugdev or a dialout group. I'm pretty sure I cannot just create these groups. So are there alternatives on Arch Linux or is there another method to achieve this?
sudo usermod -a -G dialout $(logname)
sudo usermod -a -G plugdev $(logname)
# Create udev rules
echo -e 'SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
SUBSYSTEM=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP="plugdev", MODE="0660" SYMLINK+="usb-serial-adapter"
' | sudo tee /etc/udev/rules.d/99-allwinner.rules
sudo udevadm control --reload-rules
Thank you
CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz; Memory: 12GB; Swap: 12GB; Graphics: NVIDIA GeForce 940M;
OS: Antergos (Arch Linux); Web Browser: Google Chrome, Opera, Web; Shells: ZSH, GNOME Shell;
Programming Languages: C, C++, Java, Ruby, Perl, Python, MIPS Assembly, Arm Assembly, X86 Assembly, 68HC11 Assembly, Clojure, Shell script, HTML, CSS, Javascript, HAML, and Matlab.
Offline
Sure. Just create the group and add your user to it or change the udev rules file to be a group that your user is already in.
If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr
Offline
Thanks that worked perfectly. I did not know you could just make up groups.
below is my edited code for if anyone else needs it for the C.H.I.P. flasher!
sudo groupadd plugdev
sudo groupadd dialout
sudo usermod -a -G dialout $USER
sudo usermod -a -G plugdev $USER
# Create udev rules
echo -e 'SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="efe8", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip"
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1f3a", ATTRS{idProduct}=="1010", GROUP="plugdev", MODE="0660" SYMLINK+="usb-chip-fastboot"
SUBSYSTEM=="usb", ATTRS{idVendor}=="067b", ATTRS{idProduct}=="2303", GROUP="plugdev", MODE="0660" SYMLINK+="usb-serial-adapter"
' | sudo tee /etc/udev/rules.d/99-allwinner.rules
sudo udevadm control --reload-rules
CPU: 4x Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz; Memory: 12GB; Swap: 12GB; Graphics: NVIDIA GeForce 940M;
OS: Antergos (Arch Linux); Web Browser: Google Chrome, Opera, Web; Shells: ZSH, GNOME Shell;
Programming Languages: C, C++, Java, Ruby, Perl, Python, MIPS Assembly, Arm Assembly, X86 Assembly, 68HC11 Assembly, Clojure, Shell script, HTML, CSS, Javascript, HAML, and Matlab.
Offline
It looks like the "uucp" group is Arch's equivalent of "dialout", so you should just add yourself to that instead of creating "dialout".
Offline
Pages: 1