设为首页 加入收藏

TOP

Ubuntu Bluetooth Driver 调试
2014-11-24 12:29:26 来源: 作者: 【 】 浏览:1
Tags:Ubuntu Bluetooth Driver 调试

kernel源码:Linux-3.2.16



编译完kernel安装后,在系统/lib/modules/`uname -r`/kernel/net/bluetooth下会安装这些.ko,这里修改了以上跟bluetooth.ko有关的源文件(比如加些打印)后,直接insmod进内核,然后用dmesg打印信息,当bluetooth.ko运行到打印部分时,打印的信息就会用dmesg打出来。


驱动卸载过程:


1.关闭bluetooth应用


2.sudo rmmod rfcomm


3.sudo rmmod btusb


4.sudo rmmod bnep


5.sudo rmmod bluetooth


驱动装载过程:


1.sudo insmod bluetooth.ko


2.开启bluetooth应用


然后就能调试驱动部分了。


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Linux-3.2.6内核升级 下一篇Ubuntu Bluetooth 调试

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·HyperText Transfer (2025-12-26 07:20:48)
·半小时搞懂 HTTP、HT (2025-12-26 07:20:42)
·CPython是什么?PyPy (2025-12-26 06:50:09)
·Python|如何安装seab (2025-12-26 06:50:06)
·python要学习数据分 (2025-12-26 06:50:03)