All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Edirol DA-2496
       [not found] <1065725439.2728.136.camel@turandot>
@ 2003-10-10 16:43 ` Clemens Ladisch
  2003-10-10 16:55   ` Takashi Iwai
  2003-10-11  8:08   ` Jaroslav Kysela
  0 siblings, 2 replies; 7+ messages in thread
From: Clemens Ladisch @ 2003-10-10 16:43 UTC (permalink / raw)
  To: Jonatan de la Torre; +Cc: alsa-devel


Jaroslav, Takashi, any comments on this?

Jonatan de la Torre wrote:
> El vie, 19-09-2003 a las 10:27, Clemens Ladisch escribió:
> > Jonatan de la Torre wrote:
> > > * One IC whose PCB tag is IC38
> > >
> > > CS8420-CS
> >
> > sample rate converter
> >
> > > * 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.
> >
> > > Anything else before I close the box?
> >
> > 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.
> >
> 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.

>   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
>
> 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.

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

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

> 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

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

* Re: Edirol DA-2496
  2003-10-10 16:43 ` Edirol DA-2496 Clemens Ladisch
@ 2003-10-10 16:55   ` Takashi Iwai
  2003-10-11  8:08   ` Jaroslav Kysela
  1 sibling, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-10-10 16:55 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Jonatan de la Torre, alsa-devel

At Fri, 10 Oct 2003 18:43:17 +0200 (METDST),
Clemens Ladisch wrote:
> 
> 
> Jaroslav, Takashi, any comments on this?
> 
> Jonatan de la Torre wrote:
> > El vie, 19-09-2003 a las 10:27, Clemens Ladisch escribió:
> > > Jonatan de la Torre wrote:
> > > > * One IC whose PCB tag is IC38
> > > >
> > > > CS8420-CS
> > >
> > > sample rate converter
> > >
> > > > * 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.
> > >
> > > > Anything else before I close the box?
> > >
> > > 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.
> > >
> > 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.
> 
> >   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
> >
> > 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?

> 
> > Maybe the owner manual helps you. I can send the pdf file
> 
> It won't help unless it shows how the chips are wired.
> 
> > 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

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

* Re: Edirol DA-2496
  2003-10-10 16:43 ` Edirol DA-2496 Clemens Ladisch
  2003-10-10 16:55   ` Takashi Iwai
@ 2003-10-11  8:08   ` Jaroslav Kysela
       [not found]     ` <1066055153.3338.2.camel@turandot>
  1 sibling, 1 reply; 7+ messages in thread
From: Jaroslav Kysela @ 2003-10-11  8:08 UTC (permalink / raw)
  To: Clemens Ladisch; +Cc: Jonatan de la Torre, alsa-devel

On Fri, 10 Oct 2003, Clemens Ladisch wrote:

>
> Jaroslav, Takashi, any comments on this?
>
> Jonatan de la Torre wrote:
> > El vie, 19-09-2003 a las 10:27, Clemens Ladisch escribió:
> > > Jonatan de la Torre wrote:
> > > > * One IC whose PCB tag is IC38
> > > >
> > > > CS8420-CS
> > >
> > > sample rate converter
> > >
> > > > * 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.
> > >
> > > > Anything else before I close the box?
> > >
> > > 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.
> > >
> > 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.
>
> >   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
> >
> > 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.
>
> > Maybe the owner manual helps you. I can send the pdf file
>
> It won't help unless it shows how the chips are wired.
>
> > 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 <perex@suse.cz>
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

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

* Re: Edirol DA-2496
       [not found]     ` <1066055153.3338.2.camel@turandot>
@ 2003-10-13 14:34       ` Takashi Iwai
       [not found]         ` <1066056732.3338.9.camel@turandot>
  2003-10-13 15:34         ` Clemens Ladisch
  0 siblings, 2 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-10-13 14:34 UTC (permalink / raw)
  To: Jonatan de la Torre; +Cc: Jaroslav Kysela, Clemens Ladisch, alsa-devel

At Mon, 13 Oct 2003 16:25:53 +0200,
Jonatan de la Torre wrote:
> 
> 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

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

* Re: Edirol DA-2496
       [not found]         ` <1066056732.3338.9.camel@turandot>
@ 2003-10-13 15:13           ` Takashi Iwai
       [not found]             ` <1066146865.3309.75.camel@turandot>
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2003-10-13 15:13 UTC (permalink / raw)
  To: Jonatan de la Torre; +Cc: alsa-devel

At Mon, 13 Oct 2003 16:52:13 +0200,
Jonatan de la Torre wrote:
> 
> El lun, 13-10-2003 a las 16:34, Takashi Iwai escribió:
> > At Mon, 13 Oct 2003 16:25:53 +0200,
> > Jonatan de la Torre wrote:
> > > 
> > > 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.


> 
> 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

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

* Re: Edirol DA-2496
  2003-10-13 14:34       ` Takashi Iwai
       [not found]         ` <1066056732.3338.9.camel@turandot>
@ 2003-10-13 15:34         ` Clemens Ladisch
  1 sibling, 0 replies; 7+ messages in thread
From: Clemens Ladisch @ 2003-10-13 15:34 UTC (permalink / raw)
  To: Jonatan de la Torre; +Cc: Takashi Iwai, Jaroslav Kysela, alsa-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 498 bytes --]

Takashi Iwai wrote:
> Jonatan de la Torre wrote:
> >
> > 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.

> 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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 1552 bytes --]

--- delta.c.org	2003-10-13 17:19:35.343829000 +0200
+++ delta.c	2003-10-13 17:24:35.686566000 +0200
@@ -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 */
 };

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

* Re: Edirol DA-2496
       [not found]             ` <1066146865.3309.75.camel@turandot>
@ 2003-10-16 15:24               ` Takashi Iwai
  0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2003-10-16 15:24 UTC (permalink / raw)
  To: Jonatan de la Torre; +Cc: alsa-devel

At Tue, 14 Oct 2003 17:54:25 +0200,
Jonatan de la Torre wrote:
> 
> El lun, 13-10-2003 a las 17:13, Takashi Iwai escribió:
> > > > 
> > > > 
> > > 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 :)

> /* 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;
> }
> 
> 
> > 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
> 
> 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?


> 
> > > 
> > > 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.
> > 
> 
> 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

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

end of thread, other threads:[~2003-10-16 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1065725439.2728.136.camel@turandot>
2003-10-10 16:43 ` Edirol DA-2496 Clemens Ladisch
2003-10-10 16:55   ` Takashi Iwai
2003-10-11  8:08   ` Jaroslav Kysela
     [not found]     ` <1066055153.3338.2.camel@turandot>
2003-10-13 14:34       ` Takashi Iwai
     [not found]         ` <1066056732.3338.9.camel@turandot>
2003-10-13 15:13           ` Takashi Iwai
     [not found]             ` <1066146865.3309.75.camel@turandot>
2003-10-16 15:24               ` Takashi Iwai
2003-10-13 15:34         ` 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.