Ubuntu 20.04下GNU Radio运行PlutoSDR流图报iio模块无pluto_source属性错误
PlutoSDR对接GNU Radio运行异常问题
核心报错信息
在GNU Radio Companion中运行流图时,抛出如下报错:AttributeError: module 'iio' has no attribute 'pluto_source'
基础环境说明
- 运行环境:Windows宿主机通过VMware搭建的全新Ubuntu 20.04系统
- 已完成操作:为PlutoSDR安装对应驱动与libiio库,可通过
ssh root@192.168.21完成正常SSH连接
命令行观测到的异常输出
执行iio_info -s的输出
Library version: 0.21 (git tag: 9d79757) Compiled with backends: local xml ip usb Unable to create Local IIO context : No such file or directory (2) Available contexts: 0: 0456:b673 (Analog Devices Inc. PlutoSDR (ADALM-PLUTO)), serial=1044739659930006f4ff24003edc27135f [usb:1.10.5] 1: 192.168.2.1 (Analog Devices PlutoSDR Rev.B (Z7010-AD9364)), serial=1044739659930006f4ff24003edc27135f [ip:pluto.local]
输出中存在值得关注的异常提示:本地IIO上下文创建失败,程序可正常枚举到USB、网络两种连接方式对应的PlutoSDR设备节点。
执行iio_info -u ip:192.168.2.1的输出
Library version: 0.21 (git tag: 9d79757) Compiled with backends: local xml ip usb IIO context created with network backend. Backend version: 0.21 (git tag: v0.21 ) Backend description string: 192.168.2.1 Linux (none) 4.19.0-119999-g6edc6cd #319 SMP PREEMPT Mon Jul 6 15:45:01 CEST 2020 armv7l IIO context has 9 attributes: hw_model: Analog Devices PlutoSDR Rev.B (Z7010-AD9364) hw_model_variant: 0 hw_serial: 1044739659930006f4ff24003edc27135f fw_version: v0.32 ad9361-phy,xo_correction: 39999954 ad9361-phy,model: ad9364 local,kernel: 4.19.0-119999-g6edc6cd uri: ip:192.168.2.1 ip,ip-addr: 192.168.2.1 ... ... attr 10: multichip_sync ERROR: Permission denied (13) attr 11: rssi_gain_step_error value: lna_error: 0 0 0 0 mixer_error: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... ... debug attr 180: adi,frequency-division-duplex-mode-enable value: 1 debug attr 181: direct_reg_access value: 0x0 No trigger on this device iio:device2: xadc 10 channels found: voltage5: vccoddr (input) ... ... 2 debug attributes found: debug attr 0: pseudorandom_err_check value: CH0 : PN9 : Out of Sync : PN Error CH1 : PN9 : Out of Sync : PN Error debug attr 1: direct_reg_access value: 0x0 No trigger on this device
输出中存在关联异常:网络后端可正常建立与PlutoSDR的连接,但读取设备属性过程中出现权限拒绝、伪随机序列同步失败的提示。
已开展的排查操作
- 使用最新官方固件重新烧录PlutoSDR设备,重试后仍然复现相同问题
- 暂未定位到问题根本诱因,需要明确这类问题的产生原因与排查解决方向
内容的提问来源于stack exchange,提问作者James Hayek
相关产品推荐
相关产品推荐

