deeptho / neumodvb

neumoDVB DVB-S2/DVB-T/DVB-C settop box and DX program for Linux
Other
17 stars 8 forks source link

stats refresh broken by heartbeat cmd #13

Closed psyborg55 closed 2 years ago

psyborg55 commented 2 years ago

Problem with periodic stats update (rf, snr, ber) when using SW algo driver caused by heartbeat cmd being sent. Doing some patches revert i got stats refresh after reverted https://github.com/deeptho/linux_media/commit/2d02ced2d96fe6ae422375cc24e249643489dbd1 Noticed there is no cmd 87 in kernel log anymore. Find heartbeat in neumo sources - related to API detection

Update: recompile neumo with heartbeat set to 0 still didnt work. I guess there is a bug in the way neumo api fetch stats data from driver

psyborg55 commented 2 years ago

the problem was in dvb driver, missing status read, fixed with https://github.com/deeptho/linux_media/pull/2/commits/a35dd6fedaacd3fea63069f80cb5c6f733be4717 and https://github.com/deeptho/linux_media/pull/2/commits/3ee3e8b6e92c3445ae08657bdb771c2f6f4b7d5a