• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PacktPublishing/Linux-Device-Drivers-Development: Linux Device Drivers Developme ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

PacktPublishing/Linux-Device-Drivers-Development

开源软件地址(OpenSource Url):

https://github.com/PacktPublishing/Linux-Device-Drivers-Development

开源编程语言(OpenSource Language):

C 96.2%

开源软件介绍(OpenSource Introduction):

Linux Device Drivers Development

This is the code repository for Linux Device Drivers Development, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

struct platform_device_id { char name[PLATFORM_NAME_SIZE]; kernel_ulong_t driver_data; };

Linux kernel is a complex, portable, modular and widely used piece of software, running on around 80% of servers and embedded systems in more than half of devices throughout the World. Device drivers play a critical role in how well a Linux system performs. As Linux has turned out to be one of the most popular operating systems used, the interest in developing proprietary device drivers is also increasing steadily.

This book will initially help you understand the basics of drivers as well as prepare for the long journey through the Linux Kernel. This book then covers drivers development based on various Linux subsystems such as memory management, PWM, RTC, IIO, IRQ management, and so on. The book also offers a practical approach on direct memory access and network device drivers.

By the end of this book, you will be comfortable with the concept of device driver development and will be in a position to write any device driver from scratch using the latest kernel version (v4.13 at the time of writing this book).

Errata

  • Page number 75 (Chapter 3): The following code
msleep(2000);
wake_up_interruptible(&my_data->my_wq);

should include an extra line of code in between as shown here:

msleep(2000);
sleep = 1;
wake_up_interruptible(&my_data->my_wq);

Related Products




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
armbian/linux: Armbian kernel mirrors发布时间:2022-08-15
下一篇:
electerm/electerm: 发布时间:2022-08-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap