Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
kyrre
V2EX  ›  Linux

V 友能不能推荐一本讲设备管理、驱动开发相关的书?

  •  
  •   kyrre · Apr 5, 2022 · 4658 views
    This topic created in 1674 days ago, the information mentioned may be changed or developed.

    最近工作需要用到比较底层的设备相关的知识,有没有比较全面的介绍 Linux 下设备管理,驱动开发相关的书?

    12 replies  •  2022-04-06 10:28:59 +08:00
    darkengine
    darkengine
    Apr 5, 2022❤️1
    1
    O'Reilly:LINUX 设备驱动程序(第 3 版)
    onehao28
    onehao28
    Apr 5, 2022❤️1
    2
    《深入理解 LINUX 内核》以及楼上说的《 LINUX 设备驱动程序》
    kyrre
    kyrre
    OP
    Apr 5, 2022
    3
    感谢 @darkengine @onehao28 。
    多问一句,这两本书都是 10 多年前的版本了,和现在的架构技术还能匹配么?
    udev 和 systemd 之类的肯定不包括,PCI-E 的设备也没涉及。
    而且中文版不知道翻译的质量怎么样,有读过的来评价一下?
    js8510
    js8510
    Apr 5, 2022❤️1
    4
    @kyrre 我有英文版。翻过,很老并且没有再版。没有什么实效性。如果翻翻理解概念还行,靠这书学写代码估计不行。还得靠 google 。最好工作上有人带。
    gotounix
    gotounix
    Apr 5, 2022❤️1
    5
    《 LINUX 设备驱动程序》这本书真是经典,勾起我当年很多的回忆。09 年的时候把这本书给翻烂了,感觉自己俨然成为了一个大神,可惜最后却没从事相关工作。
    macrorules
    macrorules
    Apr 5, 2022
    6
    ldd3 不是宇宙第一么
    macrorules
    macrorules
    Apr 5, 2022❤️1
    7
    @kyrre 里面的代码还需要改改,才能在现代内核中运行
    onehao28
    onehao28
    Apr 5, 2022
    8
    以前在老东家就看这两本书入行,做过内核态文件系统以及 raid 卡的驱动修改。这两本书主要还是入门,理解概念为主。 开发的话主要还是啃厂家给的说明书,以及对应的内核代码。
    onehao28
    onehao28
    Apr 5, 2022
    9
    @kyrre 比较麻烦的是 x86 和 arm 平台内核的差异。现在国内厂商都得做 arm 适配
    kyrre
    kyrre
    OP
    Apr 5, 2022
    10
    看来对理解概念什么的这两本书足够。英文版我也搞到了。感谢各位大神。
    darkengine
    darkengine
    Apr 5, 2022
    11
    @gotounix +1 刚毕业做 android 手机驱动的时候入的,现在也没在这个领域了。
    pony279
    pony279
    Apr 6, 2022❤️1
    12
    以下书我没深入看过,仅供参考
    Mastering Linux Device Driver Development (2021) (这本书有涉及 PCI )
    Mastering Embedded Linux Programming (Linux 5.4 and Yocto 3.1) (2021)
    Linux Driver Development with Raspberry Pi (2021)
    Linux Driver Development for Embedded Processors (2nd 2018)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5214 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 112ms · UTC 02:52 · PVG 10:52 · LAX 18:52 · JFK 21:52
    ♥ Do have faith in what you're doing.