LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-01-2007, 02:04 PM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
2.6 built-in alsa doesn't work


Hello!
First of all, some info:

/sbin/lspci
Code:
00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 21)
00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 21)
00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 03)
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corp. 82801DB (ICH4) AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
02:01.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
02:02.0 Network controller: Intel Corp.: Unknown device 4220 (rev 05)
I'm running a Slackware distro with 2.6.19 linux kernel.

This is my story: some time ago, I installed alsa from source (alsa-lib, alsa-driver, alsa-utils). I've had problems with applications trying to play sounds simultaneously, so I look for information about dmix, and found out that it is automatically enabled on the alsa version I had installed. Then I checked whether my applications used alsa, and found out that, for example, XMMS didn't use the alsa library but OSS's one, and it worked (except for the mixing problem). I configured xmms to use alsa, but if i tried to play something a window would pop up telling me to check the soundcard. I unistalled alsa (with 'make uninstall' on the three packages: driver, lib, utils) and decided to use the kernel built-in alsa support. I recompiled the kernel, built alsa as a module, built oss compatibilty modules too, and rebooted. Now, xmms with oss doesn't work anymore and the alsa library isn't even shown in the list of available plugins. If i try to play sounds with OSS, xmms seems to be working but doesn't output any sound and it says:
Code:
libasound.so.2: cannot open shared object file: No such file or directory
Also, i've read i should run alsaconf, alsamixer, etc. but i can't find them!

Can you help me please??
Thanks to anyone
 
Old 03-01-2007, 03:10 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
All you installed was the ALSA driver. You still need the ALSA libraries and ALSA utilities (alsaconf and alsamixer).
 
Old 03-01-2007, 04:16 PM   #3
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks you, sounds work again now.

Just one doubt, how do i tell applications that they must use alsa and not oss? I still have the mixing problem, and i think that the cause might be the fact that there are applications which still use oss.

For example:

Gaim: the sound section wants a command to use when gaim need to play a sound. Defauly is 'play', but it uses oss, doesn't it? When i run 'play', xmms (which uses alsa) tells me to check whether another application is blocking the device, which i think is /dev/dsp.

TeamSpeak: sound driver to use can be set to:
- default (oss /dev/dsp)
- default network (8780:L, don't know what this means)
- other (there is a text field whose value is /dev/dsp).

Thanks for your help!
 
Old 03-05-2007, 05:02 AM   #4
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Mixing works now, but only if applications use alsa.
Can you help me?
 
Old 03-05-2007, 05:35 AM   #5
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
There is the command 'aplay' which plays sounds using alsa, so the problem with gaim is solved. But what driver do i have to use to play sounds with alsa??
 
  


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
how to specify built-in alsa drivers? slinky2004 Linux - Hardware 6 01-22-2006 01:09 AM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 05:13 PM
if i get an nforce mobo with built-in VGA... will the built in vga work in linux? kublador Linux - Hardware 2 11-10-2003 08:26 PM
Built in Wireless no work on RH9 bshelton Red Hat 2 10-02-2003 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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