音频/摄像头驱动程序-FriendlyARM Mini2440-s3c2440
我是嵌入式Linux的新手,并且热衷于学习编写设备驱动程序。我有一个 FriendlyARM Mini2440 板。
请建议哪种设备驱动程序更容易开始学习 - 音频或相机或其他?
需要专家的建议。
多谢!
I am a newbie to embedded linux and am keen on learning to write device drivers. I have got a FriendlyARM Mini2440 board with me.
Please suggest which device driver would be easier to start learning - Audio or Camera or something else?
Need suggestions from experts.
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在这两者之间,我想说相机驱动程序会更简单。 Linux 中的音频驱动程序比大多数其他驱动程序更复杂,而且似乎没有太多关于编写它们的文档。
您读过 Jonathan Corbet、Alessandro Rubini 和 Greg Kroah-Hartman 撰写的 Linux 设备驱动程序吗?这可能是最好的开始方式。
我建议按顺序从串行、闪存或以太网驱动程序开始。这些都很常见,代码很简单,并且有很好的文档和示例。
Between those 2, I would say that a camera driver would be simpler. Audio drivers in Linux are more complex than most other drivers, and there seems to not be very much documentation on writing them.
Have you read Linux Device Drivers by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman? That is probably the best way to start.
I'd recommend starting with serial, flash, or ethernet drivers, in that order. Those are common, the code is straightforward, and there's good documentation and examples for them.