Kernel: mudanças entre as edições
(→Write and Submit your first Kernel Patch: vid embed) |
|||
Linha 18: | Linha 18: | ||
=== Write and Submit your first Kernel Patch === | === Write and Submit your first Kernel Patch === | ||
<video allowfullscreen="true" size="full" position="right" frame="true" desc="Writing and submitting your first kernel patch" height="315" width="560" id="LLBrBBImJt4" type="youtube" /> | |||
Main points | Main points | ||
* Documentation/HOWTO has very good material [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=Documentation;h=0d369812531fd166f20fac1a47854dea28ef1bdc;hb=HEAD] | * Documentation/HOWTO has very good material [http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=tree;f=Documentation;h=0d369812531fd166f20fac1a47854dea28ef1bdc;hb=HEAD] | ||
* The book Linux Kernel in a Nutshell is free and describes compiling the kernel etc. | * The book Linux Kernel in a Nutshell is free and describes compiling the kernel etc. | ||
* Coding style: 8 space-tabs, K&R style | |||
* Scripts subdir: scripts to show maintainers, test style of a file, etc. | |||
== Video driver development resources == | == Video driver development resources == |
Edição das 01h12min de 24 de dezembro de 2011
This page is about kernel development, specifically targeted at device drivers and real-time video and audio development, such as hacking and improving drivers for webcams, developing jack and syphon-like (video jack) functionality.
Newbie Info
Join their mailing list.
Books
The two major books on linux driver development are fairly outdated and contain little information on video development. Therefore the main up-to-date resources you will find are online.
Device Drivers
General series on linux drivers: http://www.linuxforu.com/tag/linux-device-drivers-series
Be sure to familiarize yourself with ioctl's.
Write and Submit your first Kernel Patch
<video allowfullscreen="true" size="full" position="right" frame="true" desc="Writing and submitting your first kernel patch" height="315" width="560" id="LLBrBBImJt4" type="youtube" />
Main points
- Documentation/HOWTO has very good material [1]
- The book Linux Kernel in a Nutshell is free and describes compiling the kernel etc.
- Coding style: 8 space-tabs, K&R style
- Scripts subdir: scripts to show maintainers, test style of a file, etc.
Video driver development resources
v4l2 is the current API.