针对你遇到的 gpiod_direction_output: invalid gpio (errorpointer) 错误,以下是一些可能的解决步骤和考虑因素,帮助你诊断和解决问题: 确认GPIO引脚编号是否正确: 确保你在代码中使用的GPIO引脚编号与你的硬件设置相匹配。例如,在Linux系统中,GPIO引脚编号通常通过设备树或GPIO控制器来定义。 检查GPIO引脚是否已经被正确...
[ 425.787145] gpio-82 (SHT15 data): _gpiod_direction_output_raw: tried to set a GPIO tied to an IRQ as output[ 425.796987] sht15: probe of p8-ports failed with error -5 dts: 231 pinctrl_p8_ports: p8_ports_grp {232 fsl,pins = <233 MX8MM_IOMUXC_NAND_WE_B_GPI...
gpio_direction_output(data->pdata->gpio_data, 1); dts change MX8MM_IOMUXC_NAND_WP_B_GPIO3_IO18 0x80000000 is error,imx6 3.14.28 is ok,imx6 4.9.88 is error。 The following is the Chinese translation: --- imx8mm 内核4.14.98Linux系统,sht15.c文件里,把GPIO设置成中断...