📄 readme.txt
字号:
Source files for pxa ac97 sound driver========================================The packet contains the files that is listed belowdriver files /SOURCE/drivers/sound Makefile ac97.c ac97.h ac97_codec.c pxa-ac97.c pxa-audio.c pxa-audio.h sound_core.c /SOURCE/include/linux soundcard.hmodule files initsnd(a bash file to load drivers) soundcore.o ac97_codec.o pxa-audio.o pxa-ac97.otest files source play.c rec.c soundcard.h fmtheaders.h executable play recsample wave file BOMB.wavHow to install and test the driver 1.Copy the "driver files" to the destination directory, where "SOURCE" is the linux kernel root directory. 2.Type "make menuconfig" in the linux kernel root directory. Choose "Sound" and select "Sound support" and "Intel PXA250/210 AC97 audio" as modules then save the config. 3.Type "make modules" in the same directory to compile module drivers. After this, it will produce "soundcore.o" "ac97_codec.o" "pxa-audio.o" "pxa-ac97.o" in the /SOURCE/drivers/sound directory. 4.Copy the 4 ".o" files to a driver directory and copy the initsnd to the same directory. Boot up the destination machine and type "./initsnd" in the driver directory to install the driver or you can add the command to start-up shell. 5.Type "arm-linux-gcc -o play play.c" and "arm-linux-gcc -o rec rec.c" to make the executable test files or you can directly use "play" and "rec" in the packet instead(they are compiled for arm architecture). 6.Type "./play BOMB.wav" to test the play function and type "./rec filename" to test the record function. Note that the record function should be terminated by CTRL+c when you do not want it to record anymore.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -