Comment 2 for bug 1824259

Revision history for this message
Adam Novak (interfect) wrote :

If I save the ALSA state with the headphones unplugged to a file:

sudo alsactl --file=settings-out.txt store

And then plug in the headphones and restore it:

sudo alsactl --file=settings-out.txt restore

I still get no sound. But then diffing the final state against the unplugged state did find this:

        control.175 {
                iface CARD
                name 'Headphone Jack'
- value false
+ value true
                comment {
                        access read
                        type BOOLEAN
                        count 1
                }
        }
        control.176 {
                iface CARD
                name 'Headset Mic Jack'
- value false
+ value true
                comment {
                        access read
                        type BOOLEAN
                        count 1
                }
        }

I need to convince ALSA to report/interpret those boolean jack states the other way around.