* A couple of hardware problems @ 2003-01-14 14:34 Steve Harris 2003-01-14 16:23 ` Takashi Iwai 0 siblings, 1 reply; 4+ messages in thread From: Steve Harris @ 2003-01-14 14:34 UTC (permalink / raw) To: alsa-devel 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? 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. My alsa-driver version is "based on the experimental CVS version of alsa, the source was downloaded on 20021216.102029", as supplied by CCRMA. - Steve ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A couple of hardware problems 2003-01-14 14:34 A couple of hardware problems Steve Harris @ 2003-01-14 16:23 ` Takashi Iwai 2003-01-14 17:28 ` Steve Harris 2003-01-15 9:53 ` Steve Harris 0 siblings, 2 replies; 4+ messages in thread From: Takashi Iwai @ 2003-01-14 16:23 UTC (permalink / raw) To: Steve Harris; +Cc: alsa-devel [-- 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); ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A couple of hardware problems 2003-01-14 16:23 ` Takashi Iwai @ 2003-01-14 17:28 ` Steve Harris 2003-01-15 9:53 ` Steve Harris 1 sibling, 0 replies; 4+ messages in thread From: Steve Harris @ 2003-01-14 17:28 UTC (permalink / raw) To: alsa-devel On Tue, Jan 14, 2003 at 05:23:04PM +0100, Takashi Iwai wrote: > yes, usually "auto" means to activate the chip on mobo only when no > other soundcards exist. Thanks. I wonder why the mobo is not giveing me the "enabled" option it mentions in the docs. Oh well. > > 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. OK, I'l try to apply it this evening. I could sort of get some input (the Rx bytes number in /proc/asound/card0/midi0 went up) when I opened the lowlevel device for writing with dd and sent midi in, it didn't seem to be going up reliably though. - Steve ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A couple of hardware problems 2003-01-14 16:23 ` Takashi Iwai 2003-01-14 17:28 ` Steve Harris @ 2003-01-15 9:53 ` Steve Harris 1 sibling, 0 replies; 4+ messages in thread From: Steve Harris @ 2003-01-15 9:53 UTC (permalink / raw) To: alsa-devel On Tue, Jan 14, 2003 at 05:23:04 +0100, Takashi Iwai wrote: > > 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. ... > 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. I managed to aaply the patch, but it caused a kernel panic. I'm going to have to install a card I know works 'cos I'm against a bit of a deadline, but I can post you the card if you dont have access to one. - Steve ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-15 9:53 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-01-14 14:34 A couple of hardware problems Steve Harris 2003-01-14 16:23 ` Takashi Iwai 2003-01-14 17:28 ` Steve Harris 2003-01-15 9:53 ` Steve Harris
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.