qmi-device: detect rpmsg control ports
rpmsg is (as far as I understand it) the mainline equivalent of smdpkt.
$ sudo qmicli -d /dev/rpmsg0 --dms-get-manufacturer
[/dev/rpmsg0] Device manufacturer retrieved:
Manufacturer: 'QUALCOMM INCORPORATED'
Previously the smdpkt code used the path
variable where it should have probably used the sysfs_path
variable, so this is fixed here as well.
Edited by Luca Weiss