View previous topic :: View next topic |
Author |
Message |
PiepScuim n00b

Joined: 31 May 2004 Posts: 6 Location: Brussels
|
Posted: Mon May 31, 2004 1:01 pm Post subject: Problem with /etc/init.d/alsasound [Solved] |
|
|
Hi,
Everytime I reboot my computer, alsa PCM gets muted again (Master volume is ok).
When I do a 'alsactl restore', PCM volume is ok again.
As you can see, alsasound is stared on boot:
Code: |
root@smeagol kurt # rc-status boot
Runlevel: boot
keymaps [ started ]
clock [ started ]
localmount [ started ]
consolefont [ started ]
modules [ started ]
hostname [ started ]
net.lo [ started ]
serial [ started ]
urandom [ started ]
checkroot [ started ]
rmnologin [ started ]
bootmisc [ started ]
checkfs [ started ]
alsasound [ started ]
root@smeagol kurt #
|
Anyone an idea what's wrong?
Thanks,
PiepScuim
Last edited by PiepScuim on Mon May 31, 2004 3:53 pm; edited 1 time in total |
|
Back to top |
|
 |
sillymrman n00b

Joined: 31 May 2004 Posts: 27
|
Posted: Mon May 31, 2004 1:19 pm Post subject: |
|
|
What's your /etc/asound.state file look like? That's the file that Alsa checks against when it restarts, at least it is with the version of Alsa that I'm using... 1.0.4 I believe.
1.0.5 has just been added to the Portage tree. Perhaps it'd be worth a shot?
Last edited by sillymrman on Mon May 31, 2004 1:25 pm; edited 1 time in total |
|
Back to top |
|
 |
PiepScuim n00b

Joined: 31 May 2004 Posts: 6 Location: Brussels
|
Posted: Mon May 31, 2004 1:24 pm Post subject: |
|
|
It's /etc/asound.state, but as 'alsactl restore' works, I doubt it would be the problem.
Code: |
root@smeagol kurt # cat /etc/asound.state
state.SI7012 {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Playback Switch'
value true
}
control.2 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 63'
iface MIXER
name 'Master Playback Volume'
value.0 49
value.1 49
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Headphone Playback Switch'
value false
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 63'
iface MIXER
name 'Headphone Playback Volume'
value.0 0
value.1 0
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Mono Playback Switch'
value false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 0
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PC Speaker Playback Switch'
value false
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 0
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Phone Playback Switch'
value false
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 0
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value false
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 0
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost (+20dB)'
value false
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value false
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value false
}
control.17 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Video Playback Switch'
value false
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Video Playback Volume'
value.0 0
value.1 0
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value false
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 0
value.1 0
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Playback Switch'
value true
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 23
value.1 23
}
control.24 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic
comment.item.1 CD
comment.item.2 Video
comment.item.3 Aux
comment.item.4 Line
comment.item.5 Mix
comment.item.6 'Mix Mono'
comment.item.7 Phone
iface MIXER
name 'Capture Source'
value.0 Mic
value.1 Mic
}
control.25 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Capture Switch'
value true
}
control.26 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
}
control.27 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name '3D Control - Switch'
value false
}
control.28 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.29 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
control.30 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name '3D Control - Center'
value 0
}
control.31 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name '3D Control - Depth'
value 0
}
control.32 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000f0000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000'
}
control.33 {
comment.access read
comment.type IEC958
iface MIXER
name 'IEC958 Playback Pro Mask'
value cf00000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000
}
control.34 {
comment.access 'read write'
comment.type IEC958
iface MIXER
name 'IEC958 Playback Default'
value '008200000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000'
}
control.35 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Playback Switch'
value false
}
control.36 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 0
}
control.37 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'External Amplifier'
value true
}
}
root@smeagol kurt #
|
|
|
Back to top |
|
 |
sillymrman n00b

Joined: 31 May 2004 Posts: 27
|
Posted: Mon May 31, 2004 1:26 pm Post subject: |
|
|
What version of ALSA do you have? |
|
Back to top |
|
 |
PiepScuim n00b

Joined: 31 May 2004 Posts: 6 Location: Brussels
|
Posted: Mon May 31, 2004 1:30 pm Post subject: |
|
|
alsa 1.0.3 |
|
Back to top |
|
 |
sillymrman n00b

Joined: 31 May 2004 Posts: 27
|
Posted: Mon May 31, 2004 2:51 pm Post subject: |
|
|
Try emerging the newest version. 1.0.5. |
|
Back to top |
|
 |
PiepScuim n00b

Joined: 31 May 2004 Posts: 6 Location: Brussels
|
Posted: Mon May 31, 2004 3:09 pm Post subject: |
|
|
sillymrman wrote: | Try emerging the newest version. 1.0.5. |
Tried that, but no change |
|
Back to top |
|
 |
sillymrman n00b

Joined: 31 May 2004 Posts: 27
|
Posted: Mon May 31, 2004 3:16 pm Post subject: |
|
|
Did you follow the ALSA Gentoo linux guide? Specifically, did you put in the lines:
Code: | # rc-update add alsasound boot
# /etc/init.d/alsasound start |
?
On top of that, did you install a .asoundrc file or an asound.conf file?
What lines did you add to /etc/modules.conf ? |
|
Back to top |
|
 |
PiepScuim n00b

Joined: 31 May 2004 Posts: 6 Location: Brussels
|
Posted: Mon May 31, 2004 3:54 pm Post subject: |
|
|
Just ran alsaconf again, rebooted and everything is ok again.
Thanks for helping!
PiepScuim |
|
Back to top |
|
 |
sillymrman n00b

Joined: 31 May 2004 Posts: 27
|
Posted: Mon May 31, 2004 4:04 pm Post subject: |
|
|
PiepScuim wrote: | Just ran alsaconf again, rebooted and everything is ok again.
Thanks for helping!
PiepScuim |
Glad to hear you're all set  |
|
Back to top |
|
 |
|