From: Takashi Iwai <tiwai@suse.de>
To: Steve Harris <S.W.Harris@ecs.soton.ac.uk>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: A couple of hardware problems
Date: Tue, 14 Jan 2003 17:23:04 +0100 [thread overview]
Message-ID: <s5hfzrvya3b.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030114143440.GW22132@ecs.soton.ac.uk>
[-- Attachment #1: Type: text/plain, Size: 1202 bytes --]
At Tue, 14 Jan 2003 14:34:40 +0000,
Steve Harris wrote:
>
> The first one is not a problem with alsa, but I haven't been able to find
> any mention of it online, so I wonrdered if anyone has any insight into it.
>
> I have a motherboard with a via82xx chipset [KT333] on it, the bios will
> only alow me to select "auto" or "disabled" for the sound device, and
> neither seems to make the device appear to lspci, Is it possible that the
> motherboard is disabling it becasue it's detected my other soundcards?
yes, usually "auto" means to activate the chip on mobo only when no
other soundcards exist.
> The other I dont know about: I bought an ESS Solo1 based card (Terratec
> 128i PCI) to use the MIDI port, but it doesn't appear to work for MIDI
> input. I've been messing with it for a couple of days and I'm ready to
> give up and swap it for an old ens1371 based card. If anyone has anything
> I should try before swtiching it please say.
the last time i tried, i also couldn't get the midi-in working, and
forgot this issue for a while. i just took a look at the code again.
could you test the attached patch? it's to the latest cvs but likely
applicable to your version, too.
Takashi
[-- Attachment #2: es1938-midi.dif --]
[-- Type: application/octet-stream, Size: 1393 bytes --]
Index: alsa-kernel/pci/es1938.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/es1938.c,v
retrieving revision 1.19
diff -u -r1.19 es1938.c
--- alsa-kernel/pci/es1938.c 7 Jan 2003 10:54:55 -0000 1.19
+++ alsa-kernel/pci/es1938.c 14 Jan 2003 16:21:04 -0000
@@ -1341,6 +1341,8 @@
static int snd_es1938_free(es1938_t *chip)
{
+ if (chip->rmidi)
+ snd_es1938_mixer_bits(chip, ESSSB_IREG_MPU401CONTROL, 0x40, 0);
#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
if (chip->gameport.io)
gameport_unregister_port(&chip->gameport);
@@ -1540,9 +1542,7 @@
/* MPU401 */
if (status & 0x80) {
- /* ack */
- snd_es1938_mixer_bits(chip, ESSSB_IREG_MPU401CONTROL, 0x40, 0);
- printk("midi interrupt..\n");
+ // snd_es1938_mixer_bits(chip, ESSSB_IREG_MPU401CONTROL, 0x40, 0); /* ack? */
if (chip->rmidi)
snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs);
}
@@ -1650,7 +1650,9 @@
if (snd_mpu401_uart_new(card, 0, MPU401_HW_MPU401,
chip->mpu_port, 1, chip->irq, 0, &chip->rmidi) < 0) {
printk(KERN_ERR "es1938: unable to initialize MPU-401\n");
- }
+ } else
+ snd_es1938_mixer_bits(chip, ESSSB_IREG_MPU401CONTROL, 0x40, 0x40);
+
#if defined(CONFIG_GAMEPORT) || defined(CONFIG_GAMEPORT_MODULE)
chip->gameport.io = chip->game_port;
gameport_register_port(&chip->gameport);
next prev parent reply other threads:[~2003-01-14 16:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-14 14:34 A couple of hardware problems Steve Harris
2003-01-14 16:23 ` Takashi Iwai [this message]
2003-01-14 17:28 ` Steve Harris
2003-01-15 9:53 ` Steve Harris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hfzrvya3b.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=S.W.Harris@ecs.soton.ac.uk \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.