All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Jonatan de la Torre <jonatandelatorre@ono.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Edirol DA-2496
Date: Thu, 16 Oct 2003 17:24:41 +0200	[thread overview]
Message-ID: <s5hbrshgq86.wl@alsa2.suse.de> (raw)
In-Reply-To: <1066146865.3309.75.camel@turandot>

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

  parent reply	other threads:[~2003-10-16 15:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2003-10-13 15:34         ` Clemens Ladisch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hbrshgq86.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=jonatandelatorre@ono.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.