Hi all,
I have a problem seems like Zoltan Szecsei.
My motherboard is Grandmars PS83-BL. It contain i810 chipset and use ac97 codec. Well, I used OSS before, but it can't set sound volumn( strange :( ). Then, i switch to ALSA. However, I can't hear any sound. I have checked that all snd-module are loaded and oss module are unloaded. And only one program occupied the driver. I also unmute the volumn. None of this method work! Hmm, I have tried 'aplay a_file.wav' or 'cat a_file >' /dev/dsp|audio . No sound at all. I tried XMMS, it tells me that soundcard have problem, but it can recgonize it(show INTEL ICH5 in sound source). While I use xine, it just quit for
"
xine: simple.c:1466: snd_mixer_selem_get_playback_volume: Assertion `elem->type == SND_MIXER_ELEM_SIMPLE' failure
".
Anyone can help me?
Here is my info. :
cat /proc/asound/version::
Advanced Linux Sound Architecture Driver Version 1.0.2c.
Compiled on Feb 8 2004 for kernel 2.4.22 (SMP) with versioned symbols.
cat /proc/asound/cards::
0 [ICH5 ]: ICH - Intel ICH5
Intel ICH5 at 0xfa101000, irq 17
cat /proc/asound/devices::
0: [0- 0]: ctl
20: [0- 4]: digital audio playback
27: [0- 3]: digital audio capture
26: [0- 2]: digital audio capture
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
1: : sequencer
33: : timer
cat /proc/asound/modules::
0 snd-intel8x0
cat /proc/asound/pcm::
00-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
00-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
00-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
00-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
00-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1
cat /proc/asound/timers::
G0: system timer : 10000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-1: PCM capture 0-1-1 : SLAVE
P0-2-1: PCM capture 0-2-1 : SLAVE
P0-3-1: PCM capture 0-3-1 : SLAVE
P0-4-0: PCM playback 0-4-0 : SLAVE
aumix -q::
vol 81, 81, P
pcm 100, 100
speaker 73, 73
line 87, 87, P
mic 42, 42, P
cd 90, 90, P
igain 0, 0
line1 81, 81, R
phin 87, 87, P
video 87, 87, P
cat /proc/asound/card0/codec97#0/ac97#0-0::
0-0/0: C-Media Electronics CMI9739
Capabilities :
DAC resolution : 16-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement
Current setup
Mic gain : +20dB [+20dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Extended ID : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=6/9 SPDIF
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
cat /proc/asound/card0/codec97#0/ac97#0-0+regs::
0:00 = 0000
0:02 = 0606
0:04 = 8000
0:06 = 0006
0:08 = 0000
0:0a = 0008
0:0c = 0004
0:0e = 0052
0:10 = 0404
0:12 = 0303
0:14 = 0404
0:16 = 0606
0:18 = 1f1f
0:1a = 0303
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 800f
0:28 = 05c6
0:2a = 05e4
0:2c = 0000
0:2e = 0000
0:30 = 0000
0:32 = 0000
0:34 = 0000
0:36 = 0700
0:38 = 0404
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0612
0:60 = 0000
0:62 = 0000
0:64 = 3400
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 000d
0:6e = 0000
0:70 = 0100
0:72 = 0000
0:74 = 0000
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 434d
0:7e = 4961
lspci -v::
00:00.0 Host bridge: Intel Corp. 82865G/PE/P Processor to I/O Controller (rev 02
)
Subsystem: Intel Corp. 82865G/PE/P Processor to I/O Controller
Flags: bus master, fast devsel, latency 0
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [2106]
Capabilities: [a0] AGP version 3.0
00:01.0 PCI bridge: Intel Corp. 82865G/PE/P Processor to AGP Controller (rev 02)
(prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00009000-00009fff
Memory behind bridge: f8000000-f9ffffff
Prefetchable memory behind bridge: e8000000-f7ffffff
00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: DFI Inc: Unknown device 1008
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at bc00 [size=32]
00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: DFI Inc: Unknown device 1008
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at b000 [size=32]
00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: DFI Inc: Unknown device 1008
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at b400 [size=32]
00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02) (prog-if 00 [UHCI])
Subsystem: DFI Inc: Unknown device 1008
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at b800 [size=32]
00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02) (prog-if 20 [EHCI])
Subsystem: DFI Inc: Unknown device 1008
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fa100000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2) (prog-if 00
[Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fa000000-fa0fffff
00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.2 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02)
(prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp. 82801EB Ultra ATA Storage Controller
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 18
I/O ports at
I/O ports at
I/O ports at
I/O ports at
I/O ports at f000 [size=16]
00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
Subsystem: DFI Inc: Unknown device 1008
Flags: medium devsel, IRQ 17
I/O ports at 0500 [size=32]
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller
(rev 02)
Subsystem: DFI Inc: Unknown device 1001
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at d800 [size=256]
I/O ports at dc00 [size=64]
Memory at fa101000 (32-bit, non-prefetchable) [size=512]
Memory at fa102000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5964 (re
v 01) (prog-if 00 [VGA])
Subsystem: Hightech Information System Ltd.: Unknown device 2012
Flags: bus master, 66Mhz, medium devsel, latency 255, IRQ 16
Memory at e8000000 (32-bit, prefetchable) [size=128M]
I/O ports at 9000 [size=256]
Memory at f9000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2
01:00.1 Display controller: ATI Technologies Inc: Unknown device 5d44 (rev 01)
Subsystem: Hightech Information System Ltd.: Unknown device 2013
Flags: 66Mhz, medium devsel
Memory at f0000000 (32-bit, prefetchable) [disabled] [size=128M]
Memory at f9010000 (32-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [50] Power Management version 2
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139
C+ (rev 10)
Subsystem: DFI Inc: Unknown device 1003
Flags: bus master, medium devsel, latency 32, IRQ 17
I/O ports at a000 [size=256]
Memory at fa000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
02:09.0 Communication controller: Lucent Microelectronics: Unknown device 048c (
rev 02)
Subsystem: Lucent Microelectronics: Unknown device 044c
Flags: bus master, medium devsel, latency 32, IRQ 17
Memory at fa001000 (32-bit, non-prefetchable) [size=256]
I/O ports at a400 [size=8]
I/O ports at a800 [size=256]
Capabilities: [f8] Power Management version 2
cat /etc/asound.state (after running "alsactl store" as root)::
state.ICH5 {
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 - 31'
iface MIXER
name 'Master Playback Volume'
value.0 25
value.1 25
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Center Playback Volume'
value 31
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'LFE Playback Switch'
value true
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'LFE Playback Volume'
value 24
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Surround Playback Volume'
value.0 27
value.1 27
}
control.9 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Master Mono Playback Switch'
value true
}
control.10 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Master Mono Playback Volume'
value 25
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PC Speaker Playback Switch'
value true
}
control.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'PC Speaker Playback Volume'
value 11
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Phone Playback Switch'
value true
}
control.14 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Phone Playback Volume'
value 27
}
control.15 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value true
}
control.16 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 13
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost (+20dB)'
value true
}
control.18 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value true
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 27
value.1 27
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value true
}
control.21 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 28
value.1 28
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Video Playback Switch'
value true
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Video Playback Volume'
value.0 27
value.1 27
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value true
}
control.25 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Aux Playback Volume'
value.0 25
value.1 25
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Playback Switch'
value true
}
control.27 {
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 Aux
value.1 Aux
} control.28 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Capture Switch'
value true
}
control.29 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
}
control.30 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mix
comment.item.1 Mic
iface MIXER
name 'Mono Output Select'
value Mix
}
control.31 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Mic1
comment.item.1 Mic2
iface MIXER
name 'Mic Select'
value Mic1
}
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 '008200020000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000'
}
control.35 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Playback Switch'
value true
}
control.36 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'IEC958 Playback AC97-SPSA'
value 2
}
control.37 {
comment.access 'read write'
comment.type ENUMERATED
comment.item.0 Analog
comment.item.1 Digital
iface MIXER
name 'IEC958 Playback Source'
value Analog
}
control.38 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Valid Switch'
value true
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Monitor'
value true
}
control.40 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Capture Switch'
value false
}
control.41 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Surround'
value true
}
control.42 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'External Amplifier Power Down'
value true
}
}
必殺技、飲歌、小星星...
浪漫鈴聲 情心連繫
http://ringtone.yahoo.com.hk/
