All of lore.kernel.org
 help / color / mirror / Atom feed
* C-Port midi bug.
       [not found] <20050424154406.43A4E12C15@sc8-sf-spam2.sourceforge.net>
@ 2005-04-25  1:31 ` Geoff Beasley
  2005-04-25  7:44   ` Clemens Ladisch
  0 siblings, 1 reply; 7+ messages in thread
From: Geoff Beasley @ 2005-04-25  1:31 UTC (permalink / raw)
  To: alsa-devel

Is there any news on this issue yet please ? It would be mighty to get
this solved... let me know if I can help test.

Geoff.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C-Port midi bug.
  2005-04-25  1:31 ` Geoff Beasley
@ 2005-04-25  7:44   ` Clemens Ladisch
  0 siblings, 0 replies; 7+ messages in thread
From: Clemens Ladisch @ 2005-04-25  7:44 UTC (permalink / raw)
  To: Geoff Beasley; +Cc: alsa-devel

Geoff Beasley wrote:
> Is there any news on this issue yet please ?

I made a change to the MIDI initalization code about one year ago, in
ALSA 1.0.5.


Regards,
Clemens



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C-Port midi bug.
       [not found] <1114416346.4749.4.camel@localhost.localdomain>
@ 2005-04-26  7:47 ` Clemens Ladisch
  2005-04-27 14:53   ` Clemens Ladisch
  0 siblings, 1 reply; 7+ messages in thread
From: Clemens Ladisch @ 2005-04-26  7:47 UTC (permalink / raw)
  To: Geoff Beasley; +Cc: alsa-devel

Geoff Beasley wrote:
> I have midi output OK but no input.

This is the same old well-known bug -- for some reason, the MIDI
interrupt isn't enabled.

I think it may be possible to change the driver to use polling
instead.


Regards,
Clemens



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C-Port midi bug.
  2005-04-26  7:47 ` Clemens Ladisch
@ 2005-04-27 14:53   ` Clemens Ladisch
  2005-04-27 21:06     ` SPAM Filter Konto
  0 siblings, 1 reply; 7+ messages in thread
From: Clemens Ladisch @ 2005-04-27 14:53 UTC (permalink / raw)
  To: Geoff Beasley; +Cc: alsa-devel

I wrote:
> Geoff Beasley wrote:
> > I have midi output OK but no input.
>
> This is the same old well-known bug -- for some reason, the MIDI
> interrupt isn't enabled.
>
> I think it may be possible to change the driver to use polling
> instead.

Please try this patch.


-- 
--- alsa-kernel/pci/ice1712/ice1712.h	11 Apr 2005 13:08:40 -0000	1.31
+++ alsa-kernel/pci/ice1712/ice1712.h	27 Apr 2005 14:51:11 -0000
@@ -490,7 +490,8 @@
 	char *driver;
 	int (*chip_init)(ice1712_t *);
 	int (*build_controls)(ice1712_t *);
-	unsigned int no_mpu401: 1;
+	u8 no_mpu401;
+	u8 no_mpu401_irq;
 	unsigned int eeprom_size;
 	unsigned char *eeprom_data;
 };
--- alsa-kernel/pci/ice1712/hoontech.c	27 Sep 2004 14:44:14 -0000	1.8
+++ alsa-kernel/pci/ice1712/hoontech.c	27 Apr 2005 14:51:11 -0000
@@ -302,24 +302,28 @@
 		.name = "Hoontech SoundTrack Audio DSP24",
 		.model = "dsp24",
 		.chip_init = snd_ice1712_hoontech_init,
+		.no_mpu401_irq = 1,
 	},
 	{
 		.subvendor = ICE1712_SUBDEVICE_STDSP24_VALUE,	/* a dummy id */
 		.name = "Hoontech SoundTrack Audio DSP24 Value",
 		.model = "dsp24_value",
 		.chip_init = snd_ice1712_value_init,
+		.no_mpu401_irq = 1,
 	},
 	{
 		.subvendor = ICE1712_SUBDEVICE_STDSP24_MEDIA7_1,
 		.name = "Hoontech STA DSP24 Media 7.1",
 		.model = "dsp24_71",
 		.chip_init = snd_ice1712_hoontech_init,
+		.no_mpu401_irq = 1,
 	},
 	{
 		.subvendor = ICE1712_SUBDEVICE_EVENT_EZ8,	/* a dummy id */
 		.name = "Event Electronics EZ8",
 		.model = "ez8",
 		.chip_init = snd_ice1712_ez8_init,
+		.no_mpu401_irq = 1,
 	},
 	{ } /* terminator */
 };
--- alsa-kernel/pci/ice1712/ice1712.c	11 Apr 2005 15:58:28 -0000	1.66
+++ alsa-kernel/pci/ice1712/ice1712.c	27 Apr 2005 14:51:11 -0000
@@ -2703,9 +2703,11 @@
 		}

 	if (! c->no_mpu401) {
+		int irq = c->no_mpu401_irq ? -1 : ice->irq;
+
 		if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_ICE1712,
 					       ICEREG(ice, MPU1_CTRL), 1,
-					       ice->irq, 0,
+					       irq, 0,
 					       &ice->rmidi[0])) < 0) {
 			snd_card_free(card);
 			return err;
@@ -2714,7 +2716,7 @@
 		if (ice->eeprom.data[ICE_EEP1_CODEC] & ICE1712_CFG_2xMPU401)
 			if ((err = snd_mpu401_uart_new(card, 1, MPU401_HW_ICE1712,
 						       ICEREG(ice, MPU2_CTRL), 1,
-						       ice->irq, 0,
+						       irq, 0,
 						       &ice->rmidi[1])) < 0) {
 				snd_card_free(card);
 				return err;



-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C-Port midi bug.
  2005-04-27 14:53   ` Clemens Ladisch
@ 2005-04-27 21:06     ` SPAM Filter Konto
  2005-04-27 21:14       ` SPAM Filter Konto
  0 siblings, 1 reply; 7+ messages in thread
From: SPAM Filter Konto @ 2005-04-27 21:06 UTC (permalink / raw)
  To: alsa-devel


> Please try this patch.

Hi,

we probably used this patch for the c-port midi prob.
but we have no idea how to get this patch into our 
2.6.11.7 kernel - all files are ending with .v, but the .v must be away for 
overwriting the old files....

Michael

tom@SiRiUS ~ $ cd alsa/alsa-kernel/
tom@SiRiUS ~/alsa/alsa-kernel $ patch -p1 < ../../c
tom@SiRiUS ~/alsa/alsa-kernel $ patch -p1 < ../../cport_midi_20050427.patch
Get file pci/ice1712/ice1712.h from RCS with lock? [y]
pci/ice1712/ice1712.h,v  -->  pci/ice1712/ice1712.h
revision 1.31 (locked)
done
patching file pci/ice1712/ice1712.h
Get file pci/ice1712/hoontech.c from RCS with lock? [y]
pci/ice1712/hoontech.c,v  -->  pci/ice1712/hoontech.c
revision 1.8 (locked)
done
patching file pci/ice1712/hoontech.c
Get file pci/ice1712/ice1712.c from RCS with lock? [y]
pci/ice1712/ice1712.c,v  -->  pci/ice1712/ice1712.c
revision 1.66 (locked)
done
patching file pci/ice1712/ice1712.c




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C-Port midi bug.
  2005-04-27 21:06     ` SPAM Filter Konto
@ 2005-04-27 21:14       ` SPAM Filter Konto
  0 siblings, 0 replies; 7+ messages in thread
From: SPAM Filter Konto @ 2005-04-27 21:14 UTC (permalink / raw)
  To: alsa-devel

Sorry, but this is now already solved

http://alsa.opensrc.org/index.php?page=AlsaBuild2.6

Sorry

> Hi,
>
> we probably used this patch for the c-port midi prob.
> but we have no idea how to get this patch into our
> 2.6.11.7 kernel - all files are ending with .v, but the .v must be away for
> overwriting the old files....
>
> Michael
>
> tom@SiRiUS ~ $ cd alsa/alsa-kernel/
> tom@SiRiUS ~/alsa/alsa-kernel $ patch -p1 < ../../c
> tom@SiRiUS ~/alsa/alsa-kernel $ patch -p1 < ../../cport_midi_20050427.patch
> Get file pci/ice1712/ice1712.h from RCS with lock? [y]
> pci/ice1712/ice1712.h,v  -->  pci/ice1712/ice1712.h
> revision 1.31 (locked)
> done
> patching file pci/ice1712/ice1712.h
> Get file pci/ice1712/hoontech.c from RCS with lock? [y]
> pci/ice1712/hoontech.c,v  -->  pci/ice1712/hoontech.c
> revision 1.8 (locked)
> done
> patching file pci/ice1712/hoontech.c
> Get file pci/ice1712/ice1712.c from RCS with lock? [y]
> pci/ice1712/ice1712.c,v  -->  pci/ice1712/ice1712.c
> revision 1.66 (locked)
> done
> patching file pci/ice1712/ice1712.c
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Tell us your software development plans!
> Take this survey and enter to win a one-year sub to SourceForge.net
> Plus IDC's 2005 look-ahead and a copy of this survey
> Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: C-Port midi bug.
       [not found] <20050427193028.B7CA288863@sc8-sf-spam1.sourceforge.net>
@ 2005-04-29  7:43 ` gerard van dongen
  0 siblings, 0 replies; 7+ messages in thread
From: gerard van dongen @ 2005-04-29  7:43 UTC (permalink / raw)
  To: alsa-devel; +Cc: Clemens Ladisch

On Wed, 27 Apr 2005 12:27:56 -0700, Clemens Ladisch wrote:


>> Geoff Beasley wrote:
>> > I have midi output OK but no input.
>>
>> This is the same old well-known bug -- for some reason, the MIDI
>> interrupt isn't enabled.
>>
>> I think it may be possible to change the driver to use polling
>> instead.
> Please try this patch.



Tried it with 1.0.9rc2.
No luck unfortunately.

Gerard




-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-04-29  7:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20050427193028.B7CA288863@sc8-sf-spam1.sourceforge.net>
2005-04-29  7:43 ` C-Port midi bug gerard van dongen
     [not found] <1114416346.4749.4.camel@localhost.localdomain>
2005-04-26  7:47 ` Clemens Ladisch
2005-04-27 14:53   ` Clemens Ladisch
2005-04-27 21:06     ` SPAM Filter Konto
2005-04-27 21:14       ` SPAM Filter Konto
     [not found] <20050424154406.43A4E12C15@sc8-sf-spam2.sourceforge.net>
2005-04-25  1:31 ` Geoff Beasley
2005-04-25  7:44   ` Clemens Ladisch

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.