[Alsa-user] Jul@ analog output tweak
Brought to you by:
perex
|
From: uberguru <ube...@lk...> - 2005-11-10 02:07:15
|
This is a very dirty way to get the "analog" mixer to work with Juli@
soundcard.
In the file:
alsa-driver-1.0.10rc3\alsa-kernel\pci\ice1712\julia.c
look up section below and comment out the first
"if(ice->spec.juli.analog)" statement. For some reason the mask is not
working. When the new module is compiled, installed and loaded there
will be 2 DAC controls in alsamixer for left and right channel.. As I
dont have any deeper understanding of Alsa this could very well wipe out
your board... but its working fine for me.. External input is also working.
ice->spec.juli.analog = ice->gpio.get_data(ice) & GPIO_ANALOG_PRESENT;
// if (ice->spec.juli.analog) {
printk(KERN_INFO "juli@: analog I/O detected\n");
ice->num_total_dacs = 2;
ice->num_total_adcs = 2;
ak = ice->akm = kzalloc(sizeof(akm4xxx_t), GFP_KERNEL);
if (! ak)
return -ENOMEM;
ice->akm_codecs = 1;
if ((err = snd_ice1712_akm4xxx_init(ak, &akm_juli_dac, NULL,
ice)) < 0)
return err;
// }
Regards /C
|