野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 663|回复: 1

[求助] (求助)中断子系统实验

[复制链接]
发表于 2023-8-29 19:52:55 | 显示全部楼层 |阅读模式

/# insmod interrupt.ko
[   15.304083] interrupt: loading out-of-tree module taints kernel.
root:/# ./test_app &
root@:/# [   23.181932] button_GPIO_number = 23
wait button down...
[   23.182042]
[   23.182042]  irq_of_parse_and_map =  70

使用echo "2" > /proc/irq/70/smp_affinity
sh: echo: write error: Input/output error
回复

使用道具 举报

发表于 2023-10-18 08:38:52 | 显示全部楼层
用的哪个gpio?有冲突吗
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-4-29 05:01 , Processed in 0.039484 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表