LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-26-2004, 06:28 AM   #1
acerny
LQ Newbie
 
Registered: May 2004
Location: Czech Republic
Distribution: Arch Linux
Posts: 17

Rep: Reputation: 0
how to kick out alsa?


hi!

since my soundcard sounds worse under alsa then under oss kernel modules, i've removed all alsa packages installed (alsa-drivers, alsa-lib,-alsa-utils) and compiled my kernel with just two modules i need - soundsupport and one cmpci module for my card.

after this, all sound players and applications tried to play sound under alsa, but couldn't find its device. so i created libao.conf (i hope the name is right, i'm not at my computer), with line 'default_device=oss' (or so). but applications still thinks the alsa is installed and present on my machine (xmms and odd123 offer me alsa output).

so the question is: how can i teel my computer that alsa is really NOT present on my machine???
 
Old 05-26-2004, 06:33 AM   #2
Sohni
Member
 
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
You shouldn't.

OSS is not supported any more (deprecated package) and is basically supported by ALSA extensions starting from 2.6. It would be more reasonable to report your problems at ALSA development site.
 
Old 05-29-2004, 03:06 PM   #3
nick_th_fury
Member
 
Registered: Jun 2003
Location: Texas
Distribution: Slackware, NetBSD
Posts: 151

Rep: Reputation: 23
I agree w/you. For some apps OSS sounds better than Alsa.
Alsa is making strides, but its not there yet w/ all setups.
I recommend you report your problems, then switch to using OSS till they get addressed.
Why suffer till then.

Compile w/OSS support. Then start XMMS, right click Options -> Preferences.
Under the Audio I/O Plugins tab choose : Switch the output plugin to OSS driver - libOSS.so

Then Xmms will sound great again.
Luck
 
Old 05-29-2004, 04:27 PM   #4
sadatx
LQ Newbie
 
Registered: May 2004
Location: Houston
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
You still need alsa-lib and alsa-driver. Try recompiling the software for your specific kernel and hardware. If you don't want to use alsa, that is fine, you can configure most software to use oss(mplayer, xmms,etc.). You will need the libs and the drivers for /dev/dsp or the soundcard will not work.
 
Old 05-30-2004, 11:59 AM   #5
acerny
LQ Newbie
 
Registered: May 2004
Location: Czech Republic
Distribution: Arch Linux
Posts: 17

Original Poster
Rep: Reputation: 0
i removed packages alsa-lib and alsa-driver and everything is OK, my souncard is playing and i have no problems with sound. oss is working fine.

i don't have any reason to use alsa, which is for me just a lot of modules that i'll never use and a lot of modules loading into kernel. oss means simplicity for me (just two modules loading into kernel) and because it's working, why to use complicated alsa?

i was just curious, why some programs still thinks that alsa is present on my machine and ready to work - ogg123 --help, for example, lists (among other things) all usable sound architectures (marked with star) - i have installed ESD and it was there. when i have uninstalled ESD, it has disappeared. but alsa is still in the list, even if i have uninstalled it. why?

(it's just a tripe, but i'm interested)

does anybody know?
 
Old 05-30-2004, 12:08 PM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well if you removed all alsa stuff from your system, these programms just display false informations (at the time they were compiled maybe alsa was here and they noticed that or if they come from package they were compiled with alsa support)
 
Old 05-30-2004, 01:07 PM   #7
acerny
LQ Newbie
 
Registered: May 2004
Location: Czech Republic
Distribution: Arch Linux
Posts: 17

Original Poster
Rep: Reputation: 0
well, and how could you explain this: when i have installed packaged esd-sound and arts, they were in the list as usable output. then, as i don't use esd neither arts, i have uninstalled them and they automatically disappeared from the list. program just knew, that they are not present. why this is not working with alsa?

i've just found, that in /usr/lib there is a library libasound.so.2, which is THE file - after removing that, ogg123 --help lists only oss, and alsa is finally away! however, this is not exactly "clear" solution. my xmms then deprecates to start, and gives error message "libasound.so.2 cannot be found". i suppose that this is due to the compilation issue, as described. am i right?
 
Old 05-30-2004, 01:15 PM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Frankly if you like music, I don't see your reason to remove alsa, for my part my soundblaster cards sounds better (specially in bass, and alsa enabled surround feature altough I don't use it).
 
Old 05-30-2004, 01:30 PM   #9
acerny
LQ Newbie
 
Registered: May 2004
Location: Czech Republic
Distribution: Arch Linux
Posts: 17

Original Poster
Rep: Reputation: 0
) ok, well, forget it. let's say that i'm using alsa i'm really contented with it. i'm just curious - how does work this recognizing, which sound software is installed and usable? other sound systems work fine, but alsa not. why?
 
Old 05-31-2004, 03:03 AM   #10
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 321

Rep: Reputation: 33
I have same problem with alsa - sound card ES1869 onboard.
I use OSS and everithing is fine except system sounds in GNOME - every applycation is looking for ALSA, but I found out why.
probably there is a bug in ESD, so I changed with this from CURRENT and everything is fine.
 
  


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
Kick Start to my Laptop DJOmegaRush Linux - Laptop and Netbook 0 02-09-2005 11:41 PM
Can I kick windows out the door? Ben_Ty Linux - Software 12 07-15-2003 05:06 PM
Kick a user? NSKL Linux - General 3 11-03-2002 05:23 PM
a real kick NGraphiX General 2 10-06-2002 09:44 AM
How do you kick some intruder out? hubergeek Linux - Networking 1 04-23-2002 03:59 PM

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

All times are GMT -5. The time now is 05:08 PM.

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