portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.3k stars 539 forks source link

On/Off for jack and speaker separately #1644

Closed Smiril closed 7 months ago

Smiril commented 9 months ago

Is your feature request related to a problem? Please describe. Two buttons each of the for another func (disable speaker,disable audio jack)

Describe the solution you'd like A second top of screen button for audio output ways(speaker,audio jack)

Describe alternatives you've considered First i removed the speaker … and use audio jack via phones Only one option can chosen speaker(on/off) or without speaker audio jack (on/off) But that’s not a deal

Additional I use the following portapack h2 with a hackrf r9 (case and hackrf separately to order) https://banggood.onelink.me/zMT7/4gyqph3t

Eclipse-AU commented 9 months ago

There is already a button for this at the top of the screen. Check: https://github.com/eried/portapack-mayhem/wiki/title-bar and to enable or disable audio, click on the icon to turn it to gray (muted/off) and click it again to turn it green (unmuted/audio on).

sizzlik commented 9 months ago

There is already a button for this at the top of the screen. Check: https://github.com/eried/portapack-mayhem/wiki/title-bar and to enable or disable audio, click on the icon to turn it to gray (muted/off) and click it again to turn it green (unmuted/audio on).

I think he wants an extra button, so that there are 2 expicit buttons in the titlebar. One to turn on/off the speaker and one to turn on/off the audiojack? I got a similar/same PP H2+ with R9 twice..one got a speaker installed. I just tested and when i plug in headphones in the one with speakers nothing happens. Speaker stays on, headphone silent. On the one without speaker the headphone works normally. Would be a funny coincident if exactly now the headphone jack of my speaker driven one gave up. I'll disassemble it later and test what happens when i disconnect the speaker and use headphone to rule that out.

EDIT: Coincident happen, the jack of the PP with speaker is indeed broken lol. Anyhow..tested with my other PP that got a working audio jack and installed a speaker on that one aswell. The speaker does not turn off when I plug in a headphone. Speaker and headphone play at the same time. So i guess OP experiences the same and asks for an explicit button to turn off the speaker when using headphones.

Smiril commented 9 months ago

There is already a button for this at the top of the screen. Check: https://github.com/eried/portapack-mayhem/wiki/title-bar and to enable or disable audio, click on the icon to turn it to gray (muted/off) and click it again to turn it green (unmuted/audio on).

I think he wants an extra button, so that there are 2 expicit buttons in the titlebar. One to turn on/off the speaker and one to turn on/off the audiojack? I got a similar/same PP H2+ with R9 twice..one got a speaker installed. I just tested and when i plug in headphones in the one with speakers nothing happens. Speaker stays on, headphone silent. On the one without speaker the headphone works normally. Would be a funny coincident if exactly now the headphone jack of my speaker driven one gave up. I'll disassemble it later and test what happens when i disconnect the speaker and use headphone to rule that out.

Without speaker the headphone jack turns off With speaker both turns off At the moment with 1.8.0 firmware

NotherNgineer commented 9 months ago

This might be worth experimenting with. The challenge is that there are many different versions of the PortaPack board from China with different codec/amplifier/speaker/headphone circuits, and we don't have a schematic for any of them except the original PortaPack H1 from GSG.

gullradriel commented 7 months ago

Closed due to inactivity