|
源码包是a80-sdk-lichee.git-v2.0.tar.gz, 内核配置文件是cb4-debian-server-hdmi-emmc-v1.0.img.7z中提取的/proc/config.gz,编译之后发现声卡不能工作,使用原版的内核就没有问题
$ aplay -vvv -f S24_LE aa.mp3
Playing raw data 'aa.mp3' : Signed 24 bit Little Endian, Rate 8000 Hz, Mono
Hardware PCM card 0 'snddaudio' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S24_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 32
buffer_size : 4000
period_size : 1000
period_time : 125000
tstamp_mode : NONE
period_step : 1
avail_min : 1000
period_event : 0
start_threshold : 4000
stop_threshold : 4000
silence_threshold: 0
silence_size : 0
boundary : 2097152000
appl_ptr : 0
hw_ptr : 0
Max peak (1000 samples): 0x7d8c977b #################### 98%
Max peak (1000 samples): 0x7fcc0000 #################### 99%
Max peak (1000 samples): 0x7fcc0000 #################### 99%
Max peak (1000 samples): 0x7fcc0000 #################### 99%
Max peak (66 samples): 0x55555555 ############## 66%
aplay: pcm_write:1710: write error: Input/output error
查看硬件似乎也没有什么问题
$ ll /dev/snd/
total 0
crw------- 1 root root 116, 0 Jan 1 1970 controlC0
crw------- 1 root root 116, 32 Jan 1 1970 controlC1
crw------- 1 root root 116, 24 Jan 1 1970 pcmC0D0c
crw------- 1 root root 116, 16 Jan 1 1970 pcmC0D0p
crw------- 1 root root 116, 48 Jan 1 1970 pcmC1D0p
crw------- 1 root root 116, 33 Jan 1 1970 timer
$ ll /proc/asound/
total 0
dr-xr-xr-x 4 root root 0 Sep 18 09:08 card0
dr-xr-xr-x 3 root root 0 Sep 18 09:08 card1
-r--r--r-- 1 root root 0 Sep 18 09:08 cards
-r--r--r-- 1 root root 0 Sep 18 09:08 devices
-r--r--r-- 1 root root 0 Sep 18 09:08 pcm
lrwxrwxrwx 1 root root 5 Sep 18 09:08 snddaudio -> card0
lrwxrwxrwx 1 root root 5 Sep 18 09:08 sndhdmi -> card1
-r--r--r-- 1 root root 0 Sep 18 09:08 timers
-r--r--r-- 1 root root 0 Sep 18 09:08 version
|
|