Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-29-2006, 12:48 PM
|
#1
|
Member
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65
Rep:
|
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
|
|
|
12-29-2006, 01:03 PM
|
#2
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
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.
|
|
|
12-29-2006, 05:58 PM
|
#3
|
Member
Registered: Sep 2005
Distribution: Slackware 13.1
Posts: 65
Original Poster
Rep:
|
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
|
|
|
01-07-2007, 04:38 PM
|
#4
|
LQ Newbie
Registered: Jan 2007
Posts: 3
Rep:
|
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.
|
|
|
02-07-2007, 01:12 PM
|
#5
|
LQ Newbie
Registered: Sep 2006
Distribution: Slackware
Posts: 15
Rep:
|
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
|
|
|
02-08-2007, 07:30 AM
|
#6
|
LQ Newbie
Registered: Jan 2007
Posts: 3
Rep:
|
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.
|
|
|
02-08-2007, 11:06 AM
|
#7
|
LQ Newbie
Registered: Sep 2006
Distribution: Slackware
Posts: 15
Rep:
|
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
|
|
|
02-08-2007, 11:19 AM
|
#8
|
Member
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|