* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2005-09-01 18:32 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2005-09-01 18:32 UTC (permalink / raw)
To: alsa-devel
The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 09-01-2005 20:32 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
======================================================================
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 3:06 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 3:06 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 05:06 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 06-13-06 05:06
----------------------------------------------------------------------
If you snd-ens1371 is configured as card 2
Please post the output of
cat /proc/asound/card2/codec97#0/ac97#0-0
cat /proc/asound/card2/codec97#0/ac97#0-0+regs
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 4:43 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 4:43 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 06:43 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 06-13-06 05:06
----------------------------------------------------------------------
If you snd-ens1371 is configured as card 2
Please post the output of
cat /proc/asound/card2/codec97#0/ac97#0-0
cat /proc/asound/card2/codec97#0/ac97#0-0+regs
----------------------------------------------------------------------
wood - 06-13-06 06:43
----------------------------------------------------------------------
IMPORTANT:
I got this card to work perfectly in March under 1.0.11rc3
by adding some detection code in ac97_codec.c for this
cards device ID. For this specific card
I bypass tests that were added in 1.0.8rc2 from 1.0.8rc1.
I confirmed that this card worked in 1.0.8rc1 but failed in 1.0.8rc2.
The snd_ac97_try_bit() test was added in snd_ac97_cmix_new() as
a condition before calling snd_ac97_cmute_new_stereo() with the control
named "Switch". There were also some other cases where detection for this
card
failed and thus controls were never added.
I have not tested 1.0.11 but from cursory glance I doubt the problem has
been fixed. Here are the two changed functions I made in
file ../pci/ac97/ac97_codec.c:
------------------------------------------
static int snd_ac97_cmix_new_stereo(struct snd_card *card, const char
*pfx, int reg, int check_stereo, struct snd_ac97 *ac97)
{
int err;
char name[44];
unsigned char lo_max, hi_max;
snd_printk(KERN_DEBUG "snd_ac97_cmix_new %s : Enter\n",pfx);
if (! snd_ac97_valid_reg(ac97, reg))
{
//snd_printk(KERN_DEBUG "snd_ac97_cmix_new %s : Invalid
reg 0x%x\n",pfx,reg);
return 0;
}
/*******ADDED THIS CODE *************/
int special_card = (((ac97->id == 0x76058384) ||
(ac97->id == 0x8a058384)) &&
(strstr(pfx,"Playback")));
/********************/
if (snd_ac97_try_bit(ac97, reg, 15)
/*******ADDED THIS CODE *************/
|| special_card)
/********************/
{
sprintf(name, "%s Switch", pfx);
if ((err = snd_ac97_cmute_new_stereo(card, name, reg,
check_stereo, ac97)) < 0)
return err;
}
check_volume_resolution(ac97, reg, &lo_max, &hi_max);
if (lo_max) {
sprintf(name, "%s Volume", pfx);
if (special_card && (lo_max > 31))
{
lo_max = 31; if (hi_max) hi_max = 31;
}
if ((err = snd_ac97_cvol_new(card, name, reg, lo_max,
hi_max, ac97)) < 0)
return err;
}
else snd_printk(KERN_DEBUG "snd_ac97_cmix_new : %s Volume control
omitted, no lo_max val after check_volume_resolution call,
lo=%d,hi=%d\n",pfx,lo_max,hi_max);
snd_printk(KERN_DEBUG "snd_ac97_cmix_new %s : Done\n",pfx);
return 0;
}
and in function:
snd_ac97_mixer_build():
static int snd_ac97_mixer_build(struct snd_ac97 * ac97)
{
struct snd_card *card = ac97->bus->card;
struct snd_kcontrol *kctl;
int err;
unsigned int idx;
unsigned char max;
snd_printk(KERN_DEBUG "snd_ac97_mixer_build : Enter
ID=0x%x\n",ac97->id);
/*******ADDED THIS CODE *************/
int special_card = (((ac97->id == 0x76058384) ||
(ac97->id == 0x8a058384)));
/********************/
then, code the same ..... until:
/* build MIC Capture controls */
if (!special_card && s
snd_ac97_try_volume_mix(ac97, AC97_REC_GAIN_MIC)) {
for (idx = 0; idx < 2; idx++)
{
if ((err = snd_ctl_add(card,
snd_ac97_cnew(&snd_ac97_controls_mic_capture[idx], ac97))) < 0)
return err;
//snd_printk(KERN_DEBUG "snd_ac97_mixer_build : build
MIC Capture [%d]\n",idx);
}
snd_ac97_write_cache(ac97, AC97_REC_GAIN_MIC, 0x0000);
}
...
...
...
My fix is a hack, relying on special handling of a specific device.
But it works, so someone who knows more about these arcane device
differences stands a better chance of making this work correctly.
I can send the original file and the changed one outside of this
forum to anybody who sends me an email.
Raymond, here are the requested posts, but I do not
think they shed light:
With unmodified 1.0.9 =, sound card not working:
# > cat /proc/asound/card2/codec97#0/ac97#0-0
0-0/0: 0x8a057605 ?�F
Capabilities : -dedicated MIC PCM IN channel- -bass & treble-
DAC resolution : 16-bit
ADC resolution : 20-bit
3D enhancement : Reserved 29
Current setup
Mic gain : +20dB [+20dB]
POP path : post 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : Mic
Mic select : Mic2
ADC/DAC loopback : on
---------------------------------------
With modified 1.0.11rc3 that works with this card:
# > cat /proc/asound/card2/codec97#0/ac97#0-0
0-0/0: 0x76058384 F�S
PCI Subsys Vendor: 0x0000
PCI Subsys Device: 0x0000
Capabilities : -dedicated MIC PCM IN channel- -bass & treble-
DAC resolution : 16-bit
ADC resolution : 20-bit
3D enhancement : Reserved 29
Current setup
Mic gain : +0dB [+20dB]
POP path : post 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 5:05 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 5:05 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 07:05 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
wood - 06-13-06 06:43
----------------------------------------------------------------------
IMPORTANT:
I got this card to work perfectly in March under 1.0.11rc3
by adding some detection code in ac97_codec.c for this
cards device ID. For this specific card
I bypass tests that were added in 1.0.8rc2 from 1.0.8rc1.
I confirmed that this card worked in 1.0.8rc1 but failed in 1.0.8rc2.
The snd_ac97_try_bit() test was added in snd_ac97_cmix_new() as
a condition before calling snd_ac97_cmute_new_stereo() with the control
named "Switch". There were also some other cases where detection for this
card
failed and thus controls were never added.
I have not tested 1.0.11 but from cursory glance I doubt the problem has
been fixed. Here are the two changed functions I made in
file ../pci/ac97/ac97_codec.c:
------------------------------------------
static int snd_ac97_cmix_new_stereo(struct snd_card *card, const char
*pfx, int reg, int check_stereo, struct snd_ac97 *ac97)
{
int err;
char name[44];
unsigned char lo_max, hi_max;
snd_printk(KERN_DEBUG "snd_ac97_cmix_new %s : Enter\n",pfx);
if (! snd_ac97_valid_reg(ac97, reg))
{
//snd_printk(KERN_DEBUG "snd_ac97_cmix_new %s : Invalid
reg 0x%x\n",pfx,reg);
return 0;
}
/*******ADDED THIS CODE *************/
int special_card = (((ac97->id == 0x76058384) ||
(ac97->id == 0x8a058384)) &&
(strstr(pfx,"Playback")));
/********************/
if (snd_ac97_try_bit(ac97, reg, 15)
/*******ADDED THIS CODE *************/
|| special_card)
/********************/
{
sprintf(name, "%s Switch", pfx);
if ((err = snd_ac97_cmute_new_stereo(card, name, reg,
check_stereo, ac97)) < 0)
return err;
}
check_volume_resolution(ac97, reg, &lo_max, &hi_max);
if (lo_max) {
sprintf(name, "%s Volume", pfx);
if (special_card && (lo_max > 31))
{
lo_max = 31; if (hi_max) hi_max = 31;
}
if ((err = snd_ac97_cvol_new(card, name, reg, lo_max,
hi_max, ac97)) < 0)
return err;
}
else snd_printk(KERN_DEBUG "snd_ac97_cmix_new : %s Volume control
omitted, no lo_max val after check_volume_resolution call,
lo=%d,hi=%d\n",pfx,lo_max,hi_max);
snd_printk(KERN_DEBUG "snd_ac97_cmix_new %s : Done\n",pfx);
return 0;
}
and in function:
snd_ac97_mixer_build():
static int snd_ac97_mixer_build(struct snd_ac97 * ac97)
{
struct snd_card *card = ac97->bus->card;
struct snd_kcontrol *kctl;
int err;
unsigned int idx;
unsigned char max;
snd_printk(KERN_DEBUG "snd_ac97_mixer_build : Enter
ID=0x%x\n",ac97->id);
/*******ADDED THIS CODE *************/
int special_card = (((ac97->id == 0x76058384) ||
(ac97->id == 0x8a058384)));
/********************/
then, code the same ..... until:
/* build MIC Capture controls */
if (!special_card && s
snd_ac97_try_volume_mix(ac97, AC97_REC_GAIN_MIC)) {
for (idx = 0; idx < 2; idx++)
{
if ((err = snd_ctl_add(card,
snd_ac97_cnew(&snd_ac97_controls_mic_capture[idx], ac97))) < 0)
return err;
//snd_printk(KERN_DEBUG "snd_ac97_mixer_build : build
MIC Capture [%d]\n",idx);
}
snd_ac97_write_cache(ac97, AC97_REC_GAIN_MIC, 0x0000);
}
...
...
...
My fix is a hack, relying on special handling of a specific device.
But it works, so someone who knows more about these arcane device
differences stands a better chance of making this work correctly.
I can send the original file and the changed one outside of this
forum to anybody who sends me an email.
Raymond, here are the requested posts, but I do not
think they shed light:
With unmodified 1.0.9 =, sound card not working:
# > cat /proc/asound/card2/codec97#0/ac97#0-0
0-0/0: 0x8a057605 ?�F
Capabilities : -dedicated MIC PCM IN channel- -bass & treble-
DAC resolution : 16-bit
ADC resolution : 20-bit
3D enhancement : Reserved 29
Current setup
Mic gain : +20dB [+20dB]
POP path : post 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : Mic
Mic select : Mic2
ADC/DAC loopback : on
---------------------------------------
With modified 1.0.11rc3 that works with this card:
# > cat /proc/asound/card2/codec97#0/ac97#0-0
0-0/0: 0x76058384 F�S
PCI Subsys Vendor: 0x0000
PCI Subsys Device: 0x0000
Capabilities : -dedicated MIC PCM IN channel- -bass & treble-
DAC resolution : 16-bit
ADC resolution : 20-bit
3D enhancement : Reserved 29
Current setup
Mic gain : +0dB [+20dB]
POP path : post 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
----------------------------------------------------------------------
Raymond - 06-13-06 07:05
----------------------------------------------------------------------
Refer to https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132, it seem
that snd_es1371_codec_read() only work on first
read and subsequent read return incorrect value.
Please post the output of
cat /proc/asound/card2/codec97#0/ac97#0-0+regs
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 14:26 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 14:26 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 16:26 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 06-13-06 07:28
----------------------------------------------------------------------
Refer to https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132, it seem
that snd_es1371_codec_read() only work on first
read and subsequent read return incorrect value.
Please post the output of
cat /proc/asound/card2/codec97#0/ac97#0-0+regs
lspci -vn
----------------------------------------------------------------------
wood - 06-13-06 16:26
----------------------------------------------------------------------
Here are the two dumps. NOTE: This is on the system with
the modified 1.0.11rc3 where the sound card works due to
adding the "special_card" detection hack. If you need these
two dumps from a system using the broken code, let me know.
root@ct4730dev: cat /proc/asound/card2/codec97#0/ac97#0-0+regs
0:00 = ffff
0:02 = 0140
0:04 = 0909
0:06 = 8000
0:08 = 000a
0:0a = 0000
0:0c = 9f5f
0:0e = 000a
0:10 = 805f
0:12 = 9f1f
0:14 = 1515
0:16 = 0a0a
0:18 = 0b0b
0:1a = 0101
0:1c = 1414
0:1e = 0b0b
0:20 = ffff
0:22 = 0000
0:24 = 0000
0:26 = 0000
0:28 = 000f
0:2a = ffff
0:2c = ffff
0:2e = ffff
0:30 = ffff
0:32 = ffff
0:34 = ffff
0:36 = ffff
0:38 = ffff
0:3a = ffff
0:3c = ffff
0:3e = ffff
0:40 = ffff
0:42 = ffff
0:44 = ffff
0:46 = ffff
0:48 = ffff
0:4a = ffff
0:4c = ffff
0:4e = ffff
0:50 = ffff
0:52 = ffff
0:54 = ffff
0:56 = ffff
0:58 = ffff
0:5a = ffff
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0000
0:74 = 0000
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 8384
0:7e = 8384
root@ct4730dev: : lspci -vn
00:00.0 Class 0600: 1106:3123
Subsystem: 1106:aa01
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2
00:01.0 Class 0604: 1106:b091
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: dc000000-ddffffff
Prefetchable memory behind bridge: d8000000-dbffffff
Capabilities: [80] Power Management version 2
00:0d.0 Class 0c00: 1106:3044 (rev 80) (prog-if 10)
Subsystem: 1106:3044
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at de000000 (32-bit, non-prefetchable) [size=2K]
I/O ports at c000 [size=128]
Capabilities: [50] Power Management version 2
00:10.0 Class 0c03: 1106:3038 (rev 80)
Subsystem: 1106:3038
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at c400 [size=32]
Capabilities: [80] Power Management version 2
00:10.1 Class 0c03: 1106:3038 (rev 80)
Subsystem: 1106:3038
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at c800 [size=32]
Capabilities: [80] Power Management version 2
00:10.2 Class 0c03: 1106:3038 (rev 80)
Subsystem: 1106:3038
Flags: bus master, medium devsel, latency 32, IRQ 12
I/O ports at cc00 [size=32]
Capabilities: [80] Power Management version 2
00:10.3 Class 0c03: 1106:3104 (rev 82) (prog-if 20)
Subsystem: 1106:3104
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at de001000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
00:11.0 Class 0601: 1106:3177
Subsystem: 1106:aa01
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2
00:11.1 Class 0101: 1106:0571 (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: 1106:aa01
Flags: bus master, medium devsel, latency 32
I/O ports at d000 [size=16]
Capabilities: [c0] Power Management version 2
00:11.5 Class 0401: 1106:3059 (rev 50)
Subsystem: 1106:aa01
Flags: medium devsel, IRQ 12
I/O ports at d400 [size=256]
Capabilities: [c0] Power Management version 2
00:12.0 Class 0200: 1106:3065 (rev 74)
Subsystem: 1106:0102
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at dc00 [size=256]
Memory at de002000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
00:14.0 Class 0401: 1102:8938
Subsystem: 1102:5938
Flags: bus master, slow devsel, latency 32, IRQ 10
I/O ports at e000 [size=64]
I/O ports at e400 [size=32]
Capabilities: [dc] Power Management version 2
01:00.0 Class 0300: 1106:3122 (rev 03)
Subsystem: 1106:3122
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [70] AGP version 2.0
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 14:51 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 14:51 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 16:51 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
wood - 06-13-06 16:26
----------------------------------------------------------------------
Here are the two dumps. NOTE: This is on the system with
the modified 1.0.11rc3 where the sound card works due to
adding the "special_card" detection hack. If you need these
two dumps from a system using the broken code, let me know.
root@ct4730dev: cat /proc/asound/card2/codec97#0/ac97#0-0+regs
0:00 = ffff
0:02 = 0140
0:04 = 0909
0:06 = 8000
0:08 = 000a
0:0a = 0000
0:0c = 9f5f
0:0e = 000a
0:10 = 805f
0:12 = 9f1f
0:14 = 1515
0:16 = 0a0a
0:18 = 0b0b
0:1a = 0101
0:1c = 1414
0:1e = 0b0b
0:20 = ffff
0:22 = 0000
0:24 = 0000
0:26 = 0000
0:28 = 000f
0:2a = ffff
0:2c = ffff
0:2e = ffff
0:30 = ffff
0:32 = ffff
0:34 = ffff
0:36 = ffff
0:38 = ffff
0:3a = ffff
0:3c = ffff
0:3e = ffff
0:40 = ffff
0:42 = ffff
0:44 = ffff
0:46 = ffff
0:48 = ffff
0:4a = ffff
0:4c = ffff
0:4e = ffff
0:50 = ffff
0:52 = ffff
0:54 = ffff
0:56 = ffff
0:58 = ffff
0:5a = ffff
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0000
0:66 = 0000
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0000
0:70 = 0000
0:72 = 0000
0:74 = 0000
0:76 = 0000
0:78 = 0000
0:7a = 0000
0:7c = 8384
0:7e = 8384
root@ct4730dev: : lspci -vn
00:00.0 Class 0600: 1106:3123
Subsystem: 1106:aa01
Flags: bus master, 66Mhz, medium devsel, latency 8
Memory at d0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [a0] AGP version 2.0
Capabilities: [c0] Power Management version 2
00:01.0 Class 0604: 1106:b091
Flags: bus master, 66Mhz, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: dc000000-ddffffff
Prefetchable memory behind bridge: d8000000-dbffffff
Capabilities: [80] Power Management version 2
00:0d.0 Class 0c00: 1106:3044 (rev 80) (prog-if 10)
Subsystem: 1106:3044
Flags: bus master, medium devsel, latency 32, IRQ 10
Memory at de000000 (32-bit, non-prefetchable) [size=2K]
I/O ports at c000 [size=128]
Capabilities: [50] Power Management version 2
00:10.0 Class 0c03: 1106:3038 (rev 80)
Subsystem: 1106:3038
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at c400 [size=32]
Capabilities: [80] Power Management version 2
00:10.1 Class 0c03: 1106:3038 (rev 80)
Subsystem: 1106:3038
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at c800 [size=32]
Capabilities: [80] Power Management version 2
00:10.2 Class 0c03: 1106:3038 (rev 80)
Subsystem: 1106:3038
Flags: bus master, medium devsel, latency 32, IRQ 12
I/O ports at cc00 [size=32]
Capabilities: [80] Power Management version 2
00:10.3 Class 0c03: 1106:3104 (rev 82) (prog-if 20)
Subsystem: 1106:3104
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at de001000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
00:11.0 Class 0601: 1106:3177
Subsystem: 1106:aa01
Flags: bus master, stepping, medium devsel, latency 0
Capabilities: [c0] Power Management version 2
00:11.1 Class 0101: 1106:0571 (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: 1106:aa01
Flags: bus master, medium devsel, latency 32
I/O ports at d000 [size=16]
Capabilities: [c0] Power Management version 2
00:11.5 Class 0401: 1106:3059 (rev 50)
Subsystem: 1106:aa01
Flags: medium devsel, IRQ 12
I/O ports at d400 [size=256]
Capabilities: [c0] Power Management version 2
00:12.0 Class 0200: 1106:3065 (rev 74)
Subsystem: 1106:0102
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at dc00 [size=256]
Memory at de002000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
00:14.0 Class 0401: 1102:8938
Subsystem: 1102:5938
Flags: bus master, slow devsel, latency 32, IRQ 10
I/O ports at e000 [size=64]
I/O ports at e400 [size=32]
Capabilities: [dc] Power Management version 2
01:00.0 Class 0300: 1106:3122 (rev 03)
Subsystem: 1106:3122
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [60] Power Management version 2
Capabilities: [70] AGP version 2.0
----------------------------------------------------------------------
Raymond - 06-13-06 16:51
----------------------------------------------------------------------
Do your CT4750 have 4 channels codec ?
Do your CT4730 have 2 channels codec ?
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 14:59 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 14:59 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 16:59 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 06-13-06 16:51
----------------------------------------------------------------------
Do your CT4750 have 4 channels codec ?
Do your CT4730 have 2 channels codec ?
----------------------------------------------------------------------
wood - 06-13-06 16:59
----------------------------------------------------------------------
Q.Do your CT4750 have 4 channels codec ?
Q. Do your CT4730 have 2 channels codec ?
Raymond,
I only have the CT4730.
How would I know if it has a 2 channel codec?
Tom
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 17:05 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 17:05 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 19:05 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
wood - 06-13-06 16:59
----------------------------------------------------------------------
Q.Do your CT4750 have 4 channels codec ?
Q. Do your CT4730 have 2 channels codec ?
Raymond,
I only have the CT4730.
How would I know if it has a 2 channel codec?
Tom
----------------------------------------------------------------------
Raymond - 06-13-06 19:05
----------------------------------------------------------------------
If your sound card support 4 channels, it usually has 4 color jacks :-
green,pink,blue and black jacks
It seem that your sound card have STAC970x stereo codec but
snd_ens1371_codec_read() unable to read correct value
Add two printk statements as described in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132#10150 to trace the
read/write of codec registers
Do you really have 3 ALSA sound drivers ?
cat /proc/asound/cards
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
06-13-06 19:05 Raymond Note Added: 0010201
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-13 17:46 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-13 17:46 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-13-2006 19:46 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 06-13-06 19:05
----------------------------------------------------------------------
If your sound card support 4 channels, it usually has 4 color jacks :-
green,pink,blue and black jacks
It seem that your sound card have STAC970x stereo codec but
snd_ens1371_codec_read() unable to read correct value
Add two printk statements as described in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132#10150 to trace the
read/write of codec registers
Do you really have 3 ALSA sound drivers ?
cat /proc/asound/cards
----------------------------------------------------------------------
wood - 06-13-06 19:46
----------------------------------------------------------------------
Raymond,
This sound card has one stereo audio output,
one mic input and one line input (green,pink,blue).
It also has a MIDI connector. It does NOT have an
extra black output. So I guess it is a 2 channel codec.
Yes I really do have 3 sound drivers( 2 cards plus PC Speaker). This is
an
embedded device that is based on heavy audio processing.
: cat /proc/asound/cards
0 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with VT1616i at 0xd400, irq 12
1 [pcsp ]: PC-Speaker - pcsp
Internal PC-Speaker at port 0x61, irq 0
2 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xe000, irq 10
I cannot work further on this for about a week. So I will try your printk
suggestions later on. Thanks.
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
06-13-06 19:05 Raymond Note Added: 0010201
06-13-06 19:46 wood Note Added: 0010203
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-06-14 12:42 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-06-14 12:42 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 06-14-2006 14:42 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
wood - 06-13-06 19:46
----------------------------------------------------------------------
Raymond,
This sound card has one stereo audio output,
one mic input and one line input (green,pink,blue).
It also has a MIDI connector. It does NOT have an
extra black output. So I guess it is a 2 channel codec.
Yes I really do have 3 sound drivers( 2 cards plus PC Speaker). This is
an
embedded device that is based on heavy audio processing.
: cat /proc/asound/cards
0 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with VT1616i at 0xd400, irq 12
1 [pcsp ]: PC-Speaker - pcsp
Internal PC-Speaker at port 0x61, irq 0
2 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xe000, irq 10
I cannot work further on this for about a week. So I will try your printk
suggestions later on. Thanks.
----------------------------------------------------------------------
Raymond - 06-14-06 14:42
----------------------------------------------------------------------
If you confirmed that this card worked in 1.0.8rc1 but failed in 1.0.8rc2.,
you may try to revert this patch ( only those change related to ens1371 )
http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=ca827c69c200;style=gitweb
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
06-13-06 19:05 Raymond Note Added: 0010201
06-13-06 19:46 wood Note Added: 0010203
06-14-06 14:42 Raymond Note Added: 0010212
======================================================================
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-07-06 2:04 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-07-06 2:04 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 07-06-2006 04:04 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 06-14-06 14:42
----------------------------------------------------------------------
If you confirmed that this card worked in 1.0.8rc1 but failed in 1.0.8rc2.,
you may try to revert this patch ( only those change related to ens1371 )
http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=ca827c69c200;style=gitweb
----------------------------------------------------------------------
Raymond - 07-06-06 04:04
----------------------------------------------------------------------
The hack on https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2132#10435 is
simpler than your hack, you only need to
change the values to those values returned by the codec (83847605 most
likely STAC970x) on your ens1371
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
06-13-06 19:05 Raymond Note Added: 0010201
06-13-06 19:46 wood Note Added: 0010203
06-14-06 14:42 Raymond Note Added: 0010212
07-06-06 04:04 Raymond Note Added: 0010851
======================================================================
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-07-10 16:14 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-07-10 16:14 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 07-10-2006 18:14 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
wood - 06-13-06 19:46
----------------------------------------------------------------------
Raymond,
This sound card has one stereo audio output,
one mic input and one line input (green,pink,blue).
It also has a MIDI connector. It does NOT have an
extra black output. So I guess it is a 2 channel codec.
Yes I really do have 3 sound drivers( 2 cards plus PC Speaker). This is
an
embedded device that is based on heavy audio processing.
: cat /proc/asound/cards
0 [V8235 ]: VIA8233 - VIA 8235
VIA 8235 with VT1616i at 0xd400, irq 12
1 [pcsp ]: PC-Speaker - pcsp
Internal PC-Speaker at port 0x61, irq 0
2 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xe000, irq 10
I cannot work further on this for about a week. So I will try your printk
suggestions later on. Thanks.
----------------------------------------------------------------------
Raymond - 07-10-06 18:14
----------------------------------------------------------------------
Refer to the tests performed by yafrank in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1023
It is because the snd_es1731_codec_read() fails most of the time for
ev1938 and this cause both snd_ac97_try_bit() and
check_volume_resolution() fail
Most likely someone has to find out how to make snd_es1371_codec_read()
and snd_es1371_codec_write() work so that ev1938 can read/write ac97
codec.
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
06-13-06 19:05 Raymond Note Added: 0010201
06-13-06 19:46 wood Note Added: 0010203
06-14-06 14:42 Raymond Note Added: 0010212
07-06-06 04:04 Raymond Note Added: 0010851
07-09-06 17:17 Raymond Note Deleted: 0010851
07-10-06 10:52 Raymond Note Deleted: 0010212
07-10-06 18:14 Raymond Note Added: 0010962
======================================================================
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 13+ messages in thread
* [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure
@ 2006-07-10 17:36 bugtrack
0 siblings, 0 replies; 13+ messages in thread
From: bugtrack @ 2006-07-10 17:36 UTC (permalink / raw)
To: alsa-devel
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1389>
======================================================================
Reported By: wood
Assigned To:
======================================================================
Project: ALSA - driver
Issue ID: 1389
Category: PCI - ens1371
Reproducibility: always
Severity: block
Priority: normal
Status: new
Distribution: Modified Redhat 9.0
Kernel Version: 2.4.24 self compiled
======================================================================
Date Submitted: 09-01-2005 20:32 CEST
Last Modified: 07-10-2006 19:36 CEST
======================================================================
Summary: snd-ens1371 / es1938 Creative Ectiva silent playout
+ new line-in capture failure
Description:
Soundcard: Creative Soundblaster PCI (Ectiva) Model:CT4730
Chip Label: Creative EV1938
Platform: Stable 2.4.24 Linux kernel on VIA MiniITX ME6000/M10000
w/ multiple soundcards. ALSA compiled from source
works with VIA motherboard Audio
and some other Creative PCI soundcards. Need a stable ALSA
driver
for this soundcard.
Problem:
The snd-ens1371 module loads correctly as 3rd sound device (First audio
device is VIA 8235 from motherboard, 2nd is PCSP).
Alsamixer -c 2 shows a reasonable set of
controls. Playout either with OSS emulation (play) or ALSA player
(aplay) plays WAV files but only silence for both 1.0.9 and 1.0.10rc1
releases.
On ALSA 1.0.9 codebase,the Master Volume does not always show in
alsamixer.
In 1.0.10rc1 it does always show.
ALSO:
On ALSA 1.0.9 code, the Line-In capture works under both OSS Emulation
and with ALSA arecord.
On the latest development release ALSA 1.0.10rc1, the Line-In
capture no longer works. So a new problem has been introduced from .9 to
.10.
Other info:
Native OSS driver es1371 works fine with this card. But I want to switch
to ALSA.
Earlier model Creative PCI128, Model CT4750 loads snd-ens1371 and
works fine with both tested ALSA releases using same platform
configuration.
Audigy 2 Value also works fine using snd-emu10k1 with same configuration
(I included this card info to rule out basic config problems).
======================================================================
----------------------------------------------------------------------
Raymond - 07-10-06 18:14
----------------------------------------------------------------------
Refer to the tests performed by yafrank in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1023
It is because the snd_es1731_codec_read() fails most of the time for
ev1938 and this cause both snd_ac97_try_bit() and
check_volume_resolution() fail
Most likely someone has to find out how to make snd_es1371_codec_read()
and snd_es1371_codec_write() work so that ev1938 can read/write ac97
codec.
----------------------------------------------------------------------
wood - 07-10-06 19:36
----------------------------------------------------------------------
Raymond,
Thanks much for the research on this problem and narrowing down the
issue to
snd_es1731_codec_read() failure. I have been much too busy to get back to
testing this issue. It could be a while longer yet before I can do more
work. Right now, I am using my hacked version of the ALSA code, but of
course a real and integrated solution would be best.
Issue History
Date Modified Username Field Change
======================================================================
09-01-05 20:32 wood New Issue
09-01-05 20:32 wood Distribution => Modified Redhat 9.0
09-01-05 20:32 wood Kernel Version => 2.4.24 self compiled
06-13-06 05:06 Raymond Note Added: 0010186
06-13-06 06:43 wood Note Added: 0010188
06-13-06 07:05 Raymond Note Added: 0010189
06-13-06 07:28 Raymond Note Edited: 0010189
06-13-06 16:26 wood Note Added: 0010194
06-13-06 16:51 Raymond Note Added: 0010196
06-13-06 16:59 wood Note Added: 0010197
06-13-06 19:05 Raymond Note Added: 0010201
06-13-06 19:46 wood Note Added: 0010203
06-14-06 14:42 Raymond Note Added: 0010212
07-06-06 04:04 Raymond Note Added: 0010851
07-09-06 17:17 Raymond Note Deleted: 0010851
07-10-06 10:52 Raymond Note Deleted: 0010212
07-10-06 18:14 Raymond Note Added: 0010962
07-10-06 19:36 wood Note Added: 0010963
======================================================================
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-07-10 17:36 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 17:05 [ALSA - driver 0001389]: snd-ens1371 / es1938 Creative Ectiva silent playout + new line-in capture failure bugtrack
-- strict thread matches above, loose matches on Subject: below --
2006-07-10 17:36 bugtrack
2006-07-10 16:14 bugtrack
2006-07-06 2:04 bugtrack
2006-06-14 12:42 bugtrack
2006-06-13 17:46 bugtrack
2006-06-13 14:59 bugtrack
2006-06-13 14:51 bugtrack
2006-06-13 14:26 bugtrack
2006-06-13 5:05 bugtrack
2006-06-13 4:43 bugtrack
2006-06-13 3:06 bugtrack
2005-09-01 18:32 bugtrack
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox