Re: [alsa-devel] Intel Baytrail Linux Audio
On Wed, Jul 08, 2015 at 10:32:01PM +0200, Luka Karinja wrote:
Hello guys. I have been trying to get sound on my Asus T100TAF with rt5642. I have been following your various threads but i'm not succesfull with getting sound working. Hoppfully you can give me a hand
The changes i made to the kernel:
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c index bb19b58..b45cf3e 100644 --- a/sound/soc/intel/atom/sst/sst_acpi.c +++ b/sound/soc/intel/atom/sst/sst_acpi.c @@ -118,7 +118,7 @@ static const struct sst_res_info byt_rvp_res_info = { .mbox_size = 0x1000, .acpi_lpe_res_index = 0, .acpi_ddr_index = 2,
- .acpi_ipc_irq_index = 5,
- .acpi_ipc_irq_index = 0,
irq index in deafult shoudl work for t100, you should see interrupts
}; static struct sst_platform_info byt_rvp_platform_data = { @@ -345,6 +345,8 @@ static int sst_acpi_remove(struct platform_device *pdev) static struct sst_machines sst_acpi_bytcr[] = { {"10EC5640", "T100", "bytt100_rt5640", NULL, "intel/fw_sst_0f28.bin", &byt_rvp_platform_data },
- {"10EC5642", "T100", "bytt100_rt5640", NULL, "intel/fw_sst_0f28_ssp0.bin",
&byt_rvp_platform_data },
That wont work, I have verfied with T100, it is SSP2 based, so SSP0 will nto work here. I am trying to get this tested on latest driver and provide a working config. Will update shortly
irq index in deafult shoudl work for t100, you should see interrupts
even with .acpi_ipc_irq_index = 5 the output of the interupts while playing is: pinkflozd@bazdara-t100taf:~$ cat /proc/interrupts | grep sst 6: 0 0 0 0 IO-APIC 28-fasteoi intel_sst_driver
In both situations there is just huge heat coming from the speaker and a few clicks not related to playing sound
The T100TAF (Atom Z3535G & rt5642) seems to be using different interrupts order than the T100TA (AtomZ3775 & rt5640)
Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x0000001D, } Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x00000018, } Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x00000019, } Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x0000001A, } Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x0000001B, } Interrupt (ResourceConsumer, Level, ActiveLow, Exclusive, ,, ) { 0x0000001C, }
I did try to sort them (based on Antonios suggestion) but got lots of errors when recompiling so i need to explore that a bit further
That wont work, I have verfied with T100, it is SSP2 based, so SSP0 will nto work here. I am trying to get this tested on latest driver and provide a working config. Will update shortly
I did try the "old" driver for SSP0 that the guys with a T100TA are using but on the T100TAF doesn't work, so maybe the TAF is using something other than SSP2?
Please keep me CC'ed for any followups on this mater
Thanks
participants (2)
-
Luka Karinja
-
Vinod Koul