kopia lustrzana https://github.com/Hamlib/Hamlib
Add support for DMK Engineering URI
I have a problem with the CM119A GPIO. The PTT line of the DMK Engineering URI was not activated by the hamlib when using fldigi or rigctl. I fiddled with the source code and managed to edit the code in cm108.c to get the PTT-line activate on my URI-box. A successful rigctl command is: rigctl -p /dev/hidraw0 -C ptt_pathname=/dev/hidraw0,ptt_type=CM108,ptt_bitnum=2 Attached is the modified source code file and a patch in 'git diff' format. The version of origin is 1.2.15.3. 73 de Veijo OH3NFC Signed-off-by: Nate Bargmann <n0nb@n0nb.us>Hamlib-3.0
rodzic
19f131b1b8
commit
89ebe6bc84
|
@ -102,9 +102,10 @@ int cm108_open(hamlib_port_t *port)
|
|||
if (!ioctl(fd, HIDIOCGRAWINFO, &hiddevinfo)
|
||||
&&
|
||||
(
|
||||
(hiddevinfo.vendor == 0x0d8c // CM108/109/119
|
||||
&& hiddevinfo.product >= 0x0008
|
||||
&& hiddevinfo.product <= 0x000f
|
||||
(hiddevinfo.vendor == 0x0d8c && // CM108/109/119/119A
|
||||
(hiddevinfo.product >= 0x0008 &&
|
||||
hiddevinfo.product <= 0x000f ||
|
||||
hiddevinfo.product == 0x013a)
|
||||
)
|
||||
||
|
||||
(hiddevinfo.vendor == 0x0c76 && // SSS1621/23
|
||||
|
|
Ładowanie…
Reference in New Issue