|
你好。
问题1:使用rk809怎么放音和录音?
[root@toybrick toybrick]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: rockchiprk809co [rockchip,rk809-codec], device 0: ff890000.i2s-rk817-hifi rk817-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: rockchiphdmi [rockchip,hdmi], device 0: ff8a0000.i2s-i2s-hifi i2s-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@toybrick toybrick]# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: rockchiprk809co [rockchip,rk809-codec], device 0: ff890000.i2s-rk817-hifi rk817-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: RKmsm261s4030h0 [RK_msm261s4030h0], device 0: msm261s4030h0 PCM rockchip-msm261s4030h0-card-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
[root@toybrick toybrick]#
问题2:ES7243和i2c通信失败.
log:
[ 1316.341186] --- mcy --- </data/workspace/9922/sound/soc/soc-pcm.c>[soc_pcm_open:454]
[ 1316.341214] --- mcy --- </data/workspace/9922/sound/soc/soc-pcm.c>[soc_pcm_open:463]
[ 1316.341256] rockchip-i2s ff880000.i2s: __pm_clk_enable: sussce to enable clk ffffffc0a83939c0, ret = 0
[ 1316.341279] rockchip-i2s ff880000.i2s: __pm_clk_enable: sussce to enable clk ffffffc0a8393a40, ret = 0
[ 1316.341338] ASoC: rockchip-msm261s4030h0-card-hifi <-> ff880000.i2s info:
[ 1316.341353] ASoC: rate mask 0x14ea
[ 1316.341366] ASoC: min ch 2 max ch 8
[ 1316.341379] ASoC: min rate 8000 max rate 192000
[ 1316.341394] --- mcy --- </data/workspace/9922/sound/soc/soc-pcm.c>[soc_pcm_open:598]
[ 1316.345320] es7243_init_mode:i2c write 0x0 failed
[ 1316.345343] es7243_start
[ 1316.345730] es7243 7-0013: i2c write 0x6 failed
[ 1316.346764] es7243 7-0013: i2c write 0x1 failed
[ 1316.347310] es7243 7-0013: i2c write 0x2 failed
[ 1316.347744] es7243 7-0013: i2c write 0x3 failed
[ 1316.348064] es7243 7-0013: i2c write 0x4 failed
[ 1316.348517] es7243 7-0013: i2c write 0x5 failed
[ 1316.348933] es7243 7-0013: i2c write 0x8 failed
[ 1316.349303] es7243 7-0013: i2c write 0x7 failed
[ 1316.349742] es7243 7-0013: i2c write 0x9 failed
[ 1316.350163] es7243 7-0013: i2c write 0x6 failed
[ 1316.350583] es7243 7-0013: i2c write 0x5 failed
[ 1316.350696] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.350714] es7243_startup:0x0 -- 0x0
[ 1316.350817] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.350832] es7243_startup:0x1 -- 0x0
[ 1316.350932] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.350945] es7243_startup:0x2 -- 0x0
[ 1316.351052] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351066] es7243_startup:0x3 -- 0x0
[ 1316.351162] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351176] es7243_startup:0x4 -- 0x0
[ 1316.351272] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351286] es7243_startup:0x5 -- 0x0
[ 1316.351382] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351396] es7243_startup:0x6 -- 0x0
[ 1316.351491] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351504] es7243_startup:0x7 -- 0x0
[ 1316.351600] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351613] es7243_startup:0x8 -- 0x0
[ 1316.351709] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351722] es7243_startup:0x9 -- 0x0
[ 1316.351819] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351831] es7243_startup:0xa -- 0x0
[ 1316.351927] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.351940] es7243_startup:0xb -- 0x0
[ 1316.352037] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.352049] es7243_startup:0xc -- 0x0
[ 1316.352144] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.352157] es7243_startup:0xd -- 0x0
[ 1316.352254] es7243_i2c_read:i2c_transfer() returned -6
[ 1316.352266] es7243_startup:0xe -- 0x0
[ 1316.352289] rk3399_hw_params mic record |
|