Difference between revisions of "Device drivers"

From eLinux.org
Jump to: navigation, search
(elixir.bootlin.com)
Line 10: Line 10:
 
** [https://github.com/martinezjavier/ldd3/tree/master/scull scull] - simple char device
 
** [https://github.com/martinezjavier/ldd3/tree/master/scull scull] - simple char device
 
** [https://github.com/martinezjavier/ldd3/blob/master/snull/snull.c snull.c] - simple network device
 
** [https://github.com/martinezjavier/ldd3/blob/master/snull/snull.c snull.c] - simple network device
* [http://lxr.free-electrons.com/source/drivers/media/platform/vivid/ Virtual Video driver, uses V4L2] - works
+
* [https://elixir.bootlin.com/linux/latest/source/drivers/media/platform/vivid/ Virtual Video driver, uses V4L2] - works
* [http://lxr.free-electrons.com/source/drivers/media/platform/mem2mem_testdev.c?v=3.18 mem2mem_testdev.c - virtual v4l2-mem2mem example device driver]
+
* [https://elixir.bootlin.com/linux/latest/source/drivers/media/platform/mem2mem_testdev.c?v=3.18 mem2mem_testdev.c - virtual v4l2-mem2mem example device driver]
* [http://lxr.free-electrons.com/source/drivers/usb/usb-skeleton.c usb-skeleton.c - USB driver skeleton] (can be compiled with trivial fix)
+
* [https://elixir.bootlin.com/linux/latest/source/drivers/usb/usb-skeleton.c usb-skeleton.c - USB driver skeleton] (can be compiled with trivial fix)
* [http://lxr.free-electrons.com/source/drivers/video/fbdev/skeletonfb.c skeletonfb.c - Frame Buffer device skeleton] (can't be compiled)
+
* [https://elixir.bootlin.com/linux/latest/source/drivers/video/fbdev/skeletonfb.c skeletonfb.c - Frame Buffer device skeleton] (can't be compiled)
* [http://lxr.free-electrons.com/source/drivers/pci/hotplug/pcihp_skeleton.c pcihp_skeleton.c - PCI Hot Plug Controller Skeleton Driver]
+
* [https://elixir.bootlin.com/linux/latest/source/drivers/pci/hotplug/pcihp_skeleton.c pcihp_skeleton.c - PCI Hot Plug Controller Skeleton Driver]
* [http://lxr.free-electrons.com/source/drivers/net/loopback.c loopback.c - simple net_device implementing ifconfig  lo]
+
* [https://elixir.bootlin.com/linux/latest/source/drivers/net/loopback.c loopback.c - simple net_device implementing ifconfig  lo]
 
* [https://github.com/23ars/linux_gpio_driver gpio_driver - simple GPIO driver for Raspberry Pi model B+ ] ( not fully tested yet)
 
* [https://github.com/23ars/linux_gpio_driver gpio_driver - simple GPIO driver for Raspberry Pi model B+ ] ( not fully tested yet)
  
 
== Resources ==
 
== Resources ==
 
* [[Device Tree]] - information about device tree (increasingly required for new embedded drivers)
 
* [[Device Tree]] - information about device tree (increasingly required for new embedded drivers)

Revision as of 08:20, 8 October 2020

Manuals

Sample drivers

Resources

  • Device Tree - information about device tree (increasingly required for new embedded drivers)