All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port
@ 2006-03-05 12:22 bugtrack
  0 siblings, 0 replies; 6+ messages in thread
From: bugtrack @ 2006-03-05 12:22 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1161> 
======================================================================
Reported By:                vandongen2
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1161
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               linux from scratch
Kernel Version:             2.6.12-rc4-RT-V0.7.47-03
======================================================================
Date Submitted:             06-06-2005 15:29 CEST
Last Modified:              03-05-2006 13:22 CET
======================================================================
Summary:                    Midi in still does not work for Hoontech/STAudio
DSP2000 C-Port
Description: 
As reported before in bug 000055 that is now marked resolved.
It has not been resolved.
The problem seems to be related to hardware specific registers on the card
that need to be set.

I will be happy to spend a couple of days trying different flags/bits with
the initialisation code, if somebody gives me an idea of where to start.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000055 Midi in does not work for Hoontech/STAu...
======================================================================

----------------------------------------------------------------------
 vandongen2 - 06-17-05 11:13 
----------------------------------------------------------------------
The patch doesn't change anything as far as I can tell.

----------------------------------------------------------------------
 sbahling - 03-05-06 13:22 
----------------------------------------------------------------------
I can't speak for the DSP24 card, but I have a mkII version and once I
traced out the logic on the board. I recall that INSEL and DAREAR signal
went no where. They clock-in on a latch, but those outputs of the latch
are not connected to anything. Also, I found that the MUTE signal was
inversed, so I have to patch hoontech.c to MUTE my inputs to turn them on
(for my ADCIII box).

To get MIDI_IN to work on my ADCIII (not sure if this works on c-port), I
need the following part of my default hoontech patch:

-   for (box = 0; box < 4; box++) {
+   for (box = 1; box < 2; box++) {

I'm using midi in on a box addressed as box 1. This patch is obviously not
addressing the root issue, but it works for me. Maybe it gives clue to
someone who knows the code better. It seems like there is some global
signal that is clearing the settings so if I do not limit this loop to the
my box, it gets cleared again when addressing the next.

My hoontech patch:

Index: hoontech.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/hoontech.c,v
retrieving revision 1.10
diff -u -r1.10 hoontech.c
--- hoontech.c  16 Jan 2006 16:34:25 -0000  1.10
+++ hoontech.c  5 Mar 2006 12:04:24 -0000
@@ -190,23 +190,23 @@
    ICE1712_STDSP24_3_INSEL(ice->spec.hoontech.boxbits, 0);

    /* let's go - activate only functions in first box */
-   ice->spec.hoontech.config = 0;
-               /* ICE1712_STDSP24_MUTE |
-                  ICE1712_STDSP24_INSEL |
-                  ICE1712_STDSP24_DAREAR; */
-   ice->spec.hoontech.boxconfig[0] = ICE1712_STDSP24_BOX_CHN1 |
+   /* need to set MUTE flag to un-mute ADCIII */
+   ice->spec.hoontech.config = ICE1712_STDSP24_MUTE;
+                   /*ICE1712_STDSP24_INSEL |*/
+                  /*ICE1712_STDSP24_DAREAR; */
+   ice->spec.hoontech.boxconfig[0] =
+   ice->spec.hoontech.boxconfig[1] =
+   ice->spec.hoontech.boxconfig[2] =
+   ice->spec.hoontech.boxconfig[3] = ICE1712_STDSP24_BOX_CHN1 |
                     ICE1712_STDSP24_BOX_CHN2 |
                     ICE1712_STDSP24_BOX_CHN3 |
                     ICE1712_STDSP24_BOX_CHN4 |
                     ICE1712_STDSP24_BOX_MIDI1 |
                     ICE1712_STDSP24_BOX_MIDI2;
-   ice->spec.hoontech.boxconfig[1] =
-   ice->spec.hoontech.boxconfig[2] =
-   ice->spec.hoontech.boxconfig[3] = 0;    
snd_ice1712_stdsp24_darear(ice, (ice->spec.hoontech.config &
ICE1712_STDSP24_DAREAR) ? 1 : 0);     snd_ice1712_stdsp24_mute(ice,
(ice->spec.hoontech.config & ICE1712_STDSP24_MUTE) ? 1 : 0);    
snd_ice1712_stdsp24_insel(ice, (ice->spec.hoontech.config &
ICE1712_STDSP24_INSEL) ? 1 : 0);
-   for (box = 0; box < 4; box++) {
+   for (box = 1; box < 2; box++) {
        for (chn = 0; chn < 4; chn++)            
snd_ice1712_stdsp24_box_channel(ice, box, chn,
(ice->spec.hoontech.boxconfig[box] & (1 << chn)) ? 1 : 0);
        snd_ice1712_stdsp24_box_midi(ice, box,

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-06-05 15:29 vandongen2     New Issue                                    
06-06-05 15:29 vandongen2     Distribution              => linux from scratch
06-06-05 15:29 vandongen2     Kernel Version            =>
2.6.12-rc4-RT-V0.7.47-03
06-07-05 08:24 perex          Relationship added       related to 0000055  
06-16-05 14:54 perex          Note Added: 0005055                          
06-17-05 11:13 vandongen2     Note Added: 0005066                          
03-05-06 13:22 sbahling       Note Added: 0008357                          
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port
@ 2006-05-19 14:59 bugtrack
  0 siblings, 0 replies; 6+ messages in thread
From: bugtrack @ 2006-05-19 14:59 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1161> 
======================================================================
Reported By:                vandongen2
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1161
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               linux from scratch
Kernel Version:             2.6.12-rc4-RT-V0.7.47-03
======================================================================
Date Submitted:             06-06-2005 15:29 CEST
Last Modified:              05-19-2006 16:59 CEST
======================================================================
Summary:                    Midi in still does not work for Hoontech/STAudio
DSP2000 C-Port
Description: 
As reported before in bug 000055 that is now marked resolved.
It has not been resolved.
The problem seems to be related to hardware specific registers on the card
that need to be set.

I will be happy to spend a couple of days trying different flags/bits with
the initialisation code, if somebody gives me an idea of where to start.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000055 Midi in does not work for Hoontech/STAu...
======================================================================

----------------------------------------------------------------------
 sbahling - 03-05-06 13:22 
----------------------------------------------------------------------
I can't speak for the DSP24 card, but I have a mkII version and once I
traced out the logic on the board. I recall that INSEL and DAREAR signal
went no where. They clock-in on a latch, but those outputs of the latch
are not connected to anything. Also, I found that the MUTE signal was
inversed, so I have to patch hoontech.c to MUTE my inputs to turn them on
(for my ADCIII box).

To get MIDI_IN to work on my ADCIII (not sure if this works on c-port), I
need the following part of my default hoontech patch:

-   for (box = 0; box < 4; box++) {
+   for (box = 1; box < 2; box++) {

I'm using midi in on a box addressed as box 1. This patch is obviously not
addressing the root issue, but it works for me. Maybe it gives clue to
someone who knows the code better. It seems like there is some global
signal that is clearing the settings so if I do not limit this loop to the
my box, it gets cleared again when addressing the next.

My hoontech patch:

Index: hoontech.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/hoontech.c,v
retrieving revision 1.10
diff -u -r1.10 hoontech.c
--- hoontech.c  16 Jan 2006 16:34:25 -0000  1.10
+++ hoontech.c  5 Mar 2006 12:04:24 -0000
@@ -190,23 +190,23 @@
    ICE1712_STDSP24_3_INSEL(ice->spec.hoontech.boxbits, 0);

    /* let's go - activate only functions in first box */
-   ice->spec.hoontech.config = 0;
-               /* ICE1712_STDSP24_MUTE |
-                  ICE1712_STDSP24_INSEL |
-                  ICE1712_STDSP24_DAREAR; */
-   ice->spec.hoontech.boxconfig[0] = ICE1712_STDSP24_BOX_CHN1 |
+   /* need to set MUTE flag to un-mute ADCIII */
+   ice->spec.hoontech.config = ICE1712_STDSP24_MUTE;
+                   /*ICE1712_STDSP24_INSEL |*/
+                  /*ICE1712_STDSP24_DAREAR; */
+   ice->spec.hoontech.boxconfig[0] =
+   ice->spec.hoontech.boxconfig[1] =
+   ice->spec.hoontech.boxconfig[2] =
+   ice->spec.hoontech.boxconfig[3] = ICE1712_STDSP24_BOX_CHN1 |
                     ICE1712_STDSP24_BOX_CHN2 |
                     ICE1712_STDSP24_BOX_CHN3 |
                     ICE1712_STDSP24_BOX_CHN4 |
                     ICE1712_STDSP24_BOX_MIDI1 |
                     ICE1712_STDSP24_BOX_MIDI2;
-   ice->spec.hoontech.boxconfig[1] =
-   ice->spec.hoontech.boxconfig[2] =
-   ice->spec.hoontech.boxconfig[3] = 0;    
snd_ice1712_stdsp24_darear(ice, (ice->spec.hoontech.config &
ICE1712_STDSP24_DAREAR) ? 1 : 0);     snd_ice1712_stdsp24_mute(ice,
(ice->spec.hoontech.config & ICE1712_STDSP24_MUTE) ? 1 : 0);    
snd_ice1712_stdsp24_insel(ice, (ice->spec.hoontech.config &
ICE1712_STDSP24_INSEL) ? 1 : 0);
-   for (box = 0; box < 4; box++) {
+   for (box = 1; box < 2; box++) {
        for (chn = 0; chn < 4; chn++)            
snd_ice1712_stdsp24_box_channel(ice, box, chn,
(ice->spec.hoontech.boxconfig[box] & (1 << chn)) ? 1 : 0);
        snd_ice1712_stdsp24_box_midi(ice, box,

----------------------------------------------------------------------
 gineera - 05-19-06 16:59 
----------------------------------------------------------------------
I can confirm this problem on a recently aquired DSP2000.  The change
suggested by Perex disabled the audio and didn't seem to help midi in.

The change mentioned by sbahling also didn't help.

For now I have to remove this card and return to my now fully functioning
DMX6fire as spare time is needed to campaign against the closure of our
local school!  However I will return to it soon.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-06-05 15:29 vandongen2     New Issue                                    
06-06-05 15:29 vandongen2     Distribution              => linux from scratch
06-06-05 15:29 vandongen2     Kernel Version            =>
2.6.12-rc4-RT-V0.7.47-03
06-07-05 08:24 perex          Relationship added       related to 0000055  
06-16-05 14:54 perex          Note Added: 0005055                          
06-17-05 11:13 vandongen2     Note Added: 0005066                          
03-05-06 13:22 sbahling       Note Added: 0008357                          
05-19-06 16:59 gineera        Note Added: 0009878                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port
@ 2005-06-17  9:13 bugtrack
  0 siblings, 0 replies; 6+ messages in thread
From: bugtrack @ 2005-06-17  9:13 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1161> 
======================================================================
Reported By:                vandongen2
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1161
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               linux from scratch
Kernel Version:             2.6.12-rc4-RT-V0.7.47-03
======================================================================
Date Submitted:             06-06-2005 15:29 CEST
Last Modified:              06-17-2005 11:13 CEST
======================================================================
Summary:                    Midi in still does not work for Hoontech/STAudio
DSP2000 C-Port
Description: 
As reported before in bug 000055 that is now marked resolved.
It has not been resolved.
The problem seems to be related to hardware specific registers on the card
that need to be set.

I will be happy to spend a couple of days trying different flags/bits with
the initialisation code, if somebody gives me an idea of where to start.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000055 Midi in does not work for Hoontech/STAu...
======================================================================

----------------------------------------------------------------------
 perex - 06-16-05 14:54 
----------------------------------------------------------------------
Could you try this patch?

Index: hoontech.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/hoontech.c,v
retrieving revision 1.8
diff -u -r1.8 hoontech.c
--- hoontech.c  27 Sep 2004 14:44:14 -0000      1.8
+++ hoontech.c  16 Jun 2005 12:53:44 -0000
@@ -188,7 +188,7 @@
        ICE1712_STDSP24_3_INSEL(ice->spec.hoontech.boxbits, 0);
 
        /* let's go - activate only functions in first box */
-       ice->spec.hoontech.config = 0;
+       ice->spec.hoontech.config = ICE1712_STDSP24_INSEL;
                            /* ICE1712_STDSP24_MUTE |
                               ICE1712_STDSP24_INSEL |
                               ICE1712_STDSP24_DAREAR; */

----------------------------------------------------------------------
 vandongen2 - 06-17-05 11:13 
----------------------------------------------------------------------
The patch doesn't change anything as far as I can tell.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-06-05 15:29 vandongen2     New Issue                                    
06-06-05 15:29 vandongen2     Distribution              => linux from scratch
06-06-05 15:29 vandongen2     Kernel Version            =>
2.6.12-rc4-RT-V0.7.47-03
06-07-05 08:24 perex          Relationship added       related to 0000055  
06-16-05 14:54 perex          Note Added: 0005055                          
06-17-05 11:13 vandongen2     Note Added: 0005066                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port
@ 2005-06-16 12:54 bugtrack
  0 siblings, 0 replies; 6+ messages in thread
From: bugtrack @ 2005-06-16 12:54 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1161> 
======================================================================
Reported By:                vandongen2
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1161
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               linux from scratch
Kernel Version:             2.6.12-rc4-RT-V0.7.47-03
======================================================================
Date Submitted:             06-06-2005 15:29 CEST
Last Modified:              06-16-2005 14:54 CEST
======================================================================
Summary:                    Midi in still does not work for Hoontech/STAudio
DSP2000 C-Port
Description: 
As reported before in bug 000055 that is now marked resolved.
It has not been resolved.
The problem seems to be related to hardware specific registers on the card
that need to be set.

I will be happy to spend a couple of days trying different flags/bits with
the initialisation code, if somebody gives me an idea of where to start.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000055 Midi in does not work for Hoontech/STAu...
======================================================================

----------------------------------------------------------------------
 perex - 06-16-05 14:54 
----------------------------------------------------------------------
Could you try this patch?

Index: hoontech.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/hoontech.c,v
retrieving revision 1.8
diff -u -r1.8 hoontech.c
--- hoontech.c  27 Sep 2004 14:44:14 -0000      1.8
+++ hoontech.c  16 Jun 2005 12:53:44 -0000
@@ -188,7 +188,7 @@
        ICE1712_STDSP24_3_INSEL(ice->spec.hoontech.boxbits, 0);
 
        /* let's go - activate only functions in first box */
-       ice->spec.hoontech.config = 0;
+       ice->spec.hoontech.config = ICE1712_STDSP24_INSEL;
                            /* ICE1712_STDSP24_MUTE |
                               ICE1712_STDSP24_INSEL |
                               ICE1712_STDSP24_DAREAR; */

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-06-05 15:29 vandongen2     New Issue                                    
06-06-05 15:29 vandongen2     Distribution              => linux from scratch
06-06-05 15:29 vandongen2     Kernel Version            =>
2.6.12-rc4-RT-V0.7.47-03
06-07-05 08:24 perex          Relationship added       related to 0000055  
06-16-05 14:54 perex          Note Added: 0005055                          
======================================================================




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port
@ 2005-06-07  6:24 bugtrack
  0 siblings, 0 replies; 6+ messages in thread
From: bugtrack @ 2005-06-07  6:24 UTC (permalink / raw)
  To: alsa-devel


The following issue has been set as RELATED TO issue 0000055.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1161> 
======================================================================
Reported By:                vandongen2
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1161
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               linux from scratch
Kernel Version:             2.6.12-rc4-RT-V0.7.47-03
======================================================================
Date Submitted:             06-06-2005 15:29 CEST
Last Modified:              06-07-2005 08:24 CEST
======================================================================
Summary:                    Midi in still does not work for Hoontech/STAudio
DSP2000 C-Port
Description: 
As reported before in bug 000055 that is now marked resolved.
It has not been resolved.
The problem seems to be related to hardware specific registers on the card
that need to be set.

I will be happy to spend a couple of days trying different flags/bits with
the initialisation code, if somebody gives me an idea of where to start.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0000055 Midi in does not work for Hoontech/STAu...
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-06-05 15:29 vandongen2     New Issue                                    
06-06-05 15:29 vandongen2     Distribution              => linux from scratch
06-06-05 15:29 vandongen2     Kernel Version            =>
2.6.12-rc4-RT-V0.7.47-03
06-07-05 08:24 perex          Relationship added       related to 0000055  
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port
@ 2005-06-06 13:29 bugtrack
  0 siblings, 0 replies; 6+ messages in thread
From: bugtrack @ 2005-06-06 13:29 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1161> 
======================================================================
Reported By:                vandongen2
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   1161
Category:                   PCI - ice1712
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               linux from scratch
Kernel Version:             2.6.12-rc4-RT-V0.7.47-03
======================================================================
Date Submitted:             06-06-2005 15:29 CEST
Last Modified:              06-06-2005 15:29 CEST
======================================================================
Summary:                    Midi in still does not work for Hoontech/STAudio
DSP2000 C-Port
Description: 
As reported before in bug 000055 that is now marked resolved.
It has not been resolved.
The problem seems to be related to hardware specific registers on the card
that need to be set.

I will be happy to spend a couple of days trying different flags/bits with
the initialisation code, if somebody gives me an idea of where to start.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-06-05 15:29 vandongen2     New Issue                                    
06-06-05 15:29 vandongen2     Distribution              => linux from scratch
06-06-05 15:29 vandongen2     Kernel Version            =>
2.6.12-rc4-RT-V0.7.47-03
======================================================================




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20

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

end of thread, other threads:[~2006-05-19 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-05 12:22 [ALSA - driver 0001161]: Midi in still does not work for Hoontech/STAudio DSP2000 C-Port bugtrack
  -- strict thread matches above, loose matches on Subject: below --
2006-05-19 14:59 bugtrack
2005-06-17  9:13 bugtrack
2005-06-16 12:54 bugtrack
2005-06-07  6:24 bugtrack
2005-06-06 13:29 bugtrack

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.