Skip to contentSkip to conversation

aureon.c - hpamp, adc/dac mute

PATCH Takashi Iwai 3 participants 3 messages May 14, 2004 – May 15, 2004 1 message not in the archive

lore
Share & tools
lore

Takashi Iwai

author Applied
#1 lore raw
In reply to a message not in the archive

At Fri, 14 May 2004 14:48:18 +0200,

Quoted 10 lines · Christoph Haderer

[1 <text/plain; us-ascii (7bit)>]
This patch adds a headphone amplifier control and the ability to mute the DAC (all channels at once) and the ADC channels. wm_adc_vol_put had to be changed a little bit because otherwise the ADC-mute bits would be overwritten when changing the ADC-gain. I have also modified wm_adc_mux_info; IMHO the *texts array was wrong before - the texts didn't match the recording source (tested with alsamixer). This patch applies cleanly against the alsa source files that came with kernel 2.6.6-mm2.

thanks, applied now to cvs.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click

#2 lore raw

Hm.. It seems then that after all that the Audiotrak Prodigy 7.1 is identical to Terratec Aureon, except that the later has optical digital IO instead of coaxial. The headphone function is also implemented in Audiotrak Prodigy 7.1 driver. I used to think that it was a difference between the Prodigy and Terratec Aureon. If everything else is the same (i.e. wiring inside the card) then we can merge the two drivers into one since they are almost identical (prodigy.c and aureon.c).

I also have a dump from the communication of the windows driver with the AC97 codec of the card which is used for mixing the 4 internal connectors (the communication is through a XIlinx programmable device and so it was difficult to implement). I believe that the dump can be used to add the support of the AC97 to both Prodigy and Aureon. I will do it sometime when I find time but if anyone is interested I can send the dump.

Cheers,
Apostolos

Quoted 12 lines

At Fri, 14 May 2004 14:48:18 +0200,

Quoted 5 lines · Christoph Haderer

[1 <text/plain; us-ascii (7bit)>]
This patch adds a headphone amplifier control and the ability to mute the DAC (all channels at once) and the ADC channels. wm_adc_vol_put had to be changed a little bit because otherwise the ADC-mute bits would be overwritten when changing the ADC-gain. I have also modified wm_adc_mux_info; IMHO the *texts array was wrong before - the texts didn't match the recording source (tested with alsamixer). This patch applies cleanly against the alsa source files that came with kernel 2.6.6-mm2.

-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click

#3 lore raw
Quoted 1 line · Apostolos Dimitromanolakis

I also have a dump from the communication of the windows driver with the AC97 codec of the card which is used for mixing the 4 internal connectors (the communication is through a XIlinx programmable device and so it was difficult to implement). I believe that the dump can be used to add the support of the AC97 to both Prodigy and Aureon. I will do it sometime when I find time but if anyone is interested I can send the dump.

It would be really nice if support for the AC97 codec could be added. (I'm afraid I wouldn't be much of a help in this field as my current programming experience is rather low)

Quoted 2 lines

... then we can merge the two drivers into
one since they are almost identical (prodigy.c and aureon.c).

I agree - a merge of prodigy.c and aureon.c would be the right thing because as far as i know, the only difference (apart from the type of the digital io connection) is the content of the eeprom (and maybe the frequency of the crystal).

By the way, was anyone using an Aureon or Prodigy able to get a signal from one of the digital inputs? Currently the command 0x0200 from cs_inits[] sets the CS8415A's input multiplexer to RXP0 which is, at least on my Aureon, connected to the cd-spdif input. But unfortunately I'm neither able to record the signal applied to this input via the spdif device nor is it possible to monitor it by setting the "H/W Playback Route" control to "IEC 958 In". Any feedback/solutions/hints would be appreciated.

Regards,
Christoph Haderer

-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click