Hello minhong ,

 

For APL nuc with model no NUC6CAYH, USB type  A port near to Power button provides adb support .

 

note:

release notes : https://01.org/projectceladon/documentation/release_notes#ww201851-aplnuc                                                                                                                                                                                 

Need Type –A to Type-A cable  ,one end connects to nuc and other on host where android adb tools installed.

 

Thanks

Balaji

 

 

From: Ming-Hong Wu [mailto:minhong.wu@gmail.com]
Sent: Friday, July 19, 2019 7:29 AM
To: Gopal, Saranya <saranya.gopal@intel.com>
Cc: Balaji, M <m.balaji@intel.com>; Zhang, Yanmin <yanmin.zhang@intel.com>; celadon@lists.01.org
Subject: Re: [01.org Celadon] Enable/Disable UAC3

 

Hi Saranya,

 

The model is NUC6CAYH.

 

Gopal, Saranya <saranya.gopal@intel.com> 2019718 週四,22:26寫道:

Hi Minhong,

 

It depends on the audio device you have. Most probably, the second configuration will be UAC3 if the device is UAC3-compliant.

You can cat the value of the bConfigurationValue before changing it to 1 and then write back the same value to set to UAC3 configuration.

Please note that the device should be UAC3-compliant for UAC3 configuration to work.

 

And yes, you need to enable adb for this purpose. ADB is enabled by default in Celadon. You need a type-A to type-A USB cable to connect the NUC to host machine.

The device mode port depends on the NUC model which you are using. If you can tell us the NUC model, we can check and tell which port to use.

 

Thanks,

Saranya

 

From: Ming-Hong Wu [mailto:minhong.wu@gmail.com]
Sent: Thursday, July 18, 2019 2:30 PM
To: Gopal, Saranya <saranya.gopal@intel.com>
Cc: Balaji, M <m.balaji@intel.com>; Zhang, Yanmin <yanmin.zhang@intel.com>; celadon@lists.01.org
Subject: Re: [01.org Celadon] Enable/Disable UAC3

 

Hi Saranya,

 

Thanks for the detail.

 

What if I write 1 to bConfigurationValue for UAC 1/2, which value shall I write back for UAC3? Is that 3?

 

To control the Kernel interfaces, e.g. /proc or /sys, should I enable adb for the purpose? Sorry for not being quite familiar with Android SDK, I tried to access via adb but no luck. Is that enabled by default in Celadon? How can I debug for accessing it or there is a simple way for similar purpose?

 

 

Gopal, Saranya <saranya.gopal@intel.com> 2019718 週四,16:51寫道:

Hi Minhong,

 

Please find answers to your questions below:

1. Is UAC3 enabled by default (said master codes)?

    Yes. UAC3 support is available in kernel by default. But, you need UAC3-compliant audio device to get this feature.

2. If I would like to make it disabled, what is the suggested way?

2.1 from something like menuconfig to NOT build the features from Kernel?

There is no menuconfig to disable this feature.

2.2 after booting into Celadon, any entry to disable this feature?

You can switch to backward-compatible UAC1/UAC2 configuration by writing 1 into bConfigurationValue sysfs.

echo 1 > /sys/bus/usb/devices/<n-n>bConfigurationValue

where n-n is the hub number and port number where the USB device is enumerated. You can get this value from dmesg.

And you will need to change the file permission for this sysfs to write into it,

 

Is your audio device having more than one configuration? In that case, the UAC3 patch caused an issue which makes the last configuration get selected for non-UAC3 compliant device.

You can cherry-pick this patch to get that fixed. This patch is available upstream:

https://lore.kernel.org/patchwork/patch/1029221/

 

Please let us know if you have any more questions.

 

Thanks,

Saranya

 

 

From: Celadon [mailto:celadon-bounces@lists.01.org] On Behalf Of Zhang, Yanmin
Sent: Thursday, July 18, 2019 7:56 AM
To: Ming-Hong Wu <minhong.wu@gmail.com>; celadon@lists.01.org
Subject: Re: [01.org Celadon] Enable/Disable UAC3

 

+Balaji.

 

@Minghong, why do you want to disable UAC3? Does it cause any issue?

 

Yanmin

 

From: Celadon [mailto:celadon-bounces@lists.01.org] On Behalf Of Ming-Hong Wu
Sent: Thursday, July 18, 2019 12:13 AM
To: celadon@lists.01.org
Subject: [01.org Celadon] Enable/Disable UAC3

 

Hi,

 

I checked with the tutorial,

 

I've questions as below after reading that,

 

1. Is UAC3 enabled by default (said master codes)?

 

2. If I would like to make it disabled, what is the suggested way?

2.1 from something like menuconfig to NOT build the features from Kernel?

2.2 after booting into Celadon, any entry to disable this feature?

 

 

--

Sincerely,

minhong

--

Sincerely,

minhong

--

Sincerely,

minhong