hmatuschek / qdmr

A GUI application for configuring and programming cheap DMR radios under Linux and MacOS X.
https://dm3mat.darc.de/qdmr/
GNU General Public License v3.0
223 stars 46 forks source link

VID/PID hardcoded? (config in menu request) #477

Closed paudrat closed 1 month ago

paudrat commented 2 months ago

Hello, I am trying to connect a Baofeng DR1801UV. At the command: dmrconf -V -D ttyUSB0 -R DR1801UV detect i get: Debug in cli/autodetect.cc@40: Autodetect radios. Debug in lib/usbserial.cc@162: Search for serial port with matching VID:PID 28e9:18a. Debug in lib/usbserial.cc@162: Search for serial port with matching VID:PID 1fc9:94. Debug in lib/hid_libusb.cc@128: Search for HID interfaces matching VID:PID 15a2:73. Debug in lib/dfu_libusb.cc@156: Search for DFU devices matching VID:PID 483:df11. My usb/serial adapter has a different VID/PID. Is it possible to choose the usb adapter in a menu? Many thanks for your job. Best regards. F4DWC

hmatuschek commented 1 month ago

Yes you can by specifying the interface to use.

 dmrconf --verbose read --device=ttyUSB0 --radio=dr1801uv codeplug.yaml

Detecting makes no sense, as the device cannot be detected reliably. However, you should be able to handle the radio (read/write) by specifying the interface.

hmatuschek commented 1 month ago

See #485.