About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Everything *NIX
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Everything *NIX This is a general forum about all forms of *nix. Post your ideas and thoughts on this wonderful OS family. Talk about your personal favorite flavor of *nix and why you think it's so much better than the others. Anything pertaining to *nix and *nix administration should be posted here.

Reply
 
Thread Tools Display Modes
  #1   Add DeusFacticius to your ignore list  
Old 2007-05-05, 13:36
DeusFacticius DeusFacticius is offline
Regular
 
USA DeusFacticius is an unknown
Default dur, i broked my ALSA!

so i'm running Fedora Core 6-x86_64 at home on my desktop, which has several sound cards installed on it (an integrated, a 4 channel Sound Blaster, and a Sound Blaster Live! 5.1).

my main sound card is the Sound Blaster Live! 5.1, which Fedora Core didn't have any problem initially detecting and defaulting to.

the problem came when i was messing around with the config files, trying to modify the way surround sound worked (so that the rear speakers would play, even with audio sources with less than 6 channels).

so somewhere in that process, i borked my ALSA installation. i really don't know how either... i had to manually create a .asoundrc file in my home directory, played with a bit, and when it wasn't working the way i wanted, deleted it. unfortunately after that my sound card stopped working entirely, even though ALSA is supposed to operate fine w/o a .asoundrc file.

now when i go into the sound config GUI's that came w/ FC6, it still detects my card, but there are no selectable PCM devices on that card, when there used to be about 4 different ones.

the best thing i could probably do would be to completely reset or reinstall alsa, however fedora core does not make this easy, as its completely integrated and is not recognized as an independent package. does anyone know how to do this, or possibly how to repair my ALSA configuration?
Reply With Quote
  #2   Add dfgremnantsunleashed to your ignore list  
Old 2007-05-05, 16:53
dfgremnantsunleashed dfgremnantsunleashed is offline
Regular
 
a.K.a Dfg Send a message via MSN to dfgremnantsunleashed Send a message via Yahoo to dfgremnantsunleashed dfgremnantsunleashed is an unknown
Default Re: dur, i broked my ALSA!

Everything *nix
!
Reply With Quote
  #3   Add BiOPSY to your ignore list  
Old 2007-05-05, 19:53
BiOPSY BiOPSY is offline
Moderator
 
Ft. Payne, Alabama BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful
Default Re: dur, i broked my ALSA!

ALSA is detected as package on my machine:
Code:
[autopsy@localhost ~]$ rpm -qa alsa*
alsa-lib-1.0.12-2.fc6
alsa-utils-1.0.12-3.fc6
[autopsy@localhost ~]$
Maybe you removed ALSA by accident.
Try: alsamixer
from a terminal.
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
Reply With Quote
  #4   Add DeusFacticius to your ignore list  
Old 2007-05-06, 14:42
DeusFacticius DeusFacticius is offline
Regular
 
USA DeusFacticius is an unknown
Default Re: dur, i broked my ALSA!

i had assumed the alsa drivers were seperate from alsa-lib, as it seems on other distro's. particularly on other distro's (and earlier version of fedora), that alsa is considered its own service, which can be start/stopped/restarted like any other service on the machine, but fedora core does not use alsa this way.

here's the tricky part: i've realized that the sound card does actually sometimes work correctly upon boot and continues to operate normally, while other times it doesn't. it seems to be random at best, as this happens on its own without me changing anything at all.

things i've tried doing: upgrading kernel to 2.6.20-1.2948.fc6, upgrading alsa-lib to latest version in rawhide,
adding this:
Code:
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-emu10k1 { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
to my etc/modprobe.conf,
and a hellva lot of googling.

here's a forum post about someone else who had a very similar problem, but their resolution did not work for me:
http://www.linuxquestions.org/questi...d.php?t=512411
this is somewhat similar:
http://www.fedoraforum.org/forum/pri...d.php?t=116444

here's the output of what versions of alsa* packages i have:
Code:
[rick@rocket1 ~]$ rpm -qa alsa*
alsa-lib-devel-1.0.14-0.1.rc1.fc6
alsamixergui-0.9.0-0.3.rc1.fc6
alsa-lib-1.0.14-0.4.rc3.fc7
alsa-utils-1.0.14-0.1.rc1.fc6
alsa-tools-1.0.12-4.fc6
alsa-lib-1.0.14-0.4.rc3.fc7
odd that there's two alsa-lib packages... maybe this is a result of upgrading to the rawhide versions?

i had attempted to upgrade the utils/tools as well, but there was a conflicting dependency involving ncurses that prevented those from being upgrade to rawhide as well...
Reply With Quote
  #5   Add BiOPSY to your ignore list  
Old 2007-05-06, 16:40
BiOPSY BiOPSY is offline
Moderator
 
Ft. Payne, Alabama BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful
Default Re: dur, i broked my ALSA!

Remove that alsa-libs package and reinstall it like this:
Code:
rpm -e --nodeps alsa-lib

yum install alsa-lib
See if that fixes anything.
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
Reply With Quote
  #6   Add DeusFacticius to your ignore list  
Old 2007-05-06, 23:43
DeusFacticius DeusFacticius is offline
Regular
 
USA DeusFacticius is an unknown
Default Re: dur, i broked my ALSA!

negative.

after removing the two packages (which i had to use the --allmatches parm to rpm for it to work), i reinstalled alsa-lib, but this time i did not use the development version (as that didn't seem to fix it either).

rpm -qa alsa-lib* still lists two packages of the same version, but i realized that this is because i'm running the 64bit version of FC6, so by default it installs both the i386 and 64bit versions.

also tried erasing the alsa-utils and alsa-tools packages, and reinstalling those. didn't work.

anymore ideas? i appreciate your help so far
Reply With Quote
  #7   Add BiOPSY to your ignore list  
Old 2007-05-07, 00:32
BiOPSY BiOPSY is offline
Moderator
 
Ft. Payne, Alabama BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful
Default Re: dur, i broked my ALSA!

Add this above the install and remove lines in the /etc/modprobe.conf file:
Code:
alias snd-card-0 snd-emu10k1

options snd-card-0 index=0

options snd-emu10k1 index=0
This will require you to actually reboot the computer, so that all the module bindings are correct. If you have multiple sound cards, remove them or if they are onboard, disable them in the BIOS, and try the above suggestion. If it works, there is obviously a problem with the driver binding another device first, or some other error with ALSA choosing a different card as card0, the default mixer device.

Let me know the results so we can determine the exact problem.
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
Reply With Quote
  #8   Add DeusFacticius to your ignore list  
Old 2007-05-08, 14:11
DeusFacticius DeusFacticius is offline
Regular
 
USA DeusFacticius is an unknown
Default Re: dur, i broked my ALSA!

so far after implementing those lines in my /etc/modprob.conf (btw, the only line that wasn't already in there was "options snd-card-0 index=0"), and unplugging my webcam (which i'm beginning to think was the true cause of these problems), the sound has been working 3 out of 3 times...

it could still go awry, but 3/3 is the best i've gotten since install.

i still have my extra SB card and didn't disable my integrated sound card, but so far they aren't causing any problems.

the reason i think the webcam was the problem was because it has a built-in microphone in it, which ALSA was having a hard time interfacing with. for the times during which ALSA was not working, if i checked /proc/asound/cards, it would label index 0 as being some kind of USB-audio device.

once i'm sure that it is my webcam causing the problem (after having a few more successful reboots without it), i'll be glad to run some tests to help file a bug report so we can improve fedora core.

thanks for your help
Reply With Quote
  #9   Add BiOPSY to your ignore list  
Old 2007-05-08, 16:25
BiOPSY BiOPSY is offline
Moderator
 
Ft. Payne, Alabama BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful BiOPSY is helpful
Default Re: dur, i broked my ALSA!

Quote:
Originally Posted by DeusFacticius View Post
once i'm sure that it is my webcam causing the problem (after having a few more successful reboots without it), i'll be glad to run some tests to help file a bug report so we can improve fedora core.
Good idea.
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
Reply With Quote
Reply


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page
Display Modes
Linear Mode Linear Mode
Hybrid Mode Switch to Hybrid Mode
Threaded Mode Switch to Threaded Mode

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics