LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing alsa (https://www.linuxquestions.org/questions/linux-newbie-8/installing-alsa-141167/)

drenal 02-01-2004 07:09 PM

installing alsa
 
Hello, I have Yamaha YMF-724 sound card and OSS driver compled into kernel. I'm trying to install ALSA. I got newest version alsa, installed modules, and ran 'alsaconf'.

'alsaconf' output:

--------------------------
Loading driver...
Starting sound driver: snd-ymfpci /lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: init_module: No such device
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: insmod /lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o failed
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: insmod snd-ymfpci failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
--------------------------

I choose my soundcard from menu in 'alsaconf' but as you see my ALSA is not ready to use as they say;/

Bruce Hill 02-01-2004 07:17 PM

Post from these two files, just the part about sound, please ->

/etc/rc.d/rc.modules
/boot/config-ide-2.4.22

or whatever config file your running kernel uses

and also post the output of
# lspci

And when you post, please put [_code_] without the underscore before your output and
[/_code_] without the underscore after your output. Makes it easier to read.

drenal 02-01-2004 07:33 PM

I haven't anything in /etc/rc.d/rc.modules about sound because I have everything compiled in kernel

current config part about sound:

Code:

CONFIG_SOUND=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_YMFPCI=y

#lspci
Code:

...
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 01)
...
02:0a.0 Multimedia audio controller: Yamaha Corporation YMF-724 (rev 05)
...

I have alsa's module snd-ymfpci.o
Code:

/lib/modules# find -name *ymfpci*
./2.4.24-ow1/kernel/sound/pci/ymfpci
./2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o

but when I try modprobe:
Code:

# modprobe snd-ymfpci
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: init_module: No such device
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: insmod /lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o failed
/lib/modules/2.4.24-ow1/kernel/sound/pci/ymfpci/snd-ymfpci.o: insmod snd-ymfpci failed


drenal 02-02-2004 03:58 AM

When I'm starting KDE as root I have this meesage:
Code:

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback(No such device)
The sound server will continue, using the null output device


Bruce Hill 02-02-2004 04:06 AM

You shouldn't start KDE as root. Do you have a normal user account?
How do you "start KDE?"
Please post the /etc/rc.d/rc.modules sound section, also.

drenal 02-02-2004 04:29 AM

Of course I have a normal user account;) I'm just testing alsa ;/

I can give you my /etc/rc.d/rc.modules but all options about sound are compiled directly in kernel.

When I run KDE as normal user I have these messages:
Code:

Informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened ( Permission denied )
The sound server will continue, using the null output device.

and
Code:

Warning-artspessage
Sound server warning message:
Can't set real-time scheduling priority.
You need to run artswrapper as root or setuid root.
This means thatyou will likely not be able to produce acceptable sound(i.e. wthout clicks and breaks).

and after
#chmod 666 /dev/dsp0

these messages:
Code:

Sound server warning message:
Can't set real-time scheduling priority.
You need to run artswrapper as root or setuid root.
This means that you will likely not be able to produce acceptable sound (i.e. without clicks and breaks).

2nd:
Code:

Soud server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback( No such device)
The sound server will continue, using the null output device.

[/CODE]


All times are GMT -5. The time now is 04:47 AM.