max volume warning for headphones not working on all devices
Bug #1436021 reported by
kevin gunn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-sound (Ubuntu) |
Fix Released
|
High
|
Ted Gould |
Bug Description
Works fine on krillin for rtm-14.09 & vivid
does not work on Nexus4 (and other devices) on current vivid (and vivid from a couple of weeks ago)
Related branches
lp:~ted/indicator-sound/lp1436021-high-volume-warning
- Ricardo Salveti (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 26 lines (+12/-4)1 file modifiedsrc/volume-control-pulse.vala (+12/-4)
Changed in indicator-sound (Ubuntu): | |
assignee: | nobody → Ted Gould (ted) |
importance: | Undecided → High |
Changed in indicator-sound (Ubuntu): | |
status: | New → Triaged |
Changed in indicator-sound (Ubuntu): | |
status: | Triaged → In Progress |
To post a comment you must log in.
Seems PA is getting the correct active port:
$ pactl list sinks front-right monitor description = "Droid sink primary" form_factor = "internal" wired_headset: Output to wired headset (priority: 400, not available) wired_headphone : Output to wired headphone (priority: 400, not available) bluetooth_ sco: Output to bluetooth sco (priority: 100) sco_headset: Output to sco headset (priority: 100) sco_carkit: Output to sco carkit (priority: 100) aux_digital: Output to aux digital (priority: 100) analog_ dock_headset: Output to analog dock headset (priority: 100) digital_ dock_headset: Output to digital dock headset (priority: 100) speaker+ wired_headphone : Output to speaker+wired headphone (priority: 100)
Sink #0
State: SUSPENDED
Name: sink.primary
Description: Droid sink primary
Driver: module-droid-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,
Owner Module: 4
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: sink.primary.
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
device.
device.class = "sound"
device.
droid.hw_module = "primary"
device.icon_name = "audio-card"
Ports:
output-earpiece: Output to earpiece (priority: 200)
output-speaker: Output to speaker (priority: 300)
output-
output-
output-
output-
output-
output-
output-
output-
output-fm_tx: Output to fm tx (priority: 200)
output-
output-parking: Parking port (priority: 50)
Active Port: output-speaker
Formats:
pcm
Sink #1 sco.monitor description = "Null Output"
State: SUSPENDED
Name: sink.fake.sco
Description: Null Output
Driver: module-null-sink.c
Sample Specification: s16le 1ch 8000Hz
Channel Map: mono
Owner Module: 5
Mute: no
Volume: mono: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: sink.fake.
Latency: 0 usec, configured 0 usec
Flags: DECIBEL_VOLUME LATENCY
Properties:
device.
device.class = "abstract"
device.icon_name = "audio-card"
Formats:
pcm
Then plugging in a headphone goes to:
$ pactl list sinks front-right monitor description = "Droid sink primary" form_factor = "internal" wired_headset: Output to wired headset (priority: 400, not available) wired_headphone : Output to wired headphone (priority: 400, available) bluetooth_ sco: Output to bluetooth sco (priority: 100) sco_headset: Out...
Sink #0
State: SUSPENDED
Name: sink.primary
Description: Droid sink primary
Driver: module-droid-card.c
Sample Specification: s16le 2ch 44100Hz
Channel Map: front-left,
Owner Module: 4
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: sink.primary.
Latency: 0 usec, configured 0 usec
Flags: HARDWARE DECIBEL_VOLUME LATENCY
Properties:
device.
device.class = "sound"
device.
droid.hw_module = "primary"
device.icon_name = "audio-card"
Ports:
output-earpiece: Output to earpiece (priority: 200)
output-speaker: Output to speaker (priority: 300)
output-
output-
output-
output-