mplayer 01\ -\ Zbojn������cka.mp3 Creating config file: /root/.mplayer/config MPlayer SVN-r33094-4.5.3 (C) 2000-2011 MPlayer Team Playing 01 - Zbojn. Audio only file format detected. Clip info: Title: Zbojnicka Artist: Lunatic Gods Album: Vlnobytie Year: 2012 Comment: Track: 1 Genre: Metal Load subtitles in ./ ================================================== ======================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ================================================== ==<============4> tlv320aic3100 LP: asoc: tlv320aic3100 LP no valid playback ========== <1>Unable to handle kernel NULL pointer dereference at virtual address 00000058 <1>pgd = ec69c000 <1>[00000058] *pgd=ac6cf831, *pte=00000000, *ppte=00000000 <0>Internal error: Oops: 17 [#1] PREEMPT SMP <d>Modules linked in:Modules linked in: wl12xx_sdio wl12xx_sdio wl12xx wl12xx CPU: 1 Not tainted (3.0.21-01313-g859a880-dirty #163) PC is at omap_abe_dai_startup+0x1c/0x144 LR is at omap_abe_dai_startup+0x1c/0x144 pc : [<c03d21a4>] lr : [<c03d21a4>] psr: a0000013 sp : ebe73c38 ip : ebe73c38 fp : ebe73c5c r10: c073e3d0 r9 : ec46d400 r8 : c073d710 r7 : ebdd8400 r6 : ec46d400 r5 : ec468c00 r4 : ec490000 r3 : ecc96360 r2 : 00000000 r1 : ec468c00 r0 : 00000000 Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user Control: 10c5387d Table: ac69c04a DAC: 00000015
.....
Backtrace: Backtrace: [<c03d2188>] (omap_abe_dai_startup+0x0/0x144) from [<c03c2384>] (soc_pcm_open+0x9c/0x5a4) [<c03d2188>] (omap_abe_dai_startup+0x0/0x144) from [<c03c2384>] (soc_pcm_open+0x9c/0x5a4) [<c03c22e8>] (soc_pcm_open+0x0/0x5a4) from [<c03ca114>] (soc_dsp_fe_dai_open+0xac/0x3a0) [<c03c22e8>] (soc_pcm_open+0x0/0x5a4) from [<c03ca114>] (soc_dsp_fe_dai_open+0xac/0x3a0) [<c03ca068>] (soc_dsp_fe_dai_open+0x0/0x3a0) from [<c03b1238>] (snd_pcm_open_substream+0x70/0xb0) [<c03ca068>] (soc_dsp_fe_dai_open+0x0/0x3a0) from [<c03b1238>] (snd_pcm_open_substream+0x70/0xb0) [<c03b11c8>] (snd_pcm_open_substream+0x0/0xb0) from [<c03b13b8>] (snd_pcm_open+0x140/0x258) [<c03b11c8>] (snd_pcm_open_substream+0x0/0xb0) from [<c03b13b8>] (snd_pcm_open+0x140/0x258) r5:ec4d24e0 r5:ec4d24e0 r4:ecd89960 r4:ecd89960 [<c03b1278>] (snd_pcm_open+0x0/0x258) from [<c03b155c>] (snd_pcm_playback_open+0x44/0x48) [<c03b1278>] (snd_pcm_open+0x0/0x258) from [<c03b155c>] (snd_pcm_playback_open+0x44/0x48) [<c03b1518>] (snd_pcm_playback_open+0x0/0x48) from [<c03a3418>] (snd_open+0x144/0x2c0) [<c03b1518>] (snd_pcm_playback_open+0x0/0x48) from [<c03a3418>] (snd_open+0x144/0x2c0) r5:ecd89960 r5:ecd89960 r4:c059ab60 r4:c059ab60 [<c03a32d4>] (snd_open+0x0/0x2c0) from [<c01209fc>] (chrdev_open+0x12c/0x1e4) [<c03a32d4>] (snd_open+0x0/0x2c0) from [<c01209fc>] (chrdev_open+0x12c/0x1e4) [<c01208d0>] (chrdev_open+0x0/0x1e4) from [<c011b6c8>] (__dentry_open+0x188/0x2c8) [<c01208d0>] (chrdev_open+0x0/0x1e4) from [<c011b6c8>] (__dentry_open+0x188/0x2c8) r7:ebefbd08 r7:ebefbd08 r6:ecc0cbe0 r6:ecc0cbe0 r5:ec963aa0 r5:ec963aa0 r4:ecd89960 r4:ecd89960 [<c011b540>] (__dentry_open+0x0/0x2c8) from [<c011b8e8>] (nameidata_to_filp+0x68/0x70) [<c011b540>] (__dentry_open+0x0/0x2c8) from [<c011b8e8>] (nameidata_to_filp+0x68/0x70) [<c011b880>] (nameidata_to_filp+0x0/0x70) from [<c012a0f8>] (do_last+0xc8/0x6d4) [<c011b880>] (nameidata_to_filp+0x0/0x70) from [<c012a0f8>] (do_last+0xc8/0x6d4) r7:00000026 r7:00000026 r6:00000000 r6:00000000 r5:00080802 r5:00080802 r4:ebe73ed0 r4:ebe73ed0 [<c012a030>] (do_last+0x0/0x6d4) from [<c012b73c>] (path_openat+0xc4/0x3c0) [<c012a030>] (do_last+0x0/0x6d4) from [<c012b73c>] (path_openat+0xc4/0x3c0) [<c012b678>] (path_openat+0x0/0x3c0) from [<c012bb30>] (do_filp_open+0x38/0x8c) [<c012b678>] (path_openat+0x0/0x3c0) from [<c012bb30>] (do_filp_open+0x38/0x8c) [<c012baf8>] (do_filp_open+0x0/0x8c) from [<c011b454>] (do_sys_open+0xe8/0x17c) [<c012baf8>] (do_filp_open+0x0/0x8c) from [<c011b454>] (do_sys_open+0xe8/0x17c) r8:00000001 r8:00000001 r7:ffffff9c r7:ffffff9c r6:00000005 r6:00000005 r5:00080802 r5:00080802 r4:ebcf6000 r4:ebcf6000 [<c011b36c>] (do_sys_open+0x0/0x17c) from [<c011b520>] (sys_open+0x24/0x28) [<c011b36c>] (do_sys_open+0x0/0x17c) from [<c011b520>] (sys_open+0x24/0x28) [<c011b4fc>] (sys_open+0x0/0x28) from [<c004df00>] (ret_fast_syscall+0x0/0x30) [<c011b4fc>] (sys_open+0x0/0x28) from [<c004df00>] (ret_fast_syscall+0x0/0x30) <0>Code: e1a06000 e5910008 e1a05001 ebfcacb2 (e5901058) Code: e1a06000 e5910008 e1a05001 ebfcacb2 (e5901058) <4>---[ end trace 857471665bae8791 ]--- ---[ end trace 857471665bae8791 ]---
Segmentation fault
Kernel 3.0.21. (p-android-omap). SOC tlv320aic3100. Source you can see in https://github.com/fat-tire/kernel3NookTablet
Hi,
Use the following amixer commands before issuing a playback
amixer cset name="DL1 Media Playback Volume" 120
amixer cset name="SDT DL Volume" 120
amixer cset name="DL1 MM_EXT Switch" 1
amixer cset name="Sidetone Mixer Playback" 1
amixer cset name="DL1 Mixer Multimedia" 1
Regards,
Mukund
localhost ~ # amixer cset name="DL1 Media Playback Volume" 120numid=7,iface=MIXER,name='DL1 Media Playback Volume' ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0 : values=120 | dBscale-min=-120.00dB,step=1.00dB,mute=1localhost ~ # amixer cset name="SDT DL Volume" 120numid=24,iface=MIXER,name='SDT DL Volume' ; type=INTEGER,access=rw---R--,values=1,min=0,max=149,step=0 : values=120 | dBscale-min=-120.00dB,step=1.00dB,mute=1localhost ~ # amixer cset name="DL1 MM_EXT Switch" 1 numid=33,iface=MIXER,name='DL1 MM_EXT Switch' ; type=BOOLEAN,access=rw------,values=1 : values=onlocalhost ~ # amixer cset name="Sidetone Mixer Playback" 1numid=37,iface=MIXER,name='Sidetone Mixer Playback' ; type=BOOLEAN,access=rw------,values=1 : values=onlocalhost ~ # amixer cset name="DL1 Mixer Multimedia" 1numid=52,iface=MIXER,name='DL1 Mixer Multimedia' ; type=BOOLEAN,access=rw------,values=1 : values=onlocalhost ~ # aplay
After this command I receive:
omap_abe_dai_startup startUnable to handle kernel NULL pointer dereference at virtual address 00000058pgd = ec614000[00000058] *pgd=acd8a831, *pte=00000000, *ppte=00000000Internal error: Oops: 17 [#1] PREEMPT SMPModules linked in:CPU: 1 Not tainted (3.0.21+ #174)PC is at omap_abe_dai_startup+0x28/0x19cLR is at omap_abe_dai_startup+0x28/0x19cpc : [<c03ab900>] lr : [<c03ab900>] psr: a0000013sp : ec24dc38 ip : ec24dc38 fp : ec24dc5cr10: c0726238 r9 : ecdfa500 r8 : c0725578r7 : ec676000 r6 : ecdfa500 r5 : ecdfe240 r4 : ec468000r3 : ecc96360 r2 : 00000000 r1 : 00000001 r0 : 00000000Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment userControl: 10c5387d Table: ac61404a DAC: 00000015.....Backtrace: [<c03ab8d8>] (omap_abe_dai_startup+0x0/0x19c) from [<c039bad4>] (soc_pcm_open+0x9c/0x5a4)[<c039ba38>] (soc_pcm_open+0x0/0x5a4) from [<c03a3864>] (soc_dsp_fe_dai_open+0xac/0x3a0)[<c03a37b8>] (soc_dsp_fe_dai_open+0x0/0x3a0) from [<c038a980>] (snd_pcm_open_substream+0x70/0xb0)[<c038a910>] (snd_pcm_open_substream+0x0/0xb0) from [<c038ab00>] (snd_pcm_open+0x140/0x258) r5:ec4662e0 r4:ec66c320[<c038a9c0>] (snd_pcm_open+0x0/0x258) from [<c038aca4>] (snd_pcm_playback_open+0x44/0x48)[<c038ac60>] (snd_pcm_playback_open+0x0/0x48) from [<c037cb60>] (snd_open+0x144/0x2c0) r5:ec66c320 r4:c0573fe8[<c037ca1c>] (snd_open+0x0/0x2c0) from [<c0121280>] (chrdev_open+0x12c/0x1e4)[<c0121154>] (chrdev_open+0x0/0x1e4) from [<c011bf4c>] (__dentry_open+0x188/0x2c8) r7:ec233750 r6:ec632460 r5:ec95bb28 r4:ec66c320[<c011bdc4>] (__dentry_open+0x0/0x2c8) from [<c011c16c>] (nameidata_to_filp+0x68/0x70)[<c011c104>] (nameidata_to_filp+0x0/0x70) from [<c012a97c>] (do_last+0xc8/0x6d4) r7:00000026 r6:00000000 r5:00080802 r4:ec24ded0[<c012a8b4>] (do_last+0x0/0x6d4) from [<c012bfc0>] (path_openat+0xc4/0x3c0)[<c012befc>] (path_openat+0x0/0x3c0) from [<c012c3b4>] (do_filp_open+0x38/0x8c)[<c012c37c>] (do_filp_open+0x0/0x8c) from [<c011bcd8>] (do_sys_open+0xe8/0x17c) r8:00000001 r7:ffffff9c r6:00000004 r5:00080802 r4:ec07a000[<c011bbf0>] (do_sys_open+0x0/0x17c) from [<c011bda4>] (sys_open+0x24/0x28)[<c011bd80>] (sys_open+0x0/0x28) from [<c004df00>] (ret_fast_syscall+0x0/0x30)Code: e34c006a eb065f7b e5950008 ebfcacad (e5902058) ---[ end trace d44132d07d3b888e ]---
Looks like you are using an old version of the codec driver.
You can request for the latest TLV320AIC3100 driver corresponding to kernel 3.0 at
http://www.ti.com/tool/codecdrivers-sw
Hi, we're also looking for the driver but there are no TLV320AIC3100 drivers for OMAP4xxx or 3.x kernels withing the Audio Codec Selection Tool (http://www.ti.com/tool/codecdrivers-sw) and codecdrivers-sw@list.ti.com is not replying.
I get drivers.
But I have a problem. There is no fm/fm34.h in package.
This files included in sound/soc/omap/omap4_panda_aic31xx.c.
You can safely remove the include file. If there are any dependencies those can also be removed.
<3> tlv320aic3100 Media1 LP: no BE found for PDM_DL2<4> tlv320aic3100 Media1 LP: asoc: tlv320aic3100 Media1 LP no valid playback route from source to sink<3> tlv320aic3100 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3100 Media1 LP<3> tlv320aic3100 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3100 Media1 LP<3> tlv320aic3100 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3100 Media1 LP<3> tlv320aic3100 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3100 Media1 LP<3> tlv320aic3100 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3100 Media1 LP<3> tlv320aic3100 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3100 Media1 LP
My full dmesg
http://pastebin.com/jTPebsrt
Can anybody say, how to debug this problem?
1|root@android:/d/asoc # cd OMAP4_ACCLAIM-ABE/tlv320aic3100\ Media1\ LP/ root@android:/d/asoc/OMAP4_ACCLAIM-ABE/tlv320aic3100 Media1 LP # lsstate cat state [tlv320aic3100 Media1 LP - Playback]State: closeBackends: No active DSP linkscd /d/asoc/ root@android:/d/asoc # lsOMAP4_ACCLAIM-ABEcodecsdaisplatforms1|root@android:/d/asoc # cat codecs null-codecnull-codecnull-codectlv320aic3100-codecroot@android:/d/asoc # cat dais null-codec-dainull-codec-dainull-codec-daiMultiMedia1 LPMODEMVibraTonesVoiceMultiMedia2MultiMedia1omap-mcbsp-dai.3omap-mcbsp-dai.2omap-mcbsp-dai.1omap-mcbsp-dai.0tlv320aic3100-MM_EXTroot@android:/d/asoc # cat platforms aessomap-pcm-audiosnd-soc-dummy
Sounds like the ABE back-end and front-end are not mapped. The following commands maps the Media LP to MM_EXT resulting in data flow inside ABE.
Thank you Mukund, but where to get amixer for ICS?
I also see many error on the logcat
I/TabletStatusBar( 234): DISABLE_EXPAND: yesE/AudioFlinger( 105): createTrack_l() Bad parameter: sampleRate 44100 format 1, channelMask 0x00000001 "for output 0x19fff20 with format 1E/AudioTrack( 169): AudioFlinger could not create track, status: -22E/SoundPool( 169): Error creating AudioTrackD/ShutdownThread( 169): Notifying thread to start shutdown longPressBehavior=1E/AudioFlinger( 105): createTrack_l() Bad parameter: sampleRate 44100 format 1, channelMask 0x00000001 "for output 0x19fff20 with format 1E/AudioTrack( 169): AudioFlinger could not create track, status: -22E/SoundPool( 169): Error creating AudioTrack
I have such output for aplay -L
root@android:/mnt/sdcard # aplay -L null Discard all samples (playback) or generate zero samples (capture)default:CARD=OMAP4ACCLAIMABE OMAP4_ACCLAIM-ABE, Default Audio Deviceroot@android:/mnt/sdcard # aplay -l **** List of PLAYBACK Hardware Devices ****card 0: OMAP4ACCLAIMABE [OMAP4_ACCLAIM-ABE], device 0: Multimedia null-codec-dai-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: OMAP4ACCLAIMABE [OMAP4_ACCLAIM-ABE], device 1: Multimedia null-codec-dai-1 [] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: OMAP4ACCLAIMABE [OMAP4_ACCLAIM-ABE], device 3: Multimedia tlv320aic3110-MM_EXT-3 [] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: OMAP4ACCLAIMABE [OMAP4_ACCLAIM-ABE], device 4: FM Playback tlv320aic3110-MM_EXT-4 [] Subdevices: 1/1 Subdevice #0: subdevice #0card 0: OMAP4ACCLAIMABE [OMAP4_ACCLAIM-ABE], device 5: FM Capture tlv320aic3110-MM_EXT-5 [] Subdevices: 1/1 Subdevice #0: subdevice #0
Is it correct? I also have
<3> tlv320aic3110 Media1 LP: no BE found for PDM_DL2<4> tlv320aic3110 Media1 LP: asoc: tlv320aic3110 Media1 LP no valid playback route from source to sink<3> tlv320aic3110 Media1 LP: dsp: no backend DAIs enabled for tlv320aic3110 Media1 LP
and no sound.
Now I have sound only when I run such commands
1. Start Music player from ICS.
2.No sound
3. Run
ABE CODEC CONTROLS===================./tinymix 71 1./tinymix 130 127./tinymix 64 150./tinymix 76 1./tinymix 77 1./tinymix 139 1./tinymix 137 1./tinymix 129 127./tinymix 70 1./tinymix 132 2./tinymix 136 2./tinymix 73 152./tinymix 74 50ABE PLAYBACK MIXERS===========================./tinymix 51 1./tinymix 36 1./tinymix 23 120./tinymix 6 118./tinymix 32 1./tinymix 3 1./tinymix 9 10./tinymix 21 120./tinymix 20 120ABE RECORDING MIXERS========================./tinymix 55 9./tinymix 54 10./tinymix 27 120./tinymix 18 100./tinymix 43 1./tinymix 22 100./tinymix 35 1
4. Now I have sound on ICS
5. When I close Music player, and run it again I have no sound.
Any idea / help?
What is a reason of such error
tlv320aic3110 Media1 LP: no BE found for PDM_DL2 ?