Bug #10804
openBF-V8A doesn't read settings page
0%
Description
I get an error that 0 is out of range 1-5 when I open the settings page on a BF-V8A using the BF-V8A profile. If I use the BF-888 profile it works fine and displays the interface for editing basic settings.
Running next-20230810 on Windows 11
debug:
[2023-08-22 11:20:48,535] chirp.wxui.common - ERROR: Failed to run get_settings(, )
Traceback (most recent call last):
File "chirp\wxui\common.py", line 276, in do_radio
File "chirp\drivers\radtel_t18.py", line 952, in get_settings
File "chirp\settings.py", line 96, in __init__
File "chirp\settings.py", line 104, in set_value
chirp.settings.InvalidValueError: Value 0 not in range 1-5
[2023-08-22 11:20:48,546] chirp.wxui.common - ERROR: Context raised unexpected_exception
Traceback (most recent call last):
File "chirp\wxui\settingsedit.py", line 49, in _initialize
File "chirp\wxui\common.py", line 276, in do_radio
File "chirp\drivers\radtel_t18.py", line 952, in get_settings
File "chirp\settings.py", line 96, in __init__
File "chirp\settings.py", line 104, in set_value
chirp.settings.InvalidValueError: Value 0 not in range 1-5
Traceback (most recent call last):
File "wx\core.py", line 3427, in <lambda>
File "chirp\wxui\settingsedit.py", line 49, in _initialize
File "chirp\wxui\common.py", line 276, in do_radio
File "chirp\drivers\radtel_t18.py", line 952, in get_settings
File "chirp\settings.py", line 96, in __init__
File "chirp\settings.py", line 104, in set_value
chirp.settings.InvalidValueError: Value 0 not in range 1-5
[2023-08-22 11:20:51,762] chirp.wxui.developer - DEBUG: Adding sub panel for Baofeng BF-V8A
[2023-08-22 11:20:51,819] chirp.wxui.developer - DEBUG: Adding sub panel for memory
[2023-08-22 11:20:51,847] chirp.wxui.developer - DEBUG: Adding sub panel for settings
[2023-08-22 11:20:51,877] chirp.wxui.developer - DEBUG: Adding sub panel for settings2
[2023-08-22 11:20:53,129] chirp.wxui.developer - DEBUG: Adding sub panel for unused2
Files
Updated by Chris Edwards over 1 year ago
Attached stock .img
Updated by Chris Edwards over 1 year ago
Attached stock when reading as BF-888.
Updated by Jim Unroe over 1 year ago
- File bf-v8a_voxgain_fix.py bf-v8a_voxgain_fix.py added
This seems to be a bug in the radio and corresponding factory software. You are supposed to be able to enable VOX and set the gain to the desired level (1 - 5) by selecting the corresponding channel (1 - 5) and powering on the radio. The factory software (and CHIRP) expects the stored value to be 1 - 5. Unfortunately using channels 1 - 5 stores values 0 - 4 (0 being out-of-range).
The way to select valid VOX Gain values (1 - 5) from the radio is to use channels 2 - 6. Using channel 1 stores the invalid value of 0. My BF-V8A came from the factory with the VOX gain level correctly set to 1 so the issue was never experienced here.
I have attached a test driver that should overcome this bug in the radio (which the OEM software apparently seems to be doing the same thing). Instructions for loading and using this test driver is available here: LoadingTestModules
If testing indicates that this is satisfactory, I will make a formal patch and submit it for inclusion in CHIRP.