No sound with ALSA after upgrading to 8.10

Asked by MT

Im writing because none of the answers i found seem to solve the problem. I have a laptop with its onboard sound card and i have also usb speakers. This are the ones i used by default and with ALSA. After upgrading ubuntu i got this message on test:
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open audio device for playback.
The only thing that works is OSS which is outdated. By using asoundconf set-default-card i managed to temporary make it work but after restart conf was screwed up again. Also every time i tried this command i removed from my user home directory the files .asoundrc*.

Here is my configuration:
lspci -vn && cat /proc/asound/cards ~/.asoundrc* && amixer
00:00.0 0600: 1039:0661 (rev 11)
 Flags: bus master, medium devsel, latency 64
 Memory at e0000000 (32-bit, non-prefetchable) [size=32M]
 Capabilities: <access denied>
 Kernel driver in use: agpgart-sis
 Kernel modules: sis-agp

00:01.0 0604: 1039:0003
 Flags: bus master, 66MHz, fast devsel, latency 99
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
 I/O behind bridge: 00009000-00009fff
 Memory behind bridge: e2100000-e21fffff
 Prefetchable memory behind bridge: e8000000-efffffff
 Kernel modules: shpchp

00:02.0 0601: 1039:0963 (rev 25)
 Flags: bus master, medium devsel, latency 0

00:02.1 0c05: 1039:0016
 Flags: medium devsel
 I/O ports at 8100 [size=32]
 Kernel driver in use: sis96x_smbus
 Kernel modules: i2c-sis96x

00:02.5 0101: 1039:5513 (prog-if 80 [Master])
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 128, IRQ 18
 [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
 [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
 [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
 [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
 I/O ports at 1000 [size=16]
 Kernel driver in use: pata_sis
 Kernel modules: pata_sis

00:02.6 0703: 1039:7013 (rev a0)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 173, IRQ 17
 I/O ports at 1400 [size=256]
 I/O ports at 1080 [size=128]
 Capabilities: <access denied>
 Kernel driver in use: Intel ICH Modem
 Kernel modules: snd-intel8x0m

00:02.7 0401: 1039:7012 (rev a0)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 173, IRQ 17
 I/O ports at 1c00 [size=256]
 I/O ports at 1800 [size=128]
 Capabilities: <access denied>
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0

00:03.0 0c03: 1039:7001 (rev 0f) (prog-if 10)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 64, IRQ 19
 Memory at e2000000 (32-bit, non-prefetchable) [size=4K]
 Kernel driver in use: ohci_hcd
 Kernel modules: ohci-hcd

00:03.1 0c03: 1039:7001 (rev 0f) (prog-if 10)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 64, IRQ 20
 Memory at e2001000 (32-bit, non-prefetchable) [size=4K]
 Kernel driver in use: ohci_hcd
 Kernel modules: ohci-hcd

00:03.3 0c03: 1039:7002 (prog-if 20)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 64, IRQ 22
 Memory at e2002000 (32-bit, non-prefetchable) [size=4K]
 Capabilities: <access denied>
 Kernel driver in use: ehci_hcd
 Kernel modules: ehci-hcd

00:04.0 0200: 1039:0900 (rev 91)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 173, IRQ 16
 I/O ports at 2000 [size=256]
 Memory at e2003000 (32-bit, non-prefetchable) [size=4K]
 [virtual] Expansion ROM at 58000000 [disabled] [size=128K]
 Capabilities: <access denied>
 Kernel driver in use: sis900
 Kernel modules: sis900

00:06.0 0607: 1524:1410 (rev 01)
 Subsystem: 1025:0082
 Flags: bus master, medium devsel, latency 168, IRQ 16
 Memory at 58020000 (32-bit, non-prefetchable) [size=4K]
 Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
 Memory window 0: 50000000-53fff000 (prefetchable)
 Memory window 1: 54000000-57fff000
 I/O window 0: 00002400-000024ff
 I/O window 1: 00002800-000028ff
 16-bit legacy interface ports at 0001
 Kernel driver in use: yenta_cardbus
 Kernel modules: yenta_socket

00:0b.0 0280: 14e4:4318 (rev 02)
 Subsystem: 1468:0312
 Flags: bus master, fast devsel, latency 64, IRQ 21
 Memory at e2004000 (32-bit, non-prefetchable) [size=8K]
 Kernel driver in use: b43-pci-bridge
 Kernel modules: ssb, bcm43xx

01:00.0 0300: 1039:6330
 Subsystem: 1025:0082
 Flags: 66MHz, medium devsel, IRQ 7
 BIST result: 00
 Memory at e8000000 (32-bit, prefetchable) [size=128M]
 Memory at e2100000 (32-bit, non-prefetchable) [size=128K]
 I/O ports at 9000 [size=128]
 Capabilities: <access denied>
 Kernel modules: sisfb

 0 [SI7012 ]: ICH - SiS SI7012
                      SiS SI7012 with ALC203 at irq 17
 1 [default ]: USB-Audio - C-Media USB Audio
                      C-Media INC. C-Media USB Audio at usb-0000:00:03.1-2, full speed
 2 [Modem ]: ICH-MODEM - SiS SI7013 Modem
                      SiS SI7013 Modem at irq 17
# ALSA library configuration file

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

# 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 1
defaults.ctl.card 1
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.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
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
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 43691 [67%] [on]
  Front Right: Playback 43691 [67%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 21845 [33%] [on]
  Front Right: Capture 21845 [33%] [on]

 aplay -l
**** Seznam PLAYBACK Hardwarových zařízení ****
karta 0: SI7012 [SiS SI7012], zařízení 0: Intel ICH [SiS SI7012]
  Podzařízení: 1/1
  Podzařízení #0: subdevice #0
karta 1: default [C-Media USB Audio ], zařízení 0: USB Audio [USB Audio]
  Podzařízení: 0/1
  Podzařízení #0: subdevice #0
karta 2: Modem [SiS SI7013 Modem], zařízení 0: Intel ICH - Modem [SiS SI7013 Modem - Modem]
  Podzařízení: 0/1
  Podzařízení #0: subdevice #0

 asoundconf list
Names of available sound cards:
SI7012
default
Modem

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
MT
Solved:
Last query:
Last reply:
Revision history for this message
MT (micdhack) said :
#1

Found another work around which is much better.
I installed pulseaudio device chooser and all other related to pulse audio.
The from sound setup i put every device on the menu to load from pulse audio server. Then from pulse audio device chooser i tweaked the configuration to suit my needs. Turns out you can specify which application you would like to use which device..and as i read i found out more that pulse audio has some cool features.
I dont know if the changes will remain after restart.. i will post here the results

Revision history for this message
MT (micdhack) said :
#2

Changes remain after reboot and everything works fine with pulse audio