2.6内核 SMDK2410 uda1341音频驱动
最近在搞这个东东,无从下手啊,在alsa的官网上有s3c2410的驱动模块,但是不是针对内核的,本来打算当模块用的,但是编译不过啊,不知哪位大虾,移植好了这个驱动,能否共享一下代码啊?tks!!! http://www.linuxfans.org/nuke//modules.php?name=Forums&file=viewtopic&t=112750&start=30 这个我试过了,可是内核无法启动啊 驱动得改! 现在播放mp3有声音了,但是速度不正常,很快,芯片上double speed位并没有设置,不知是不是因为iis频率设置有问题,我看驱动里面 uda1341初使化为256fs,改为384fs就没声音了,不知怎么办了? 2.4.19内核的声音驱动是可以用的,2.6.x没试过,2.4.18的不能用 发表于: 2005年 09月13日 09:22 发表主题:--------------------------------------------------------------------------------
现在播放mp3有声音了,但是速度不正常,很快,芯片上double speed位并没有设置,不知是不是因为iis频率设置有问题
__________________________________________________
我现在也碰到这个问题呢,求救~ 发表于: 2005年 09月13日 09:22 发表主题:
--------------------------------------------------------------------------------
现在播放mp3有声音了,但是速度不正常,很快,芯片上double speed位并没有设置,不知是不是因为iis频率设置有问题
__________________________________________________
我现在也碰到这个问题呢,求救~
For the detailed parameter configuration, could we take a reference of the driver from Mizi, ever worked out all the drivers running on 2.4.18? 是2.418的,用的是mizi驱动,后来发现是我把声道没有搞对,谢谢 小弟使用
http://www.linuxfans.org/nuke//modules.php?name=Forums&file=viewtopic&t=112750&start=30
的驱动.
可是在make的时候有如下错误:
sound/oss/s3c2410-uda1341.c: In function `copy_from_user_mono_stereo':
sound/oss/s3c2410-uda1341.c:408: warning: implicit declaration of function `veri fy_area'
sound/oss/s3c2410-uda1341.c: In function `init_s3c2410_iis_bus_rx':
sound/oss/s3c2410-uda1341.c:1064: error: `S3C2410_IISMOD_MASTER' undeclared (fir st use in this function)
sound/oss/s3c2410-uda1341.c:1064: error: (Each undeclared identifier is reportedonly once
sound/oss/s3c2410-uda1341.c:1064: error: for each function it appears in.)
sound/oss/s3c2410-uda1341.c: In function `init_s3c2410_iis_bus_tx':
sound/oss/s3c2410-uda1341.c:1108: error: `S3C2410_IISMOD_MASTER' undeclared (fir st use in this function)
sound/oss/s3c2410-uda1341.c: In function `s3c2410iis_probe':
sound/oss/s3c2410-uda1341.c:1187: error: `S3C2410_VA_IIS' undeclared (first use in this function)
make: *** 错误 1
make: *** 错误 2
make: *** 错误 2
望诸位大侠帮忙 编译内核时有如下错误:
sound/built-in.o(.text+0x988): In function `$a':
: undefined reference to `s3c2410_dma_ctrl'
sound/built-in.o(.text+0xc60): In function `audio_sync':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x100c): In function `$a':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x1174): In function `$a':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x12c0): In function `$a':
: undefined reference to `s3c2410_dma_enqueue'
sound/built-in.o(.text+0x2044): In function `$a':
: undefined reference to `s3c2410_dma_set_buffdone_fn'
sound/built-in.o(.text+0x2050): In function `$a':
: undefined reference to `s3c2410_dma_free'
sound/built-in.o(.init.text+0x98): In function `$a':
: undefined reference to `s3c2410_dma_request'
sound/built-in.o(.init.text+0xb0): In function `$a':
: undefined reference to `s3c2410_dma_devconfig'
sound/built-in.o(.init.text+0xc0): In function `$a':
: undefined reference to `s3c2410_dma_config'
sound/built-in.o(.init.text+0xcc): In function `$a':
: undefined reference to `s3c2410_dma_set_buffdone_fn'
sound/built-in.o(.init.text+0xd8): In function `$a':
: undefined reference to `s3c2410_dma_setflags'
sound/built-in.o(.init.text+0x100): In function `$a':
: undefined reference to `s3c2410_dma_request'
sound/built-in.o(.init.text+0x110): In function `$a':
: undefined reference to `s3c2410_dma_set_buffdone_fn'
盼高手指点
困惑 最近也在搞这个
我的内核是2。4。18的,是不是不支持驱动阿?因为应用程序中设置采样率的参数RATE总是报错!是不是要2。6的内核才可以?
页:
[1]