Sound doesn't work on A8V-MX (VIA8233)

Bug #82021 reported by Patrick Dixon
6
Affects Status Importance Assigned to Milestone
Ubuntu
Invalid
Low
Unassigned

Bug Description

A8V-MX motherboard with built-in sound (VIA8233 IIRC)

Ubuntu Edgy

Although driver all appears to be loaded and present, no sound is ever played. Speakers work fine on another machine.

I have also compiled latest alsa1.0.14 per alsa instructions for VIA82XX(*) - still no sound. Incidentally, following alsa instructions for ~/.asoundrc results in no soundcard being recognised at all in System>preferences>sound. Deleting ~/.asoundrc gives VIA8251 only, but still no sound.

(*) http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=VIA&card=VIA+southbridge+AC97+audio.&chip=VIA82C686%2C+VIA8233%2C+VIA8233A%2C+VIA8235%2C+VIA8237&module=via82xx

Debug follows:-

# tail -2 /proc/asound/oss/sndstat
Mixers:
0: Realtek ALC655 rev 1

# amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 22 [71%] [-13.50dB] [on]
  Front Right: Playback 22 [71%] [-13.50dB] [on]
Simple mixer control 'Master Mono',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 24 [77%] [1.50dB] [on]
  Front Right: Playback 24 [77%] [1.50dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Surround Jack Mode',0
  Capabilities: enum
  Items: 'Shared' 'Independent'
  Item0: 'Shared'
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 0 [0%] [-46.50dB] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [12.00dB] [on] Capture [off]
  Front Right: Playback 31 [100%] [12.00dB] [on] Capture [off]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [12.00dB] [on] Capture [off]
  Front Right: Playback 31 [100%] [12.00dB] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [12.00dB] [on]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Mic Select',0
  Capabilities: enum
  Items: 'Mic1' 'Mic2'
  Item0: 'Mic1'
Simple mixer control 'Video',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Mono
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono: Playback 4 [13%] [-28.50dB] [off]
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Playback AC97-SPSA',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 3
  Mono: 0 [0%]
Simple mixer control 'IEC958 Playback Source',0
  Capabilities: enum
  Items: 'PCM' 'Analog In' 'IEC958 In'
  Item0: 'PCM'
Simple mixer control 'PC Speaker',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 15
  Mono: Playback 15 [100%] [0.00dB] [on]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 31 [100%] [12.00dB] [on] Capture [off]
  Front Right: Playback 31 [100%] [12.00dB] [on] Capture [off]
Simple mixer control 'Mono Output Select',0
  Capabilities: enum
  Items: 'Mix' 'Mic'
  Item0: 'Mix'
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [on]
  Front Right: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [on]
  Front Right: Capture [on]
Simple mixer control 'Mix Mono',0
  Capabilities: cswitch cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Front Left: Capture [off]
  Front Right: Capture [off]
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Duplicate Front',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Input Source Select',0
  Capabilities: enum
  Items: 'Input1' 'Input2'
  Item0: 'Input1'
Simple mixer control 'Input Source Select',1
  Capabilities: enum
  Items: 'Input1' 'Input2'
  Item0: 'Input1'
Simple mixer control 'VIA DXS',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [-48.00dB]
  Front Right: Playback 31 [100%] [-48.00dB]
Simple mixer control 'VIA DXS',1
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [-48.00dB]
  Front Right: Playback 31 [100%] [-48.00dB]
Simple mixer control 'VIA DXS',2
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [-48.00dB]
  Front Right: Playback 31 [100%] [-48.00dB]
Simple mixer control 'VIA DXS',3
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [-48.00dB]
  Front Right: Playback 31 [100%] [-48.00dB]

# lspci -nv
00:00.0 0600: 1106:0204
        Subsystem: 1106:0204
        Flags: bus master, medium devsel, latency 64
        Memory at dc000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [80] AGP version 3.0
        Capabilities: [50] Power Management version 2
        Capabilities: [60] HyperTransport: Slave or Primary Interface
        Capabilities: [58] #00 [0000]

00:00.1 0600: 1106:1204
        Subsystem: 1106:1204
        Flags: bus master, medium devsel, latency 0

00:00.2 0600: 1106:2204
        Subsystem: 1106:2204
        Flags: bus master, medium devsel, latency 0

00:00.3 0600: 1106:3204
        Subsystem: 1106:3204
        Flags: bus master, medium devsel, latency 0

00:00.4 0600: 1106:4204
        Subsystem: 1106:4204
        Flags: bus master, medium devsel, latency 0

00:00.7 0600: 1106:7204
        Flags: bus master, medium devsel, latency 0

00:01.0 0604: 1106:b188
        Flags: bus master, 66MHz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: f6a00000-f8afffff
        Prefetchable memory behind bridge: cff00000-d7efffff
        Capabilities: [80] Power Management version 2

00:0f.0 0106: 1106:3349 (prog-if 01)
        Subsystem: 1106:3349
        Flags: bus master, medium devsel, latency 64, IRQ 193
        I/O ports at ec00 [size=8]
        I/O ports at e880 [size=4]
        I/O ports at e800 [size=8]
        I/O ports at e480 [size=4]
        I/O ports at e400 [size=16]
        Memory at febffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [c0] Power Management version 2
        Capabilities: [e0] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-

00:0f.1 0101: 1106:0571 (rev 07) (prog-if 8a)
        Subsystem: 1106:0571
        Flags: bus master, medium devsel, latency 32
        I/O ports at fc00 [size=16]
        Capabilities: [c0] Power Management version 2

00:10.0 0c03: 1106:3038 (rev 90)
        Subsystem: 1106:3038
        Flags: bus master, medium devsel, latency 64, IRQ 201
        I/O ports at e080 [size=32]
        Capabilities: [80] Power Management version 2

00:10.1 0c03: 1106:3038 (rev 90)
        Subsystem: 1106:3038
        Flags: bus master, medium devsel, latency 64, IRQ 209
        I/O ports at e000 [size=32]
        Capabilities: [80] Power Management version 2

00:10.2 0c03: 1106:3038 (rev 90)
        Subsystem: 1106:3038
        Flags: bus master, medium devsel, latency 64, IRQ 193
        I/O ports at dc00 [size=32]
        Capabilities: [80] Power Management version 2

00:10.3 0c03: 1106:3038 (rev 90)
        Subsystem: 1106:3038
        Flags: bus master, medium devsel, latency 64, IRQ 217
        I/O ports at d880 [size=32]
        Capabilities: [80] Power Management version 2

00:10.4 0c03: 1106:3104 (rev 90) (prog-if 20)
        Subsystem: 1106:3104
        Flags: bus master, medium devsel, latency 64, IRQ 209
        Memory at febff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
        Capabilities: [88] Debug port

00:11.0 0601: 1106:3287
        Subsystem: 1106:3287
        Flags: medium devsel
        Capabilities: [c0] Power Management version 2

00:11.5 0401: 1106:3059 (rev 70)
        Subsystem: 1043:81b9
        Flags: bus master, medium devsel, latency 0, IRQ 209
        I/O ports at d400 [size=256]
        Capabilities: [c0] Power Management version 2

00:11.7 0600: 1106:287e
        Subsystem: 1106:287e
        Flags: bus master, medium devsel, latency 128
        Capabilities: [58] HyperTransport: Interrupt Discovery and Configuration

00:12.0 0200: 1106:3065 (rev 7c)
        Subsystem: 1043:80ed
        Flags: bus master, medium devsel, latency 64, IRQ 217
        I/O ports at d000 [size=256]
        Memory at febff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2

00:13.0 0604: 1106:287b
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=04, sec-latency=0

00:13.1 0604: 1106:287a
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        Memory behind bridge: f8b00000-feafffff

00:18.0 0600: 1022:1100
        Flags: fast devsel
        Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 0600: 1022:1101
        Flags: fast devsel

00:18.2 0600: 1022:1102
        Flags: fast devsel

00:18.3 0600: 1022:1103
        Flags: fast devsel

01:00.0 0300: 1106:3108 (rev 01)
        Subsystem: 1043:8129
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 233
        Memory at d0000000 (32-bit, prefetchable) [size=64M]
        Memory at f7000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at f8af0000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [70] AGP version 3.0

02:00.0 0604: 1106:287c
        Flags: bus master, fast devsel, latency 0
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
        Capabilities: [40] Express Root Port (Slot-) IRQ 0
        Capabilities: [68] Power Management version 2
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+

02:00.1 0604: 1106:287d
        Flags: bus master, fast devsel, latency 0
        Bus: primary=02, secondary=04, subordinate=04, sec-latency=0
        Capabilities: [40] Express Root Port (Slot-) IRQ 0
        Capabilities: [68] Power Management version 2
        Capabilities: [70] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+

05:0c.0 0400: 14f1:8800 (rev 05)
        Subsystem: 0070:9002
        Flags: bus master, medium devsel, latency 64, IRQ 225
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [44] Vital Product Data
        Capabilities: [4c] Power Management version 2

05:0c.2 0480: 14f1:8802 (rev 05)
        Subsystem: 0070:9002
        Flags: bus master, medium devsel, latency 64, IRQ 225
        Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [4c] Power Management version 2

05:0c.4 0480: 14f1:8804 (rev 05)
        Subsystem: 0070:9002
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        Capabilities: [4c] Power Management version 2

# asoundconf list
Names of available sound cards:
V8251

# cat /etc/asound.conf ~/.asoundrc*
cat: /etc/asound.conf: No such file or directory
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
# </root/.asoundrc.asoundconf>

pcm.!default {
  type hw
  card 0
}

ctl.!default {
  type hw
  card 0
}
# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card V8251
defaults.ctl.card V8251
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix_max_periods 0
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</root/.asoundrc.asoundconf>

# cat /proc/interrupts
           CPU0
  0: 898552 IO-APIC-edge timer
  1: 140 IO-APIC-edge i8042
  7: 2 IO-APIC-edge parport0
  8: 55582 IO-APIC-edge rtc
  9: 1 IO-APIC-level acpi
 12: 2516 IO-APIC-edge i8042
 14: 15435 IO-APIC-edge ide0
 15: 6735 IO-APIC-edge ide1
193: 368 IO-APIC-level libata, uhci_hcd:usb3
201: 0 IO-APIC-level uhci_hcd:usb1
209: 3855 IO-APIC-level uhci_hcd:usb2, ehci_hcd:usb5, VIA8237
217: 18280 IO-APIC-level uhci_hcd:usb4, eth0
225: 365670 IO-APIC-level cx88[0], cx88[0]
233: 100000 IO-APIC-level via@pci:0000:01:00.0
NMI: 0
LOC: 898485
ERR: 0
MIS: 0

Revision history for this message
Daniel T Chen (crimsun) wrote :

Mute 'IEC958'.

Changed in alsa-lib:
importance: Undecided → Low
status: Unconfirmed → Needs Info
Revision history for this message
Patrick Dixon (patrick-dixon) wrote :

Makes no difference.

What more info do you need?

(It's high importance to me!)

Revision history for this message
Daniel T Chen (crimsun) wrote :

Mute 'External Amplifier'; unmute 'Duplicate Front'; individually try the values 3, 2, 1 for 'IEC958 Playback AC97-SPSA'.

Revision history for this message
Patrick Dixon (patrick-dixon) wrote :

Yes, I have tried all the options available in alsamixer - but still no sound.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Please attach ``dmesg'' output.

Revision history for this message
Patrick Dixon (patrick-dixon) wrote :

Thanks for looking at this. I've spent two days without getting any where and I've run out of ideas.

I've checked permission and that users are members of audio group

# ls -ls /dev/dsp
0 crw-rw---- 1 root audio 14, 3 2007-01-29 09:16 /dev/dsp
# ls -ls /dev/mixer
0 crw-rw---- 1 root audio 14, 0 2007-01-29 09:16 /dev/mixer

# cat /etc/group |grep audio
audio:x:29:patrick,mythtv

And I've passed the following flags at boot, without any improvement (although nosmp had a pretty negative effect!)

noacpi
nolapic
nosmp
noirqdebug
pci=conf1

I've also tried this, although I'm not sure what the error tells me.

#aplay -D hw:0,0 /downloads/english.au
ALSA lib confmisc.c:1283:(snd_func_refer) Unable to find definition 'defaults.namehint.extended'
ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3972:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM hw:0,0
aplay: main:545: audio open error: No such file or directory

Revision history for this message
Patrick Dixon (patrick-dixon) wrote :

After a week of googling, I'm still no further forward on this and I haven't found ant evidence of anyone getting sound working with this motherboard on Linux.

However, I have discovered that it is actually playing sounds, just very, very quietly. With everything turned up high, and ear pressed to speaker, you can just hear the sounds (speakers and amplifier test out fine with a pci soundcard in the same machine). Does this shed any light to anybody ... help!

Revision history for this message
Patrick Dixon (patrick-dixon) wrote :

After finally giving in and installing Windows, I discovered that this was caused by a motherboard fault. The fault is now cleared and sound works correctly (Hooray!).

So thanks for looking, and sorry for wasting anyone's time.

Revision history for this message
Andrew Ash (ash211) wrote :

Those hardware problems will do it! Let us know if you still have problems using a board without hardware failure!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.