Project

General

Profile

Actions

New Model #10067

closed

KG-UV9PX

Added by Rory Banks about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
10/04/2022
Due date:
% Done:

100%

Estimated time:
Equipment Loan/Gift Offered:
No
I read the instructions above:

Description

Anyone else willing to get this new model ironed out? Just got mine in, so I can do as I’m told as far as testing and feedback goes. Devs, please tell me where to start.


Files

Wouxun_KG-UV9D Plus_20221004.img (32.2 KB) Wouxun_KG-UV9D Plus_20221004.img Rory Banks, 10/05/2022 02:01 AM
kguv9px b1.0.py (78.1 KB) kguv9px b1.0.py Wouxun KG-UV9PX Chirp Driver Beta 1.0 Mel Terechenok, 12/15/2022 05:20 PM
Looking for a free spot (172).png (106 KB) Looking for a free spot (172).png Rory Banks, 12/17/2022 10:52 PM
Waiting for radio to become available.png (102 KB) Waiting for radio to become available.png Rory Banks, 12/17/2022 10:52 PM
radio.csv (16.4 KB) radio.csv Rory Banks, 12/17/2022 10:52 PM
Wouxun_KG-UV9PX_20221217 - Uploaded.img (32.2 KB) Wouxun_KG-UV9PX_20221217 - Uploaded.img Rory Banks, 12/17/2022 11:10 PM
KG File.kg (32 KB) KG File.kg Rory Banks, 12/17/2022 11:20 PM
kguv9px b1.1.py (78.2 KB) kguv9px b1.1.py Wouxun KG-UV9PX Chirp Driver Beta 1.1 Mel Terechenok, 12/19/2022 03:02 PM
12_21_2022.zip (59.2 KB) 12_21_2022.zip PC Radio, 12/21/2022 10:15 PM
kguv9px b1.2.py (78.8 KB) kguv9px b1.2.py KG-UV9PX Beta 1.2 Mel Terechenok, 12/23/2022 07:24 PM
Actions #1

Updated by Rory Banks about 2 years ago

To kick things off here, I attempted to download from radio using all Wouxun models, and the only one that successfully downloaded was for the KG-UV9D Plus. CHIRP appears to have downloaded all of the memories correctly, however the Settings tab is blank, and therefore Groups cannot be accessed either. It appears that Settings for the KG-UV9D MATE radio is able to be accessed and programmed by CHIRP, but not the UV9PX.

What would be helpful information in beginning to sort this new radio out? Thanks.

Actions #2

Updated by Jim Unroe about 2 years ago

  • Status changed from New to Feedback

Rory Banks wrote:

To kick things off here, I attempted to download from radio using all Wouxun models, and the only one that successfully downloaded was for the KG-UV9D Plus. CHIRP appears to have downloaded all of the memories correctly, however the Settings tab is blank, and therefore Groups cannot be accessed either. It appears that Settings for the KG-UV9D MATE radio is able to be accessed and programmed by CHIRP, but not the UV9PX.

What would be helpful information in beginning to sort this new radio out? Thanks.

Usually when the Settings tabs don't display any settings, there is one or more setting with a value that is out-of-range. If you would save the tab that was created to a native CHIRP Radio Images (*.img) file and attach it to this issue, someone could take a look at it to see which setting(s) it might be.

Jim KC9HI

Actions #3

Updated by Rory Banks about 2 years ago

Got it, thanks for the reply. Please see attached *.img.

Not sure if this is relevant or helpful, but Mark from Better Safe Radios (exclusive seller of the KG-UV9PX) mentioned that the addition of a menu item (likely Menu Item 62 - "SCN-MD" - Color Screen Mode), and expanded RX, may be contributing to the issue:

As of this writing, there's no CHIRP module for the UV9GX & UV9PX because of the extra menu item and expanded RX turning range. There are still bugs in the old UV9D (Plus) module also - I wish someone would fix that and work on the GX/PX. In either case, CHIRP can't unlock any of my co-designed radios (916/GX/PX, ?).

https://www.reddit.com/r/gmrs/comments/udkh9k/comment/ikrqpkr/?utm_source=share&utm_medium=web2x&context=3

Actions #4

Updated by Mark Lindsey about 2 years ago

Jim Unroe wrote:

Usually when the Settings tabs don't display any settings, there is one or more setting with a value that is out-of-range. If you would save the tab that was created to a native CHIRP Radio Images (*.img) file and attach it to this issue, someone could take a look at it to see which setting(s) it might be.

Jim KC9HI

Thank for jumping in here Jim and thanks Rory for starting this process.

Jim, I'm not sure if you are an active developer here, but I've been in contact with Mel T. (from several Facebook forums), who is a developer, and whom has agreed to work on new CHIRP modules for the Wouxun UV9G PRO, UV9GX and UV9PX. I'm working on sending Mel a list of requested tweaks, fixes and new features for these new models (based on the existing UV9D Plus version) now and will be sending him some radios to test with also. So as to not have any duplicated work, I'd love to have you two coordinate any development work. Hopefully Mel will jump in here soon (after I send the new data over). If there's any way I can help facilitate that coordination, don't hesitate to ask. :)

I think the GMRS and HAM communities would love to finally have working modules for all of these new radios. :)

Cheers and thanks!

-Mark from BetterSafeRadio

Actions #5

Updated by Tony Fuller about 2 years ago

attach it to this issue, someone could take a look at it to see which setting(s) it might be.

There are several out-of-bounds settings in this image.

I'll list them here:

  • Time Out Alarm value is set to "10" which would correspond to 10s but the driver only defines valid values up to 9s

    • see TOA_LIST = ["Off"] + ["%ds" % t for t in range(1, 10)]
  • Brightness level is set to "6" which is invalid as the driver only defines valid values up to 5

    • see LIST_1_5 = ["%s" % x for x in range(1, 6)]
  • PF3 Key function value is set to "6" but valid index values are 0=OFF,1=Call ID,2=R-ALARM,3=SOS,4=SF-TX

    • see PF3KEY_LIST = ["OFF", "Call ID", "R-ALARM", "SOS", "SF-TX"]

Hope that helps,
Tony

Actions #6

Updated by Mel Terechenok about 2 years ago

I have started looking at the 9d plus driver and have fixes for the TOA and ABR_LVL.

I will need to look at the PF3 setting to what is wrong.
I plan to post a beta version of a 9Gx driver and then make updates as needed as I learn more about the 9Gx new features.

Stay tuned.

Actions #7

Updated by Mel Terechenok about 2 years ago

I plan a 9Px Driver release - which should also work for the 9Gx.

Actions #8

Updated by Rory Banks about 2 years ago

Mel Terechenok wrote:

I plan a 9Px Driver release - which should also work for the 9Gx.

Thanks for your work on this Mel. I'm just an enthusiastic user (not a programmer), but I'm happy to do any testing if needed.

Actions #9

Updated by Mel Terechenok about 2 years ago

Work has begun on the 9PX driver. It is coming along nicely. Still working a few things out, but it is looking good.

Actions #10

Updated by Mel Terechenok about 2 years ago

KG-UV9PX Beta Driver 1.0

This driver fully supports the KG-UV9PX with all settings (including new 9PX specific settings) available in the Wouxun CPS.

  • Includes fixes for previously disclosed KG-UV9D Plus driver issues with TOA, ABR, PF3 settings.
  • Includes fix for previously unknown issue on 9D-Plus driver where every 64th byte would be 0x00 after Read from radio.
  • --This caused many issues with data storage including every 8th channel memory name dropping the last letter and last letter of Display Banner Name.
  • Includes extra settings previously only available from radio menu, eg, TDR, Active Receiver area.
  • Includes previously unavailable (CPS or Radio) setting to customize the Sub Receiver Message (10 Chars Max) - Previously displayed fixed value "KG-UV9PX"
  • Includes ability to modify Tx and Rx limits. Use at your own risk!

To load driver:
Download driver file from the files section above
Open Chirp
Select Help -- Enable Developer Functions
Select File -- Load Module
Select the driver file from your saved download location.

Please communicate any issues to me.
Thanks to Mark at BetterSafeRadios.com for support in development of this driver.

Updated by Rory Banks about 2 years ago

Mel Terechenok wrote in #note-10:

KG-UV9PX Beta Driver 1.0

This driver fully supports the KG-UV9PX with all settings (including new 9PX specific settings) available in the Wouxun CPS.

  • Includes fixes for previously disclosed KG-UV9D Plus driver issues with TOA, ABR, PF3 settings.
  • Includes fix for previously unknown issue on 9D-Plus driver where every 64th byte would be 0x00 after Read from radio.
  • --This caused many issues with data storage including every 8th channel memory name dropping the last letter and last letter of Display Banner Name.
  • Includes extra settings previously only available from radio menu, eg, TDR, Active Receiver area.
  • Includes previously unavailable (CPS or Radio) setting to customize the Sub Receiver Message (10 Chars Max) - Previously displayed fixed value "KG-UV9PX"
  • Includes ability to modify Tx and Rx limits. Use at your own risk!

To load driver:
Download driver file from the files section above
Open Chirp
Select Help -- Enable Developer Functions
Select File -- Load Module
Select the driver file from your saved download location.

Please communicate any issues to me.
Thanks to Mark at BetterSafeRadios.com for support in development of this driver.

Hi Mel,

Thanks again for all your work on this. I was able to load from the radio and make some changes to channels, but ran into some issues when trying to Insert Row Above (screenshots attached). I also attached CSV. Please let me know how else I can assist. Thank you.

Actions #12

Updated by Rory Banks about 2 years ago

Rory Banks wrote in #note-11:

Mel Terechenok wrote in #note-10:

KG-UV9PX Beta Driver 1.0

This driver fully supports the KG-UV9PX with all settings (including new 9PX specific settings) available in the Wouxun CPS.

  • Includes fixes for previously disclosed KG-UV9D Plus driver issues with TOA, ABR, PF3 settings.
  • Includes fix for previously unknown issue on 9D-Plus driver where every 64th byte would be 0x00 after Read from radio.
  • --This caused many issues with data storage including every 8th channel memory name dropping the last letter and last letter of Display Banner Name.
  • Includes extra settings previously only available from radio menu, eg, TDR, Active Receiver area.
  • Includes previously unavailable (CPS or Radio) setting to customize the Sub Receiver Message (10 Chars Max) - Previously displayed fixed value "KG-UV9PX"
  • Includes ability to modify Tx and Rx limits. Use at your own risk!

To load driver:
Download driver file from the files section above
Open Chirp
Select Help -- Enable Developer Functions
Select File -- Load Module
Select the driver file from your saved download location.

Please communicate any issues to me.
Thanks to Mark at BetterSafeRadios.com for support in development of this driver.

Hi Mel,

Thanks again for all your work on this. I was able to load from the radio and make some changes to channels, but ran into some issues when trying to Insert Row Above (screenshots attached). I also attached CSV. Please let me know how else I can assist. Thank you.

Nevermind, I think I found the issue: one of the blank lines I had inserted when playing around had "error" in the Name field. I deleted that row and was able to insert rows again. However, when I attempted to upload to radio, it did not upload my channels, and instead uploaded the attached. It looks to me to be a selection of the default programming channels. Any thoughts?

Actions #13

Updated by Rory Banks about 2 years ago

After some more tinkering, it seems like when I select Upload To Radio in CHRIP, somehow what's being uploaded is the most recent memory group from the actual KG=UV9PX R1.00 (211207) app (attached). I'm stumped.

Actions #14

Updated by Eric LeSatz about 2 years ago

Rory Banks wrote in #note-13:

After some more tinkering, it seems like when I select Upload To Radio in CHRIP, somehow what's being uploaded is the most recent memory group from the actual KG=UV9PX R1.00 (211207) app (attached). I'm stumped.

I was able to add and modify channels. I also changed one of the scan group start and ends. Everything worked great for me.

Actions #15

Updated by Mel Terechenok about 2 years ago

KG-UV9PX Beta 1.1

Fix Caller ID decoding after a Factory Reset to prevent blank settings tab:
-- Wouxun 9PX Factory Reset Caller ID value uses a 0x00 for digit value of 0 while CPS uses a value of 0x0a for digit 0
-- Updated the driver to interpret either 0x00 or 0x0a as digit 0.

Actions #16

Updated by Mel Terechenok about 2 years ago

Rory -

I can't duplicate what you are describing. I was able to import your csv and successfully write to the radio.
I can confirm the image you posted was the factory reset image. I have seen this happen when a value you have written to the radio is out of the acceptable limits. I can force that to happen if I try and set the Tx/Rx limits out of range the radio will support, but I put in limits in Chirp UI so that should not occur. If you can duplicate the problem and post the .img file that you tried to upload when the reset occurs I can try and debug further to narrow down what is causing the radio to reset after a write to it.

Rory Banks wrote in #note-13:

After some more tinkering, it seems like when I select Upload To Radio in CHRIP, somehow what's being uploaded is the most recent memory group from the actual KG=UV9PX R1.00 (211207) app (attached). I'm stumped.

Actions #17

Updated by PC Radio about 2 years ago

Happy to help with the KG-UV9PX progress. I just tried module version " kguv9px b1.1.py ", and I get a blank Settings tab when downloading from the radio

Steps to reproduce:

  1. Create a new image using CPS R1.00(21120)
  2. Write to radio. Power cycle radio.
  3. Chirp Download From Radio, Model KG-UV9PX developer module.

Let me know what you need.

Actions #18

Updated by PC Radio about 2 years ago

Correction: CPS R1.00(211207)

Actions #19

Updated by Mel Terechenok about 2 years ago

I used your procedure, I did not get a blank Settings Tab - it showed up just fine.
However, the Memories tab showed no programmed channels which I will have to look into.
If you can post the .kg file you wrote to the radio as well as the .img file that you get after reading from the radio, as well as your debug.log file from %APPDATA%\CHIRP I can start debugging.
The CPS does some strange things so reports like this help me understand the silly things it is doing. Thanks!!!

Actions #20

Updated by PC Radio about 2 years ago

File attached as requested. I get blank memories too! Crazy CPS software!

Actions #21

Updated by PC Radio about 2 years ago

Looks like in the function _admin_tab there is a call to RadioSettingValueString (is that from a chirp library?) that is tripping over the presence of the ¦ character. That is the broken vertical bar char, not pipe . Kinda weird.

Actions #22

Updated by PC Radio about 2 years ago

I think I know what is causing this. On my radio, my Custom Sub-Receiver Message is actually blank! When I push the TDR button, I don't have a value there. Now, how did this happen? Well, before I knew about this module you were working on, I was using the quasi-workable but buggy KG-UV9D Plus module. I'll bet you it wrote a blank in that struct on the radio. I don't know, but sounds good!

Actions #23

Updated by PC Radio about 2 years ago

Fix confirmed. By setting a value for Browser oemmodel , I can get the Settings tab to load. So, if for some reason, that value is blank on the radio, Chirp errors.

Actions #24

Updated by Tony Politi almost 2 years ago

I just loaded the module and programmed my radio and don't seem to have any issues yet.

Actions #25

Updated by Tony Politi almost 2 years ago

Tony Politi wrote in #note-24:

I just loaded the module and programmed my radio and don't seem to have any issues yet.

I Just found one bug. If Receiver A Settings>Channel is set to a channel with no memory after the programming is complete a ghost channel remains on the radio on that channel. When I scroll thru the channels afterwards there is an unprogrammed channel that I have to scroll thru even though no info is in the memory setting for that channel.
This also applies to Receiver B Settings>Channel

Not a big deal I just set them to my favorite channels so when the radio boots up at those favorite channels.

Actions #26

Updated by Mel Terechenok almost 2 years ago

Tony Politi wrote in #note-25:

I Just found one bug. If Receiver A Settings>Channel is set to a channel with no memory after the programming is complete a ghost channel remains on the radio on that channel.

Thanks Tony! I also found that issue. I am working to figure out a way fix that.

Actions #27

Updated by Tony Politi almost 2 years ago

Mel Terechenok wrote in #note-26:

Thanks Tony! I also found that issue. I am working to figure out a way fix that.

The channel number lights up when receiving a transmission I don't remember it doing this before but I like that it does.

For the start up option it has battery or bitmap(disabled). I would sure love to be able to upload my own bitmap(graphic) instead of the battery.

The transmit limits are set outside what the actual limits are. I set transmit down to 108 and still get FreqOver when transmitting on 108.000. This could lead to confusion and future bug reports.

It appears the bug that drops the 8 character has been fixed I thought it was not but I just had to go back in and add the character that the older version had previously removed.

I have to say Thank You, Thank You, Thank You. Having only a Mac at home I can now do full programming without having to drive to my office. Additionally the god awful Wouxon software was going to give me an aneurysm. Your efforts are much appreciated. I donated to CHIRP last night. Does this benefit you as well? If not I would like to reward your efforts.

Actions #28

Updated by Mel Terechenok almost 2 years ago

Wouxun KG-UV9PX Beta 1.2

  • Fix issue with empty memory tab showing in Chirp after writing a default new image with 9PX CPS. CPS does not update the mem valid flag properly in this instance
  • Fix pre-existing 9D Plus issue with Working Channel for VFO A and VFO B to allow correct selection of all 999 channels. UV9D Plus driver was only allocating 1 Byte ... Needs 2 Bytes
  • Fix issue of "ghost" memory location remaining for a deleted channel if the deleted channel was an active Working Channel. Will now revert the working channel to channel 1.
Actions #29

Updated by Bernhard Hailer almost 2 years ago

It looks like we might be able to close this ticket?

Actions #30

Updated by Mel Terechenok almost 2 years ago

  • Status changed from Feedback to In Progress

Bernhard Hailer wrote in #note-29:

It looks like we might be able to close this ticket?

Not ready to be closed yet. The driver is NOT included in an official Chirp Build yet. The driver is being converted to py3 and I will close the ticket when the driver is included in Chirp-Next.

Actions #31

Updated by Mel Terechenok almost 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF