Develop a device driver that can be loaded and run in linux

Assignment Help Other Subject
Reference no: EM133395704

Background:

The Linux operating system consists of the Kernel some other minor components and then a large number of Device Drivers. Device drivers are the key to how various hardware devices interface with the computer.

Task:

Develop a device driver that can be loaded and run in Linux. Then add some functionality to the device driver such as the user/application passing in a string to the device driver and the device driver returns an encrypted version of the string or passes in the excrypted string and returns the original string. Include a document on how to build, load and interact with the device driver along with screen shots of output.

Requirements: It must be written in C. It must be a valid an loadable device driver with at least some user/application functionality. That includes an open, release, read, write, and at least one ioctl command. It must also be able to be unloaded, and indicate that it has unloaded from the system. Make use of the printk and copy_to_user functions. The read and write functions should follow the concept of linux files and be relevent to reading or writing.

Part of the grading of the driver will be based on the functionality you choose to implement. It can not be trivial functionality.

This must be run in the linux virtual machine.

You must also write a user application that utilizes your device driver.

There are TWO directories in your GitHub: The first is Module that has your kernel module. The second is Test that will have your test user application.

The writeup should have a detailed description of what your device driver does and clear instructions on how to build your kernel module and your test program and how to install the kernel module and how to use your test program.

Example: Encrypt data, read and write a string, use ioctl to determine to encrypt or decrypt and to set an key. If ioctl set to encrypt, write a string, then read back the encrypted data. Switch ioctl to decrypt then write the encrypted string and read back the original message (decrypted).

Reference no: EM133395704

Questions Cloud

Design a marketing campaign to promote recycling behavior : Suppose you are the marketing manager of a lesser-known chocolate bar brand. Design a marketing strategy to promote your product using classical conditioning
Review the determinants of demand and the elasticity : Review the determinants of demand and the elasticity of demand for the product(s) and/or services of your company (Walgreens Boots Alliance).
What is the problem of why products are being invented : What is the problem of why products are being invented to improve the safety of students walking hole from school?
What questions should wang ask the people at headquarters : What questions should Wang ask the people at headquarters in Chicago? Please help him make a list. Will Lily and the children be happy about this move?Why?
Develop a device driver that can be loaded and run in linux : Develop a device driver that can be loaded and run in Linux. Then add some functionality to the device driver such as the user/application passing
Identification of the historical origins : Identification of the historical origins and evolution of BOTH of your chosen theories and Details about the typical counsellor
What is van der waals bond and how is it formed : What is the ionic bond? How is it formed? What are its characteristics and What is covalent bond? How is it formed? What are its characteristics
Calculate the average price for each make : make a form that will allow Johnny to enter new classic cars and update existing records. The form should use a columnar format and the Sandstone style.
How did the family start; what happened in that family over : SOC/SOWK 4421/5521 Families in Social Context how did the family start; what happened in that family over the time; how did the family develop; what issues

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd