You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PortaRF in HackRF mode not connecting to USB-C port on my Windows PC #4
My Windows PC detects my genuine HackRF one when connecting it via a USB-Micro to USB-A cable to a USB-A port of my PC.
But my Windows PC does not detect my PortaRF in HackRF mode when connecting it via a data-capable USB-C to USB-C cable to a USB-C port of my Windows PC:
C:\hackrftools>hackrf_info.exe
hackrf_info version: git-7047252
libhackrf version: git-7047252 (0.6)
No HackRF boards found.
On the other hand, when connecting my PortaRF to my Windows PC over a USB-Micro to USB-A cable, everything works as expected:
C:\hackrftools>hackrf_info.exe
hackrf_info version: git-7047252
libhackrf version: git-7047252 (0.6)
Found HackRF
Index: 0
Serial number: 0000000000000000752869d928296117
Board ID Number: 2 (HackRF One)
Firmware Version: v2.4.0 (API:1.11)
Part ID Number: 0xa000cb3c 0xbc6f433f
Reproduction
Switch PortaRF on
Select HackRF mode
Connect PortaRF via a data-capable USB-C to USB-C cable to a USB-C port of a running Windows PC.
No "detected" sound is heard from Windows and hackrf_info.exe will not detect a HackRF board.
Expected behavior
Switch PortaRF on
Select HackRF mode
Connect PortaRF via a data-capable USB-C to USB-C cable to a USB-C port of a running Windows PC.
Windows emits "detected" sound.
Run hackrf_info.exe:
C:\hackrftools>hackrf_info.exe
hackrf_info version: git-7047252
libhackrf version: git-7047252 (0.6)
Found HackRF
Index: 0
Serial number: 0000000000000000752869d928296117
Board ID Number: 2 (HackRF One)
Firmware Version: v2.4.0 (API:1.11)
Part ID Number: 0xa000cb3c 0xbc6f433f
changed the title [-]HackRF mode not connecting to USB-C port on my PC[/-][+]PortaRF in HackRF mode not connecting to USB-C port on my Windows PC[/+]on Apr 1, 2026
I tried this yesterday and the trick is to NOT POWER ON the PortaRF. When you plug it with USB-C to your Computer/Laptop it will automatically be recognized as a PortaRF. When you put it in HackRF mode, it will be recognized as HackRF.
When you have the PortaRF switched ON, it does not work. The Computer/Laptop won't recognize anything. I tried it running the latest nightly mayhem release with my Apple Macbook Pro and SDR++, USB-C to USB-C cable.
Thank you for this hint. Under Windows it indeed works the way you described. I do not think that this strange behavior depends on Mayhem. I suspect that the PortaRF's USB-C interface runs the USB-2 protocol, based on some USB-2 interface chip firmware in the PortaRF, but the PC initially expects USB-3 at USB-C when the PortaRF's USB interface chip is live while being connected to the PC.
I have observed similar behavior with other devices, e.g. my cordless trackball with USB-C charging port does not charge from the USB-C connector on my PC. The trackball was delivered with a USB-C to USB-A charging cable, which charges the trackball flawlessly via my PC's USB-A port.
It is just how it is built. For example if you want to charge your PortaRF / M4h, the device should always be turned on.
I do not think this has anything to do with what type of cable you are using. On my Windows PC I'm using USB-A to USB-C and on my MacBook Pro I'm using USB-C.
Activity
[-]HackRF mode not connecting to USB-C port on my PC[/-][+]PortaRF in HackRF mode not connecting to USB-C port on my Windows PC[/+]Xmoo26 commentedon Aug 15, 2026
I tried this yesterday and the trick is to NOT POWER ON the PortaRF. When you plug it with USB-C to your Computer/Laptop it will automatically be recognized as a PortaRF. When you put it in HackRF mode, it will be recognized as HackRF.
When you have the PortaRF switched ON, it does not work. The Computer/Laptop won't recognize anything. I tried it running the latest nightly mayhem release with my Apple Macbook Pro and SDR++, USB-C to USB-C cable.
gozillah commentedon Aug 23, 2026
Thank you for this hint. Under Windows it indeed works the way you described. I do not think that this strange behavior depends on Mayhem. I suspect that the PortaRF's USB-C interface runs the USB-2 protocol, based on some USB-2 interface chip firmware in the PortaRF, but the PC initially expects USB-3 at USB-C when the PortaRF's USB interface chip is live while being connected to the PC.
I have observed similar behavior with other devices, e.g. my cordless trackball with USB-C charging port does not charge from the USB-C connector on my PC. The trackball was delivered with a USB-C to USB-A charging cable, which charges the trackball flawlessly via my PC's USB-A port.
Xmoo26 commentedon Aug 24, 2026
It is just how it is built. For example if you want to charge your PortaRF / M4h, the device should always be turned on.
I do not think this has anything to do with what type of cable you are using. On my Windows PC I'm using USB-A to USB-C and on my MacBook Pro I'm using USB-C.
Please mark this as solved.