Changeset 656725d for multimedia/libdriv
- Timestamp:
- 08/01/2005 12:36:51 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 5ee44e37
- Parents:
- 3239e36
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
multimedia/libdriv/alsa-utils.xml
r3239e36 r656725d 109 109 110 110 <para>Note that all channels of your sound card are muted by default. 111 You can use the <command>alsamixer</command> program from 111 You can use the <command>alsamixer</command> program from the 112 112 <application>ALSA Utilities</application> to change this.</para> 113 113 114 <para>The first time the dev.d script below is run, it will complain 114 <para>The first time the <filename class='directory'>dev.d</filename> 115 script below is run, it will complain 115 116 that there is no state in <filename>/etc/asound.state</filename>. 116 You can prevent this by running the following commands while still 117 the <systemitem class="username">root</systemitem> user (after 118 installing <application>ALSA Utilities</application>):</para> 117 You can prevent this by running the following commands as 118 the <systemitem class="username">root</systemitem> user:</para> 119 119 120 120 <screen role="root"><userinput>touch /etc/asound.state && 121 121 alsactl store</userinput></screen> 122 122 123 <para>The volumes will be restored using the saved settings by a 124 dev.d handler script that will execute when the device is detected 125 durring boot (when pluged in for USB devices). While still the 126 <systemitem class="username">root</systemitem> user, create the dev.d 127 script with the following commands:</para> 128 129 <screen role="root"><userinput>install -d -m755 /etc/dev.d/snd && 130 cat >> /etc/dev.d/snd/alsa.dev << "EOF" && 123 <para>The volume settings will be restored from the saved state using a 124 <filename class='directory'>dev.d</filename> handler script that will 125 execute when the device is detected 126 during boot (when plugged in for USB devices). While still the 127 <systemitem class="username">root</systemitem> user, create the 128 <filename class='directory'>dev.d</filename> script with the following 129 commands:</para> 130 131 <screen role="root"><userinput>install -v -d -m755 /etc/dev.d/snd && 132 cat >> /etc/dev.d/snd/alsa.dev << "EOF" 131 133 #!/bin/sh -e 132 134 DEV_BASENAME="${DEVNAME##*/}" … … 151 153 exit 0 152 154 EOF 153 chmod 755 /etc/dev.d/snd/alsa.dev</userinput></screen>155 chmod -v 755 /etc/dev.d/snd/alsa.dev</userinput></screen> 154 156 155 157
Note:
See TracChangeset
for help on using the changeset viewer.