Openvario / sensord

Daemon to poll air data from Openvario sensorboard
6 stars 11 forks source link

Soundproblem when switching from Vario to STF mode #33

Closed eku60 closed 3 years ago

eku60 commented 3 years ago

Hello to all,

using the latest images, for example 21028 from Blaubart (and a new one of my own (21038), because of Becker AR6201-driver included), the sound disappears when switching from Vario-mode to STF-mode. When switching back to Vario-mode you can only hear some cracks from the speaker.

To get sound again, it is necessary to restart XCSoar. The system used is a SteFly Openvario with 7" Texim display and Sensorboard also from SteFly. The image 20193 is working well in this case. Also deactivating and activating OpenVario-driver again in NMEA-Menu of XCSoar works to have vario sound again. No FreeVario used (no space on the panel).

Another issue: The binary "compdata" as described in readme is missing...

Kind regards eku60

eku60 commented 3 years ago

Update: Tested image 20309. Switching works, the problem seems to be newer.

hpmax commented 3 years ago

Re: compdata, I'm the only one who has messed with sensord or variod lately. I was explicitly told not to provide binaries in the release tree, so I'm not sure where you were getting the binaries from. compdata.c is clearly in the release. So you can "make compdata" to create it, or "make all."

Re: the sound problem

I can replicate it, it's in variod. Will update further in the variod thread.

eku60 commented 3 years ago

Hello hpmax,

sorry, maybe I am misunderstood. I don't have any binaries for compdata. I only thought, I should have some. So it is ok.

I will try the steps and give you a feedback and try to find out which deamon process causes the problem. As the Vario indicator in XCSoar seems to be still working it may be the variod whih ias reponsible for the sound, correct?

For the moment, I found out, that a restart of XCSoar (without a reboot of the OpenVario) or a deactivation and reactivation of the port in the XCSoar-Menu gives vario sound in Vario mode again. Switching to STF (and back) again and sound is gone.

Thank you much.

Kind regards Elmar, eku60

-----Original-Nachricht----- Betreff: Re: [Openvario/sensord] Soundproblem when switching from Vario to STF mode (#33) Datum: 2021-02-19T07:08:27+0100 Von: "hpmax" notifications@github.com An: "Openvario/sensord" sensord@noreply.github.com

Re: compdata, I'm the only one who has messed with sensord or variod lately. I was explicitly told not to provide binaries in the release tree, so I'm not sure where you were getting the binaries from. compdata.c is clearly in the release. So you can "make compdata" to create it, or "make all." Re: the sound problem, can you confirm if the problem is in sensord or variod? Some thing to check are:

  1. When you monitor the port, are you still getting data out in xcsoar?
  2. If you kill and restart sensord does it start working again? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Openvario/sensord/issues/33#issuecomment-781850565 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7IIIX4V75XN4UYKFHF4X3S7X547ANCNFSM4XWAAFZQ . [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/Openvario/sensord/issues/33#issuecomment-781850565", "url": "https://github.com/Openvario/sensord/issues/33#issuecomment-781850565", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ] 
eku60 commented 3 years ago

The problem is located in variod. The use of compdata is another problem, not in this context.