Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Detect Headphone Jack Connected/Disconnected Status #53

Open
Lvl4Sword opened this issue Apr 28, 2019 · 1 comment
Open

Detect Headphone Jack Connected/Disconnected Status #53

Lvl4Sword opened this issue Apr 28, 2019 · 1 comment
Labels
Enhancement Killer++ Future Something that is planned for a future release Help Needed Assistance would be greatly appreciated

Comments

@Lvl4Sword
Copy link
Owner

Lvl4Sword commented Apr 28, 2019

pacmd list-cards seems to show
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: yes)
when the headphones are plugged in, and
analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
when unplugged.

Applies to Debian 9 ( Stretch )


Maybe this?
https://unix.stackexchange.com/questions/25776/detecting-headphone-connection-disconnection-in-linux

@Lvl4Sword
Copy link
Owner Author

pacmd list-cards | grep analog-output-headphones should work - unless there's more than one headphone jack?

@Lvl4Sword Lvl4Sword added the Future Something that is planned for a future release label Apr 29, 2019
@Lvl4Sword Lvl4Sword added Enhancement Killer++ Help Needed Assistance would be greatly appreciated labels Mar 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement Killer++ Future Something that is planned for a future release Help Needed Assistance would be greatly appreciated
Projects
None yet
Development

No branches or pull requests

1 participant