LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-02-2005, 03:12 AM   #16
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66

You're right. My fault. tail won't stop unless you hit Ctrl+C.
modprobesound.log being empty is a good sign: this means that the modprobe commands gave no errors. As for ksound.log, it does not say a lot, except that the module loaded correctly, which should mean that: 1/ this is the right module, and 2/ it IS loaded.
And according to this line in your /etc/modprobe.conf:
Code:
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
this also means that hopefully "alsactl restore" was run correctly.
SO...
The problem does seem to come from the software side. I see two solutions:
- either your modules options are not correctly set,
- or your mixer settings (which are saved on unloading of the sound module).
Either of which is somehow corrected by the alsaplayer...

First thing, I would change some things in your /etc/modprobe.conf. Replace:
Code:
alias snd-card-0 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
with:
Code:
# ALSA portion
alias snd-card-0 snd-intel8x0
alias char-major-14 soundcore
alias char-major-116 snd
# OSS/Free emulation portion
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# Constraints
install snd-intel8x0 /sbin/modprobe --first-time --ignore-install snd-intel8x0 && { /sbin/modprobe snd-pcm-oss; /usr/sbin/alsactl restore; /bin/true; }
remove snd-intel8x0 { /usr/sbin/alsactl store; /sbin/modprobe -r snd-pcm-oss; } ; /sbin/modprobe -r --first-time --ignore-remove snd-intel8x0
The alias things are standard ALSA config, AFAIK. And I removed the ">/dev/null 2>&1" because there's no reason why errors should be hidden. This keeps you from finding where problems are.

After reboot, I would start alsamixer, and change mixer settings to be OK for playing sound, and just after that, run "alsactl store" once as root.

Now, what happens after reboot? And if things still are not as you want, what is the new content of the two .log files if you do the same as before? (now we should have more information in case of failure)

Yves.

Last edited by theYinYeti; 02-02-2005 at 03:17 AM.
 
Old 02-05-2005, 03:51 PM   #17
bcal
Member
 
Registered: Nov 2004
Distribution: FC3/winXP dual-boot
Posts: 61

Original Poster
Rep: Reputation: 15
To those who have been helping me out, my apologies for being off the air for a few days. YinYeti, I tried what you described, no joy I'm afraid. Now when I run the commands, both files are empty.

ok, new info. Audacity will record once I run alsamixer and set the capture level to max. no surprise there I guess, but it was a surprise to me to find that there were more settings (including the "capture" setting) in alsamixer than those that fit on the screen - scrolling right beyond the screen margins hadn't occurred to be before I read it in another thread.

So, I have hiked up the capture setting, run "alsactrl store" and found on another, older thread here that to use these stored settings requires the command "alsactrl restore", which I have put in my user .bashrc file so it gets executed when I logon (that's right, isn't it?)

BUT, that doesn't actually solve the problem. As long as i boot and go straight to audacity without using another fedora-supplied audio package (controlled by arts I suppose), audacity will record. If I use any sound package other than audacity, I need to set the capture level in alsamixr or run "alsactl restore" again before audacity will work. Is this just the inevitable result of FC2's having arts as its native sound controller and alsa being a imported package?

I guess I could set up and alias in the .bashrc file that combines alsactl restore with calling audacity, but then I'd have to call it from the CLI rather than the GUI menu.

Without wanting to sound ungrateful, I kind of feel I'm wasting other people's time here with a very minor problem - I didn't think the thread would run to two pages of posts. At least I know a workaround for this, there's far more important problems out there! Thanks for all the help, I appreciate it.
 
Old 01-26-2006, 04:15 AM   #18
mentaltofu
LQ Newbie
 
Registered: Dec 2005
Posts: 23

Rep: Reputation: 15
a multitude of gratitude

Quote:
Originally Posted by theYinYeti
I didn't mean creating an empty file. Here I quote myself from a previous post:

So your soundcard module has to be in this file.

Yves.

this fixed the problem i had with having to run alsaconf every time i rebooted if i wanted to use audacity at all. THANKS! ive been struggling with this for about 7 hours straight, trying everything i could imagine or find. painfully easy solution, but now i can sleep. THANKS! and give it a whirl if you haven't already.

~ brian
 
Old 02-05-2006, 03:46 PM   #19
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
You're welcome! I'm glad to help when I can.

Yves.
 
  


Reply



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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Alsa sound *jumpy*: alsa-space: xrun of at least 11.449 msecs. resetting stream qwijibow Linux - General 6 04-22-2006 07:35 PM
ALSA-oss compatability works, but not programs intended for alsa ? qwijibow Linux - Software 5 03-14-2004 07:28 AM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:15 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