LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-05-2009, 05:32 AM   #1
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Rep: Reputation: 41
Mic works, but doesn't record on Slackware 13 + Pulseaudio woes


Hey, I'm having trouble using a microphone under Slackware 13. I've turned up all possible microphone levels in alsamixer, and I can hear myself through the headphones loud and clear, but can't record anything. $ arecord and $ aplay give me silence.

Also, Skype calls are useless, because I can hear everything, but the other side can't hear me. I've tried all kinds of sound device settings with the Skype Test Call thing, but nothing worked.

I also realized that Skype (from Slackbuilds.org) gives this error message when starting it from bash:

Code:
bass@Slackware:~$ skype 
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
Is this correlated with the mic problem, or is it just pulseaudio? I wanted to install PA 0.9.15 to use the latest Skype version, but it fails because libtool is too old.

First priority though is getting that dratted mic to work. Any guidance is greatly appreciated!

EDIT: Device is Intel HD Audio.

-A

Last edited by Ahmed; 09-05-2009 at 06:33 AM.
 
Old 09-05-2009, 05:54 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Maybe you need to change the input source to be able to use the microphone. If you run alsamixer, hit F4 to get to the capture settings, you'll hopefully see settings for "Input Source". Switch between the various items for those (using the up or down arrow keys) and see if that makes a difference.

Not sure about PulseAudio. I'm using the latest version of Skype (2.1 beta) on Slackware 13 and I don't need PulseAudio.
 
Old 09-05-2009, 06:44 AM   #3
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Nylex View Post
Maybe you need to change the input source to be able to use the microphone. If you run alsamixer, hit F4 to get to the capture settings, you'll hopefully see settings for "Input Source". Switch between the various items for those (using the up or down arrow keys) and see if that makes a difference.

Not sure about PulseAudio. I'm using the latest version of Skype (2.1 beta) on Slackware 13 and I don't need PulseAudio.
There's no Input source anywhere in Alsamixer. I forgot to mention that this is a simple Intel HD Audio chip. Maybe it doesn't support that option..

Anyway when starting the static version of 2.1 beta (after having removed pulseaudio), I get this:

Code:
bass@Slackware:~$ Source/skype_static-2.1.0.47/skype 
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM null
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM null
ALSA lib pcm.c:2162:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
....
I can still hear sounds and stuff, but the mic is still not working. I think it's a general audio problem, and not Skype, because everything else is working really well..

Any ideas what it could be? Thanks!

-A
 
Old 09-05-2009, 06:49 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Can you post lspci output for your audio device please? Just so we can see what the hardware actually is. What kind of machine is this?

Also, have you tried the dynamic version of Skype 2.1?
 
Old 09-05-2009, 07:12 AM   #5
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Nylex View Post
Can you post lspci output for your audio device please? Just so we can see what the hardware actually is. What kind of machine is this?

Also, have you tried the dynamic version of Skype 2.1?
Here's lspci (I've marked the audio device with an arrow).
Code:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
---->  00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
05:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
05:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
05:06.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
05:06.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
05:06.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
05:06.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
I actually tried installing the dynamic Skype version via a modified Slackbuild, but it seg-faulted. I didn't install the kde package set at all, so maybe it's just the missing dependencies.

But the sound problem is most probably not with Skype, because recording a wave file via ALSA simply doesn't work either.

Thanks!

-A
 
Old 09-05-2009, 07:23 AM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Strange. My audio device is exactly the same and my microphone works fine. In alsamixer/kmix/other mixer, is there a "Front mic boost" slider in the capture controls (again, you'll have to press F4)? If so, try raising that to the maximum level. Also, make sure that the microphone isn't muted! Also, what does alsamixer say for "Card" and "Chip"?

About Skype: not sure what the problem is there then. You definitely need Qt 4.x installed for Skype, but that is in l/ rather than kde/.

Also, I'm running the 32-bit version of Slackware 13. Are you running the 64-bit version?
 
Old 09-05-2009, 07:45 AM   #7
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Nylex View Post
Strange. My audio device is exactly the same and my microphone works fine. In alsamixer/kmix/other mixer, is there a "Front mic boost" slider in the capture controls (again, you'll have to press F4)? If so, try raising that to the maximum level. Also, make sure that the microphone isn't muted! Also, what does alsamixer say for "Card" and "Chip"?

About Skype: not sure what the problem is there then. You definitely need Qt 4.x installed for Skype, but that is in l/ rather than kde/.

Also, I'm running the 32-bit version of Slackware 13. Are you running the 64-bit version?
Here's the output of amixer by the way:


Code:
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [-12.00dB] [on]
  Front Right: Playback 23 [74%] [-12.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [0.00dB] [on]
  Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [on]
  Front Left: Playback 23 [74%] [0.00dB] [on]
  Front Right: Playback 23 [74%] [0.00dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 10 [67%] [15.00dB] [off]
  Front Right: Capture 10 [67%] [15.00dB] [off]
Simple mixer control 'Mix',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Mono:
  Front Left: Playback 15 [100%] [0.00dB] [off]
  Front Right: Playback 15 [100%] [0.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'External Amplifier',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 21 [68%] [-3.00dB] [on]
  Front Right: Playback 21 [68%] [-3.00dB] [on]
Alsamixer says:

Code:
Card: HDA Intel
Chip: Analog Devices AD1986A
Here's what I have in the Capture section:

Mic: Above this is "CAPTUR" and "L R" in red. Nothing editable
Mic Boos: Set to 33
Capture: Set to 67
Mix: Can't do anything here
Digital: 50
Internal: Can't do anything either.

/Edit: In the other sections, nothing is muted, except for "Beep".

I'm also on Slackware 32 by the way.

Thanks a lot for taking the time

-A

Last edited by Ahmed; 09-05-2009 at 07:48 AM.
 
Old 09-05-2009, 07:57 AM   #8
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
There are a lot of Intel HD Audio Controller's these days. Be more specific with the codec:
Code:
cat /proc/asound/card0/codec#* | grep Codec
I have a ThinkPad T61 and the mic didn't work on it with Skype, either. I finally gave up
and just boot into Vista when I do a Skype video call.
 
Old 09-05-2009, 08:12 AM   #9
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Bruce Hill View Post
There are a lot of Intel HD Audio Controller's these days. Be more specific with the codec:
Code:
cat /proc/asound/card0/codec#* | grep Codec
I have a ThinkPad T61 and the mic didn't work on it with Skype, either. I finally gave up
and just boot into Vista when I do a Skype video call.
Here's the output:

Code:
bass@Slackware:~$ cat /proc/asound/card0/codec#* |grep Codec
Codec: Analog Devices AD1986A
Codec: LSI ID 1040
Using another OS is unfortunately not an option for me, as I don't have the disk space for another OS on this machine. And besides, that'd be quite a nuisance (which you probably will agree with me on) AND I trust Slackware enough to know that a solution is possible

Thanks for any tips!

-A
 
Old 09-05-2009, 08:17 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you happen to have a rear microphone port on your machine? If so, have you tried it? I just did a quick google and saw some threads on this (e.g. http://ubuntuforums.org/showthread.php?t=125487). Obviously, that might not apply to your machine.

I am, unfortunately, out of ideas .
 
Old 09-05-2009, 09:13 AM   #11
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware
Posts: 386

Original Poster
Rep: Reputation: 41
Quote:
Originally Posted by Nylex View Post
Do you happen to have a rear microphone port on your machine? If so, have you tried it? I just did a quick google and saw some threads on this (e.g. http://ubuntuforums.org/showthread.php?t=125487). Obviously, that might not apply to your machine.

I am, unfortunately, out of ideas .
There is a built-in mic in the machine, but it's not working either
Maybe if I remove alsa from the kernel and compile my own, I could get a driver that actually works.

Anyway thanks a lot for the help! If nobody else has a solution I could report it to the Slackware developers.

-A
 
Old 09-07-2009, 01:37 PM   #12
alexiy
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Slackware-current x86_64,
Posts: 51

Rep: Reputation: 18
Quote:
Originally Posted by Bruce Hill View Post
There are a lot of Intel HD Audio Controller's these days. Be more specific with the codec:
Code:
cat /proc/asound/card0/codec#* | grep Codec
I have a ThinkPad T61 and the mic didn't work on it with Skype, either. I finally gave up
and just boot into Vista when I do a Skype video call.
The same with me... T61 microphone doesn't work... No solutions so far?.

Last edited by alexiy; 09-07-2009 at 02:23 PM.
 
Old 09-07-2009, 02:23 PM   #13
alexiy
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Slackware-current x86_64,
Posts: 51

Rep: Reputation: 18
Quote:
Originally Posted by alexiy View Post
The same with me... T61 microphone doesn't work... No solutions so far?
Hi, I got it working though...
 
Old 09-07-2009, 02:51 PM   #14
alefmk
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
This is similar to my problem. Sound works perfectly when starting runlevel 3 and than starting X, but not when starting directly to runlevel 4. What runlevel are you starting with?
 
Old 09-07-2009, 05:43 PM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by alexiy View Post
Hi, I got it working though...
Please post how you got it working, to help those less fortunate than you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Sound (Mic) not working in Fedora 9 pulseaudio MikeyCarter Linux - Software 0 07-30-2008 10:01 AM
pulseaudio +Mic problems setlec_seta Mandriva 4 06-08-2008 06:07 PM
Can't record from Mic sabre307 Linux - Hardware 10 05-27-2006 06:06 PM
how to record from mic ginda Linux - Newbie 1 05-24-2006 02:57 AM
Unable to record mic-in with SoundBlaster Live! while able to record other sources max76230 Linux - Newbie 2 03-14-2005 04:31 AM


All times are GMT -5. The time now is 11:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration