View previous topic :: View next topic |
Author |
Message |
Satirical Story
Joined: 24 Aug 2005 Posts: 8
|
Posted: Wed Aug 24, 2005 9:47 am Post subject: Installing ALSA |
|
|
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Wed Aug 24, 2005 10:54 am Post subject: alsa |
|
|
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 |
|
 |
Satirical Story
Joined: 24 Aug 2005 Posts: 8
|
Posted: Wed Aug 24, 2005 11:11 am Post subject: |
|
|
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Wed Aug 24, 2005 11:39 am Post subject: usbdevfs |
|
|
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 |
|
 |
SeveK
Joined: 21 Aug 2005 Posts: 12 Location: argentina
|
Posted: Wed Aug 24, 2005 12:10 pm Post subject: Alsa |
|
|
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 |
|
 |
Satirical Story
Joined: 24 Aug 2005 Posts: 8
|
Posted: Wed Aug 24, 2005 5:57 pm Post subject: Re: usbdevfs |
|
|
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 |
|
 |
lunar_mike
Joined: 06 Nov 2005 Posts: 30 Location: Toronto, Ontario
|
Posted: Sun Nov 06, 2005 7:39 am Post subject: |
|
|
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Sun Nov 06, 2005 10:06 pm Post subject: /dev/dsp missing |
|
|
perhaps you didn't build pcm-oss emulation? check your kernel configs. |
|
Back to top |
|
 |
lunar_mike
Joined: 06 Nov 2005 Posts: 30 Location: Toronto, Ontario
|
Posted: Mon Nov 07, 2005 9:44 am Post subject: |
|
|
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 |
|
 |
sofar

Joined: 11 Aug 2005 Posts: 172
|
Posted: Mon Nov 07, 2005 11:49 pm Post subject: you technically don't need it |
|
|
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 |
|
 |
lunar_mike
Joined: 06 Nov 2005 Posts: 30 Location: Toronto, Ontario
|
Posted: Tue Nov 08, 2005 11:11 am Post subject: |
|
|
Well true , but all my games run on alsa by default , mabey i should look for older games  _________________ I R Human ...... |
|
Back to top |
|
 |
|