* vt1720 mobo
@ 2005-01-16 8:35 maxdelm
2005-01-17 10:17 ` Takashi Iwai
2005-01-18 11:31 ` [PATCH] " Thierry Vignaud
0 siblings, 2 replies; 3+ messages in thread
From: maxdelm @ 2005-01-16 8:35 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
Hello
I have Chaintech 9CJS Mainboard with VT1720 sound-chip.
Delmaire Maxime.
-------------------------------------------------
Internet simplement moins cher avec Tele2 : http://www.tele2.fr
-------------------------------------------------
[-- Attachment #2: vt1720_mobo.c --]
[-- Type: application/octet-stream, Size: 2952 bytes --]
/*
* ALSA driver for VT1720/VT1724 (Envy24PT/Envy24HT)
*
* Lowlevel functions for VT1720-based motherboards
*
* Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#include <sound/driver.h>
#include <asm/io.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <sound/core.h>
#include "ice1712.h"
#include "vt1720_mobo.h"
static int __devinit k8x800_init(ice1712_t *ice)
{
ice->vt1720 = 1;
/* VT1616 codec */
ice->num_total_dacs = 6;
ice->num_total_adcs = 2;
/* WM8728 codec */
/* FIXME: TODO */
return 0;
}
static int __devinit k8x800_add_controls(ice1712_t *ice)
{
/* FIXME: needs some quirks for VT1616? */
return 0;
}
/* EEPROM image */
static unsigned char k8x800_eeprom[] __devinitdata = {
0x01, /* SYSCONF: clock 256, 1ADC, 2DACs */
0x02, /* ACLINK: ACLINK, packed */
0x00, /* I2S: - */
0x00, /* SPDIF: - */
0xff, /* GPIO_DIR */
0xff, /* GPIO_DIR1 */
0x00, /* - */
0xff, /* GPIO_MASK */
0xff, /* GPIO_MASK1 */
0x00, /* - */
0x00, /* GPIO_STATE */
0x00, /* GPIO_STATE1 */
0x00, /* - */
};
/* entry point */
struct snd_ice1712_card_info snd_vt1720_mobo_cards[] __devinitdata = {
{
.subvendor = VT1720_SUBDEVICE_K8X800,
.name = "Albatron K8X800 Pro II",
.model = "k8x800",
.chip_init = k8x800_init,
.build_controls = k8x800_add_controls,
.eeprom_size = sizeof(k8x800_eeprom),
.eeprom_data = k8x800_eeprom,
},
{
.subvendor = VT1720_SUBDEVICE_ZNF3_150,
.name = "Chaintech ZNF3-150",
/* identical with k8x800 */
.chip_init = k8x800_init,
.build_controls = k8x800_add_controls,
.eeprom_size = sizeof(k8x800_eeprom),
.eeprom_data = k8x800_eeprom,
},
{
.subvendor = VT1720_SUBDEVICE_ZNF3_250,
.name = "Chaintech ZNF3-250",
/* identical with k8x800 */
.chip_init = k8x800_init,
.build_controls = k8x800_add_controls,
.eeprom_size = sizeof(k8x800_eeprom),
.eeprom_data = k8x800_eeprom,
},
{
.subvendor = VT1720_SUBDEVICE_9CJS,
.name = "Chaintech 9CJS",
/* identical with k8x800 */
.chip_init = k8x800_init,
.build_controls = k8x800_add_controls,
.eeprom_size = sizeof(k8x800_eeprom),
.eeprom_data = k8x800_eeprom,
},
{ } /* terminator */
};
[-- Attachment #3: vt1720_mobo.h --]
[-- Type: application/octet-stream, Size: 1428 bytes --]
#ifndef __SOUND_VT1720_MOBO_H
#define __SOUND_VT1720_MOBO_H
/*
* ALSA driver for VT1720/VT1724 (Envy24PT/Envy24HT)
*
* Lowlevel functions for VT1720-based motherboards
*
* Copyright (c) 2004 Takashi Iwai <tiwai@suse.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#define VT1720_MOBO_DEVICE_DESC "{Albatron,K8X800 Pro II},"\
"{Chaintech,ZNF3-150},"\
"{Chaintech,ZNF3-250},"\
"{Chaintech,9CJS},"
#define VT1720_SUBDEVICE_K8X800 0xf217052c
#define VT1720_SUBDEVICE_ZNF3_150 0x0f2741f6
#define VT1720_SUBDEVICE_ZNF3_250 0x0f2745f6
#define VT1720_SUBDEVICE_9CJS 0x0f272327
extern struct snd_ice1712_card_info snd_vt1720_mobo_cards[];
#endif /* __SOUND_VT1720_MOBO_H */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vt1720 mobo
2005-01-16 8:35 vt1720 mobo maxdelm
@ 2005-01-17 10:17 ` Takashi Iwai
2005-01-18 11:31 ` [PATCH] " Thierry Vignaud
1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2005-01-17 10:17 UTC (permalink / raw)
To: maxdelm; +Cc: alsa-devel
At Sun, 16 Jan 2005 9:35:32 +0100,
<maxdelm@tele2.fr> wrote:
>
> [1 <text/plain; ISO-8859-1 (7bit)>]
> Hello
>
> I have Chaintech 9CJS Mainboard with VT1720 sound-chip.
Could you provide as a patch?
Also, please provide a short description of the patch as a changelog,
together with "Signed-off-by: Your Name <mail>" line to keep your
credit.
thanks,
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] vt1720 mobo
2005-01-16 8:35 vt1720 mobo maxdelm
2005-01-17 10:17 ` Takashi Iwai
@ 2005-01-18 11:31 ` Thierry Vignaud
1 sibling, 0 replies; 3+ messages in thread
From: Thierry Vignaud @ 2005-01-18 11:31 UTC (permalink / raw)
To: maxdelm; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 122 bytes --]
<maxdelm@tele2.fr> writes:
> I have Chaintech 9CJS Mainboard with VT1720 sound-chip.
>
> Delmaire Maxime.
that is:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: vt1720.diff --]
[-- Type: text/x-patch, Size: 1174 bytes --]
--- /home/tv/cvs/alsa/alsa-kernel/pci/ice1712/vt1720_mobo.c 2004-07-31 06:20:14.000000000 +0200
+++ /tmp/vt1720_mobo.c 2005-01-17 12:15:26.000000000 +0100
@@ -101,6 +101,15 @@
.eeprom_size = sizeof(k8x800_eeprom),
.eeprom_data = k8x800_eeprom,
},
+ {
+ .subvendor = VT1720_SUBDEVICE_9CJS,
+ .name = "Chaintech 9CJS",
+ /* identical with k8x800 */
+ .chip_init = k8x800_init,
+ .build_controls = k8x800_add_controls,
+ .eeprom_size = sizeof(k8x800_eeprom),
+ .eeprom_data = k8x800_eeprom,
+ },
{ } /* terminator */
};
--- /home/tv/cvs/alsa/alsa-kernel/pci/ice1712/vt1720_mobo.h 2004-07-31 06:20:14.000000000 +0200
+++ /tmp/vt1720_mobo.h 2005-01-18 12:30:29.971147072 +0100
@@ -26,11 +26,13 @@
#define VT1720_MOBO_DEVICE_DESC "{Albatron,K8X800 Pro II},"\
"{Chaintech,ZNF3-150},"\
- "{Chaintech,ZNF3-250},"
+ "{Chaintech,ZNF3-250},"\
+ "{Chaintech,9CJS},"
#define VT1720_SUBDEVICE_K8X800 0xf217052c
#define VT1720_SUBDEVICE_ZNF3_150 0x0f2741f6
#define VT1720_SUBDEVICE_ZNF3_250 0x0f2745f6
+#define VT1720_SUBDEVICE_9CJS 0x0f272327
extern struct snd_ice1712_card_info snd_vt1720_mobo_cards[];
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-18 11:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-16 8:35 vt1720 mobo maxdelm
2005-01-17 10:17 ` Takashi Iwai
2005-01-18 11:31 ` [PATCH] " Thierry Vignaud
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.