* ioctl(... SNDCTL_SEQ_OUTOFBAND ...) help?
@ 2004-03-08 15:30 Matt Kelly
2004-03-08 18:32 ` Jaroslav Kysela
0 siblings, 1 reply; 2+ messages in thread
From: Matt Kelly @ 2004-03-08 15:30 UTC (permalink / raw)
To: alsa-devel
Hello,
I'm trying to locate the cause of a bug I filed: #0000108
(ioctl(... SNDCTL_SEQ_OUTOFBAND ...) does not work). I'm using SuSE 8.2 Pro
with an off-the-shelf 2.4.25 kernel, and an SB Audigy2 card. I'm using
an external MIDI keyboard and some MIDI rack-mount modules. Everything
seems to work just fine, audio and MIDI, except for this.
I've traced this all the way down to the function mpu401_write(), located
in alsa-kernel/pci/emu10k1/emumpu401.c. This is where all data gets
written to the sound card. (actually there is a func below it, but all it
does is the in's and out's.)
I've put in snd_printk()'s to print out the data going to the card. The data
looks "almost identical" whether I use ioctl(... SNDCTL_SEQ_OUTOFBAND ...) or a
SEQ_START_NOTE(), etc. call.
So why would one work and not the other? Could it be something with IRQ's
not being enabled at the right time? All the same code gets used for
both types of operations past a certain point, and all the data looks very
similar. I don't know what the data bytes mean when at the hardware level,
so it could be that the small differences between the two may mean something.
Can anyone give me a pointer as to what else I should be looking at? Or, a
description of what the raw data bytes mean to the Audigy2?
Thanks,
Matt K.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ioctl(... SNDCTL_SEQ_OUTOFBAND ...) help?
2004-03-08 15:30 ioctl(... SNDCTL_SEQ_OUTOFBAND ...) help? Matt Kelly
@ 2004-03-08 18:32 ` Jaroslav Kysela
0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2004-03-08 18:32 UTC (permalink / raw)
To: Matt Kelly; +Cc: alsa-devel
On Mon, 8 Mar 2004, Matt Kelly wrote:
> Can anyone give me a pointer as to what else I should be looking at? Or, a
> description of what the raw data bytes mean to the Audigy2?
See MIDI specification. If you send the patterns to this list,
I or someone else will decode it and check if they are similar.
Jaroslav
-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-08 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08 15:30 ioctl(... SNDCTL_SEQ_OUTOFBAND ...) help? Matt Kelly
2004-03-08 18:32 ` Jaroslav Kysela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox