Envy24 -PSDIN(3)
Re bug1472, Distortion noise:
Can you explain what this input does, and how/where it is used in ALSA? Perhaps the DMX6fire can use it to determine if a DXR extension is plugged in.
Alan
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Quoted 5 lines · On Friday 03 February 2006 09:28, I wrote:
Re bug1472, Distortion noise:
Can you explain what this input does, and how/where it is used in ALSA? Perhaps the DMX6fire can use it to determine if a DXR extension is plugged in.
Unexpectedly I was successfull in tracing and fixing this bug.
The unused ADC & DAC I2S is available to the DXR extension. If this is not used (and it's not supported anyway) the number of active ADCs & DACs must be restricted to 6 in the chip hardware configuration register.
The attached patch does this in ice1712.c; will this fix be able to make it into 1.0.11 final? Thisis the last of my list of '6fire bugs/funnies so it would be good if they were all together in one release.
bug1472-dmx6fire-limit-to-6ADCs.patch
Summary: Disable unused ADCs & DACs on DMX6fire
Change the value written to hardware configuration register of envy24 chip in the case of Terratec DMX6fire to restrict the active ADCs & DACs to 6.
alsa-kernel/pci/ice1712/ice1712.c renamed from alsa-kernel/pci/ice1712/ice1712-orig.c +5 -1
@@ -2388,7 +2390,11 @@udelay (200 );outb (ICE1712_NATIVE ,ICEREG (ice,CONTROL ));udelay (200 ); -pci_write_config_byte (ice->pci,0x60 , ice->eeprom.data[ICE_EEP1_CODEC ]); +if (ice->eeprom.subvendor =ICE1712_SUBDEVICE_DMX6FIRE ) {/* Limit active ADCs and DACs to 6; */ +pci_write_config_byte (ice->pci,0x60 ,0x0a );/* Note: DXR extension not supported */ + }else { +pci_write_config_byte (ice->pci,0x60 , ice->eeprom.data[ICE_EEP1_CODEC ]); + }pci_write_config_byte (ice->pci,0x61 , ice->eeprom.data[ICE_EEP1_ACLINK ]);pci_write_config_byte (ice->pci,0x62 , ice->eeprom.data[ICE_EEP1_I2SID ]);pci_write_config_byte (ice->pci,0x63 , ice->eeprom.data[ICE_EEP1_SPDIF ]);
Re: Envy24 -PSDIN(3) -bug1472 fix
Quoted 6 lines · On Sunday 05 February 2006 21:15, I wrote:
Quoted 1 line
Re bug1472, Distortion noise:
The attached patch does this in
ice1712.c; will this fix be able to make it into 1.0.11 final? This is the last of my list of '6fire bugs/funnies so it would be good if they were all together in one release.
Quoted 8 lines
bug1472-dmx6fire-limit-to-6ADCs.patch
Summary: Disable unused ADCs & DACs on DMX6fire
Change the value written to hardware configuration register of envy24 chip in the case of Terratec DMX6fire to restrict the active ADCs & DACs to 6.
Signed-off-by Alan Horstmann <[email protected]>
As noted on bug-track, slight typo in patch; corrected version 3 attached here also.
alsa-kernel/pci/ice1712/ice1712.c renamed from alsa-kernel/pci/ice1712/ice1712-orig.c +5 -1
@@ -2388,7 +2390,11 @@udelay (200 );outb (ICE1712_NATIVE ,ICEREG (ice,CONTROL ));udelay (200 ); -pci_write_config_byte (ice->pci,0x60 , ice->eeprom.data[ICE_EEP1_CODEC ]); +if (ice->eeprom.subvendor ==ICE1712_SUBDEVICE_DMX6FIRE ) {/* Limit active ADCs and DACs to 6; */ +pci_write_config_byte (ice->pci,0x60 ,0x0a );/* Note: DXR extension not supported */ + }else { +pci_write_config_byte (ice->pci,0x60 , ice->eeprom.data[ICE_EEP1_CODEC ]); + }pci_write_config_byte (ice->pci,0x61 , ice->eeprom.data[ICE_EEP1_ACLINK ]);pci_write_config_byte (ice->pci,0x62 , ice->eeprom.data[ICE_EEP1_I2SID ]);pci_write_config_byte (ice->pci,0x63 , ice->eeprom.data[ICE_EEP1_SPDIF ]);
Re: Re: Envy24 -PSDIN(3) -bug1472 fix
Quoted 11 lines · Alan Horstmann
Quoted 10 lines · On Sunday 05 February 2006 21:15, I wrote:
Quoted 1 line
Re bug1472, Distortion noise:
The attached patch does this in
ice1712.c; will this fix be able to make it into 1.0.11 final? This is the last of my list of '6fire bugs/funnies so it would be good if they were all together in one release.bug1472-dmx6fire-limit-to-6ADCs.patch
Summary: Disable unused ADCs & DACs on DMX6fire
Quoted 7 lines
Quoted 4 lines
Change the value written to hardware configuration register of envy24 chip in the case of Terratec DMX6fire to restrict the active ADCs & DACs to 6.
Signed-off-by Alan Horstmann <[email protected]>As noted on bug-track, slight typo in patch; corrected version 3 attached here also.
Already in CVS in slightly modified form:
ice1712.c:
revision 1.78
date: 2006/02/08 07:40:33; author: perex; state: Exp; lines: +14 -2
Summary: ice1712 - disable unused ADCs & DACs on DMX6fire
You can enable DXR via module parameter 'dxr_enable'.
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642