Bug 191076

Summary: Unable to record sound by microphone with SB Live
Product: [Fedora] Fedora Reporter: Marcin Zajaczkowski <mszpak>
Component: alsa-libAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: thomas, twegener, vlada
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-08 11:28:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marcin Zajaczkowski 2006-05-08 18:33:12 UTC
Description of problem:

It's impossible to record any sound from a microphone. I've tried with autacity
(OSS), rawrec (OSS), arecord (ALSA) and kiax/iaxclient (Voip client) (OSS). The
only thing I was able to record was sound from "Wave" channel (when I chose to
record from it). I have Sound Blaster Live 5.1.

Version-Release number of selected component (if applicable):
1.0.11-3.rc2.2

How reproducible:
Always

Steps to Reproduce:
1. Try to record sound with any program
  
Actual results:
Nothing is recorded.

Expected results:
Voice (detected by microphone) is recorded.

Additional info:
Problem seems to be fixed in alsa-lib 1.0.11 final version (1.0.11-2) available
from: http://people.redhat.com/stransky/alsa/index.html
Unfortunately there is sound settings restoration broken in alsa-utils-1.0.11-2
available from that location (it's needed to use 1.0.11-4.rc2 from FC5, but it's
an another bug).
More info: http://forums.fedoraforum.org/showthread.php?t=105564

It's quite serious for people who use computer to make VoIP calls.

Comment 1 Marcin Zajaczkowski 2006-05-08 18:57:08 UTC
It's related with https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167522 (I
didn't find it earlier), but it's quite old bug and could be fixed in FC5.

Btw, why alsa-lib 1.0.11 final isn't available in FC5 (even in a "Raw Hide")?

Comment 2 Martin Stransky 2006-05-15 14:56:59 UTC
You can use 1.0.11 final drivers and alsa-lib/utils from FC5, alsa packages on
my site are for debugging only. ALSA drivers in kernel depends on kernel
upstream....
so, do alsa drivers 1.0.11 work for you?

Comment 3 Marcin Zajaczkowski 2006-05-15 20:05:36 UTC
After installation proces of FC5 I upgraded kernel package to 2.6.16-1.2111_FC5
(and made other available updates). The sound wasn't recorded. Later I upgraded
alsa-lib to 1.0.11-2 and alsa-utils to 1.0.11-2 (from your site) and I was able
to record sound (drivers from kernel remain unchanged).

Due to problem with restoration of sound settings (wasn't loaded at startup, but
"/usr/sbin/alsactl restore 0" called by hand worked) I had to downgrade
alsa-utils to 1.0.11-4 (from Fedora Updates).

After that operations I can record sound using my microphone and sound settings
restoration works properly.


Comment 4 Vladimir Kotal 2006-07-06 23:41:35 UTC
Oh well, I hoped that bug 167522 will be fixed in FC5 but it is not. I am seeing
the same problem with 

[techie@erazim ~]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.11rc4 (Wed Mar 22 10:27:24
2006 UTC).
[techie@erazim ~]$ rpm -q kernel
kernel-2.6.16-1.2111_FC5
kernel-2.6.17-1.2139_FC5
[techie@erazim ~]$

Any estimations on when 1.0.11 final version (with working sound recording) will
hit FC5 updates ?

Comment 5 Thomas Antony 2006-07-07 17:57:18 UTC
I did have very similiar problems with my SB Live Player 5.1 [SB0060].
When i speak into the microphone there was no sound recorded, but i did hear my
voice through the speakers.
I had to open alsamixer and set in capture mic as caputure device (the default
was cd?!?!?) and turn capture and ac97 louder. After this changes sound
recording worked again, but i still did hear myself through the speaker. After i
set in Playback AC97 to 0, everything worked as it should.
When i change something in the Gnome volume control under recording, sound
recording is broken again and i need to change the setting another time with
alsamixer.
I can reproduce this bug with every fresh install since FC3.

Comment 6 Vladimir Kotal 2006-07-08 14:49:30 UTC
This looks like another long "unable to record sound with SB5.1 on FC" thread
has been started. I have tried to select the mic via alsamixer. (I have two
choices - Mic1 and Mic2, none of them worked) 

I am not able to hear myself in the speakers no matter what I do. I will try to
use Martin Stransky's alsa-lib and see if it works.

Comment 7 Vladimir Kotal 2006-07-08 14:57:21 UTC
I have tried to rpmbuild alsa-utils which went fine, but alsa-lib gave me this
weird error:

[root@erazim alsa-problems]#  rpmbuild --rebuild alsa-lib-1.0.11-2.src.rpm
Installing alsa-lib-1.0.11-2.src.rpm
warning: user komat does not exist - using root
warning: group komat does not exist - using root
warning: user komat does not exist - using root
warning: group komat does not exist - using root
warning: user komat does not exist - using root
warning: group komat does not exist - using root
warning: user komat does not exist - using root
warning: group komat does not exist - using root
error: Failed build dependencies:
        doxygen is needed by alsa-lib-1.0.11-2.i386

Why alsa-lib needs doxygen for building ? Also, if it needs special user, it
should create it.

Comment 8 Martin Stransky 2006-08-08 11:27:55 UTC
alsa-lib contains a documantation generated by doxygen during compilation. You
don't have to care about user, root is fine...


Comment 9 Vladimir Kotal 2006-08-08 21:05:13 UTC
alsa-lib package should do really better and use root straight ahead. using
unknown user looks at least suspicious.

Comment 10 Vladimir Kotal 2006-08-08 21:07:13 UTC
which version of kernel package contains the fix ? when it will be released
outside rawhide ?

Comment 11 Martin Stransky 2006-08-09 06:46:25 UTC
I'm afraid there isn't any kernel with 1.0.11 driver available for FC5...

Comment 12 Vladimir Kotal 2006-08-09 07:55:20 UTC
So the Resolution field should be set to NEXTVERSION and not RAWHIDE. I'm
getting feeling of deja-vu. This means that for 2 whole releases of Fedora sound
recording with SB Live 5.1 is not possible.

Comment 13 Vladimir Kotal 2006-10-21 09:08:14 UTC
Hah, there is kernel with 1.0.12 driver for FC5 !

[root@erazim Notes]# uname -a
Linux erazim.local.lab.devnull.cz 2.6.18-1.2200.fc5 #1 Sat Oct 14 16:59:26 EDT
2006 i686 athlon i386 GNU/Linux
[root@erazim Notes]# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50
2006 UTC).

but the sound recording still does not work. Going to submit another bug.

Comment 14 Vladimir Kotal 2006-11-18 19:43:46 UTC
In case someone finds this bug: it is very important to unmute AC97 channel.
(works on FC6)