A suggestion for simplifying some of the steps in documentation.
Where the steps require creation of a single line file (like in the
recent one to handle plugging in a USB audio device) you can make it
into a one line for copy/paste rather than having to open and editor and
having to write all of the commands to save/exit or even installation of
nano.
For example Step 2 in the recent set changes from:
Code:
--------------------
Step 2
Type sudo nano /etc/udev/rules.d/10-DAC.rules and paste this string:
SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="xxxx",
ATTR{idProduct}=="yyyy", RUN+="/home/tc/DAC.sh"
where xxxx and yyyy are what you found in the previous step.
Press control o to save and control x to exit.
--------------------
to:
Code:
--------------------
Copy this string:
echo 'SUBSYSTEM=="usb", ACTION=="add", ATTRS{idVendor}=="xxxx",
ATTR{idProduct}=="yyyy", RUN+="/home/tc/DAC.sh"' | sudo tee
/etc/udev/rules.d/10-DAC.rules
and replace xxxx and yyyy are what you found in the previous step
then enter it into your ssh session.
--------------------
The single quote around the string is needed because of the double
quotes in the expression. If there was a real single quote in the
expression then I expect it would have to be escaped with \'
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=112996
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix