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

Playback does not work more than once with HackRF #360

Closed
Alex-111 opened this issue Nov 16, 2017 · 6 comments · Fixed by #361
Closed

Playback does not work more than once with HackRF #360

Alex-111 opened this issue Nov 16, 2017 · 6 comments · Fixed by #361

Comments

@Alex-111
Copy link

Please use this template for bug reports. If you have a feature request or question just delete everything and write as you like.

Expected Behavior

Sending with HackRF should work more than one time...

Actual Behavior

Sending with HackRF only works once. After sending a waveform again the progress bar does not appear and nothing seems to be sent. Resetting the HackRF sometimes helps to make it work again...

Unplugging HackRF and restarting URH always solves the issue. After that most of the times sending works only once again....

Steps to Reproduce the Problem

  1. Record with e.g. 8Mhz
  2. Playback the recording
  3. Stop the playback and press the play button again -> No progress bar and sending does not work

Platform Specifications

  • Python Version:
  • Operating System: Windows 10
  • Version of URH: 1.8.12
  • URH was installed: via .msi
@jopohl
Copy link
Owner

jopohl commented Nov 16, 2017

What firmware version is your HackRF running?

@Alex-111
Copy link
Author

Alex-111 commented Nov 17, 2017

It runs on 2017.02.1 (hackrf_transfer works without issues)

@Alex-111
Copy link
Author

Thanks a lot. Seems to work now...

@jopohl
Copy link
Owner

jopohl commented Nov 20, 2017

You're welcome! That was a nasty one indeed.

@Agmagor
Copy link

Agmagor commented Nov 23, 2017

I don't think this issue is completely solved.
I attached to this message a screenshot showing that the hackrf is still active after pressing the stop button in the Send Signal window.
Pushing the hackrf reset button shuts it down properly.

The URH log says:

[INFO::Device.py::stop_tx_mode] HackRF: Stopping TX Mode: Stopped receiving: Stop button clicked
[DEBUG::Device.py::device_send] wrappertype: exit requested. Stopping sending
[WARNING::Device.py::stop_tx_mode] HackRF: Transmit process is still alive, terminating it
[INFO::Device.py::read_device_messages] Exiting read device message thread due to
[DEBUG::Device.py::read_device_messages] Exiting read device errors thread

urh_gqrx_hackrf

@jopohl
Copy link
Owner

jopohl commented Nov 23, 2017

Does this happen everytime? Are you using the latest version of URH? This line here indicates what is wrong:
[WARNING::Device.py::stop_tx_mode] HackRF: Transmit process is still alive, terminating it

URH forcefully shuts down the HackRF process, because it blocks and therefore the HackRF stays in sending mode.

Edit: Can't reproduce on my Windows VM.

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

Successfully merging a pull request may close this issue.

3 participants