LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 08: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, 08:17 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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, 08: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, 04: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, 05:06 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL
Distribution: Funtoo
Posts: 6,926

Rep: Reputation: 128Reputation: 128
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, 05: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 07:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration