LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-27-2003, 06:24 PM   #16
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30

well you got them in there after all eh - Yeah I think you are still using your old driver. I would go ahead and do a clean reinstall then - or even just clean all the audio modules and reinstall only alsa. Should be ok since you know you can get the modules back in later.

PS - you may want to write them down so you can insert them later.

Good one.

Last edited by mossy; 09-27-2003 at 06:28 PM.
 
Old 09-27-2003, 06:37 PM   #17
penguinsrcool
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9
Posts: 15

Original Poster
Rep: Reputation: 0
I think I'll just clean all the audio modules and reinstall alsa and see what happens, before I do something really drastic like go back to Windows (just kidding, really )

To all: thanks for your patient help. You have helped me learn much more than I knew before!

Peace . . .
 
Old 09-27-2003, 06:42 PM   #18
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
That's cool - it's the only way to learn - patience.
Keep the winbox as a backup until you get the hang of it - you will be surprized how quickly linux comes to you. Just gotta learn it.
Anyway

Peace to you too - and dont forget the *afferos [ I just graduated from a newbie sometime recently - woo-hoo heh heh heh ]

Peace
 
Old 09-28-2003, 02:08 AM   #19
penguinsrcool
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9
Posts: 15

Original Poster
Rep: Reputation: 0
Woo Hoo!

Well, after spending most of the day with ALSA, I am very happy to share that it is up and running and sounds much better than the other driver (when I test the sound with the sound configuration tool the guitar doesn't crackle anymore). I unstalled my i810_audio driver, cleaned out ALSA and reinstalled ALSA.

Now flash audio is not chipmunky (which was the initial problem that got me into ALSA). However, it is still a little choppy as though the sound has to catch up with the video. I turned on ARTS to change the frequency from 48000 kH, but then flash audio wouldn't play at all. Turned off ARTS and flash audio is back.

One, hopefully final, question, how does one go about tweaking the sound frequency without going through ARTS. I am thinking that might make a difference with flash.

I cannot thank you enough for helping me get ALSA installed. A truly learning experience.

Peace . . .

(a very happy) penguinsrcool
 
Old 09-28-2003, 10:58 AM   #20
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
Nice one! Brilliant!
At that point - I found alot of the sound was still being played thru the OSS drivers. I did not look too much into changing the frequency from 48khz as it resolved itself after installing the soundblaster live 5.1 card [which I knew would do it]. Certain 3D games had no sound but others did. Everything seemed to work after installing sb live - except oddly enough quake3 now had now sound and it did before sblive - I installed aglaophone that runs off the alsa drivers - which it turned out I cannot really use anyway but it's installed - now quake worked ha hah ha. go figure.

I am curious - are you able to bring up "alsamixer" ? For some reason I still get this error:
function snd_ctl_open failed for default: No such file or directory
- I am pretty optimistic that having installed the SB live 5.1 card if I removed and reinstalled ALSA from scratch it may well work - but I can't be bothered. I might do that later on sometime If I need a better mixer.

Last edited by mossy; 09-28-2003 at 11:09 AM.
 
Old 09-28-2003, 01:06 PM   #21
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
HOW????

penguin i have the same problem, but i don't know how tu uninstall all sound drivers - how do you do that?
i'll have no problems reinstalling it (i did it 3-4 times)...
this seems to be the solution to one of the most often problems with linux -HELP ME PLEASE!!!!
 
Old 09-28-2003, 02:09 PM   #22
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
here I posted this in another thread:

NB to uninstall ALSA in order to reinstall:

[I open two consoles both as root I run the search on one console and remove the files with the other with the other - copy and paste is really handy here].

#run a search for anything with "alsa" in it:
find / -name "*alsa*"

~ IMPORTANT ~
On my system Red Hat installed a program called Balsa - dont remove any Balsa related files. If in doubt leave them. I left all the help files and man pages index.html pages etc as they are not important to remove. If in doubt leave them.

copy the location of the alsa related files by selecting the text [this will copy in linux]

go to your other terminal

rm -rf and then paste by clicking your mouse scroller

it should look something like

rm -rf /usr/location/location/alsa folder

go thru all the alsa locations

[back to the search terminal]

type

lsmod

this is to show all the modules

remove the snd modules on the other terminal by

modules -R snd-whatever

when you have gotten everything you have an alsa free system - relatively.

Hope these instructions are not too confusing

mossy
 
Old 09-28-2003, 05:27 PM   #23
penguinsrcool
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9
Posts: 15

Original Poster
Rep: Reputation: 0
mossy,

Regarding alsamixer and the error, "function snd_ctl_open failed for default: No such file or directory", I got the same error.

I found in another forum an answer which worked for me. In your alsa-driver directory there should be a script "snddevices." I ran the script ./snddevices and alsamixer worked.

For more info see the following link where I found the solution: http://www.music.columbia.edu/piperm...ly/005671.html

Hope this helps.

Nechos: I basically did what mossy did to remove all alsa stuff before reinstalling alsa. I located my original sound driver (i810_audio) in /usr/src/linux-2.4.20-20.9/drivers/sound and removed it before installing alsa. (Got that idea from mossy.)

As always, note where you remove drivers just in case they need to be reinstalled.

Peace . . .

penguinsrcool
 
Old 09-28-2003, 05:40 PM   #24
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
ha ha ha ha ha it worked!
THANKS!!!
 
Old 09-28-2003, 06:00 PM   #25
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
hey penguinsrcool -

just though i'd let you know about this - check this filesharing program out:

http://gift.sourceforge.net/
daemon:
download it here if your insterested: http://heanet.dl.sourceforge.net/sou...-0.11.4.tar.gz
fontend:
you will need a [giFToxic link below] frontend for the daemon:

http://heanet.dl.sourceforge.net/sou...c-0.0.9.tar.gz

Last edited by mossy; 09-28-2003 at 06:40 PM.
 
Old 09-28-2003, 06:09 PM   #26
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
it didn't work for me!!! why?!?
i couldn't edit modules.conf - couldn't save, don't know why. could that be ther reason?
tried to run those modprobes - it said: failed...what am i doing wrong?!?
 
Old 09-28-2003, 06:20 PM   #27
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
I use vi/vim to edit my dox -

copy your addition straight out of the instructions [ just highlighting it will do this in linux]
go to the correct directory where the file is...type:
vi modules.conf
press i for insert mode..
paste your addition to the file at the bottom [pressing your scroller down will do this in linux]
press w to write [save]
press q to quit
see man vi or vi --help

show me exactly what you are typing when trying to insert the modules and are you root?
 
Old 09-28-2003, 06:44 PM   #28
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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


yes, i was root. i tried this a couple of times and now when i vi modules.conf it says:
E325: ATTENTION
Found a swap file by the name ".modules.conf.swp"
owned by: root dated: Sun Sep 28 14:31:19 2003
file name: /etc/modules.conf
modified: YES
user name: root host name: localhost
process ID: 2097
While opening file "modules.conf"
dated: Mon Sep 29 01:05:45 2003
NEWER than swap file!

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r modules.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".modules.conf.swp"
to avoid this message.

Swap file ".modules.conf.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (D)elete it:
 
Old 09-28-2003, 07:01 PM   #29
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
I would copy the file somewhere safe first.

did you close the file after your first attempts to edit it?

hmm Im not sure what you may have done to get that.

are there more than one versions listed [or with a .swp extention?]
if not then just to be safe I would prolly just copy the original somewhere safe and reboot the pc - well just log out completely - that would close any other instances of you editing the file if that's whats going on. [?]
 
Old 09-28-2003, 07:10 PM   #30
Nechos
Member
 
Registered: Sep 2003
Location: Italy
Distribution: Ubuntu 13.10
Posts: 304

Rep: Reputation: 30
the thing is, every time i tied to save the changes, it would block on 'recording' so i had to do 'quit session' - wich automatically created a temporary modules.conf file. now i can't delete it...
btw - that was the message AFTER i rebooted the system...
should i reinstall mdk for the third time?!?
why wouldn't it save? modules.conf, i mean.
 
  


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
ALSA installation problem waelaltaqi Linux - Software 3 10-03-2005 12:51 PM
Installation problem of ALSA on linux kernel 2.4.20-8 usher_raymond82 Linux - Software 3 06-12-2005 09:54 PM
another alsa installation problem tnielsen Linux - Software 1 08-17-2004 07:37 PM
Problem with ALSA installation White R4bbit Debian 9 12-19-2003 03:07 AM
Alsa sound installation problem matthead Linux - Newbie 2 11-13-2001 07:43 PM

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

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