From 7b2d014965a59b12437388ea41ff2e8a81ea3fc9 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 07 Dec 2017 23:50:09 -0500 Subject: alsvid2: Add CH341A udev rule --- (limited to 'hosts/alsvid2') diff --git a/hosts/alsvid2/postinst b/hosts/alsvid2/postinst index 9d6a465..61d9c49 100644 --- a/hosts/alsvid2/postinst +++ b/hosts/alsvid2/postinst @@ -66,6 +66,11 @@ cat >"${target}/etc/udev/rules.d/10-usbtinyisp.rules" <<-EOF SUBSYSTEM=="usb", ATTR{idVendor}=="1781", ATTR{idProduct}=="0c9f", MODE="0660", GROUP="adm" EOF +# Add udev rule for CH341A-based programmers. +cat >"${target}/etc/udev/rules.d/10-ch341a.rules" <<-EOF + SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="5512", MODE="0666" + EOF + # Install Vertex themes. in_target apt-get -q -y install gnome-themes-standard gtk2-engines-murrine \ libgtk-3-dev -- cgit v0.9.1