alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Cherry trail and Nau 88l24 codec
@ 2016-12-03  1:16 Joseph Wang
  2016-12-04  3:13 ` Pierre-Louis Bossart
  2016-12-05  3:43 ` KCHSU0
  0 siblings, 2 replies; 12+ messages in thread
From: Joseph Wang @ 2016-12-03  1:16 UTC (permalink / raw)
  To: alsa-devel, pierre-louis.bossart, KCHSU0

Hi all,

I've been trying to get sound working on my W9S pipo device.  The people at
Nuvoton have been extraordinarily helpful, but now the issue is writing the
machine driver.

My work is at

https://github.com/joequant/nau8824

I've gotten the drivers to load, but getting timeouts with the firmware....

[  102.447840] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0,
msg_id:0x2 fw_state 0x3
[  102.447872] intel_sst_acpi 808622A8:00: fw returned err -16
[  103.471448] intel_sst_acpi 808622A8:00: Wait timed-out condition:0x0,
msg_id:0x2 fw_state 0x3

and then

[  116.820782] intel_sst_acpi 808622A8:00: fw returned err -16
[  116.938921] intel_sst_acpi 808622A8:00: FW sent error response 0x5000e
[  116.939065] intel_sst_acpi 808622A8:00: FW sent error response 0x5000e
[  116.939579] intel_sst_acpi 808622A8:00: FW sent async error msg:
[  116.939614] (null)00040021 00000000
[  116.939685] (null)00040021 00000000
[  116.953260] sst-mfld-platform sst-mfld-platform: Enter: enable=1
port_name=ssp2-port
[  116.953704] intel_sst_acpi 808622A8:00: Alloc for str 3 pipe 0xe
[  116.954062] sst-mfld-sst-mfld-platform: SET_SWM cmd max inputs reached

One other path is that ICube has gotten this codec to work on their iwork8
Ultimate android device.  They are required to release the source under
GPL2, but haven't done so, so if all else fails, it will be a matter of
tracking down someone in that company and explaining the issues to them.
Since I'm in Hong Kong, I might just find where the things are
manufactured, and just show up at their office.

But it appears that there are some "magic bits" that are missing.  One
question that I have is what is the proper DAI to use (i.e. PCM or I2S) for
cherry trail.  The second question is that looking at the windows driver
for nau88l24, there appears to be a test mode that runs the driver against
a Realtek rt5645.  Should I assume that this means that the initialization
is similar?

Also I'm quite interested in getting this to work.  The W9S Pipo is a
perfect netbook that has a big screen that is half the weight of my old
laptop.  The big thing is that someone realized that instead of putting in
a SATA hard disk, that they can use an SD card as main storage, and that
cuts down on the weight.

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Cherry trail and Nau 88l24 codec
@ 2016-12-09 14:14 Joseph Wang
  0 siblings, 0 replies; 12+ messages in thread
From: Joseph Wang @ 2016-12-09 14:14 UTC (permalink / raw)
  To: Pierre-Louis Bossart; +Cc: alsa-devel, KCHSU0

YES!!!!

Thank you Intel and Nuvoton.

I'm getting beautiful sound in the external speakers.

The jack detection is a bit flaky, but I can work on that.

The code is available at

https://github.com/joequant/nau8824

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-12-09 14:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-03  1:16 Cherry trail and Nau 88l24 codec Joseph Wang
2016-12-04  3:13 ` Pierre-Louis Bossart
2016-12-04 14:19   ` Joseph Wang
2016-12-05  7:29     ` KCHSU0
2016-12-05  3:43 ` KCHSU0
2016-12-05  6:45   ` Joseph Wang
2016-12-05  8:58     ` KCHSU0
2016-12-05 18:10     ` Pierre-Louis Bossart
2016-12-07  8:01       ` Joseph Wang
2016-12-07  9:21         ` Joseph Wang
2016-12-07 14:19           ` Pierre-Louis Bossart
  -- strict thread matches above, loose matches on Subject: below --
2016-12-09 14:14 Joseph Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).