Journal of Advances in Shell Programming
Design of Device Driver for Open Source
Abstract
In general, the hardware devices cannot communicate with the operating system directly. Device driver is the API Call/program which provides the communication/interface between the operating system and hardware device. Device driver can be programmed using various operating systems such as window, Linux, Apple (MacOS). This paper is about the creation of the device driver module generically either for the block device or the character devices. Here the device driver program is written in the C program which supports the kernel functionality. Our work involves creation of device driver program which is compatible for the USB related functionality. In this, the kernel object file is created and the object file is inserted into kernel with Linux commands and executed the functionality like attaching and detaching of the USB module is confirmed using the Linux command and results are observed in the command window.References (18)
- K-State Salina. Introduction to Operating Systems [online]. Available fromhttp://faculty.salina.k- state.edu/tim/ossg/Device/drivers.html)
- Ritchie DM, Thompson K. The UNIX time -sharing system. Bell Syst Tech J. 1978 Jul 8; 57(6): 1905–29.
- Tsegaye M, Foss R. A comparison of the Linux and Windows device driver architectures. ACM SIGOPS Oper Syst Rev. 2004 Apr 1; 38(2): 8–33.
- Dennis Turpitka, Linux vs. Windows device driver model: architecture, APIs and build environment comparison , 2016. Xmodulo, Available in http://xmodulo.com/linux -vs-windows- device-driver-model.html
- Corbet J, Rubini A, Kroah-Hartman G. Linux device drivers. O'Reilly Media, Inc.; 2005 Feb 7.
- Lisboa EB, Silva L, Lima T, Chaves I, Barros E. An approach to concur rent development of device drivers and device controller. In 2009 11th International Conference on Advanced Communication Technology 2009 Feb 15 (Vol. 1, pp. 571–575). IEEE.
- Ansari BR, Kaur M. Design and implementation of character device driver for custo mized kernel of ARM based platform. In 2017 International Conference on Current Trends in Computer, Electrical, Electronics and Communication (CTCEEC) 2017 Sep 8 (pp. 721–724). IEEE. Design of Device Driver for Open Source Devi et al. © STM Journals 2022. All Rights Reserved 8
- Choi YH, Kwon WI, Kim HN. Code generation for Linux device driver. In 2006 8th International Conference Advanced Communication Technology 2006 Feb 20 (Vol. 1, pp 4). IEEE.
- Guo Y, Deng W. Design of Network device driver in embedded Linux. In 2010 International Conference on Computer Application and System Modeling (ICCASM 2010) 2010 Oct 22 (Vol. 12, pp. V12–445). IEEE.
- Park JC, Choi YH, ho Kim T. Domain specific code generation for linux device driver. In 2008 10th International Conference on Advanced Communication Technology 2008 Feb 17 (Vol. 1, pp. 101–104). IEEE.
- Chen S, Zhou L, Ying R, Ge Y. Safe device driver model based on kernel -mode JVM. InProceedings of the 2nd international workshop on Virtualization technology in distributed computing 2007 Nov 12 (pp. 1–8).
- Lin KJ, Lin T. Automated development tools for Linux USB drivers. In IEEE International Symposium on Consumer Electronics (ISCE 2010) 2010 Jun 7 (pp. 1–4). IEEE.
- Guo H, Wang X. Transplant of Linux and Embedded System of Boot Loader and LED Driver. In 2010 International Conference on Machine Vision an d Human -machine Interface 2010 Apr 24 (pp. 733–736). IEEE.
- Gao Y, Zhao X. The implementation of buttons driver using the Linux input subsystem based on S3C6410 platform. In IEEE 10th International Conference on Industrial Informatics 2012 Jul 25 (pp. 281–286). IEEE.
- Liu J, Liu J. Research of embedded Linux SD card device driver based on ARM. In 2012 International Conference on Control Engineering and Communication Technology 2012 Dec 7 (pp. 33–36). IEEE.
- Dileep KP, Devesh G, Rao AR, Suman M, Srikanth SV. Verification of Linux device drivers using device virtualization. In 2015 2nd International Conference on Computing for Sustainable Global Development (INDIACom) 2015 Mar 11 (pp. 694–698). IEEE.
- Srihari MM, Sivakumar P. Implementation of multi -function printer for professional institutions. In 2018 International Conference on Inventive Research in Computing Applications (ICIRCA) 2018 Jul 11 (pp. 1–3). IEEE.
- Sivakumar P, Devi RS, Lakshmi AN, Vinoth Kumar B, Vinod B. Automotive grade Linux software archit ecture for automotive infotainment system. In2020 International Conference on Inventive Computation Technologies (ICICT) 2020 Feb 26 (pp. 391–395). IEEE.