Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support file for lckfb tspi添加对立创泰山派的支持 #2538

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

ccu6
Copy link
Contributor

@ccu6 ccu6 commented Sep 9, 2024

添加对立创泰山派的支持,已经过测试
{F1DAED6C-338B-4a55-AC5A-CC158FF32886}

@ophub
Copy link
Owner

ophub commented Sep 9, 2024

different-files/firefly-rk3399/lckfb-tspi/xxx

你提交的pr里文件路径不对。
文件夹 lckfb-tspi 要放在 different-files 目录下。
另外在 https://github.com/ophub/u-boot 里缺少对应的u-boot,这个地方也要添加。

@ccu6
Copy link
Contributor Author

ccu6 commented Sep 10, 2024

已修改,uboot那边也提交pr了

@ophub ophub merged commit 38da94f into ophub:main Sep 10, 2024
@ophub
Copy link
Owner

ophub commented Sep 10, 2024

感谢分享

@flyice-juin
Copy link

老哥,使用音频小板有个问题,就是喇叭能够使用。但是麦克风不行,请问咋回事呢?

@ccu6
Copy link
Contributor Author

ccu6 commented Oct 9, 2024

老哥,使用音频小板有个问题,就是喇叭能够使用。但是麦克风不行,请问咋回事呢?

我没测试音频,用的什么方式进行的录制?

@flyice-juin
Copy link

老哥,使用音频小板有个问题,就是喇叭能够使用。但是麦克风不行,请问咋回事呢?

我没测试音频,用的什么方式进行的录制?
使用arecord命令

root@armbian:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: rockchiprk809co [rockchip,rk809-codec], device 0: fe410000.i2s-rk817-hifi rk817-hifi-0 [fe410000.i2s-rk817-hifi rk817-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0

显示识别到了设备。用的是立创板子带的喇叭和麦克风一体的。然后喇叭能播放,麦克风录制就报错:

root@armbian:~# arecord -Dhw:1,0 -d 10 -f cd -r 44100 -c 2 -t wav test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:1416: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_LE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (125011 125012)
PERIOD_SIZE: 5513
PERIOD_BYTES: 22052
PERIODS: 4
BUFFER_TIME: (500045 500046)
BUFFER_SIZE: 22052
BUFFER_BYTES: 88208
TICK_TIME: 0

@ccu6
Copy link
Contributor Author

ccu6 commented Oct 9, 2024

老哥,使用音频小板有个问题,就是喇叭能够使用。但是麦克风不行,请问咋回事呢?

我没测试音频,用的什么方式进行的录制?
使用arecord命令

root@armbian:~# arecord -l **** List of CAPTURE Hardware Devices **** card 1: rockchiprk809co [rockchip,rk809-codec], device 0: fe410000.i2s-rk817-hifi rk817-hifi-0 [fe410000.i2s-rk817-hifi rk817-hifi-0] Subdevices: 1/1 Subdevice #0: subdevice #0

显示识别到了设备。用的是立创板子带的喇叭和麦克风一体的。然后喇叭能播放,麦克风录制就报错:

root@armbian:~# arecord -Dhw:1,0 -d 10 -f cd -r 44100 -c 2 -t wav test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo arecord: set_params:1416: Unable to install hw params: ACCESS: RW_INTERLEAVED FORMAT: S16_LE SUBFORMAT: STD SAMPLE_BITS: 16 FRAME_BITS: 32 CHANNELS: 2 RATE: 44100 PERIOD_TIME: (125011 125012) PERIOD_SIZE: 5513 PERIOD_BYTES: 22052 PERIODS: 4 BUFFER_TIME: (500045 500046) BUFFER_SIZE: 22052 BUFFER_BYTES: 88208 TICK_TIME: 0

收到,我这段时间研究一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants