2008-05-13 23:38:30     vrec -w | vplay error

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-05-13 23:38:30     vrec -w | vplay error

Bing Han (CHINA)

Message: 55796   

 

my audio codec is wm8731, my source is 2008R1-R8.

 

vrec -w  1.wav and vplay -w 1.wav is ok ,i can hear the sound. but when i run vrec -w | vplay .there is error .the codec can not work .

 

the error message:

 

root:/> vrec -w | vplay

sport-i2s: bf5xx_i2s_startup : sport 0

Running in bf5xx_pcm_open

bfin-wm8731: bf5xx_wm8731_startup

sport-i2s: bf5xx_i2s_startup : sport 0

Running in bf5xx_pcm_open

bfin-wm8731: bf5xx_wm8731_startup

bfin-wm8731:

bf5xx_wm8731_hw_params rate 8000 format 2

bfin-wm8731: bf5xx_wm8731_hw_params clk 11289600 ret_1 0

sport-i2s: bf5xx_i2s_set_dai_fmt : fmt:  0

sport-i2s: bf5xx_i2s_set_tx_dai_fmt : fmt 0

sport-i2s: bf5xx_i2s_set_tx_dai_fmt : fmt_1: tcr1 4400 tcr2 200

sport-i2s: bf5xx_i2s_set_tx_dai_fmt : fmt_5: tcr1 4400

sport-i2s: bf5xx_i2s_set_rx_dai_fmt : fmt 0

sport-i2s: bf5xx_i2s_set_rx_dai_fmt : fmt_1: rcr1 4400 rcr2 200

sport-i2s: bf5xx_i2s_set_rx_dai_fmt : fmt_5: rcr1 4400

bfin-wm8731: bf5xx_wm8731_hw_params clk 11289600 ret_2 0

bfin-wm8731: bf5xx_wm8731_hw_params clk 11289600 ret_3 0

sport-i2s: bf5xx_i2s_rx_hw_params : sport 0

sport-i2s: bf5xx_i2s_rx_hw_params : tcr2 0x200

sport-i2s: bf5xx_i2s_rx_hw_params : tcr2 0x20f

runnig in bf5xx_pcm_prepare

bf5xx-sport: sport_config_rx_dma buf:03f41000, frag:8, fragsize:0x3000

bf5xx-sport: sport_config_rx_dma(x_count:0x1800, y_count:0x0)

 

sport_config_rx_dma:dma free coherent

bf5xx-sport: setup_desc: setup desc: desc0=03f4d000, next0=3f4d012, desc1=03f4d012,next1=3f4d024

x_count=1800,y_count=0,addr=0x3f41000,cfs=0x7987

sport-i2s: bf5xx_i2s_rx_prepare : sport 0

bf5xx-sport: sport_config_rx : rcr1 =0x4400, rcr2=0x20f,clkdiv =0x0, fsdiv=0x0

Recordingrunnig in bf5xx_pcm_prepare

bfVE : Speed 8000 Hz Mono ...

5xx-sport: sport_config_rx_dma buf:03f41000, frag:8, fragsize:0x3000

bf5xx-sport: sport_config_rx_dma(x_count:0x1800, y_count:0x0)

 

sport_config_rx_dma:dma free coherent

bf5xx-sport: setup_desc: setup desc: desc0=03f4d000, next0=3f4d012, desc1=03f4d012,next1=3f4d024

x_count=1800,y_count=0,addr=0x3f41000,cfs=0x7987

sport-i2s: bf5xx_i2s_rx_prepare : sport 0

bf5xx-sport: sport_config_rx : rcr1 =0x4400, rcr2=0x20f,clkdiv =0x0, fsdiv=0x0

running in bf5xx_pcm_trigger

bf5xx-sport: sport_rx_start: tx_run:0, rx_run:0

 

running in sport_tx_dma_start

running in sport_rx_dma_start

running in bf5xx_pcm_trigger Rx start

pcm trigger 1111111111

bfin-wm8731:

bf5xx_wm8731_hw_params rate 8000 format 2

bfin-wm8731: bf5xx_wm8731_hw_params clk 11289600 ret_1 0

sport-i2s: bf5xx_i2s_set_dai_fmt : fmt:  0

sport-i2s: bf5xx_i2s_set_tx_dai_fmt : fmt 0

sport-i2s: bf5xx_i2s_set_tx_dai_fmt : fmt_1: tcr1 4400 tcr2 200

sport-i2s: bf5xx_i2s_set_tx_dai_fmt : fmt_5: tcr1 4400

sport-i2s: bf5xx_i2s_set_rx_dai_fmt : fmt 0

sport-i2s: bf5xx_i2s_set_rx_dai_fmt : fmt_1: rcr1 4400 rcr2 200

sport-i2s: bf5xx_i2s_set_rx_dai_fmt : fmt_5: rcr1 4400

bfin-wm8731: bf5xx_wm8731_hw_params clk 11289600 ret_2 0

bfin-wm8731: bf5xx_wm8731_hw_params clk 11289600 ret_3 0

sport-i2s: bf5xx_i2s_tx_hw_params : sport 0

sport-i2s: bf5xx_i2s_tx_hw_params : tcr2 0x200

sport-i2s: bf5xx_i2s_tx_hw_params : tcr2 0x20f

runnig in bf5xx_pcm_prepare

bf5xx-sport: sport_config_tx_dma buf:03f4e000, fragcount:8, fragsize:0x3000

bf5xx-sport: sport_config_tx_dma x_count:0x1800, y_count:0x0

 

sport_config_tx_dma:dma free coherent

bf5xx-sport: setup_desc: setup desc: desc0=03f5a000, next0=3f5a012, desc1=03f5a012,next1=3f5a024

x_count=1800,y_count=0,addr=0x3f4e000,cfs=0x7985

sport-i2s: bf5xx_i2s_tx_prepare : sport 0

sport config tx error

asoc: cpu DAI prepare error

snd_pcm_oss_prepare: SNDRV_PCM_IOCTL_PREPARE failed

/dev/dsprunnig in bf5xx_pcm_prepare

:bfevice or resource busy

5xx-sport: sport_config_tx_dma buf:03f4e000, fragcount:8, fragsize:0x3000

bf5xx-sport: sport_config_tx_dma x_count:0x1800, y_count:0x0

 

sport_config_tx_dma:dma free coherent

bf5xx-sport: setup_desc: setup desc: desc0=03f5a000, next0=3f5a012, desc1=03f5a012,next1=3f5a024

x_count=1800,y_count=0,addr=0x3f4e000,cfs=0x7985

sport-i2s: bf5xx_i2s_tx_prepare : sport 0

sport config tx error

asoc: cpu DAI prepare error

snd_pcm_oss_prepare: SNDRV_PCM_IOCTL_PREPARE failed

sport-i2s: bf5xx_i2s_shutdown

running in bf5xx_pcm_close

root:/> bf5xx-sport: rx_handler enter

running in bf5xx_pcm_trigger

running in sport rx stop start

running in sport rx stop stop

running in bf5xx_pcm_trigger shutdown sport rx stop

pcm trigger 1111111111

sport-i2s: bf5xx_i2s_shutdown

running in bf5xx_pcm_close

 

root:/>

 

 

where is error  ?

 

 

 

 

TranslateQuoteReplyEditDelete

 

 

2008-05-14 11:54:13     Re: vrec -w | vplay error

Robin Getz (UNITED STATES)

Message: 55831   

 

Bing:

 

You have a problem in your driver - we don't support the wm8731.

 

 

 

-Robin

Attachments

    Outcomes