All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Olaf Giesbrecht <Olaf_Giesbrecht@Yahoo.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [Alsa-user] ice1712/envy24 + alsa: no analog	devices- next try
Date: Mon, 10 Feb 2003 10:49:52 +0100	[thread overview]
Message-ID: <s5h4r7c4g8v.wl@alsa2.suse.de> (raw)
In-Reply-To: <1044657544.1667.6.camel@pc2>

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

(forwarded to alsa-devel now, too)

At 07 Feb 2003 23:39:04 +0100,
Olaf Giesbrecht wrote:
> 
> >  the content of
> > /proc/asound/card0/ice1712 would help much, too.
> > 
> 
> 
> ICE1712
> 
> EEPROM:
>   Subvendor        : 0x3b152511

oh, then it's a new model.  seems not supported yet.

are you sure that it's an EWS88MT?
if your card is really compatible with the old EWS88MT, the attached
patch should work.


Takashi

[-- Attachment #2: ice-test.dif --]
[-- Type: application/octet-stream, Size: 2967 bytes --]

Index: alsa-kernel/pci/ice1712/ews.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ice1712/ews.c,v
retrieving revision 1.10
diff -u -r1.10 ews.c
--- alsa-kernel/pci/ice1712/ews.c	31 Jan 2003 15:08:13 -0000	1.10
+++ alsa-kernel/pci/ice1712/ews.c	10 Feb 2003 09:48:31 -0000
@@ -221,6 +221,7 @@
 	snd_i2c_lock(ice->i2c);
 	switch (ice->eeprom.subvendor) {
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 		snd_runtime_check(snd_i2c_sendbytes(ice->cs8404, &bits, 1) == 1, goto _error);
 		break;
 	case ICE1712_SUBDEVICE_EWS88D:
@@ -332,6 +333,7 @@
 		ice->num_total_dacs = 2;
 		break;	
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 		ice->num_total_dacs = 8;
 		break;
 	case ICE1712_SUBDEVICE_EWS88D:
@@ -358,6 +360,7 @@
 		}
 		break;
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 		if ((err = snd_i2c_device_create(ice->i2c, "CS8404", ICE1712_EWS88MT_CS8404_ADDR, &ice->cs8404)) < 0)
 			return err;
 		if ((err = snd_i2c_device_create(ice->i2c, "PCF8574 (1st)", ICE1712_EWS88MT_INPUT_ADDR, &ice->i2cdevs[0])) < 0)
@@ -386,6 +389,7 @@
 			return err;
 #endif
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 	case ICE1712_SUBDEVICE_EWS88D:
 		/* set up CS8404 */
 		ice->spdif.ops.open = ews88_open_spdif;
@@ -403,6 +407,7 @@
 	ak = &ice->ak4524;
 	switch (ice->eeprom.subvendor) {
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 		ak->num_adcs = ak->num_dacs = 8;
 		ak->type = SND_AK4524;
 		ak->caddr = 2;
@@ -864,6 +869,7 @@
 	switch (ice->eeprom.subvendor) {
 	case ICE1712_SUBDEVICE_EWX2496:
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 	case ICE1712_SUBDEVICE_DMX6FIRE:
 		err = snd_ice1712_ak4524_build_controls(ice);
 		if (err < 0)
@@ -881,6 +887,7 @@
 		}
 		break;
 	case ICE1712_SUBDEVICE_EWS88MT:
+	case ICE1712_SUBDEVICE_EWS88MT_NEW:
 		for (idx = 0; idx < 8; idx++) {
 			kctl = snd_ctl_new1(&snd_ice1712_ews88mt_input_sense, ice);
 			kctl->id.index = idx;
@@ -922,6 +929,12 @@
 	{
 		ICE1712_SUBDEVICE_EWS88MT,
 		"TerraTec EWS 88MT",
+		snd_ice1712_ews_init,
+		snd_ice1712_ews_add_controls,
+	},
+	{
+		ICE1712_SUBDEVICE_EWS88MT_NEW,
+		"TerraTec EWS 88MT (new)",
 		snd_ice1712_ews_init,
 		snd_ice1712_ews_add_controls,
 	},
Index: alsa-kernel/pci/ice1712/ews.h
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/ice1712/ews.h,v
retrieving revision 1.2
diff -u -r1.2 ews.h
--- alsa-kernel/pci/ice1712/ews.h	10 Sep 2002 15:27:27 -0000	1.2
+++ alsa-kernel/pci/ice1712/ews.h	10 Feb 2003 09:47:30 -0000
@@ -33,6 +33,7 @@
 
 #define ICE1712_SUBDEVICE_EWX2496	0x3b153011
 #define ICE1712_SUBDEVICE_EWS88MT	0x3b151511
+#define ICE1712_SUBDEVICE_EWS88MT_NEW	0x3b152511
 #define ICE1712_SUBDEVICE_EWS88D	0x3b152b11
 #define ICE1712_SUBDEVICE_DMX6FIRE	0x3b153811
 

      parent reply	other threads:[~2003-02-10  9:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1043760125.1710.7.camel@pc2>
     [not found] ` <s5hbs1ylya1.wl@alsa2.suse.de>
     [not found]   ` <1044006223.1348.2.camel@pc2>
     [not found]     ` <s5hvg05i63d.wl@alsa2.suse.de>
     [not found]       ` <1044150724.1808.10.camel@pc2>
2003-02-05 11:24         ` [Alsa-user] ice1712/envy24 + alsa: no analog devices (digital+midi works fine) ?!?/etc/asound.state Takashi Iwai
     [not found]           ` <1044657544.1667.6.camel@pc2>
2003-02-10  9:49             ` Takashi Iwai [this message]

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=s5h4r7c4g8v.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=Olaf_Giesbrecht@Yahoo.de \
    --cc=alsa-devel@lists.sourceforge.net \
    /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.