On 06/29/2017 04:30 PM, Fabio Estevam wrote:
On Thu, Jun 29, 2017 at 11:24 AM, gianluca gianlucarenzi@eurekelettronica.it wrote:
So, are they good?
If your hardware really uses these pins, then yes :-)
Now looking at other boards where our hardware-guy took the inspiration (i.e. iMX6 Rex from Fedevel) the device-tree is the same as mine.
MX6QDL_PAD_GPIO_0__CCM_CLKO1 0x030b0
0x130b0 or 0x030b0 the only difference is the PAD_CTL_HYS (1 << 16)
Maybe more strong to noise, but basically they are the same.
But I found an issue when playing data from aplay without specifing the device or specifying one:
# aplay /usr/share/sounds/alsa/Front_Center.wav Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
or
# aplay -D hw:0,0 /usr/share/sounds/alsa/Front_Right.wav Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono aplay: set_params:1233: Sample format non available Available formats:
- S24_LE
Maybe some ALSA misconfigured????
This distro is a bootstrapped jessie Debian 8, so some configuration could be missing or not-so-good-configured.
# aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default:CARD=imx6ek360sgtl50 imx6-ek360-sgtl5000, Default Audio Device sysdefault:CARD=imx6ek360sgtl50 imx6-ek360-sgtl5000, Default Audio Device dmix:CARD=imx6ek360sgtl50,DEV=0 imx6-ek360-sgtl5000, Direct sample mixing device dsnoop:CARD=imx6ek360sgtl50,DEV=0 imx6-ek360-sgtl5000, Direct sample snooping device hw:CARD=imx6ek360sgtl50,DEV=0 imx6-ek360-sgtl5000, Direct hardware device without any conversions plughw:CARD=imx6ek360sgtl50,DEV=0 imx6-ek360-sgtl5000, Hardware device with all software conversions
Anybody has never faced an issue like this?
Regards,