JvanKatwijk / dab-cmdline

DAB decoding library with example of its use
GNU General Public License v2.0
57 stars 29 forks source link

New version can't decode what an older version is able to #104

Open montgomeryb opened 1 week ago

montgomeryb commented 1 week ago

I have been using dab-cmdline on my raspberry 3B for quite a while on 32 bit debian buster with a sdr usb stick. I upgraded to 64 bit bookworm. I tried updating the libraries but with the latest version I cannot pickup any of the stations. If I use the version I had from several years ago, it works (most of the time).

I'm not sure if there's anything I can do to try and track down the issue?

root@water:/home/bryan/src2/rtl-sdr/build# /home/bryan/src2/dab-cmdline/example-3/build/dab
-rtlsdr-3 -Q on -C 11C -P "BBC Radio Solent" >/dev/null
dab_cmdline example III,
                          Copyright 2017 J van Katwijk, Lazy Chair Computing
options are i:T:D:d:M:B:P:O:A:C:G:p:Q:S:
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
there might be a DAB signal here
Sleeping 1
Sleeping 1
Sleeping 1
Sleeping 1
Sleeping 1

no ensemble data found, fatal
dab processor will stop
root@water:/home/bryan/src2/rtl-sdr/build# dab-rtlsdr-3.old -Q on -C 11C -P "BBC Radio Sole
nt" >/dev/null
dab_cmdline example III,
                          Copyright 2017 J van Katwijk, Lazy Chair Computing
options are q:T:D:d:M:B:P:O:A:C:G:p:Q
going for rtlsdr 220352000 50
OK, functions seem to be loaded
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
samplerate set to 2048000
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9
25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
effective gain: gain 25.4
there might be a DAB signal here
Capital S Coast (C870) is part of the ensemble
HITS RADIO S CST (C1E2) is part of the ensemble
ensemble South Hampshire is (C1A3) recognized
Heart Hampshire (C365) is part of the ensemble
Angel Vintage (CDC2) is part of the ensemble
V2 Radio (CDEE) is part of the ensemble
Grt Hits S Coast (C3AD) is part of the ensemble
Station Logos (data) (E1C000CA) is part of the ensemble
Smooth Hampshire (CFD2) is part of the ensemble
Nation Radio (C2C4) is part of the ensemble
Easy Radio (CEF0) is part of the ensemble
HOT GOLD (CAED) is part of the ensemble
Station Logos (data) (E1C000CA) is part of the ensemble
BBC Radio Solent (C932) is part of the ensemble

we try to start program BBC Radio Solent
protection handler is uep_protection
we have now DAB
        startaddress    = 288
        length          = 96
        subChId         = 4
        protection      = 3
        bitrate         = 128
^Cu're listening to BBC Radio Solentic you love
JvanKatwijk commented 1 week ago

from the output it seems that the gain is not set for the rtlsdr device, I'll have a look tomoroow

Op di 12 nov 2024 om 18:10 schreef montgomeryb @.***>:

I have been using dab-cmdline on my raspberry 3B for quite a while on 32 bit debian buster with a sdr usb stick. I upgraded to 64 bit bookworm. I tried updating the libraries but with the latest version I cannot pickup any of the stations. If I use the version I had from several years ago, it works (most of the time).

I'm not sure if there's anything I can do to try and track down the issue?

@.***:/home/bryan/src2/rtl-sdr/build# /home/bryan/src2/dab-cmdline/example-3/build/dab -rtlsdr-3 -Q on -C 11C -P "BBC Radio Solent" >/dev/null dab_cmdline example III, Copyright 2017 J van Katwijk, Lazy Chair Computing options are i:T:D:d:M:B:P:O:A:C:G:p:Q:S: Found Rafael Micro R820T tuner [R82XX] PLL not locked! there might be a DAB signal here Sleeping 1 Sleeping 1 Sleeping 1 Sleeping 1 Sleeping 1

no ensemble data found, fatal dab processor will stop @.***:/home/bryan/src2/rtl-sdr/build# dab-rtlsdr-3.old -Q on -C 11C -P "BBC Radio Sole nt" >/dev/null dab_cmdline example III, Copyright 2017 J van Katwijk, Lazy Chair Computing options are q:T:D:d:M:B:P:O:A:C:G:p:Q going for rtlsdr 220352000 50 OK, functions seem to be loaded Found Rafael Micro R820T tuner [R82XX] PLL not locked! samplerate set to 2048000 Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 effective gain: gain 25.4 there might be a DAB signal here Capital S Coast (C870) is part of the ensemble HITS RADIO S CST (C1E2) is part of the ensemble ensemble South Hampshire is (C1A3) recognized Heart Hampshire (C365) is part of the ensemble Angel Vintage (CDC2) is part of the ensemble V2 Radio (CDEE) is part of the ensemble Grt Hits S Coast (C3AD) is part of the ensemble Station Logos (data) (E1C000CA) is part of the ensemble Smooth Hampshire (CFD2) is part of the ensemble Nation Radio (C2C4) is part of the ensemble Easy Radio (CEF0) is part of the ensemble HOT GOLD (CAED) is part of the ensemble Station Logos (data) (E1C000CA) is part of the ensemble BBC Radio Solent (C932) is part of the ensemble

we try to start program BBC Radio Solent protection handler is uep_protection we have now DAB startaddress = 288 length = 96 subChId = 4 protection = 3 bitrate = 128 ^Cu're listening to BBC Radio Solentic you love

— Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/dab-cmdline/issues/104, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQD2YLPDDRGTLJFHV7L2AIY7LAVCNFSM6AAAAABRUROQ26VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2TEOBRGY2TEMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jan van Katwijk

JvanKatwijk commented 1 week ago

When I run with a similar configuration on example 3, i.e. an RTLSDR device, I get a list of gain values, Found Fitipower FC0013 tuner samplerate set to 2048000 Supported gain values (23): -9.-9 -7.-3 -6.-5 -6.-3 -6.0 -5.-8 -5.-4 5.8 6.1 6.3 6.5 6.7 6.8 7.0 7.1 17.9 18.1 18.2 18.4 18.6 18.8 19.1 19.7 effective gain: gain 18.8 there might be a DAB signal here

Since I do not have a decent antenna that fits on the connector I do not get an ensemble, but reading the code, tou should get some output there then at least you can see the actual gain best jan

Op di 12 nov 2024 om 18:10 schreef montgomeryb @.***>:

I have been using dab-cmdline on my raspberry 3B for quite a while on 32 bit debian buster with a sdr usb stick. I upgraded to 64 bit bookworm. I tried updating the libraries but with the latest version I cannot pickup any of the stations. If I use the version I had from several years ago, it works (most of the time).

I'm not sure if there's anything I can do to try and track down the issue?

@.***:/home/bryan/src2/rtl-sdr/build# /home/bryan/src2/dab-cmdline/example-3/build/dab -rtlsdr-3 -Q on -C 11C -P "BBC Radio Solent" >/dev/null dab_cmdline example III, Copyright 2017 J van Katwijk, Lazy Chair Computing options are i:T:D:d:M:B:P:O:A:C:G:p:Q:S: Found Rafael Micro R820T tuner [R82XX] PLL not locked! there might be a DAB signal here Sleeping 1 Sleeping 1 Sleeping 1 Sleeping 1 Sleeping 1

no ensemble data found, fatal dab processor will stop @.***:/home/bryan/src2/rtl-sdr/build# dab-rtlsdr-3.old -Q on -C 11C -P "BBC Radio Sole nt" >/dev/null dab_cmdline example III, Copyright 2017 J van Katwijk, Lazy Chair Computing options are q:T:D:d:M:B:P:O:A:C:G:p:Q going for rtlsdr 220352000 50 OK, functions seem to be loaded Found Rafael Micro R820T tuner [R82XX] PLL not locked! samplerate set to 2048000 Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6 effective gain: gain 25.4 there might be a DAB signal here Capital S Coast (C870) is part of the ensemble HITS RADIO S CST (C1E2) is part of the ensemble ensemble South Hampshire is (C1A3) recognized Heart Hampshire (C365) is part of the ensemble Angel Vintage (CDC2) is part of the ensemble V2 Radio (CDEE) is part of the ensemble Grt Hits S Coast (C3AD) is part of the ensemble Station Logos (data) (E1C000CA) is part of the ensemble Smooth Hampshire (CFD2) is part of the ensemble Nation Radio (C2C4) is part of the ensemble Easy Radio (CEF0) is part of the ensemble HOT GOLD (CAED) is part of the ensemble Station Logos (data) (E1C000CA) is part of the ensemble BBC Radio Solent (C932) is part of the ensemble

we try to start program BBC Radio Solent protection handler is uep_protection we have now DAB startaddress = 288 length = 96 subChId = 4 protection = 3 bitrate = 128 ^Cu're listening to BBC Radio Solentic you love

— Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/dab-cmdline/issues/104, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQD2YLPDDRGTLJFHV7L2AIY7LAVCNFSM6AAAAABRUROQ26VHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2TEOBRGY2TEMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jan van Katwijk

montgomeryb commented 1 week ago

Thanks for the quick feedback.

I did notice that the list of gain values was missing. C/C++ is not my preferred language but I will see if I can take a look in the next week or two and see if I can troubleshoot why it is not showing the supported gain values.