Kernel: mudanças entre as edições

De Pontão Nós Digitais
Ir para navegaçãoIr para pesquisar
(doc link to kernel tree)
Sem resumo de edição
 
(3 revisões intermediárias por um outro usuário não estão sendo mostradas)
Linha 3: Linha 3:


== Newbie Info ==
== Newbie Info ==
http://kernelnewbies.org
Join their mailing list.
=== Books ===
The two major books on linux driver development are fairly outdated and contain little information on video development.
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.
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
General series on linux drivers: http://www.linuxforu.com/tag/linux-device-drivers-series


Be sure to familiarize yourself with ioctl's.
Be sure to familiarize yourself with ioctl's.


=== 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" />
Video: http://www.youtube.com/watch?v=LLBrBBImJt4


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 ==
Linha 25: Linha 32:


[[Category:Lab Macambira]]
[[Category:Lab Macambira]]
[[Category: Linux]]

Edição atual tal como às 15h19min de 8 de abril de 2015

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

http://kernelnewbies.org

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.