Re: Fwd: Issue on Linux 4.12-rc7 on iMX6 based board

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/29/2017 04:30 PM, Fabio Estevam wrote:
On Thu, Jun 29, 2017 at 11:24 AM, gianluca
<gianlucarenzi@xxxxxxxxxxxxxxxxxxx> 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,
--
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux