Go to product page, follow links.
Or use a web search.
It will take time and effort. A lot is available, if you try.
John
Unless you post details (yes, details) of what you tried and what happened you make it hard for anyone to help.
John
I assume you're searching for the i.MX233 builtin audio driver. I ported the driver to compile with Linux Mainline 3.19 and higher. Here is the git repo (branch: sound):
https://github.com/lategoodbye/linux-mxs-power/tree/sound
Sorry , it's my mistake. imx23-olinuxino-audio.dts was missing. Now it works,but amixer can't work.
please help me~~~~~
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: mxsbuiltinaudio [mxs-builtin-audio], device 0: MXS ADC/DAC mxs-builtin-codec-dai-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
#
#
# amixer
[ 193.150000] Unable to handle kernel NULL pointer dereference at virtual address 0000004c
[ 193.160000] pgd = c3a34000
[ 193.160000] [0000004c] *pgd=43a78831, *pte=00000000, *ppte=00000000
[ 193.160000] Internal error: Oops: 17 [#1] ARM
[ 193.160000] Modules linked in: rtl8192cu rtl_usb rtl8192c_common rtlwifi
[ 193.160000] CPU: 0 PID: 107 Comm: amixer Not tainted 3.18.6 #1
[ 193.160000] task: c3b40000 ti: c3a8c000 task.ti: c3a8c000
[ 193.160000] PC is at dac_get_volsw+0xc/0x78
[ 193.160000] LR is at snd_ctl_ioctl+0x584/0xb24
[ 193.160000] pc : [<c02ff6b8>] lr : [<c02de9b8>] psr: a0000013
[ 193.160000] sp : c3a8deb0 ip : c3abd430 fp : bec03854
[ 193.160000] r10: bec03550 r9 : c3a8c000 r8 : c3992d7c
[ 193.160000] r7 : c3992ec0 r6 : c3abd400 r5 : c39a5800 r4 : 00000001
[ 193.160000] r3 : 00000000 r2 : 00000000 r1 : c3abd400 r0 : c39a5800
[ 193.160000] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 193.160000] Control: 0005317f Table: 43a34000 DAC: 00000015
[ 193.160000] Process amixer (pid: 107, stack limit = 0xc3a8c1b8)
[ 193.160000] Stack: (0xc3a8deb0 to 0xc3a8e000)
[ 193.160000] dea0: 00000001 c02de9b8 c4968000 c3992d7c
[ 193.160000] dec0: 00000000 0000000b 0000000b 0000000b 00eb61e0 00000000 00000000 00000000
[ 193.160000] dee0: 00000000 00000000 00000000 c059bcac 00000005 c0010424 b6f5f60c c3a8dfb0
[ 193.160000] df00: bec03550 0000000b bec03854 bec03550 c3984d40 c3ae1820 00000003 00000003
[ 193.160000] df20: c3a8c000 00000000 bec03854 c00aff40 c05982b4 c3b19000 00000000 00000000
[ 193.160000] df40: 00020002 00000003 00000020 c3b19000 c3ae1820 c3ae1828 00000003 00000020
[ 193.160000] df60: c3b19000 c009fd94 c3ae1820 c3ae1820 bec03550 c3ae1820 c2c85512 00000003
[ 193.160000] df80: c3a8c000 00000000 bec03854 c00b0118 00000000 bec03550 00000018 00000036
[ 193.160000] dfa0: c00096e4 c0009580 00000000 bec03550 00000003 c2c85512 bec03550 00000000
[ 193.160000] dfc0: 00000000 bec03550 00000018 00000036 000000a8 bec03550 00000007 bec03854
[ 193.160000] dfe0: b6f85d14 bec03520 b6ef79a4 b6e3b354 60000010 00000003 00000000 00000000
[ 193.160000] [<c02ff6b8>] (dac_get_volsw) from [<c02de9b8>] (snd_ctl_ioctl+0x584/0xb24)
[ 193.160000] [<c02de9b8>] (snd_ctl_ioctl) from [<c00aff40>] (do_vfs_ioctl+0x39c/0x540)
[ 193.160000] [<c00aff40>] (do_vfs_ioctl) from [<c00b0118>] (SyS_ioctl+0x34/0x5c)
[ 193.160000] [<c00b0118>] (SyS_ioctl) from [<c0009580>] (ret_fast_syscall+0x0/0x2c)
[ 193.160000] Code: e12fff1e e92d4010 e5903060 e5933054 (e593304c)
[ 193.380000] ---[ end trace c7d4c24fd8d91b48 ]---
Sorry for this inconvenience.
You could try this repo which contains a newer version:
https://github.com/lategoodbye/linux-lcd6610
Please aware this is work in progress and uses the imx23-olinuxino.dts
Quote from: swahren on November 02, 2016, 09:31:31 PM
Sorry for this inconvenience.
You could try this repo which contains a newer version:
https://github.com/lategoodbye/linux-lcd6610
Please aware this is work in progress and uses the imx23-olinuxino.dts
Okay. it works.
new issue is happen. After i use 'mplayer' some times, Audio device got stuck!
log:
# mplayer 1.wav
MPlayer 1.2-4.9.3 (C) 2000-2015 MPlayer Team
Playing 1.wav.
libavformat version 56.40.101 (internal)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
Audio device got stuck!
A: 0.0 (00.0) of 263.0 (04:23.0) ??,?%
[AO_ALSA] alsa-lib: pcm_hw.c:649:(snd_pcm_hw_drain) SNDRV_PCM_IOCTL_DRAIN failed (-5): Input/output error
Exiting... (End of file)
#
dmesg log:
....
[ 5.900000] wlan0: associated
[ 5.900000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 6.940000] DRBG: Continuing without Jitter RNG
[ 62.020000] random: nonblocking pool is initialized
[ 806.820000] ADC underflow detected
[ 812.270000] ADC underflow detected
[ 813.890000] ADC overflow detected
[ 816.860000] ADC underflow detected
[ 822.420000] ADC underflow detected
[ 826.990000] ADC underflow detected
[ 1009.900000] ADC overflow detected
[ 1011.570000] ADC underflow detected
[ 1013.930000] ADC underflow detected
[ 1016.680000] ADC underflow detected
[ 1016.760000] ADC underflow detected
use 'aplay' some times, Input/output error happen.
#
# aplay 1.wav
Playing WAVE '1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
^CAborted by signal Interrupt...
^C
# aplay 1.wav
Playing WAVE '1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:1940: write error: Input/output error