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

Cannot transmit microphone input using SDRAngel, USB sound card and HackRF One #2312

Open
DerrickLau opened this issue Nov 5, 2024 · 3 comments

Comments

@DerrickLau
Copy link

Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

derrick@TARDIS:~$ hackrf_info
hackrf_info version: 2022.09.1
libhackrf version: 2022.09.1 (0.7)
Found HackRF
Index: 0
Serial number: 0000000000000000f75461dc287c23c3
Board ID Number: 4 (HackRF One)
Firmware Version: 2024.02.1 (API:1.08)
Part ID Number: 0xa000cb3c 0x004f4f66
Hardware Revision: r9
Hardware appears to have been manufactured by Great Scott Gadgets.
Hardware supported by installed firmware:
HackRF One

Bus 002 Device 009: ID 0c76:1695 JMTek, LLC. USB PnP Audio Device
bDeviceClass 0
bDeviceProtocol 0
iProduct 1 USB PnP Audio Device
(Bus Powered)
Couldn't open device, some information will be missing

SDRangel v 7.22.2-74-gb122d40bc

Opened Tx:0 device as HackRF. Frequency 435 MHz. Checked RF Amp. Created T:0 channel. Added NFM Modulator. Pressed the Microphone button.
Went to SDRangel->Preferences->Audio->Audio Input. Selected device also_input.usb-0c76_USB_PnP_Audio_Device-00.mono-fallback.

Talked into microphone but only hear static on my receiver (BaoFeng UV-9R handheld). Using the standard dipole antenna included with HackRF One.

Please advise.

@srcejon
Copy link
Collaborator

srcejon commented Nov 6, 2024

Would suggesting post a screenshot showing the TX spectrum (and all other settings).

@DerrickLau
Copy link
Author

Screenshots of audio preferences and TX spectrum (including Tx device, channel, WFM modulator).
20241106_SDRAngelAudioPreferences
20241106_SDRAngelTransmitWithHackRFOne

@DerrickLau
Copy link
Author

John Telek had the same issue and believes it is a FIFO queue issue with the audio input. Here is his debug output:

2024-11-07 09:03:29.534 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:03:37.114 (W) libpng warning: iCCP: known incorrect sRGB profile
2024-11-07 09:03:37.114 (W) libpng warning: iCCP: too many profiles
2024-11-07 09:04:34.587 (W) QObject: Cannot create children for a parent that is in a different thread.
(Parent is ChannelAPI(0x56098103cc78), parent's thread is QThread(0x56097f240fd0), current thread is QThread(0x560980003370)
2024-11-07 09:04:34.589 (W) SampleSourceFifo::write: underrun (write too slow) using 512000 old samples
2024-11-07 09:04:34.591 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:34.591 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:38.607 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:41.057 (W) QObject: Cannot create children for a parent that is in a different thread.
(Parent is ChannelAPI(0x56098103cc78), parent's thread is QThread(0x56097f240fd0), current thread is QThread(0x560980003370)
2024-11-07 09:04:41.059 (W) SampleSourceFifo::write: underrun (write too slow) using 512000 old samples
2024-11-07 09:04:41.060 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:41.060 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:44.875 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:47.367 (W) QObject: Cannot create children for a parent that is in a different thread.
(Parent is ChannelAPI(0x56098103cc78), parent's thread is QThread(0x56097f240fd0), current thread is QThread(0x560980003370)
2024-11-07 09:04:47.369 (W) SampleSourceFifo::write: underrun (write too slow) using 512000 old samples
2024-11-07 09:04:47.370 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:47.371 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:52.184 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:54.700 (W) QObject: Cannot create children for a parent that is in a different thread.
(Parent is ChannelAPI(0x56098103cc78), parent's thread is QThread(0x56097f240fd0), current thread is QThread(0x560980003370)
2024-11-07 09:04:54.701 (W) SampleSourceFifo::write: underrun (write too slow) using 512000 old samples
2024-11-07 09:04:54.703 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found
2024-11-07 09:04:54.703 (W) AudioDeviceManager::removeAudioSource: audio FIFO 0x774470044700 not found

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

2 participants