LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-29-2006, 12:48 PM   #1
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Rep: Reputation: 16
Audio Recording Fails - Slackware 11.0 & ALSA


Hi there!
I'm having some problmes getting audio recording on my slackware 11.0 box working(it worked using 10.2 but now I can't figure whats wrong).

On my box I have two soundcards;
Creative SB! Audigy LS and an on-board AMD card. I only use the Creative card.

From lspci:
00:07.5 Multimedia audio controller: Advanced Micro Devices
[AMD] AMD-768 [Opus] Audio (rev 03)
02:05.0 Multimedia audio controller: Creative Labs SB Audigy LS

I have my mic plugged in the mic input on the creative card, but i can't record anything with either krec and ecasound.
This is my amixer output:

Code:
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 11 [35%] [off]
  Front Right: Playback 11 [35%] [off]
Simple mixer control '3D Control - Center',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 6 [40%]
Simple mixer control '3D Control - Depth',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 15
  Mono: 6 [40%]
Simple mixer control 'PCM Out Path & Mute',0
  Capabilities: enum
  Items: 'pre 3D' 'post 3D'
  Item0: 'pre 3D'
Simple mixer control 'Line in',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 255
  Front Left: Capture 0 [0%] [off]
  Front Right: Capture 0 [0%] [off]
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 255
  Front Left: Capture 0 [0%] [off]
  Front Right: Capture 0 [0%] [off]
Simple mixer control 'Mic Boost (+20dB)',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Mic Select',0
  Capabilities: enum
  Items: 'Mic1' 'Mic2'
  Item0: 'Mic1'
Simple mixer control 'Phone',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 255
  Front Left: Capture 0 [0%] [off]
  Front Right: Capture 0 [0%] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Center/LFE',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 75 [29%]
  Front Right: Playback 75 [29%]
Simple mixer control 'IEC958 Front',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 96 [38%]
  Front Right: Playback 96 [38%]
Simple mixer control 'IEC958 Rear',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 60 [24%]
  Front Right: Playback 60 [24%]
Simple mixer control 'IEC958 Unknown',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 74 [29%]
  Front Right: Playback 74 [29%]
Simple mixer control 'Aux',0
  Capabilities: cvolume cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 255
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'AC97 Aux',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [on]
  Front Right: Capture 0 [0%] [on]
Simple mixer control 'AC97 Line',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [off]
  Front Right: Capture 0 [0%] [off]
Simple mixer control 'AC97 Mic',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Mono
  Limits: Capture 0 - 31
  Mono: Capture 0 [0%] [off]
Simple mixer control 'Analog Center/LFE',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 92 [36%]
  Front Right: Playback 92 [36%]
Simple mixer control 'Analog Front',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 120 [47%]
  Front Right: Playback 120 [47%]
Simple mixer control 'Analog Rear',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 109 [43%]
  Front Right: Playback 109 [43%]
Simple mixer control 'Analog Side',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 71 [28%]
  Front Right: Playback 71 [28%]
Simple mixer control 'CAPTURE feedback',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 71 [28%]
  Front Right: Playback 71 [28%]
Simple mixer control 'Digital Capture Source',0
  Capabilities: enum
  Items: 'IEC958 out' 'i2s mixer out' 'IEC958 in' 'i2s in' 'AC97 in' 'SRC out'
  Item0: 'i2s in'
Hmm, I really don't know what to do...

Thanks in advance
 
Old 12-29-2006, 01:03 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
You may need to either disable onboard audio, or try switching the order of the cards with "index=" in your modprobe.conf (or modules.conf).

More information on this is in the ALSA-Configuration.txt file in either the kernel docs, or the alsa-driver.
 
Old 12-29-2006, 05:58 PM   #3
Jorek
Member
 
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65

Original Poster
Rep: Reputation: 16
Hi! Thanks for reply!
I have tried to disable the onboard sound card in BIOS, but it still comes up i both alsaconf and lspci(I really don't dislike good hardware support, but detecting a disabled card... The best harware support you get or what!:P)

If anyone have the time to take a look at my amixer output I would appriciate it!
Maybe there is some bad setting there?

Cheers,
Jorek
 
Old 01-07-2007, 04:38 PM   #4
m_sabal
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
I am assuming you are using the 2.6.17.13 kernel. It is compiled with a version of ALSA that contains a known bug in recording. I was hoping someone had released a recompiled kernel with the patched version of ALSA, but it doesn't look like it.
 
Old 02-07-2007, 01:12 PM   #5
slackware-elf
LQ Newbie
 
Registered: Sep 2006
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Did anyone fix this yet?

Hi! I have the exact same problem - Slack 11 + Alsa = output but no input. I can't record with audacity, arecord, skype, nothing. With acrecord, it either records a .wav file that turns out to be empty, or else gives me this error:

arecord: pcm_read:1345: read error: Input/output error

Audacity records garbage or nothing.

The last post mentioned something about a bug in 2.6? If anyone has a solution on how to record under Slack 11 with ALSA, I'd love to hear it. I can also post output from lspci, amixer, whatever, if anyone thinks that'd be helpful. Again, I can play files just fine, on Skype, the British lady talks to me in the test call. I just can't talk back.

Thanks!
Bill
 
Old 02-08-2007, 07:30 AM   #6
m_sabal
LQ Newbie
 
Registered: Jan 2007
Posts: 3

Rep: Reputation: 0
The solution requires recompiling the 2.6 kernel using the patched version of ALSA. I haven't done this yet because I don't record often enough for this to be more than an inconvenience. I figure the next release of Slackware will have it taken care of, and I can wait till then.
 
Old 02-08-2007, 11:06 AM   #7
slackware-elf
LQ Newbie
 
Registered: Sep 2006
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Thanks! Post URL for more info?

Thanks very much. Would you mind posting the URL where you found out about this? I haven't recompiled the kernel before, to say nothing of adding in a patch, so if there's a site where you found this fix I'd be most grateful.

Bill
 
Old 02-08-2007, 11:19 AM   #8
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
Instead of patching the kernel and rebuilding, just download the latest alsa-driver from alsa-project.org. It has a self-contained build environment and is usually more up-to-date than the kernel.
 
  


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
ATIIXP & ALSA & DMix help needed (mplayer & xmms audio same time) Angelus Linux - Hardware 7 06-23-2006 06:05 AM
linux version/software for audio editing & recording?? tashazo Linux - Newbie 6 01-07-2006 07:52 AM
audio device fails to open on arch linux, even after alsa config sether Linux - Hardware 1 10-07-2004 12:43 AM
Slack9.1 & VIA vt8233, sound recording fails Aldaron Linux - General 2 02-26-2004 08:21 AM
recording problems on nforce2 audio using alsa... hollywoodb Linux - Hardware 1 12-02-2003 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration