Newbie question - cannot get sound to work in Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've just started to play with Ubuntu, but cannot get the sound system and
ALSA to work. No help from the Ubuntu forums, so I'm hoping for help here.

The configuration looks OK to my totally untutored gaze, but when I try to
do anything it doesn't work. The sound card's a fairly old (2000 vintage)
SB Live! card.

The "test" buttons in Preferences|Sound give errors like
"audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink: Could not open resource for writing."

Typing "alsamixer" in a terminal window gives:
"alsamixer: function snd_ctl_open failed for default: No such device"

Trying to record gave:
$ arecord -d 20 -f cd
ALSA lib confmisc.c:769:(parse_card) cannot find card 'ï¿œg_driver'
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
arecord: main:545: audio open error: No such device

When trying to use Sound Recorder in GNOME I get a window saying:
Your audio capture settings are invalid. Please correct them in the Multimedia settings.


Other terminal output which might be of help is (fairly long I'm afraid):

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Live [SBLive! Value [CT4830]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Live [SBLive! Value [CT4830]], device 1: emu10k1 mic [Mic Capture]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Live [SBLive! Value [CT4830]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


$ arecord -Ldefault:CARD=Live
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    Default Audio Device
front:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround40:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Live,DEV=0
    SBLive! Value [CT4830], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=Live,DEV=0
    SBLive! Value [CT4830], Multichannel Capture/PT Playback
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)

Contents of various /proc/asounds files:

/proc/asound$ cat cards
0 [Live ]: EMU10K1 - SBLive! Value [CT4830]
SBLive! Value [CT4830] (rev.7, serial:0x80261102) at 0xd400, irq 11

/proc/asound$ cat devices
2: : timer
3: : sequencer
4: [ 0- 0]: hardware dependent
5: [ 0- 0]: raw midi
6: [ 0- 3]: digital audio playback
7: [ 0- 2]: digital audio playback
8: [ 0- 2]: digital audio capture
9: [ 0- 1]: digital audio capture
10: [ 0- 0]: digital audio playback
11: [ 0- 0]: digital audio capture
12: [ 0] : control
13: [ 0- 2]: hardware dependent
14: [ 0- 1]: raw midi
15: [ 0- 2]: raw midi

/proc/asound$ cat hwdep
00-00: EMU10K1 (FX8010)
00-02: Emux WaveTable

/proc/asound$ cat version
Advanced Linux Sound Architecture Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC).

/proc/asound$ cat modules
0 snd_emu10k1

/proc/asound$ cat pcm
00-03: emu10k1 : Multichannel Playback : playback 1
00-02: emu10k1 efx : Multichannel Capture/PT Playback : playback 8 : capture 1
00-01: emu10k1 mic : Mic Capture : capture 1
00-00: emu10k1 : ADC Capture/Standard PCM Playback : playback 32 : capture 1

/proc/asound$ cat timers
G0: system timer : 4000.000us (10000000 ticks)
C0-0: EMU10K1 timer : 20.833us (1024 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-0-2: PCM playback 0-0-2 : SLAVE
P0-0-4: PCM playback 0-0-4 : SLAVE
P0-0-6: PCM playback 0-0-6 : SLAVE
P0-0-8: PCM playback 0-0-8 : SLAVE
P0-0-10: PCM playback 0-0-10 : SLAVE
P0-0-12: PCM playback 0-0-12 : SLAVE
P0-0-14: PCM playback 0-0-14 : SLAVE
P0-0-16: PCM playback 0-0-16 : SLAVE
P0-0-18: PCM playback 0-0-18 : SLAVE
P0-0-20: PCM playback 0-0-20 : SLAVE
P0-0-22: PCM playback 0-0-22 : SLAVE
P0-0-24: PCM playback 0-0-24 : SLAVE
P0-0-26: PCM playback 0-0-26 : SLAVE
P0-0-28: PCM playback 0-0-28 : SLAVE
P0-0-30: PCM playback 0-0-30 : SLAVE
P0-0-32: PCM playback 0-0-32 : SLAVE
P0-0-34: PCM playback 0-0-34 : SLAVE
P0-0-36: PCM playback 0-0-36 : SLAVE
P0-0-38: PCM playback 0-0-38 : SLAVE
P0-0-40: PCM playback 0-0-40 : SLAVE
P0-0-42: PCM playback 0-0-42 : SLAVE
P0-0-44: PCM playback 0-0-44 : SLAVE
P0-0-46: PCM playback 0-0-46 : SLAVE
P0-0-48: PCM playback 0-0-48 : SLAVE
P0-0-50: PCM playback 0-0-50 : SLAVE
P0-0-52: PCM playback 0-0-52 : SLAVE
P0-0-54: PCM playback 0-0-54 : SLAVE
P0-0-56: PCM playback 0-0-56 : SLAVE
P0-0-58: PCM playback 0-0-58 : SLAVE
P0-0-60: PCM playback 0-0-60 : SLAVE
P0-0-62: PCM playback 0-0-62 : SLAVE
P0-1-1: PCM capture 0-1-1 : SLAVE
P0-2-0: PCM playback 0-2-0 : SLAVE
P0-2-1: PCM capture 0-2-1 : SLAVE
P0-2-2: PCM playback 0-2-2 : SLAVE
P0-2-4: PCM playback 0-2-4 : SLAVE
P0-2-6: PCM playback 0-2-6 : SLAVE
P0-2-8: PCM playback 0-2-8 : SLAVE
P0-2-10: PCM playback 0-2-10 : SLAVE
P0-2-12: PCM playback 0-2-12 : SLAVE
P0-2-14: PCM playback 0-2-14 : SLAVE
P0-3-0: PCM playback 0-3-0 : SLAVE

/proc/asound$ cat /etc/modprobe.d/alsa-base
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; : ; }
install snd-pcm /sbin/modprobe --ignore-install snd-pcm && { /sbin/modprobe --quiet snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer && { /sbin/modprobe --quiet snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq && { /sbin/modprobe --quiet snd-seq-midi ; /sbin/modprobe --quiet snd-seq-oss ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe -Qb saa7134-alsa ; : ; }

# Load snd-seq for devices that don't have hardware midi;
# Ubuntu #26283, #43682, #56005; works around Ubuntu #34831 for
# non-Creative Labs PCI hardware
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe -Qb snd-seq ; }
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
options snd-emu10k1 index=0
# I put in the above line at the suggestion of a comment in a Linux
# bulletin board - it doesn't make any difference.
 
I hope someone can help me here, or I'll have to go back to Windows.

Peter Toye
mailto:alsa@xxxxxxxxx
www.ptoye.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux