初级会员
- 积分
- 133
- 金钱
- 133
- 注册时间
- 2018-12-1
- 在线时间
- 28 小时
|
发表于 2023-7-28 19:10:40
|
显示全部楼层
我这边遇到了和贴主差不多的问题,具体情况如下:
- /lib/modules/4.1.15 # insmod libcomposite.ko
- [ 1346.905461] libcomposite: Unknown symbol config_group_init (err 0)
- [ 1346.913974] libcomposite: Unknown symbol configfs_unregister_subsystem (err 0)
- [ 1346.923658] libcomposite: Unknown symbol config_item_set_name (err 0)
- [ 1346.932449] libcomposite: Unknown symbol configfs_register_subsystem (err 0)
- [ 1346.941823] libcomposite: Unknown symbol config_group_init_type_name (err 0)
- [ 1346.951325] libcomposite: Unknown symbol config_item_init_type_name (err 0)
- [ 1346.960588] libcomposite: Unknown symbol config_item_put (err 0)
- [ 1346.996920] libcomposite: Unknown symbol config_group_init (err 0)
- [ 1347.005694] libcomposite: Unknown symbol configfs_unregister_subsystem (err 0)
- [ 1347.015318] libcomposite: Unknown symbol config_item_set_name (err 0)
- [ 1347.024016] libcomposite: Unknown symbol configfs_register_subsystem (err 0)
- [ 1347.033429] libcomposite: Unknown symbol config_group_init_type_name (err 0)
- [ 1347.042840] libcomposite: Unknown symbol config_item_init_type_name (err 0)
- [ 1347.052082] libcomposite: Unknown symbol config_item_put (err 0)
- insmod: can't insert 'libcomposite.ko': unknown symbol in module, or unknown parameter
复制代码
原因:这个libcomposite.ko 驱动有一个依赖叫configfs.ko(fs/configfs/configfs.ko),差了一个这样的驱动所以失败了。
解决方法就是将这个驱动拷贝的/lib/modules/4.1.15/就可以了 modprobe libcomposite.ko
对于贴主的情况,有一种可能贴主的内核没有将USB Gadget Support相关的配置给勾选上,重新按照教程检查吧。make menuconfig |
|