uhd/mpm/python/usrp_mpm/sys_utils
Lars Amsel d09b8c358a MPM: Better error message for multiple assigned MACs
Each MAC address should be only assigned to one link at a time.
If the motherboard EEPROM is messed up, it might happen that
there are more links connected to a single MAC.

So in that case a

  [link_index] = ip2.link_lookup(address=mac_addr)

results in a ValueError (too many values to unpack) which gives
no clue on what actually went wrong. Instead we check the len
of he link_lookup result and give a more meaningful error message.
2022-10-11 15:29:50 -05:00
..
__init__.py
CMakeLists.txt uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
db_flash.py mpm: db_flash: Check mount status before mounting 2021-04-26 15:08:27 -05:00
dtoverlay.py
ectool.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
filesystem_status.py mpm: Fix MD5 hashing of opkg status 2021-06-03 09:34:20 -05:00
gpio.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
i2c_dev.py mpm: Add i2c_dev lookup using sys_name 2021-03-08 16:17:48 -06:00
mount.py mpm: sysutils: mount: Check both mount point and data path 2021-04-21 15:20:24 -05:00
net.py MPM: Better error message for multiple assigned MACs 2022-10-11 15:29:50 -05:00
sysfs_gpio.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
sysfs_thermal.py mpm: sys_utils: Remove hardcoded 'subsystem' for temp sensor 2019-05-01 15:17:23 -07:00
udev.py mpm: add helper for symbol lookup 2021-03-04 12:10:08 -06:00
uio.py uhd: Add support for the USRP X410 2021-06-10 12:01:53 -05:00
watchdog.py