Linux Device Drivers - Communicating with Hardware




Linux Device Drivers - Communicating with Hardware

What you will learn in this course:

  • Two modes of communication with hardware - IO Mapped IO and Memory Mapped IO

  • Kernel Drivers/Modules for IO Mapped IO - Speaker, RTC, Keyboard

  • Kernel Drivers/Modules for Memory Mapped IO - Hardware Random Generator, GPIO, UART

  • Accessing IO Mapped IO and Memory Mapped IO from user space

  • PCI and SMBIOS

API's/Macros/Structures

  • inb, outb, inw, outw, inl, outl

  • inb_p, outb_p, inw_p, outw_p, inl_p, outl_p

  • struct resource, request_region, release_region

  • ioperm, iopl, geteuid

  • request_mem_region, release_mem_region, ioremap, iounmap, ioread8, ioread16, ioread32, iowrite8, iowrite16, iowrite32

  • ioport_map, ioport_unmap,mmap

Files:

/dev/port, /dev/mem, /proc/iomem, /proc/ioports

Commands

  • hwclock

  • date

  • showkey

  • hexdump

  • strings

  • dd

  • lspci

  • biosdecode

  • dmidecode

Linux Kernel Programming for IO Mapped and Memory Mapped devices

Url: View Details

What you will learn
  • IO Mapped IO
  • Memory Mapped IO
  • PCI

Rating: 3.57143

Level: All Levels

Duration: 3 hours

Instructor: Linux Trainer


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of course-link.com.


© 2021 course-link.com. All rights reserved.
View Sitemap