驱动框架
刘德华海淀分华
码龄6年,BIOS等系统软件开发,以后会在这里定期更新一些自己的收获和学习的结果.
展开
-
Platform 总线驱动程序
1.找出内核中自带的按键驱动程序代码make menuconfig Device Drivers ---> Input device support ---> [*] Keyboards ---> < > SLsiAP push Keypad support //内核中自带的按键驱动程序不再参与编译影响变量: CONFIG_KEYBOARD_NXP_KEY路径: drivers/input/keyboard/Kconfig原创 2022-03-28 17:21:26 · 1301 阅读 · 0 评论 -
g-sensor驱动在linux的实现
g-sensor 驱动裸板: i2c 控制器驱动 g-snesor 驱动程序 linux: i2c 控制器驱动程序 在内核中已经写好了 1.总线 i2c-core.c __init i2c_init(void) bus_register(&i2c_bus_type); struct bus_type i2c_bus_type = { .name = "i2c", .match = i2c_device_match, .原创 2022-03-23 10:48:22 · 1952 阅读 · 0 评论