Skip to content

no local device foundย #7

@aitzkora

Description

@aitzkora

I'm trying to use AdalmPluto, but sadly it does not find my device

julia> using AdalmPluto

julia> using libiio_jll

julia> radio = openPluto(Int(100e6), Int(3e6), 64; bandwidth=Int(20e6));
[ Info: No local device found
ERROR: AssertionError: iio_context* null pointer
Stacktrace:
 [1] macro expansion
   @ ~/.julia/packages/AdalmPluto/dtr5U/src/libIIO/structures.jl:107 [inlined]
 [2] C_iio_create_context_from_uri(uri::String)
   @ AdalmPluto.libIIO_jl ~/.julia/packages/AdalmPluto/dtr5U/src/libIIO/context.jl:351
 [3] createContext
   @ ~/.julia/packages/AdalmPluto/dtr5U/src/AdalmPluto.jl:277 [inlined]
 [4] openPluto(txCfg::ChannelCfg, rxCfg::ChannelCfg, bufferSize::UInt64, uri::String, backend::Nothing)
   @ AdalmPluto ~/.julia/packages/AdalmPluto/dtr5U/src/AdalmPluto.jl:577
 [5] openPluto(carrierFreq::Int64, samplingRate::Int64, gain::Int64, antenna::String; addr::String, backend::Nothing, bufferSize::UInt64, bandwidth::Int64)
   @ AdalmPluto ~/.julia/packages/AdalmPluto/dtr5U/src/AdalmPluto.jl:533
 [6] openPluto
   @ ~/.julia/packages/AdalmPluto/dtr5U/src/AdalmPluto.jl:525 [inlined]
 [7] top-level scope
   @ REPL[3]:1

shell> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 046d:c542 Logitech, Inc. M185 compact wireless mouse
Bus 001 Device 003: ID 413c:2003 Dell Computer Corp. Keyboard SK-8115
Bus 001 Device 004: ID 0456:b673 Analog Devices, Inc. LibIIO based AD9363 Software Defined Radio [ADALM-PLUTO]
Bus 001 Device 005: ID 04ca:7054 Lite-On Technology Corp. HP HD Webcam
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

shell> cat /etc/ud
udisks2/
udev/
shell> cat /etc/udev/
rules.d/
udev.conf
iocost.conf
hwdb.d/
shell> cat /etc/udev/rules.d/
10-network.rules
53-adi-plutosdr-usb.rules
shell> cat /etc/udev/rules.d/53-adi-plutosdr-usb.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0456", ATTRS{idProduct}=="b674", MODE="0664", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2fa2", ATTRS{idProduct}=="5a32", MODE="0664", GROUP="plugdev"
# SDR Device
SUBSYSTEM=="usb", ATTRS{idVendor}=="0456", ATTRS{idProduct}=="b673", MODE="0664", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2fa2", ATTRS{idProduct}=="5a02", MODE="0664", GROUP="plugdev"
# tell the ModemManager (part of the NetworkManager suite) that the device is not a modem,
# and don't send AT commands to it
SUBSYSTEM=="usb", ATTRS{idVendor}=="0456", ATTRS{idProduct}=="b673", ENV{ID_MM_DEVICE_IGNORE}="1"
SUBSYSTEM=="usb", ATTRS{idVendor}=="2fa2", ATTRS{idProduct}=="5a02", ENV{ID_MM_DEVICE_IGNORE}="1"

Do I need to do another thing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions