Skip to contentSkip to conversation

ALSA

DISCUSSION Dave Mielke 3 participants 3 messages Apr 12, 2000 – Jun 6, 2000 Sound

lore
Share & tools
lore
#0 lore raw

The INSTALL file for the ALSA driver describes a special control file named "/proc/asound/0/pcmD0o". It says that a line like the following can be written to this file:

Playback <app_name> <fragments> <fragment_size> [<options>]

The description of the <app_name> parameter says:

<app_name> - name of application with (higher priority) or without path

Does anyone know what the phrase "higher priority" here actually means? Also, what is the syntax for assigning a priority to an application?

Signature · 3 lines
Dave Mielke           | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: [email protected] | Canada  K2B 6G3   | if you're concerned about Hell.
#1 lore raw

Hi people,
I need your help! I am having a bit of trouble setting up ALSA on
my Dell Optiplex (w/ Redhat 6). I have two cards in the machine; an sb16 built in to the motherboard, and an sb live pci card. Trouble is, I can't get MIDI working on the sb live. Jazz complains that /dev/sequencer2 and /dev/music are not configured, and more'ing them just to see what happens reports the same. I can't even get the sb16 detected (allthough it works fine with the kernel sound drivers), as isapnp can't find it. I would really appreciate some help with all this - I've tried just about everything I can think of. I've included the conf.modules i've been using and the /proc/modules report.
Thanks v. much,
Ian

PS - everything else on the sb live works ok - its just MIDI that doesn't.

alias parport_lowlevel parport_pc
pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start

# ISA PnP support
options isapnp isapnp_reserve_irq=5,1

# ALSA native device support
alias char-major-116 snd

# options snd snd_major=116 snd_cards_limit=1
options snd snd_major=116 snd_cards_limit=2
#        For SB Live!
alias snd-card-0 snd-card-emu10k1
options snd-card-emu10k1 snd_index=0 snd_id="SB Live! ?"
#        For SB 16
alias snd-card-1 snd-card-sb16
options snd-card-sb16 snd_index=1 snd_id="SB 16" snd_port=0x220 snd_irq=5 snd_dma1=1 snd_dma2=5

# OSS/Free setup
alias char-major-14 soundcore
# For SB Live!
alias sound-slot-0 snd-card-0
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
# For SB 16
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss

snd-mixer-oss           3924   2 (autoclean)
snd-card-emu10k1        2112   2 (autoclean)
snd-emu10k1            19304   0 (autoclean) [snd-card-emu10k1]
snd-pcm                28952   0 (autoclean) [snd-emu10k1]
snd-timer               7680   0 (autoclean) [snd-pcm]
snd-ac97-codec         23904   0 (autoclean) [snd-emu10k1]
snd-mixer              23152   0 (autoclean) [snd-mixer-oss snd-emu10k1 snd-ac97-codec]
snd-emux-mem            1340   0 (autoclean) [snd-emu10k1]
snd-rawmidi             9080   0 (autoclean) [snd-emu10k1]
snd-seq-device          3112   0 (autoclean) [snd-card-emu10k1 snd-rawmidi]
snd                    34560   1 (autoclean) [snd-mixer-oss snd-card-emu10k1 snd-emu10k1 snd-pcm snd-timer snd-ac97-codec snd-mixer snd-emux-mem snd-rawmidi snd-seq-device]
nls_iso8859-1           2020   5 (autoclean)
nls_cp437               3548   5 (autoclean)
sound                  57196   0 (unused)
soundlow                 300   0 [sound]
#2 lore raw
In reply to Dave Mielke

Have you tried the ALSA mail list ?
Although alot of people here use both ALSA and OSS, you might get more help specifically on ALSA from the alsa mail list or home page :
www.alsa-project.org
OR you could also try the 4front:
www.4front-tech.com

OTHERWISE .... compile your kernel with sound enabled :
1 cd /usr/src/linux
2 make xconfig OR make config
Build the kernel with sound modules enabled and configured ... might require isapnp as well to set up the card at boot.
3 make bzlilo or somehting similar to compile the kernel
4 make modules
5 make modules_install
6 Reboot
7 debug !!!

fuzzies to ya...
Matt

Quoted 16 lines · Mr I.E. Esten

Hi people,
I need your help! I am having a bit of trouble setting up ALSA on
my Dell Optiplex (w/ Redhat 6). I have two cards in the machine; an sb16 built in to the motherboard, and an sb live pci card. Trouble is, I can't get MIDI working on the sb live. Jazz complains that /dev/sequencer2 and /dev/music are not configured, and more'ing them just to see what happens reports the same. I can't even get the sb16 detected (allthough it works fine with the kernel sound drivers), as isapnp can't find it. I would really appreciate some help with all this - I've tried just about everything I can think of. I've included the conf.modules i've been using and the /proc/modules report.
Thanks v. much,
Ian

PS - everything else on the sb live works ok - its just MIDI that doesn't.