hackrf icon indicating copy to clipboard operation
hackrf copied to clipboard

Hackrf boot directly in usb mode if usb detected? or default to usb somehow

Open adminy opened this issue 1 year ago • 2 comments

What would you like to know?

how can I ensure that my hackrf is always in usb mode when connected to the pi. is there a serial command I can type to flip modes

or perhaps hackrf has usb detect to flip, or maybe there is a way to default to usb?

thanks

adminy avatar Apr 17 '24 06:04 adminy

The standard HackRF firmware is always in USB mode. Are you asking about switching out of PortaPack mode? If so, this would be a question for whichever PortaPack firmware you're using and not something we're able to address in our firmware.

miek avatar Apr 17 '24 09:04 miek

so when HackRF is plugged into the Pi, I have to click, go all the way down to usb mode, click, confirm the yes, then it turns into usb mode. Otherwise by default its UI mode.

I am using the latest firmware from this repo.

just wondering if there is a cli command to change usb mode.

adminy avatar Apr 17 '24 13:04 adminy

As miek said, this is an issue to raise with the Mayhem folks. The Mayhem firmware includes a copy of our standard HackRF firmware as a submodule. When you select the USB mode it boots that firmware instead of the Portapack UI. If you want some other way to switch it over, that's something that would have to be added to their firmware. I gather recent versions include some USB functionality while in the Portapack UI mode, so it might be possible.

martinling avatar Jul 05 '24 07:07 martinling