Installing ALSA

 
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Modules
View previous topic :: View next topic  
Author Message
Satirical Story



Joined: 24 Aug 2005
Posts: 8

PostPosted: Wed Aug 24, 2005 9:47 am    Post subject: Installing ALSA Reply with quote

I've installed ALSA separately from the kernel, but no /dev/dsp is found. I'm using a 2.6 kernel with udev.

Why is there no /dev/dsp? How do I create it?
Back to top
View user's profile Send private message Send e-mail
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Wed Aug 24, 2005 10:54 am    Post subject: alsa Reply with quote

You might still need to load the alsa modules at boot time, also, to properly use alsa, you probably need to install the 'alsa-utils' and 'alsa-lib' packages. These packages come with init.d scripts to setup your sound at boot time.

Sometimes people forget to enable pcm-oss emulation in the kernel. Double check that you have that option enabled to be sure.
Back to top
View user's profile Send private message Send e-mail
Satirical Story



Joined: 24 Aug 2005
Posts: 8

PostPosted: Wed Aug 24, 2005 11:11 am    Post subject: Reply with quote

How do I add these scripts into the startup?

When trying to start hotplug, I get this error:
Code:
mount: unknown filesystem type 'usbdevfs'
umount: /proc/bus/usb: not mounted
Even in the 2.4 kernel, this caused a non-fatal failure in booting. How do I iron this out?

When in Gentoo, I couldn't have ALSA and a kernel sound driver of any sort. Is it different in Lunar?
Back to top
View user's profile Send private message Send e-mail
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Wed Aug 24, 2005 11:39 am    Post subject: usbdevfs Reply with quote

1. uncomment the usb-dev filesystem entry in your fstab

2. When you run a 2.4 kernel, you can only run alsa by installing the 'alsa-driver' package. When you run a 2.6 kernel, you should use the kernel modules in the 2.6.x kernel. This is the same as in any distribution.
Back to top
View user's profile Send private message Send e-mail
SeveK



Joined: 21 Aug 2005
Posts: 12
Location: argentina

PostPosted: Wed Aug 24, 2005 12:10 pm    Post subject: Alsa Reply with quote

Hi, i installed alsa, maybe my experience will help.
first install alsa-lib
second install alsa-driver
and alsa-utils.
when you are installing, a menuconfig (kernel like) will appears, so, if you sound card is listed, just select, if not, select make all drivers (or something like this).

after that, run alsaconfig to detect your sound card. and that all.
after that, you can use mp3blaser to test it.

i'm using a 2.4 kernel with pcm-oss suport and my card is not listed so i build alsa for all cards.

bye.
_________________
resistense is futil...
you will be linuxed
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Satirical Story



Joined: 24 Aug 2005
Posts: 8

PostPosted: Wed Aug 24, 2005 5:57 pm    Post subject: Re: usbdevfs Reply with quote

sofar wrote:
2. When you run a 2.4 kernel, you can only run alsa by installing the 'alsa-driver' package. When you run a 2.6 kernel, you should use the kernel modules in the 2.6.x kernel. This is the same as in any distribution.
Actually, in Gentoo I had to install the external ALSA just to get sound working.

I can't install alsa-driver on my 2.6 kernel. The error is:
Code:
Please, install the package with full kernel sources for your distribution or use --with-kernel=dir option to specify another directory with kernel sources )default is /lib/modules/2.6.12.4/sources/
The directory does exist and there are sources in there, so why doesn't it build

sofar wrote:
1. uncomment the usb-dev filesystem entry in your fstab
The line was already uncommented.

And the NVIDIA driver is "unable to determine the target kernel version".

EDIT: I've managed to install it, and it apparently starts up at boot, but there still is no /dev/dsp.
Back to top
View user's profile Send private message Send e-mail
lunar_mike



Joined: 06 Nov 2005
Posts: 30
Location: Toronto, Ontario

PostPosted: Sun Nov 06, 2005 7:39 am    Post subject: Reply with quote

Never know , might be premission settings , or you could try doing a static link , give me a day and ill figure out what u can do
_________________
I R Human ......
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Sun Nov 06, 2005 10:06 pm    Post subject: /dev/dsp missing Reply with quote

perhaps you didn't build pcm-oss emulation? check your kernel configs.
Back to top
View user's profile Send private message Send e-mail
lunar_mike



Joined: 06 Nov 2005
Posts: 30
Location: Toronto, Ontario

PostPosted: Mon Nov 07, 2005 9:44 am    Post subject: Reply with quote

wasnt aware that you needed the oss even enabled >_> i dont even know why its still in the kernel tree lol , ive never had problems that had any connection to oss , im not trying to flame but doesnt that sound a bit off ?
_________________
I R Human ......
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
sofar



Joined: 11 Aug 2005
Posts: 172

PostPosted: Mon Nov 07, 2005 11:49 pm    Post subject: you technically don't need it Reply with quote

but 90% of applications out there still assume oss - meaning you either have to recompile all applications to use alsa, or just make them happy and give them oss (/dev/dsp == oss or oss emulation).

Of course you can't exactly recompile your favorite binaries from a game for instance....
Back to top
View user's profile Send private message Send e-mail
lunar_mike



Joined: 06 Nov 2005
Posts: 30
Location: Toronto, Ontario

PostPosted: Tue Nov 08, 2005 11:11 am    Post subject: Reply with quote

Well true , but all my games run on alsa by default , mabey i should look for older games Razz
_________________
I R Human ......
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    Lunar-Linux Forum Index -> Installing Modules All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group