alsa2440

所属分类:嵌入式Linux
开发工具:Unix_Linux
文件大小:19KB
下载次数:42
上传日期:2008-12-24 14:34:08
上 传 者zhj8407
说明:  扬创2440平台上的ALSA音频驱动程序( for Linux-2.6.26.5 )。驱动使用说明和ALSA Lib的编译过程都在压缩包内
(Yang hit 2440 platform ALSA audio driver (for Linux-2.6.26.5). Drive the use of notes and ALSA Lib compiler are in the process of compression packages)

文件列表:
alsa2440 (0, 2008-12-24)
alsa2440\ALSA-lib port.txt (4622, 2008-12-22)
alsa2440\bitfield.h (2948, 2008-10-27)
alsa2440\s3c24xx-uda1341.c (65036, 2008-10-27)

最近将UTU2440上的ALSA音频驱动折腾了出来,分享给大家! 我的邮箱是zhj8407@gmail.com 有什么问题大家可以相互讨论。 对了,大家如果使用到了该驱动(复制、修改等),望能保留GPL声明和作者信息。基本的职业道德嘛! 附件里面包含两个文件bitfield.h和s3c24xx-uda1341.c。 1. 将bitfied.h拷贝到目录include/asm-arm/plat-s3c24xx/下 2. 将s3c24xx-uda1341.c拷贝到目录sound/arm下 3. 修改sound/arm/Kconfig文件,加入如下内容: config SND_S3C24XX_UDA1341 tristate "S3C24xx UDA1341TS driver" depends on ARCH_S3C2410 && SND select SND_PCM help Say Y here if you have a board based on SAMSUNG S3C24XX Series and want to use its Philips UDA 1341 audio chip. To compile this driver as a module, choose M here: the module will be called snd-s3c24xx-uda1341. 4. 修改sound/arm/Makefile文件,加入 obj-$(CONFIG_SND_S3C24XX_UDA1341) += snd-s3c24xx-uda1341.o snd-s3c24xx-uda1341-objs := s3c24xx-uda1341.o 5. make menuconfig时选上ALSA音频的支持。 当然,以上这些只是驱动程序。要使你的系统支持ALSA,你还得移植ncurses, alsa-lib,alsa-util等。在文件ALSA-lib port中有说明。 在使用aplay播放时,还要创建以下几个文件节点 /bin/mkdir /dev/snd /bin/mknod /dev/snd/controlC0 c 116 0 /bin/mknod /dev/snd/hwC0D0 c 116 4 /bin/mknod /dev/snd/pcmC0D0c c 116 24 /bin/mknod /dev/snd/pcmC0D0p c 116 16 /bin/mknod /dev/snd/seq c 116 1 /bin/mknod /dev/snd/timer c 116 33

近期下载者

相关文件


收藏者