mixer settings for voice recording?

H. Rosmanith moko at wildsau.enemy.org
Tue Jul 29 18:00:36 CEST 2008


by the way, when reading from dsp with od and changing the
settings (DAI 0 -> DAI 1), od would zombie and never release
the device.

a "dmesg" shows why:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 0 [#1] PREEMPT
Modules linked in: snd_soc_neo1973_gta02_wm8753 snd_soc_s3c24xx_i2s snd_soc_s3c24xx snd_soc_wm8753 snd_soc_core snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd rfcomm ohci_hcd hidp l2cap hci_usb bluetooth
CPU: 0    Not tainted  (2.6.24 #1)
PC is at __init_begin+0x3fff8000/0x34
LR is at neo1973_gta02_hifi_hw_free+0x30/0x34 [snd_soc_neo1973_gta02_wm8753]
pc : [<00000000>]    lr : [<bf080030>]    psr: a0000013
sp : c6527d28  ip : bf079080  fp : c6527d34
r10: bf07ece0  r9 : c6527fb0  r8 : bf07bfb8
r7 : c6f9d880  r6 : bf079080  r5 : bf081c88  r4 : c6fb5740
r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : bf079080
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: c000717f  Table: 36cb8000  DAC: 00000015
Process od (pid: 1438, stack limit = 0xc6526268)
Stack: (0xc6527d28 to 0xc6528000)
7d20:                   c6527d5c c6527d38 bf06a6e4 bf080010 c6f9d880 c7e02c80 
7d40: c7fa7b08 c65599a0 c7c0dd20 c6527f50 c6527d74 c6527d60 bf04f4d4 bf06a67c 
7d60: c0076864 00000008 c6527d8c c6527d78 bf061ef4 bf04f494 c7e02c80 c7fa7a00 
7d80: c6527dac c6527d90 bf061f58 bf061ee0 00000010 c65599a0 c6f0557c c787a41c 
7da0: c6527ddc c6527db0 c00964cc bf061f1c 00000000 00000000 c64e59b0 c65599a0 
7dc0: c64a49c0 00000000 c64a49c8 00000000 c6527dec c6527de0 c00968c0 c009642c 
7de0: c6527e0c c6527df0 c00932cc c009689c 00000047 c64a49c0 00000027 00000000 
7e00: c6527e34 c6527e10 c0048538 c0093260 c0043e18 c6d639e0 c64a49c0 00000002 
7e20: c6526000 c6527ed0 c6527e4c c6527e38 c00485dc c00484c0 00000001 c6d639e0 
7e40: c6527e64 c6527e50 c0049a7c c004859c 00000000 c6527e60 c6527e84 c6527e68 
7e60: c004a080 c004989c c6526000 c64c2114 4001d000 00000009 c6527ebc c6527e88 
7e80: c0053cb8 c0049fe0 c02bd088 c6d63be0 c64bdc00 c00290e8 4001d000 c6527fb0 
7ea0: 00000004 c00290e8 c6526000 00000000 c6527f9c c6527ec0 c002bca8 c00538c0 
7ec0: 00000000 c6527ee0 c6d63be0 c64e040c 00000009 00000000 00000000 00000000 
7ee0: 00000000 c6527ef0 c0188ff4 c00413c0 0000002b c6527f18 c6527f4c c6527f08 
7f00: c01894fc c0188f98 00000001 c018c864 c64e040c 00000000 00000000 c795c1cc 
7f20: 00000000 00000002 c795b704 c795c0d0 0000002b c00290e8 c6526000 00000000 
7f40: c6527f74 c6527f50 c0095a18 c00c3cc4 00000000 00000000 c6559da0 00000000 
7f60: 00000000 00000004 c6527fa4 c6527f78 c0095fd0 0000004a 4001d000 401ee600 
7f80: 00000004 c00290e8 c6526000 00000000 c6527fac c6527fa0 c002c1ac c002bc54 
7fa0: 00000000 c6527fb0 c0028f8c c002c190 0000002b 4001d000 0000004a 00000000 
7fc0: 0000004a 4001d000 401ee600 00000004 0000004a 000890e9 401ee000 bec77a7c 
7fe0: 00000004 bec77460 401343f0 40181b5c 60000010 00000001 00000000 00000000 
Backtrace: 
[<bf080000>] (neo1973_gta02_hifi_hw_free+0x0/0x34 [snd_soc_neo1973_gta02_wm8753]) from [<bf06a6e4>] (soc_pcm_hw_free+0x78/0xcc [snd_soc_core])
[<bf06a66c>] (soc_pcm_hw_free+0x0/0xcc [snd_soc_core]) from [<bf04f4d4>] (snd_pcm_release_substream+0x50/0x98 [snd_pcm])
[<bf04f484>] (snd_pcm_release_substream+0x0/0x98 [snd_pcm]) from [<bf061ef4>] (snd_pcm_oss_release_file+0x24/0x3c [snd_pcm_oss])
 r4:00000008
[<bf061ed0>] (snd_pcm_oss_release_file+0x0/0x3c [snd_pcm_oss]) from [<bf061f58>] (snd_pcm_oss_release+0x4c/0x88 [snd_pcm_oss])
 r5:c7fa7a00 r4:c7e02c80
[<bf061f0c>] (snd_pcm_oss_release+0x0/0x88 [snd_pcm_oss]) from [<c00964cc>] (__fput+0xb0/0x194)
 r7:c787a41c r6:c6f0557c r5:c65599a0 r4:00000010
[<c009641c>] (__fput+0x0/0x194) from [<c00968c0>] (fput+0x34/0x38)
 r8:00000000 r7:c64a49c8 r6:00000000 r5:c64a49c0 r4:c65599a0
[<c009688c>] (fput+0x0/0x38) from [<c00932cc>] (filp_close+0x7c/0x88)
[<c0093250>] (filp_close+0x0/0x88) from [<c0048538>] (put_files_struct+0x88/0xdc)
 r6:00000000 r5:00000027 r4:c64a49c0
[<c00484b0>] (put_files_struct+0x0/0xdc) from [<c00485dc>] (__exit_files+0x50/0x54)
 r8:c6527ed0 r7:c6526000 r6:00000002 r5:c64a49c0 r4:c6d639e0
[<c004858c>] (__exit_files+0x0/0x54) from [<c0049a7c>] (do_exit+0x1f0/0x744)
 r5:c6d639e0 r4:00000001
[<c004988c>] (do_exit+0x0/0x744) from [<c004a080>] (do_group_exit+0xb0/0xb8)
[<c0049fd0>] (do_group_exit+0x0/0xb8) from [<c0053cb8>] (get_signal_to_deliver+0x408/0x454)
 r6:00000009 r5:4001d000 r4:c64c2114
[<c00538b0>] (get_signal_to_deliver+0x0/0x454) from [<c002bca8>] (do_signal+0x64/0x53c)
[<c002bc44>] (do_signal+0x0/0x53c) from [<c002c1ac>] (do_notify_resume+0x2c/0x30)
[<c002c180>] (do_notify_resume+0x0/0x30) from [<c0028f8c>] (work_pending+0x1c/0x20)
Code: bad PC value.
---[ end trace 0d13bca5737a7c62 ]---
Fixing recursive fault but reboot is needed!
root at om-gta02:~# 


kernel is uImage-2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r0-om-gta02.bin

kind regards,
H. Rosmanith

ob-Wishlist: a RESET button, just like in a PC.





More information about the support mailing list