LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2004, 07:09 PM   #1
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Rep: Reputation: 15
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;/
 
Old 02-01-2004, 07:17 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 02-01-2004, 07:33 PM   #3
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Original Poster
Rep: Reputation: 15
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
 
Old 02-02-2004, 03:58 AM   #4
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Original Poster
Rep: Reputation: 15
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
 
Old 02-02-2004, 04:06 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 02-02-2004, 04:29 AM   #6
drenal
Member
 
Registered: Dec 2003
Location: Poland
Distribution: slackware current
Posts: 53

Original Poster
Rep: Reputation: 15
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]
 
  


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
Need help installing ALSA 1.0.8 Fachmann Linux - Software 5 03-08-2005 01:40 PM
Installing ALSA 1.0.6 luigidrummer Linux - Hardware 4 09-07-2004 11:00 PM
Installing ALSA dustbin Linux - Newbie 10 04-20-2004 02:16 AM
Installing alsa raid517 Linux - Hardware 14 08-27-2003 09:40 PM
Installing ALSA bkeating Linux - Software 2 05-16-2003 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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