Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues using tee #91

Open
grinsekatze003 opened this issue Dec 10, 2017 · 4 comments
Open

Issues using tee #91

grinsekatze003 opened this issue Dec 10, 2017 · 4 comments

Comments

@grinsekatze003
Copy link

grinsekatze003 commented Dec 10, 2017

Hi guys,

I‘m struggling to get multimon-ng to work using tee.

This works perfectly fine and detects all alarms:

rtl_fm -f xxx -M fm -s 22050 | multimon-ng -a ZVEI -f alpha -t raw /dev/stdin -

while using the following code only some alarms get through, the other ones are unnoticed:

rtl_fm -f xxx -M fm -s 22050 | tee /dev/null | multimon-ng -a ZVEI -f alpha -t raw /dev/stdin -

Can someone tell me why?

@grinsekatze003
Copy link
Author

Any ideas? @EliasOenal

@EliasOenal
Copy link
Owner

EliasOenal commented Dec 15, 2017

I think this is a duplicate of #70. Sadly I don't know the cause of it.

Edit:
I would suggest trying to use the CLI tool "buffer" between tee and multimon-ng. It also has a block size option that could be adjusted.

@ramonsmits
Copy link
Contributor

Environment Raspberry Pi4:

Raspberry Pi 4 Model B Rev 1.2
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"

Raspberry Pi reference 2021-03-04
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 461109415073d2eb67083709662ba983cc191f14, stage5

Linux pi2000 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
Revision        : c03112
Serial          : 10000000ae6f862a
Model           : Raspberry Pi 4 Model B Rev 1.2
Throttled flag  : throttled=0x0
Camera          : supported=0 detected=0, libcamera interfaces=0

I'm running this:

rtl_fm -s 22050 -f 169.650M -g -9.9 | tee /var/ram/rtlfm.raw | multimon-ng -v 0 -a FLEX -a FLEX_NEXT -t raw /dev/stdin

@grinsekatze003 Can you quantify how much data you are missing?

@EliasOenal
Copy link
Owner

I assume this ticket has been fixed with #214 and #215. Let me know if you still encountered any problems, otherwise I'll close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants