Hi Takashi.
Here are the infos you want:
/etc/asound.state
--------------------------------------------------------------------------------
state.card0 {
control.1 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 30
value.1 30
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name '3D Control - Switch'
value false
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 31
value.1 31
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Playback Switch'
value true
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Capture Switch'
value.0 false
value.1 false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Synth Playback Volume'
value.0 31
value.1 31
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Synth Playback Switch'
value true
}
control.8 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Synth Capture Route'
value.0 false
value.1 false
value.2 false
value.3 false
}
control.9 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 0
value.1 0
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value.0 false
value.1 false
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Capture Route'
value.0 false
value.1 false
value.2 false
value.3 false
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Capture Route'
value.0 false
value.1 false
value.2 false
value.3 false
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 0
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value false
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Capture Switch'
value false
}
control.18 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'PC Speaker Playback Volume'
value 0
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Aux Playback Volume'
value.0 0
value.1 0
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value.0 false
value.1 false
}
control.21 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Capture Switch'
value.0 false
value.1 false
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost'
value false
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 7'
iface MIXER
name 'Mic Capture Volume'
value 0
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Exchange DAC'
value false
}
control.25 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Four Channel Mode'
value false
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Rear'
value false
}
control.27 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Output Switch'
value true
}
control.28 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Valid'
value false
}
control.29 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Copyright'
value false
}
control.30 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 5V'
value true
}
control.31 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Loop'
value false
}
control.32 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Monitor'
value false
}
control.33 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Phase Inverse'
value false
}
control.34 {
comment.access 'read write'
comment.type IEC958
iface PCM
device 2
name 'IEC958 Playback Default'
value
'0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.35 {
comment.access read
comment.type IEC958
iface MIXER
device 2
name 'IEC958 Playback Con Mask'
value
ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.36 {
comment.access 'read write inactive'
comment.type IEC958
iface PCM
device 2
name 'IEC958 Playback PCM Stream'
value
'0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.37 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Bass'
value false
}
control.38 {
comment.access 'read write'
comment.type BOOLEAN
iface CARD
name Joystick
value false
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
iface CARD
name Modem
value false
}
}
--------------------------------------------------------------------------------
dump of /proc/asound/card0/cmipci during playback (only sound through SPDIF
output):
--------------------------------------------------------------------------------
C-Media PCI CMI8738-MC6 (model 39) at 0xc400, irq 17
00: 02 00 01 00
04: 44 0d 00 00
08: 03 00 09 00
0c: 00 00 01 07
10: c0 00 00 40
14: 00 00 80 60
18: 00 00 88 00
1c: cf ad fa fd
20: 10 40 00 00
24: 00 01 00 00
28: ff ff ff ff
2c: ff ff ff ff
30: 22 64 40 80
34: 00 00 00 00
38: 00 00 00 00
3c: 00 00 00 00
--------------------------------------------------------------------------------
dump of /proc/asound/card0/cmipci during playback (only analog output):
--------------------------------------------------------------------------------
C-Media PCI CMI8738-MC6 (model 39) at 0xc400, irq 17
00: 02 00 01 00
04: 44 0c 00 00
08: 02 00 09 00
0c: 00 00 01 07
10: c0 00 00 40
14: 00 00 80 60
18: 00 00 88 00
1c: cf ad fa fd
20: 10 40 00 00
24: 00 01 00 00
28: ff ff ff ff
2c: ff ff ff ff
30: 22 64 40 80
34: 00 00 00 00
38: 00 00 00 00
3c: 00 00 00 00
--------------------------------------------------------------------------------
If you need more, ask.
Thanks Chris.
Quoting Takashi Iwai <[EMAIL PROTECTED]>:
> Hi,
>
> At Fri, 15 Feb 2002 12:57:33 +0100 (CET),
> Christoph Rieper wrote:
> >
> > Hi Takashi!
> >
> > I have a problem with the cmipci driver. When I want to play something
> I get
> > only SPDIF output. Only when there is another samplerate than 4.1 Khz
> I get
> > analog output.
> >
> > What's the problem?
>
> please try to get the mixer status (run "alsactl -f file store") and
> register dump during playbacks in different situations, and send me
> the files, so that i'll be able to guess what happens.
>
>
> thanks.
>
> Takashi
>
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user