If you notice spammers in the forum, please notify Bas ON5HB, so they can be removed and banned. Give a link in the chatbox or send a PM to me. Thanks.

Bug in RX888MK2 driver.

Started by Bas ON5HB, Mar 06, 2025, 04:03 PM

Previous topic - Next topic

Bas ON5HB

Finally found the problem.

another bug in the RX-888 driver.

There is a comma too much, as such it ignores -m low without --pga is used.

I did a pull-request on the driver. As without it, this like won't work:

rx888_stream/target/release/rx888_stream -f ./rx888_stream/SDDC_FX3.img -s 60000000 -g 73 -a 0 -m low -r -d -o - > rx888mk2.fifo

Find this part in /src/main.rs

let packet_size = 131072;
    let num_transfers = 32;
    let gain = match args.gain_mode {
        GainMode::High => args.gain | 0x80,
        GainMode::Low => args.gain
    };

The low line holds a , at the end, once removed it works.

I also noticed this mistake is made many times, with the last setting a , behind it. Never seen code where this is normal.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Powered by EzPortal