1 |
On 8/22/06, Peter Davoust <worldgnat@×××××.com> wrote: |
2 |
> After a newfound interest in using acpid, I looked up a howto, and then tried |
3 |
> to debug. After some googling, I found that the problem was that default.sh |
4 |
> in /etc/acpid is stupid, and when It finds an event it doesn't understand |
5 |
> (all events) it shuts down the machine and complains. I changed this line, |
6 |
> and it now works perfectly. Now alsactl restore is another story. I tried |
7 |
> alsactl store 0 and alsactl store 1, but alsactl restore doesn't do anything. |
8 |
> It works, but I still have to go through my ritual of playing with the |
9 |
> volume. Any other ideas? |
10 |
|
11 |
Hmm, that should have worked. Maybe you can do some more playing with |
12 |
alsactl and the -f option. I think you could drop all mixers to 0 and |
13 |
mute them, and save that with "alsactl -f /etc/asound.state.silent |
14 |
store". The on resume, try: |
15 |
|
16 |
alsactl -f /etc/asound.state.silent restore |
17 |
alsactl -f /etc/asound.state restore |
18 |
|
19 |
This should try to mute everything, and then restore the normal volumes. |
20 |
|
21 |
Good luck, |
22 |
-Richard |
23 |
-- |
24 |
gentoo-amd64@g.o mailing list |