Skip to contentSkip to conversation

Edirol DA-2496

DISCUSSION Clemens Ladisch 3 participants 7 messages Oct 10, 2003 – Oct 16, 2003 4 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1065725439.2728.136.camel@turandot

#1 lore raw

Jaroslav, Takashi, any comments on this?

Quoted 27 lines · Jonatan de la Torre
Quoted 17 lines · Clemens Ladisch
Quoted 3 lines · Jonatan de la Torre

* One IC whose PCB tag is IC38

CS8420-CS

sample rate converter

Quoted 3 lines

* Four IC's whose PCB tags are IC17, IC22, IC27, IC32

AK4524VF

stereo 24bit 96kHz DAC/ADC

These chips are used on M-Audio cards, too.

Quoted 1 line

Anything else before I close the box?

Quoted 9 lines

Please try to load the snd-ice1712 driver, and show the contents of the /proc/asound/cardX/ice1712 file. The driver might actually work with your card.

If not, the EEPROM subvendor/device ID has to be added to the driver. Your card looks as if it might be compatible to the Delta 1010LT; if it isn't, we have to know to which pins of the ICE1712 the other chips are connected.

Quoted 6 lines

Hi Clemens and people, here I am again, this is the contents of /proc/asound/card0/ice1712
ICEnsemble ICE1712 at 0xd400, irq 15

EEPROM:
Subvendor : 0xce164010

This isn't one of the known IDs.

Quoted 23 lines
  Size             : 29 bytes
  Version          : 1
  Codec            : 0x1f
  ACLink           : 0x80
  I2S ID           : 0x71
  S/PDIF           : 0x0
  GPIO mask        : 0xfc
  GPIO state       : 0x2
  GPIO direction   : 0x3
  AC'97 main       : 0x0
  AC'97 pcm        : 0x0
  AC'97 record     : 0x0
  AC'97 record src : 0x44
  DAC ID #0        : 0x7
  DAC ID #1        : 0x7
  DAC ID #2        : 0x7
  DAC ID #3        : 0x7
  ADC ID #0        : 0x7
  ADC ID #1        : 0x7
  ADC ID #2        : 0x7
  ADC ID #3        : 0x7
  Extra #28        : 0x0
Quoted 8 lines

Registers:

  PSDOUT03         : 0x0000
  CAPTURE          : 0x00000000
  SPDOUT           : 0x800f
  RATE             : 0x08

The driver almost works but how can I know wich one ? I think that only OSS driver works but ALSA not.

There is no OSS driver AFAIK, and the OSS emulation uses the ALSA driver.

Quoted 1 line

Maybe the owner manual helps you. I can send the pdf file

It won't help unless it shows how the chips are wired.

Quoted 1 line

How do I do to know the conections? I follow the tracks on the board?

Yes, preferably with a multimeter. I think the interesting connections are only those going though the connecting cable.

Regards,
Clemens

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

#2 lore raw

At Fri, 10 Oct 2003 18:43:17 +0200 (METDST),

Quoted 70 lines · Clemens Ladisch

Jaroslav, Takashi, any comments on this?

Quoted 27 lines · Jonatan de la Torre
Quoted 17 lines · Clemens Ladisch
Quoted 3 lines · Jonatan de la Torre

* One IC whose PCB tag is IC38

CS8420-CS

sample rate converter

Quoted 3 lines

* Four IC's whose PCB tags are IC17, IC22, IC27, IC32

AK4524VF

stereo 24bit 96kHz DAC/ADC

These chips are used on M-Audio cards, too.

Quoted 1 line

Anything else before I close the box?

Quoted 9 lines

Please try to load the snd-ice1712 driver, and show the contents of the /proc/asound/cardX/ice1712 file. The driver might actually work with your card.

If not, the EEPROM subvendor/device ID has to be added to the driver. Your card looks as if it might be compatible to the Delta 1010LT; if it isn't, we have to know to which pins of the ICE1712 the other chips are connected.

Quoted 6 lines

Hi Clemens and people, here I am again, this is the contents of /proc/asound/card0/ice1712
ICEnsemble ICE1712 at 0xd400, irq 15

EEPROM:
Subvendor : 0xce164010

This isn't one of the known IDs.

Quoted 29 lines
  Size             : 29 bytes
  Version          : 1
  Codec            : 0x1f
  ACLink           : 0x80
  I2S ID           : 0x71
  S/PDIF           : 0x0
  GPIO mask        : 0xfc
  GPIO state       : 0x2
  GPIO direction   : 0x3
  AC'97 main       : 0x0
  AC'97 pcm        : 0x0
  AC'97 record     : 0x0
  AC'97 record src : 0x44
  DAC ID #0        : 0x7
  DAC ID #1        : 0x7
  DAC ID #2        : 0x7
  DAC ID #3        : 0x7
  ADC ID #0        : 0x7
  ADC ID #1        : 0x7
  ADC ID #2        : 0x7
  ADC ID #3        : 0x7
  Extra #28        : 0x0

Registers:

  PSDOUT03         : 0x0000
  CAPTURE          : 0x00000000
  SPDOUT           : 0x800f
  RATE             : 0x08
Quoted 5 lines
Quoted 2 lines

The driver almost works but how can I know wich one ? I think that only OSS driver works but ALSA not.

There is no OSS driver AFAIK, and the OSS emulation uses the ALSA driver.

he meant the commercial OSS?

Quoted 9 lines
Quoted 2 lines

Maybe the owner manual helps you. I can send the pdf file

It won't help unless it shows how the chips are wired.

Quoted 1 line

How do I do to know the conections? I follow the tracks on the board?

Yes, preferably with a multimeter. I think the interesting connections are only those going though the connecting cable.

the first step is to add the subvendor id above to the list in delta.c, and try Delta1010LT callbacks.

if it doesn't work, the best would be to ask the hardware vendor for this data (stressing that we need ONLY this connection data, not the whole datasheet)...

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

#3 lore raw
In reply to Clemens Ladisch
Quoted 75 lines · Clemens Ladisch

Jaroslav, Takashi, any comments on this?

Quoted 27 lines · Jonatan de la Torre
Quoted 17 lines · Clemens Ladisch
Quoted 3 lines · Jonatan de la Torre

* One IC whose PCB tag is IC38

CS8420-CS

sample rate converter

Quoted 3 lines

* Four IC's whose PCB tags are IC17, IC22, IC27, IC32

AK4524VF

stereo 24bit 96kHz DAC/ADC

These chips are used on M-Audio cards, too.

Quoted 1 line

Anything else before I close the box?

Quoted 9 lines

Please try to load the snd-ice1712 driver, and show the contents of the /proc/asound/cardX/ice1712 file. The driver might actually work with your card.

If not, the EEPROM subvendor/device ID has to be added to the driver. Your card looks as if it might be compatible to the Delta 1010LT; if it isn't, we have to know to which pins of the ICE1712 the other chips are connected.

Quoted 6 lines

Hi Clemens and people, here I am again, this is the contents of /proc/asound/card0/ice1712
ICEnsemble ICE1712 at 0xd400, irq 15

EEPROM:
Subvendor : 0xce164010

This isn't one of the known IDs.

Quoted 23 lines
  Size             : 29 bytes
  Version          : 1
  Codec            : 0x1f
  ACLink           : 0x80
  I2S ID           : 0x71
  S/PDIF           : 0x0
  GPIO mask        : 0xfc
  GPIO state       : 0x2
  GPIO direction   : 0x3
  AC'97 main       : 0x0
  AC'97 pcm        : 0x0
  AC'97 record     : 0x0
  AC'97 record src : 0x44
  DAC ID #0        : 0x7
  DAC ID #1        : 0x7
  DAC ID #2        : 0x7
  DAC ID #3        : 0x7
  ADC ID #0        : 0x7
  ADC ID #1        : 0x7
  ADC ID #2        : 0x7
  ADC ID #3        : 0x7
  Extra #28        : 0x0
Quoted 8 lines

Registers:

  PSDOUT03         : 0x0000
  CAPTURE          : 0x00000000
  SPDOUT           : 0x800f
  RATE             : 0x08

The driver almost works but how can I know wich one ? I think that only OSS driver works but ALSA not.

There is no OSS driver AFAIK, and the OSS emulation uses the ALSA driver.

Quoted 8 lines
Quoted 1 line

Maybe the owner manual helps you. I can send the pdf file

It won't help unless it shows how the chips are wired.

Quoted 1 line

How do I do to know the conections? I follow the tracks on the board?

Yes, preferably with a multimeter. I think the interesting connections are only those going though the connecting cable.

Well, it does not help much. All outputs are separated from the digital I/O. You need a datasheet for Envy24 (ICE1712) and try to find connections of GPIO pins to AK4524 and CS8420 so that we can properly initialize these chips.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

A message that is not in the archive (sent off-list or not yet received): 1066055153.3338.2.camel@turandot

#5 lore raw

At Mon, 13 Oct 2003 16:25:53 +0200,

Quoted 3 lines · Jonatan de la Torre

Ice1712 has 128 pins,
Which among them should I test?

did you try to add the id as delta 1010LT?

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

A message that is not in the archive (sent off-list or not yet received): 1066056732.3338.9.camel@turandot

#7 lore raw

At Mon, 13 Oct 2003 16:52:13 +0200,

Quoted 5 lines · Jonatan de la Torre
Quoted 3 lines · Takashi Iwai

At Mon, 13 Oct 2003 16:25:53 +0200,

Quoted 1 line · Jonatan de la Torre
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Ice1712 has 128 pins,
Which among them should I test?

did you try to add the id as delta 1010LT?

Sorry but I don't know. I edit this file:
/usr/src/alsa/alsa-driver-0.9.7a/alsa-kernel/pci/ice1712/delta.c

as a test, simply replace ICE1712_SUBDEVICE_DELTA1010LT definition in delta.h with your id (0xce164010).
then it should appear as if delta 1010LT.

Quoted 7 lines

But what should I do? I can't programm. Please tell me which line to search and what tag to replace.
Thank You.
At the moment I downloaded datasheets from envy1712, AK4524 and CS8420 and printed the pin descriptions of each one to follow the tracks on the board.

only GPIO pins are used for communication with the codec chips. usually there are two or three pins via I2C or SPI mode for clock, data, and chip-select.

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

A message that is not in the archive (sent off-list or not yet received): 1066146865.3309.75.camel@turandot

#9 lore raw

At Tue, 14 Oct 2003 17:54:25 +0200,

Quoted 9 lines · Jonatan de la Torre
Quoted 5 lines · Takashi Iwai
Quoted 4 lines
Quoted 2 lines

Sorry but I don't know. I edit this file:
/usr/src/alsa/alsa-driver-0.9.7a/alsa-kernel/pci/ice1712/delta.c

Perhaps, just a silly question: take a look at this extract from delta.c, da-2496 has CS-8420 codec, not CS8427. Doesn't it matter?

it could matter. but let's just try :)

Quoted 56 lines

/* assert chip select */
static unsigned char ap_cs8427_codec_select(ice1712_t *ice)

{
	unsigned char tmp;
	tmp = snd_ice1712_read(ice, ICE1712_IREG_GPIO_DATA);
	if (ice->eeprom.subvendor == ICE1712_SUBDEVICE_DELTA1010LT) {
		tmp &= ~ICE1712_DELTA_1010LT_CS;
		tmp |= ICE1712_DELTA_1010LT_CCLK | ICE1712_DELTA_1010LT_CS_CS8427;
	} else { /* Audiophile */
		tmp |= ICE1712_DELTA_AP_CCLK | ICE1712_DELTA_AP_CS_CODEC;
		tmp &= ~ICE1712_DELTA_AP_CS_DIGITAL;
	}
	snd_ice1712_write(ice, ICE1712_IREG_GPIO_DATA, tmp);
	udelay(5);
	return tmp;
}
Quoted 5 lines

as a test, simply replace ICE1712_SUBDEVICE_DELTA1010LT definition in delta.h with your id (0xce164010).
then it should appear as if delta 1010LT.

When I do
./configure --with-cards=ice1712 --with-sequencer=yes;make;make install it finishes like this:

/sbin/depmod -a 2.4.22-10mm.2mdksmp
depmod: *** Unresolved symbols in /lib/modules/2.4.22-10mm.2mdksmp/kernel/sound/acore/snd.o

if [ -L /usr/include/sound ]; then \
        rm -f /usr/include/sound; \
        ln -sf /usr/src/alsa/alsa-driver-0.9.7a/include/sound
/usr/include/sound; \
else \
        rm -rf /usr/include/sound; \
        install -d -m 755 -g root -o root /usr/include/sound; \
        for f in include/sound/*.h; do \
                install -m 644 -g root -o root $f /usr/include/sound; \
        done \

fi
if [ -d /sbin/init.d ]; then \
install -m 755 -g root -o root utils/alsasound /sbin/init.d/alsasound;
\
elif [ -d /etc/rc.d/init.d ]; then \
install -m 755 -g root -o root utils/alsasound
/etc/rc.d/init.d/alsasound; \
elif [ -d /etc/init.d ]; then \
install -m 755 -g root -o root utils/alsasound /etc/init.d/alsasound;
\
fi

so when I try
modprobe snd-ice1712;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss

Quoted 6 lines

it returns /lib/modules/2.4.22-10mm.2mdksmp/kernel/sound/acore/snd.o: unresolved symbol snd_verbose_printk
modprobe: insmod /lib/modules/2.4.22-10mm.2mdksmp/kernel/sound/acore/snd.o failed
modprobe: insmod snd-ice1712 failed

hmm, the installation was not correct.
did you get managed to install the alsa-driver before?

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

But what should I do? I can't programm. Please tell me which line to search and what tag to replace.
Thank You.
At the moment I downloaded datasheets from envy1712, AK4524 and CS8420 and printed the pin descriptions of each one to follow the tracks on the board.

Quoted 6 lines
Quoted 4 lines

only GPIO pins are used for communication with the codec chips. usually there are two or three pins via I2C or SPI mode for clock, data, and chip-select.

Well I found that theese pins are 50 to 53 and 56 to 59. is it?

likely. then it seems different from 1010LT...

Takashi

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php

#10 lore raw
In reply to Takashi Iwai
Quoted 4 lines · Takashi Iwai
Quoted 3 lines · Jonatan de la Torre

Ice1712 has 128 pins,
Which among them should I test?

If you really want to: the GPIO pins; but this should not yet be necessary.

Quoted 1 line

did you try to add the id as delta 1010LT?

Probably not yet.

Jonatan, please save the attached file to your disk, go to the alsa-kernel/pci/ice1712 directory, and run the command

patch -p0 < patchfile

(with the correct path to the patchfile), then recompile and reinstall the driver.

HTH
Clemens

delta.c renamed from delta.c.org +11 -0
@@ -435,6 +435,7 @@
 		break;
 	case ICE1712_SUBDEVICE_DELTA1010:
 	case ICE1712_SUBDEVICE_DELTA1010LT:
+	case 0xce164010:
 		ice->num_total_dacs = 8;
 		break;
 	}
@@ -444,6 +445,7 @@
 	case ICE1712_SUBDEVICE_AUDIOPHILE:
 	case ICE1712_SUBDEVICE_DELTA410:
 	case ICE1712_SUBDEVICE_DELTA1010LT:
+	case 0xce164010:
 		if ((err = snd_i2c_bus_create(ice->card, "ICE1712 GPIO 1", NULL, &ice->i2c)) < 0) {
 			snd_printk("unable to create I2C bus\n");
 			return err;
@@ -488,6 +490,7 @@
 		err = snd_ice1712_akm4xxx_init(ak, &akm_delta410, &akm_delta410_priv, ice);
 		break;
 	case ICE1712_SUBDEVICE_DELTA1010LT:
+	case 0xce164010:
 		err = snd_ice1712_akm4xxx_init(ak, &akm_delta1010lt, &akm_delta1010lt_priv, ice);
 		break;
 	case ICE1712_SUBDEVICE_DELTA66:
@@ -539,6 +542,7 @@
 			return err;
 		break;
 	case ICE1712_SUBDEVICE_DELTA1010LT:
+	case 0xce164010:
 		err = snd_ctl_add(ice->card, snd_ctl_new1(&snd_ice1712_delta1010lt_wordclock_select, ice));
 		if (err < 0)
 			return err;
@@ -570,6 +574,7 @@
 	/* ak4524 controls */
 	switch (ice->eeprom.subvendor) {
 	case ICE1712_SUBDEVICE_DELTA1010LT:
+	case 0xce164010:
 	case ICE1712_SUBDEVICE_AUDIOPHILE:
 	case ICE1712_SUBDEVICE_DELTA410:
 	case ICE1712_SUBDEVICE_DELTA44:
@@ -630,5 +635,11 @@
 		snd_ice1712_delta_init,
 		snd_ice1712_delta_add_controls,
 	},
+	{
+		0xce164010,
+		"Edirol DA-2496",
+		snd_ice1712_delta_init,
+		snd_ice1712_delta_add_controls,
+	},
 	{ } /* terminator */
 };