Lawrie Abbott wrote: > ----- Original Message ----- > From: "Andreas von Heydwolff" <[EMAIL PROTECTED]> > To: "Lawrie Abbott" <[EMAIL PROTECTED]> > Sent: Wednesday, June 05, 2002 5:48 AM > Subject: Re: Envy24Control Problem > > > >>Lawrie Abbott wrote: >> >>>Paul Winkler wrote: >>> >>> >>>>On Thu, May 30, 2002 at 03:27:21PM +0200, Andreas von Heydwolff wrote: >>>> >>>> >>>>>is http://members.chello.at/hrdisk/pics/linux/e24c.png what it looks >>>>>like? I tried to find a solution on this list for this problem with >>>>>my Midiman Delta 44 twice but to no avail, seem to remember that >>>>>someone else also had the problem a few months ago with another >>>>>Midiman card. I have 0.9.0beta12 installed. >>>> >>>> >>>> >>>>Just as a point of reference - I have a Delta 66 and I've never had >>> > this > >>>>problem. The patchbay/router tab shows 4 analog outs and 2 S/PDIF outs. >>>> >>>> >>>>sorry I have no idea what's wrong. >>>> >>> >>> >>>Thanks - that's the strange thing, the 44 and 66 cards seem to work >>>elswhere. >>> >>>Andreas >>>Paul Winkler wrote: >>> >>> >>>>On Thu, May 30, 2002 at 03:27:21PM +0200, Andreas von Heydwolff wrote: >>>> >>>> >>>>>is http://members.chello.at/hrdisk/pics/linux/e24c.png what it looks >>>>>like? I tried to find a solution on this list for this problem with >>>>>my Midiman Delta 44 twice but to no avail, seem to remember that >>>>>someone else also had the problem a few months ago with another >>>>>Midiman card. I have 0.9.0beta12 installed. >>>> >>>> >>>> >>>>Just as a point of reference - I have a Delta 66 and I've never had >>> > this > >>>>problem. The patchbay/router tab shows 4 analog outs and 2 S/PDIF outs. >>>> >>>> >>>>sorry I have no idea what's wrong. >>>> >>> >>> >>>Thanks - that's the strange thing, the 44 and 66 cards seem to work >>>elswhere. >>> >>>Andreas >>> >>>Hi Andreas, >>>I posted a message to alsa-user about a week ago outlining Envy24Control >>>problem. It seems I have found a fix for this problem for my card >>>(Hoontech) and may have a fix for yours. I'm not a programmer so treat >>>my changes with the contempt they deserve :). I'm assuming that the >>>delta44 has 4 adc/dacs ...Does it have s/pdif? >>> >>>Apply the patch to alsa-driver.../alsa-kernel/pci/ice1712.c and >>>recomplile and restart alsa-driver. Then check envy24control. A similar >>>patch worked for my card. Let me know how it goes, and if successful >>>I'll send both changes to alsa-dev. >>> >>>Lawrie >>> >> >> >>Sorry, Lawrie, the result remains the same. My Mozilla browser let me >>save the patch as *.gz file but it seemed to be uncompressed. So I >>removed the *.gz and applied the patch successfully (had to enter the >>target file manually). >> >>After the recompile of 0.9.0.rc1 the output columns in the >>patchbay/routre section are still limited to PCM Out 9 and PCM Out 10 in >>the S/PDIF section that does not exist in the Midiman Delta 44 card. >> >>At least the graphical layout is such that I can read PCM Out 9 and 10; >>until now the numbers were hidden so that now I can surmise that 1 >>through 8 are hidden, bot displayed or whatever. >> >>I wonder if anyone can help you with the patch if you don't have an idea >>anyway what else to try. You can count me in for further happy testing >>of not so "contemtible" patches.:-) >> >>Andreas >> >> > > hmmm, Drats, I wasn't too sure because I new others with Delta44 didnt have > the same problem. It is odd that it is showing the SPDIF outs when they dont > exist! It would be interesting if you could comment out the test in > envy24control (patchbay.c) where snd_ctl_elem_read was failing for me > (lines 150 and 151), and then see what shows when you recompile > envy24control. The controls probably wont work if they show, but it will > give some indication if it is bombing out via the same mechanism I was > experiencing. > > Lawrie > >
Well, I took out # snd_ctl_elem_value_set_name(val, SPDIF_PLAYBACK_ROUTE_NAME); # for (i = 0; i < 2; i++) { # snd_ctl_elem_value_set_numid(val, 0); # snd_ctl_elem_value_set_index(val, i); # if (snd_ctl_elem_read(ctl, val) < 0) # continue; # stream_active[i + 8] = 1; which at least did away with the useless S/PDIF patchbay entries. Now the patchbay/router is empty. Therefore, I think we are on the right track. The issue would now probably be to add appropriate changes to the preceding section which reads void patchbay_init(void) { int i; snd_ctl_elem_value_t *val; snd_ctl_elem_value_alloca(&val); snd_ctl_elem_value_set_interface(val, SND_CTL_ELEM_IFACE_MIXER); snd_ctl_elem_value_set_name(val, ANALOG_PLAYBACK_ROUTE_NAME); for (i = 0; i < 8; i++) { snd_ctl_elem_value_set_numid(val, 0); snd_ctl_elem_value_set_index(val, i); if (snd_ctl_elem_read(ctl, val) < 0) continue; stream_active[i] = 1; } Andreas _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user