Re: How do I use the Open Sound System?
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: Sun, 30 Mar 2008 21:25:53 GMT
Jerry McBride <jmcbride@xxxxxxxxxx> writes:
Mark Hobley wrote:
I am using Gentoo Linux with a 2.6.24 kernel, and I want to try out the
Open Sound System. I have compiled the kernel with the SOUND_PRIME option
as a module.
My sound card is an ESS Solo 1 PCI card.
What modules do I need to load in order to use OSS? I don't seem to be
able to find a user manual.
I am aware of ALSA propeganda, but I really do want to try OSS.
I am using udev, and I currently have no /dev/dsp device, but I do have
a /dev/dspW device.
I issued the following commands:
modprobe soundcore
modprobe sound
modprobe sound_firmware # I guess I should do this, but who knows?
I also issues the following command:
modprobe sb_lib # I have no idea whether this is the right thing to do
I now type:
cat /dev/random > /dev/dspW
This gives an error:
sh: /dev/dspW: No such device
This is very strange.
ls -l /dev/dsp*
crw-rw---- 1 root audio 14, 5 Mar 29 11:08 /dev/dspW
whoami
mark
groups
wheel audio mark
^
|- I should be OK to use the audio device.
Thanks in advance to anyone who can help.
Mark.
Here's what I do for alsa/oss support for my NVIDIA CK804 sound chips. Alter
as required for your ESS SOLO1 (es1938 driver):
He does not want alsa/oss support. that is an oss emulation by alsa. He
wants pure oss support. This means that he has to remove all alsa support
(rmmod all of the snd- modules ) and then load a device driver for oss
support of his sound card.
In /etc/modules.d/alsa I have:
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to change this section for your specific sound card(s)
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-intel8x0 # FOR YOU IT's snd-es1938
## OSS/Free portion
alias sound-slot-0 snd-card-0
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=1
Those are all the oss emulation by alsa.
#
# Open Sound System
These are oss ones. And most are not compiled in.
#
CONFIG_SOUND_PRIME=m
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
CONFIG_SOUND_MPU401=m
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_YM3812 is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
CONFIG_HID_DEBUG=y
# CONFIG_HIDRAW is not set
.
- Prev by Date: Re: script execute permission without read permission
- Next by Date: Re: script execute permission without read permission
- Previous by thread: hot sell shoes jeans clothes hat bag....
- Next by thread: puppy linux and wg511t
- Index(es):
Relevant Pages
|
|