[Bug 1521561] Re: hdajacksensetest not shipped

2015-12-01 Thread David Henningsson
Hi Luke, could you either just sponsor this debdiff, or upstream + sync
from debian as you see fit? Thanks!

** Changed in: alsa-tools (Ubuntu)
   Status: New => Triaged

** Changed in: alsa-tools (Ubuntu)
 Assignee: (unassigned) => Luke Yelavich (themuso)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521561

Title:
  hdajacksensetest not shipped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-tools/+bug/1521561/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1521561] Re: hdajacksensetest not shipped

2015-12-01 Thread David Henningsson
Here's a patch for ubuntu xenial

** Patch added: "alsa-tools.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-tools/+bug/1521561/+attachment/4527888/+files/alsa-tools.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521561

Title:
  hdajacksensetest not shipped

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-tools/+bug/1521561/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1521664] [NEW] what-did-you-plug-in dialog does not show up

2015-12-01 Thread David Henningsson
Public bug reported:

This is a result of PulseAudio changed port names, in 6.0 I believe. We
need to adjust unity-settings-daemon accordingly.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity-settings-daemon 15.04.1+16.04.20151118.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.2-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Dec  1 15:13:08 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-11-28 (3 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
SourcePackage: unity-settings-daemon
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: unity-settings-daemon (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress


** Tags: amd64 apport-bug xenial

** Changed in: unity-settings-daemon (Ubuntu)
   Status: New => In Progress

** Changed in: unity-settings-daemon (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521664

Title:
  what-did-you-plug-in dialog does not show up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1521664/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1521664] Re: what-did-you-plug-in dialog does not show up

2015-12-01 Thread David Henningsson
Patch to resolve the bug (and cause a regression on PulseAudio < 6.0, so
don't backport to trusty).

For some reason launchpad didn't want me to push to a branch today, so
I'm uploading the patch here instead.

** Attachment added: "q.txt"
   
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1521664/+attachment/4528013/+files/q.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521664

Title:
  what-did-you-plug-in dialog does not show up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1521664/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1521606] [NEW] [Inspiron 13-7359, Conexant CX20722, Black Mic, Left] Unreliable jack detection

2015-12-01 Thread David Henningsson
Public bug reported:

The jack detection of pin 0x19 seems not to be reliable: sometimes when
you plug a headphone in, pin 0x19 reports "plugged in" and sometimes it
reports "unplugged".

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: alsa-base 1.0.25+dfsg-0ubuntu5
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.2-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  david  1430 F pulseaudio
CurrentDesktop: Unity
Date: Tue Dec  1 13:20:44 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-11-28 (3 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_Card: Built-in Audio - HDA Intel PCH
Symptom_Jack: Black Mic, Left
Symptom_Type: No auto-switch between inputs
Title: [Inspiron 13-7359, Conexant CX20722, Black Mic, Left] No autoswitch
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/07/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 01.00.00
dmi.board.name: 0NT3WX
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr01.00.00:bd08/07/2015:svnDellInc.:pnInspiron13-7359:pvr:rvnDellInc.:rn0NT3WX:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Inspiron 13-7359
dmi.sys.vendor: Dell Inc.

** Affects: alsa-driver (Ubuntu)
 Importance: Undecided
     Assignee: David Henningsson (diwic)
 Status: In Progress


** Tags: amd64 apport-bug xenial

** Changed in: alsa-driver (Ubuntu)
   Status: New => In Progress

** Changed in: alsa-driver (Ubuntu)
     Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521606

Title:
  [Inspiron 13-7359, Conexant CX20722, Black Mic, Left] Unreliable jack
  detection

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1521606/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504175]

2015-12-01 Thread David Henningsson
(In reply to flocculant from comment #5)
> Created attachment 120182 [details]
> pulse verbose log
> 
> Hard to know exactly when it was. But I tried to stop the logging almost
> immediately after I had started pavucontrol and got the mute going on. Hope
> that helps.

Thanks. It seems the big hickup (about 2 seconds) is below. Because
pavucontrol starts recording from all sources, that includes the usb
webcam mic. Just to check if this is the actual cause, could you try
disconnecting the webcam and see if the problem goes away?

(  22.253|   0.000) I: [pulseaudio] source-output.c: Trying to change sample 
rate
(  22.253|   0.000) D: [pulseaudio] module-suspend-on-idle.c: Source 
alsa_input.usb-046d_0825_121F40B0-02.analog-mono becomes busy, resuming.
(  22.253|   0.000) D: [pulseaudio] source.c: Suspend cause of source 
alsa_input.usb-046d_0825_121F40B0-02.analog-mono is 0x, resuming
(  22.254|   0.000) D: [pulseaudio] reserve-wrap.c: Successfully acquired 
reservation lock on device 'Audio2'
(  22.254|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Trying resume...
(  22.345|   0.091) D: [alsa-sink-Multichannel] protocol-native.c: Implicit 
underrun of ''Es Vedra' by 'The Orb Featuring David Gilmour''
(  22.815|   0.470) I: [alsa-source-USB Audio] alsa-util.c: Disabling tsched 
mode since BATCH flag is set
(  22.816|   0.000) D: [alsa-source-USB Audio] alsa-util.c: Maximum hw buffer 
size is 10922 ms
(  24.127|   1.311) D: [alsa-source-USB Audio] alsa-util.c: Set buffer size 
first (to 4797 samples), period size second (to 1199 samples).
(  24.131|   0.003) D: [alsa-source-USB Audio] alsa-source.c: hwbuf_unused=0
(  24.131|   0.000) D: [alsa-source-USB Audio] alsa-source.c: setting 
avail_min=1
(  24.131|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Resumed 
successfully...
(  24.131|   0.000) I: [alsa-source-USB Audio] alsa-source.c: Starting capture.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504175

Title:
  Starting pavucontrol creates sound drop-out [related to C270/C910
  Logitech webcam]

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1504175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1521169] [NEW] The link /vmlinuz is a damaged link

2015-11-30 Thread David Henningsson
Public bug reported:

Steps to reproduce:

1) Install daily build of Ubuntu 16.04.
2) Install another kernel, in my case this one: 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc3-wily/linux-image-4.4.0-040400rc3-generic_4.4.0-040400rc3.201511300321_amd64.deb
3) Immediately remove the new kernel after adding it.
You will now receive the following scary message:

The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
 you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
 you may need to re-run your boot loader[grub]

...although it seems relatively harmless. I think the key to reproducing
it is that you have to go from 2 to 1 kernels (it won't reproduce if you
have 3 kernels installed and remove one of them).

Somewhat related to bug 924742, but I have not installed any home
compiled kernels, only one from the kernel mainline ppa.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: grub2-common 2.02~beta2-32
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.2-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Nov 30 13:07:15 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-11-28 (2 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: grub2 (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug xenial

** Description changed:

  Steps to reproduce:
  
  1) Install daily build of Ubuntu 16.04.
  2) Install another kernel, in my case this one: 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4-rc3-wily/linux-image-4.4.0-040400rc3-generic_4.4.0-040400rc3.201511300321_amd64.deb
- 3) Immediately remove the new kernel after adding it. 
+ 3) Immediately remove the new kernel after adding it.
  You will now receive the following scary message:
  
  The link /vmlinuz is a damaged link
- Removing symbolic link vmlinuz 
-  you may need to re-run your boot loader[grub]
+ Removing symbolic link vmlinuz
+  you may need to re-run your boot loader[grub]
  The link /initrd.img is a damaged link
- Removing symbolic link initrd.img 
-  you may need to re-run your boot loader[grub]
+ Removing symbolic link initrd.img
+  you may need to re-run your boot loader[grub]
  
- 
- ...although it seems relatively harmless. I think the key to reproducing it 
is that you have to go from 2 to 1 kernels (it won't reproduce if you have 3 
kernels installed and remove 1). 
+ ...although it seems relatively harmless. I think the key to reproducing
+ it is that you have to go from 2 to 1 kernels (it won't reproduce if you
+ have 3 kernels installed and remove one of them).
  
  Somewhat related to bug 924742, but I have not installed any home
  compiled kernels, only one from the kernel mainline ppa.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: grub2-common 2.02~beta2-32
  ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
  Uname: Linux 4.2.0-19-generic x86_64
  ApportVersion: 2.19.2-0ubuntu8
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Nov 30 13:07:15 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-11-28 (2 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
  SourcePackage: grub2
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521169

Title:
  The link /vmlinuz is a damaged link

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1521169/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1521173] [NEW] AER: Corrected error received: id=00e0

2015-11-30 Thread David Henningsson
Public bug reported:

My dmesg gets completely spammed with the following messages appearing
over and over again. It stops after one s3 cycle; it only happens after
reboot.

[ 5315.986588] pcieport :00:1c.0: AER: Corrected error received: id=00e0
[ 5315.987249] pcieport :00:1c.0: can't find device of ID00e0
[ 5315.995632] pcieport :00:1c.0: AER: Corrected error received: id=00e0
[ 5315.995664] pcieport :00:1c.0: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e0(Receiver ID)
[ 5315.995674] pcieport :00:1c.0:   device [8086:9d14] error 
status/mask=0001/2000
[ 5315.995683] pcieport :00:1c.0:[ 0] Receiver Error
[ 5316.002772] pcieport :00:1c.0: AER: Corrected error received: id=00e0
[ 5316.002811] pcieport :00:1c.0: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e0(Receiver ID)
[ 5316.002826] pcieport :00:1c.0:   device [8086:9d14] error 
status/mask=0001/2000
[ 5316.002838] pcieport :00:1c.0:[ 0] Receiver Error
[ 5316.009926] pcieport :00:1c.0: AER: Corrected error received: id=00e0
[ 5316.009964] pcieport :00:1c.0: PCIe Bus Error: severity=Corrected, 
type=Physical Layer, id=00e0(Receiver ID)
[ 5316.009979] pcieport :00:1c.0:   device [8086:9d14] error 
status/mask=0001/2000
[ 5316.009991] pcieport :00:1c.0:[ 0] Receiver Error

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.2.0-19-generic 4.2.0-19.23 [modified: 
boot/vmlinuz-4.2.0-19-generic]
ProcVersionSignature: Ubuntu 4.2.0-19.23-generic 4.2.6
Uname: Linux 4.2.0-19-generic x86_64
ApportVersion: 2.19.2-0ubuntu8
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/pcmC0D0c:   david  1502 F...m pulseaudio
 /dev/snd/controlC0:  david  1502 F pulseaudio
CurrentDesktop: Unity
Date: Mon Nov 30 13:19:00 2015
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=fe528b90-b4eb-4a20-82bd-6a03b79cfb14
InstallationDate: Installed on 2015-11-28 (2 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151127)
MachineType: Dell Inc. Inspiron 13-7359
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-19-generic.efi.signed 
root=UUID=94d54f88-5d18-4e2b-960a-8717d6e618bb ro noprompt persistent quiet 
splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.2.0-19-generic N/A
 linux-backports-modules-4.2.0-19-generic  N/A
 linux-firmware1.153
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/07/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 01.00.00
dmi.board.name: 0NT3WX
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr01.00.00:bd08/07/2015:svnDellInc.:pnInspiron13-7359:pvr:rvnDellInc.:rn0NT3WX:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Inspiron 13-7359
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: Confirmed


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1521173

Title:
  AER: Corrected error received: id=00e0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504175]

2015-11-27 Thread David Henningsson
Couldn't reproduce with a quick test here - can we get a PulseAudio
verbose log here please? ( https://wiki.ubuntu.com/PulseAudio/Log )

I e, one with --log-time=1, and please note at what time values the
audio turns off and turns back on again?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504175

Title:
  pavucontrol mutes channel on start

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1504175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490937] Re: Unavailable port selected by default

2015-11-23 Thread David Henningsson
Actually; that patch set does solve some issues, but not necessarily
this one.

** Changed in: pulseaudio
   Status: Fix Released => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490937

Title:
  Unavailable port selected by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1490937/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490937] Re: Unavailable port selected by default

2015-11-23 Thread David Henningsson
Upstreamed now, needs these patches:

module-switch-on-port-available: Route to preferred profile
module-switch-on-port-available: Use input and output names
card-restore: Save and restore "preferred profile" of port
card: Update preferred_profile for ports when profile changes
device-port: Add preferred_profile field to pa_device_port
alsa-mixer: Fill in input and output names
card: Add variables for splitting up a profile


** Changed in: pulseaudio
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490937

Title:
  Unavailable port selected by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1490937/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1509921] Re: [HDA-Intel - HD-Audio Generic, recording] No sound at all

2015-11-17 Thread David Henningsson
Thanks. So then it's probably just a matter of backporting the patch in
#4.

Given the kernel SRU cycle (if we fix now, it will reach end users
approximately 15 - 31 December ), compared to waiting for 14.04.4
(February 4th) where this is already fixed, could you check whether we
should attempt to backport this or not, and if so, to which kernel? (I
presume 3.19 rather than 3.13?)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509921

Title:
  [HDA-Intel - HD-Audio Generic, recording] No sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1509921/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1509921] Re: [HDA-Intel - HD-Audio Generic, recording] No sound at all

2015-11-16 Thread David Henningsson
Hi,

Raymond is probably right in comment #4, this patch will help enable the
front headset mic. We can probably backport this to stable if necessary;
but which kernel should we backport it too?

I e, how come you're running 3.13 when we have 14.04.3 which includes
the 3.19 kernel?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509921

Title:
  [HDA-Intel - HD-Audio Generic, recording] No sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1509921/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1509921] Re: [HDA-Intel - HD-Audio Generic, recording] No sound at all

2015-11-16 Thread David Henningsson
Side note: the above fix is in the 4.2 kernel, so should work in Wily -
that said, 14.04.4 is not to be released until February, so getting the
fix to stable (3.19?) could save us a month or two.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509921

Title:
  [HDA-Intel - HD-Audio Generic, recording] No sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1509921/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1509921] Re: [HDA-Intel - HD-Audio Generic, recording] No sound at all

2015-11-16 Thread David Henningsson
So; could you please retry with both 3.19 and 4.2 kernels and let me
know if there is any difference in symptoms? Please also attach alsa-
info. Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509921

Title:
  [HDA-Intel - HD-Audio Generic, recording] No sound at all

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1509921/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1513384] Re: Missing "Front Headphone" in headset mic path

2015-11-09 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513384

Title:
  Missing "Front Headphone" in headset mic path

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1513384/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1513384] [PATCH] alsa-mixer: Add "Front Headphone" to headset mic path

2015-11-05 Thread David Henningsson
The combination "Front Headphone" + "Headset Mic Phantom"
was found on one the machines we enable. Without this patch,
the headset mic appeared plugged in when nothing was plugged
into the jack.

BugLink: https://bugs.launchpad.net/bugs/1513384
Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 src/modules/alsa/mixer/paths/analog-input-headset-mic.conf | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf 
b/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
index a67e1db..b669bc4 100644
--- a/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
+++ b/src/modules/alsa/mixer/paths/analog-input-headset-mic.conf
@@ -32,6 +32,9 @@ required-any = any
 [Jack Headphone]
 state.plugged = unknown
 
+[Jack Front Headphone]
+state.plugged = unknown
+
 [Jack Headphone Mic]
 state.plugged = unknown
 
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513384

Title:
  Missing "Front Headphone" in headset mic path

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1513384/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1513384] [NEW] Missing "Front Headphone" in headset mic path

2015-11-05 Thread David Henningsson
Public bug reported:

Found in the wild on one of the machines we enable.

** Affects: hwe-next
 Importance: Undecided
 Status: New

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress

** Changed in: pulseaudio (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

** Changed in: pulseaudio (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1513384

Title:
  Missing "Front Headphone" in headset mic path

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1513384/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1505705] Re: [sound] Subwoofer slider works in mysterious ways

2015-11-05 Thread David Henningsson
Hi Seb,

With my proposed fix, the subwoofer slider will work as follows:

Slider all the way to the left = no subwoofer
Slider in the middle = subwoofer / other speakers equal volume
Slider all the way to the right = only subwoofer

That will make the subwoofer slider behave consistently with the other
sliders, with also fade away a set of speakers when sliders are moved
from the middle towards either side.

Any problems with that before I go coding on it? The PulseAudio part of
it is already in PulseAudio git master, just the u-c-c pieces remain.


** Changed in: pulseaudio (Ubuntu)
   Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1505705

Title:
  [sound] Subwoofer slider works in mysterious ways

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1505705/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1505705] Re: [sound] Subwoofer slider works in mysterious ways

2015-11-05 Thread David Henningsson
Note to self - these are the commits we need to cherrypick into Ubuntu
for the PulseAudio pieces:

http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=9fecb6eb32d19b5f2dfc194426b7b3cd678a7520
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=387a244cd92061ecedd3cc97c6f87ece44b65a91

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1505705

Title:
  [sound] Subwoofer slider works in mysterious ways

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1505705/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504778] Re: Lenovo G50-80 - Inverted Internal microphone (phase inversion)

2015-10-26 Thread David Henningsson
Well, if you have an external mic plugged in, that overrides the
internal mic and uses the external one instead.

Double-check that you don't have an external mic plugged in, and if you
still see a problem, please attach an alsa-info (
https://wiki.ubuntu.com/Audio/AlsaInfo ) with the DKMS installed (and no
external mic plugged in).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504778

Title:
  Lenovo G50-80 - Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504778/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504778] Re: Lenovo G50-80 - Inverted Internal microphone (phase inversion)

2015-10-23 Thread David Henningsson
You should get notifications in this bug when that's about to happen.
I'd say everything from 2 weeks to 2 months depending on SRU cycle
timing.

Meanwhile using the DKMS packages (
https://www.ubuntu.com/Audio/UpgradingAlsa/DKMS ) should fix your issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504778

Title:
  Lenovo G50-80 - Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504778/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1002978] Re: [meta-bug] Inverted Internal microphone (phase inversion)

2015-10-19 Thread David Henningsson
> Lenovo B50-70 fits the description.
 > How to proceed and what info do you need, thanks!

Please file a separate bug against the alsa-driver for your issue, make
sure hardware info gets attached to it (either alsa-info as per
https://wiki.ubuntu.com/Audio/AlsaInfo or the standard ones that follows
when you do "ubuntu-bug alsa-driver" ), then write a comment in this
bug, with your machine name and a pointer to the other bug. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1002978

Title:
  [meta-bug] Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1002978/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504778] Re: Lenovo G50-80 - Inverted Internal microphone (phase inversion)

2015-10-13 Thread David Henningsson
** Changed in: alsa-driver (Ubuntu)
   Status: New => In Progress

** Changed in: alsa-driver (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

** Package changed: alsa-driver (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504778

Title:
  Lenovo G50-80 - Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504778/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1002978] Re: [meta-bug] Inverted Internal microphone (phase inversion)

2015-10-13 Thread David Henningsson
Short update:

 * Lenovo G50-80 - quirk upstreamed now (thanks Nikola for submitting
Alsa-info!)

 * Acer Timelinex 4830T - quirk present as of today, i e, should work
with latest kernel or hda-dkms update

 * Samsung Ativ Book 9 NP900X3G - looking through the separate bug
report, this seems to be another problem than just mic inversion, needs
some other type of fix probably

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1002978

Title:
  [meta-bug] Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1002978/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504778] [PATCH] ALSA: hda - Fix inverted internal mic on Lenovo G50-80

2015-10-13 Thread David Henningsson
Add the appropriate quirk to indicate the Lenovo G50-80 has a stereo
mic input where one channel has reverse polarity.

Alsa-info available at:
https://launchpadlibrarian.net/220846272/AlsaInfo.txt

Cc: sta...@vger.kernel.org
BugLink: https://bugs.launchpad.net/bugs/1504778
Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 sound/pci/hda/patch_conexant.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index ca03c40..2f0ec7c 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -819,6 +819,7 @@ static const struct snd_pci_quirk cxt5066_fixups[] = {
SND_PCI_QUIRK(0x17aa, 0x21da, "Lenovo X220", CXT_PINCFG_LENOVO_TP410),
SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", 
CXT_PINCFG_LENOVO_TP410),
SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo IdeaPad Z560", 
CXT_FIXUP_MUTE_LED_EAPD),
+   SND_PCI_QUIRK(0x17aa, 0x390b, "Lenovo G50-80", CXT_FIXUP_STEREO_DMIC),
SND_PCI_QUIRK(0x17aa, 0x3975, "Lenovo U300s", CXT_FIXUP_STEREO_DMIC),
SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310", 
CXT_FIXUP_STEREO_DMIC),
SND_PCI_QUIRK(0x17aa, 0x397b, "Lenovo S205", CXT_FIXUP_STEREO_DMIC),
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504778

Title:
  Lenovo G50-80 - Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1504778/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1504778] Re: Lenovo G50-80 - Inverted Internal microphone (phase inversion)

2015-10-13 Thread David Henningsson
** Changed in: linux (Ubuntu)
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504778

Title:
  Lenovo G50-80 - Inverted Internal microphone (phase inversion)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1504778/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1505705] Re: [sound] Subwoofer slider works in mysterious ways

2015-10-13 Thread David Henningsson
** Also affects: pulseaudio (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: pulseaudio (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1505705

Title:
  [sound] Subwoofer slider works in mysterious ways

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1505705/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1505705] [NEW] [sound] Subwoofer slider works in mysterious ways

2015-10-13 Thread David Henningsson
Public bug reported:

Sometimes it follows master volume and sometimes it doesn't.

Same as:
https://bugzilla.gnome.org/show_bug.cgi?id=753847

Also raised by OEM team.

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: New

** Affects: unity-control-center (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: New

** Changed in: unity-control-center (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1505705

Title:
  [sound] Subwoofer slider works in mysterious ways

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1505705/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1425447] Re: pulseaudio crashed with SIGABRT in core_free() at login

2015-10-12 Thread David Henningsson
@Seb128,

The main problem here is lack of people who can reproduce the problem
and help us out (see comment #14). Lacking that, the commit you point at
is merely a guess, and probably won't solve the problem for everyone.
But it's the best guess I came up with, given the lack of
reproducability here.

So, yes, I certainly don't mind us backporting that commit to Wily (and
for 16.04, we should have PA 7.0 which already includes the patch), but
don't have too high hopes about it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1425447

Title:
  pulseaudio crashed with SIGABRT in core_free() at login

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/1425447/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1500498] Re: PulseAudio 7

2015-10-01 Thread David Henningsson
It looks like Luke has already uploaded PulseAudio 7 for Wily to this
ppa: https://launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/pulse-
testing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1500498

Title:
  PulseAudio 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1500498/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1500498] Re: PulseAudio 7

2015-09-29 Thread David Henningsson
We should upload PA 7 in the beginning of the 16.04 cycle. Too late for
15.10 IMO.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1500498

Title:
  PulseAudio 7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1500498/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1485522] Re: Volume obtained is 100% in multimedia sink for sounds from app

2015-09-28 Thread David Henningsson
Okay, some more research done today, and I also talked to Juho @
Jolla/Sailfish about it, because they would probably suffer from the
same problem.

It's somewhat of a misdesign or broken thinking, I believe. In short, Qt
allows the app to set the volume of its sounds. This is an important
feature; it allows e g, if you have two sound effects, for them to be at
different volumes. Then it opens two streams and set the stream volume
accordingly.

Ubuntu phone / PulseAudio however comes from the other direction and sets 
stream volume based on role. The problem comes when the app then overrides this 
volume. 
I believe we need to multiply both volumes somehow instead of just letting the 
app override it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485522

Title:
  Volume obtained is 100% in multimedia sink for sounds from app

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1485522/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1398277] Re: [Feature] Skylake audio support (HD/HDMI/DP audio)

2015-09-25 Thread David Henningsson
Hi Tim and thanks for taking care of it so far - for consistency, would
you mind adding two more:

commit d5f362a7b977bdfaf8a955f3d604a29267bd5464
Author: David Henningsson <david.hennings...@canonical.com>
Date:   Thu Sep 3 11:51:35 2015 +0200

drm/i915: Add locks around audio component bind/unbind

And:

commit f0675d4a8ed9d3e863ff611561ee0944969a2784
Author: David Henningsson <david.hennings...@canonical.com>
Date:   Thu Sep 3 11:51:34 2015 +0200

drm/i915: Drop port_mst_index parameter from pin/eld callback


that brings us more in line with both 4.3 as well as in 3.19. (Because 
upstream made a mistake, the four patches we have in 3.19 corresponds to the 
six pointed out by Xiong and me.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398277

Title:
  [Feature] Skylake audio support (HD/HDMI/DP audio)

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1398277/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1485522] Re: Volume obtained is 100% in multimedia sink for sounds from app

2015-09-23 Thread David Henningsson
I've researched why the "Dinosaur" game always have sound effects at
100% volume.

Starting with the pa_stream_connect_playback API, the documentation
says:

"It is strongly recommended to pass NULL in both dev and volume and to
set neither PA_STREAM_START_MUTED nor PA_STREAM_START_UNMUTED – unless
these options are directly dependent on user input or configuration. If
you follow this rule then the sound server will have the full
flexibility to choose the device, volume and mute status automatically,
based on server-side policies, heuristics and stored information from
previous uses. "

Yet, in QPulseAudioOutput::open ( package: qtmultimedia-opensource-src,
file: src/plugins/pulseaudio/qaudiooutput_pulse.cpp ), the volume is
always set, despite PA recommending otherwise. In addition, the
QPulseAudioOutput constructor defaults the volume to 1.0 (maximum).

I think the QPulseAudioOutput component should default to not set the
volume at all, i e, leaving "NULL" as the volume in the call to
pa_stream_connect_playback.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485522

Title:
  Volume obtained is 100% in multimedia sink for sounds from app

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1485522/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1485522] Re: Volume obtained is 100% in multimedia sink for sounds from app

2015-09-23 Thread David Henningsson
Actually, this seems to already be fixed...
https://github.com/qtproject/qtmultimedia/commit/5f33d7bea3fd3dd441aff499576826a02e8e5be2
...which is in 5.4.1, so should be on touch too. So forget about the
previous comment; that said, I do see a message in PulseAudio saying
that the stream volume is explicitly changed, so it's somewhere up the
stack...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485522

Title:
  Volume obtained is 100% in multimedia sink for sounds from app

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1485522/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1485522] Re: Volume obtained is 100% in multimedia sink for sounds from app

2015-09-23 Thread David Henningsson
Hmm, in src/multimedia/audio/qsoundeffect_qaudio_p.cpp -
PrivateSoundSource::sampleReady() seems to always call

m_audioOutput->setVolume(m_volume); - with m_volume defaulting to
1.0...maybe that could be the cause of error here?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1485522

Title:
  Volume obtained is 100% in multimedia sink for sounds from app

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1485522/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-17 Thread David Henningsson
Note: there's one more thing. paplay cannot play back mp3 files. Let's
take it one more time so it does not get lost in the noise:

*** paplay can not play back mp3 files! ***

Mp3 is not in the list of supported file formats for paplay, and trying
to play an mp3 back fails with "Failed to open audio file.". So even if
you fix the helper to fix the xdg path stuff, you also need to convert
/custom/usr/share/sounds/ubuntu/notifications/Aquaris.mp3 into a format
(or use something else than paplay).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-17 Thread David Henningsson
** Changed in: ubuntu-push (Ubuntu)
   Status: Incomplete => Triaged

** Changed in: ubuntu-push (Ubuntu)
 Assignee: David Henningsson (diwic) => Bill Filler (bfiller)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] Re: Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

2015-09-17 Thread David Henningsson
>From a private bug:

I have verified kernel 3.19.0-29.31~14.04.1 on , this issue
is fixed. The HDMI audio device is available and works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-16 Thread David Henningsson
While troubleshooting this together with karni and mzanetti, an
interesting find is in the ubuntu-push client. It seems to restrict the
sound files allowed to be inside /usr/share/xdg.

Could affected people check if they have manually modified what sound
they want to be played back from telegram? And change it back to
something inside /usr/share/xdg and see if that works?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-15 Thread David Henningsson
Setting to incomplete while waiting for John to answer.

** Changed in: pulseaudio (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1495865] Re: module-switch-on-connect should be on by default

2015-09-15 Thread David Henningsson
Upstream has generally recommended against loading it by default, claiming the 
default sink should only be changed on user interaction.
It also kicks out possible role-based routing (i e, phone call on a USB headset 
and music on speakers).

That said, I do recognise that it solves a problem for you, I'm just not
that sure of whether or not it also causes problems for others.

** Changed in: pulseaudio (Ubuntu)
   Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1495865

Title:
  module-switch-on-connect should be on by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1495865/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-15 Thread David Henningsson
If you can reproduce this, please do the following:

pacmd set-log-level 4 
PULSE_PROP="media.role=alert" paplay 
/usr/share/sounds/ubuntu/notifications/Slick.ogg
grep pulseaudio /var/log/syslog

And attach the result of the last command here. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-15 Thread David Henningsson
Okay, so is there *anyone* who actually experiences this bug and can
help me get some logs out of it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1494155] Re: [mako] pulseaudio resample methos missing src-sinc-*

2015-09-11 Thread David Henningsson
According to Alexander Patrakov's evaluation, both speex-float-5 and
speex-float-10 are same or better than libsamplerate's highest quality.

So far we've trusted his word on that. If you want to challenge that, I
suggest you do so on the pulseaudio-discuss mailinglist.

For reference, here's a link to the first part of his evaluation,
including some graphs:
http://comments.gmane.org/gmane.comp.audio.pulseaudio.general/21051

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494155

Title:
  [mako] pulseaudio resample methos missing src-sinc-*

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1494155/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490937] Re: Unavailable port selected by default

2015-09-11 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490937

Title:
  Unavailable port selected by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1490937/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-11 Thread David Henningsson
@john, can you also reproduce this from Sound settings, i e, when
choosing a notification signal, does it work there or not?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-11 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413818] Re: Notification sounds aren't being played back on E4.5

2015-09-11 Thread David Henningsson
> PULSE_PROP="media.role=alert" paplay
/usr/share/sounds/ubuntu/notifications/Slick.ogg

I just tried this on my krillin and it does play a sound.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413818

Title:
  Notification sounds aren't being played back on E4.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1494155] Re: [mako] pulseaudio resample methos missing src-sinc-*

2015-09-10 Thread David Henningsson
Hi,

Upstream has decided to phase out libsamplerate, as speex gives better
"bang for the buck", i e better audio quality for the same CPU or same
quality for less CPU.

Ubuntu Touch is apparently ahead of schedule - but expect the distro to
stop supporting these in the future:

src-sinc-best-quality
src-sinc-medium-quality
src-sinc-fastest
src-zero-order-hold
src-linear

** Changed in: pulseaudio (Ubuntu)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494155

Title:
  [mako] pulseaudio resample methos missing src-sinc-*

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1494155/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1492389] Re: /usr/bin/pulseaudio:11:__GI___libc_free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

2015-09-10 Thread David Henningsson
*** This bug is a duplicate of bug 1493488 ***
https://bugs.launchpad.net/bugs/1493488

** This bug has been marked a duplicate of bug 1493488
   
/usr/bin/pulseaudio:11:free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1492389

Title:
  
/usr/bin/pulseaudio:11:__GI___libc_free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1492389/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1493488] Re: /usr/bin/pulseaudio:11:free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

2015-09-09 Thread David Henningsson
Dear errors.ubuntu.com,

This version does not exist in the distro, but it seems the bug does
anyhow. I believe the problem is in this line:

dp->profiles =
pa_hashmap_new_full(pa_idxset_string_hash_func,
pa_idxset_string_compare_func, NULL, (pa_free_cb_t)
pa_droid_profile_free);

This line, located at src/modules/droid/droid-util.c, should be removed.
It is already created at pa_device_port_new. And there it is also
correctly created without a call to "pa_droid_profile_free"; this is
what leads to the double-free reported above.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1493488

Title:
  
/usr/bin/pulseaudio:11:free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1493488/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1493488] Re: /usr/bin/pulseaudio:11:free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

2015-09-09 Thread David Henningsson
However, maybe this line was added for a reason so it would be good with
some testing before release. Could anyone help out with this?

** Changed in: pulseaudio (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1493488

Title:
  
/usr/bin/pulseaudio:11:free:pa_xfree:pa_droid_profile_free:pa_hashmap_remove_all:pa_hashmap_free

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1493488/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] Re: Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

2015-09-04 Thread David Henningsson
> On Skylake platform I encounter shutdown hang without HDMI plug issue 
 > the system stop at "init: wait-for-state (plymouth-shutdown lightdm)"
 > Log attached

Thanks for testing. Can you confirm that this is an actual regression
with the patch set, i e, that it does not happen with the previous 3.19
kernel ( 3.19.0-28.30 )?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] Re: [UBUNTU (3.19) PATCH 0/4] i915 to call HDA on HDMI hotplug

2015-09-02 Thread David Henningsson
On 2015-09-01 21:38, Brad Figg wrote:
> On Tue, Sep 01, 2015 at 12:04:05PM +0200, David Henningsson wrote:
>> This is a patch set fixing a long-standing bug for some Haswell, Broadwell 
>> and most Skylake machines.
>>
>> When the HDA audio controller is in D3, a hotplug event (i e, HDMI or 
>> DisplayPort being plugged in) fails to wake up the audio side so it never 
>> registers that something has happened.
>>
>> By having the i915 driver call directly into the hda driver, the HDA driver 
>> is always notified that an HDMI hotplug event has happened.
>>
>> I've been trying to get this through upstream, but it has been slower than 
>> usual due to it touching both the i915 and HDA subsystems, and ideally I 
>> wanted it in there first, but I don't think OEM wants to miss another SRU 
>> cycle. So this is on its way in upstream, but not there yet. The patches 
>> here are based on v5 of my patch set, and v4 were both reviewed by Jani 
>> Nikula and Takashi Iwai.
>>
>> Now, I've tested the upstream version, but I've just backported this to 3.19 
>> without any testing. I could use Timo's assistance here so we coordinate 
>> testing this with other i915 changes for the next SRU cycle. And I could use 
>> Timo's help to make sure this applies equally to i915 and i915_bpo.
>>
>> BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895
> I want to see some positive test results in the bug before I'm going to
> take this.

Me too. :-)

Once Timo has a finished build (and I've provided him with a version 
that actually compiles, *ahem*), could Anthony help assign people to 
help us test it? It would be very nice if we could have this tested on 
more than one of (Skylake / Broadwell / Haswell).

@Anthony, if you look at the duplicates for bug 1490895 (e g, 1383997) I 
think you'll quickly understand what all of this is about.

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1433891] Re: [Lenovo E?50 I+A] There is no 'HDMI / DisplayPort' selection in output tab of Sound Setting when plug in HDMI cable on the port.

2015-09-01 Thread David Henningsson
*** This bug is a duplicate of bug 1490895 ***
https://bugs.launchpad.net/bugs/1490895

** This bug is no longer a duplicate of bug 1383997
   HDMI audio hot-plug detection does not work well with laptop running on 
battery with 14.04
** This bug has been marked a duplicate of bug 1490895
   Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1433891

Title:
  [Lenovo E?50 I+A] There is no 'HDMI / DisplayPort' selection in output
  tab of Sound Setting when plug in HDMI cable on the port.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1433891/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1393701] Re: [Dell Inspiron 3442] HDMI audio hotplug detection is not working on 14.04.1

2015-09-01 Thread David Henningsson
*** This bug is a duplicate of bug 1490895 ***
https://bugs.launchpad.net/bugs/1490895

** This bug is no longer a duplicate of bug 1383997
   HDMI audio hot-plug detection does not work well with laptop running on 
battery with 14.04
** This bug has been marked a duplicate of bug 1490895
   Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1393701

Title:
  [Dell Inspiron 3442] HDMI audio hotplug detection is not working on
  14.04.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1393701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1383997] Re: HDMI audio hot-plug detection does not work well with laptop running on battery with 14.04

2015-09-01 Thread David Henningsson
*** This bug is a duplicate of bug 1490895 ***
https://bugs.launchpad.net/bugs/1490895

** This bug has been marked a duplicate of bug 1490895
   Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1383997

Title:
  HDMI audio hot-plug detection does not work well with laptop running
  on battery with 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1383997/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1379180] Re: AMD Radeon HD 8670A/8670M/8690M [1002:6660] No HDMI audio with open-source / proprietary driver

2015-09-01 Thread David Henningsson
*** This bug is a duplicate of bug 1490895 ***
https://bugs.launchpad.net/bugs/1490895

** This bug is no longer a duplicate of bug 1383997
   HDMI audio hot-plug detection does not work well with laptop running on 
battery with 14.04
** This bug has been marked a duplicate of bug 1490895
   Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1379180

Title:
  AMD Radeon HD 8670A/8670M/8690M [1002:6660]  No HDMI audio with open-
  source  / proprietary driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1379180/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] [PATCH 3/4] ALSA: hda - allow codecs to access the i915 pin/ELD callback

2015-09-01 Thread David Henningsson
This lets the interested codec be notified when an i915 pin/ELD
event happens.

Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 sound/pci/hda/hda_i915.c  | 10 ++
 sound/pci/hda/hda_intel.h |  5 +
 2 files changed, 15 insertions(+)

diff --git a/sound/pci/hda/hda_i915.c b/sound/pci/hda/hda_i915.c
index aec8a0e..b6eadf1 100644
--- a/sound/pci/hda/hda_i915.c
+++ b/sound/pci/hda/hda_i915.c
@@ -108,6 +108,16 @@ void haswell_set_bclk(struct hda_intel *hda)
azx_writew(>chip, EM5, bclk_n);
 }
 
+int snd_hdac_i915_register_notifier(const struct 
i915_audio_component_audio_ops *aops)
+{
+   if (WARN_ON(!hdac_acomp))
+   return -ENODEV;
+
+   hdac_acomp->audio_ops = aops;
+   return 0;
+}
+EXPORT_SYMBOL_GPL(snd_hdac_i915_register_notifier);
+
 static int hda_component_master_bind(struct device *dev)
 {
struct snd_card *card = dev_get_drvdata(dev);
diff --git a/sound/pci/hda/hda_intel.h b/sound/pci/hda/hda_intel.h
index 51cd664..51b940c 100644
--- a/sound/pci/hda/hda_intel.h
+++ b/sound/pci/hda/hda_intel.h
@@ -54,6 +54,7 @@ void haswell_set_bclk(struct hda_intel *hda);
 int hda_i915_init(struct hda_intel *hda);
 int hda_i915_init_bpo(struct hda_intel *hda);
 int hda_i915_exit(struct hda_intel *hda);
+int snd_hdac_i915_register_notifier(const struct 
i915_audio_component_audio_ops *);
 #else
 static inline int hda_set_codec_wakeup(struct hda_intel *hda, bool enable)
 {
@@ -80,6 +81,10 @@ static inline int hda_i915_exit_bpo(void)
 {
return 0;
 }
+static inline int snd_hdac_i915_register_notifier(const struct 
i915_audio_component_audio_ops *)
+{
+   return -ENODEV;
+}
 #endif
 
 #endif
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] [UBUNTU (3.19) PATCH 0/4] i915 to call HDA on HDMI hotplug

2015-09-01 Thread David Henningsson
This is a patch set fixing a long-standing bug for some Haswell,
Broadwell and most Skylake machines.

When the HDA audio controller is in D3, a hotplug event (i e, HDMI or
DisplayPort being plugged in) fails to wake up the audio side so it
never registers that something has happened.

By having the i915 driver call directly into the hda driver, the HDA
driver is always notified that an HDMI hotplug event has happened.

I've been trying to get this through upstream, but it has been slower
than usual due to it touching both the i915 and HDA subsystems, and
ideally I wanted it in there first, but I don't think OEM wants to miss
another SRU cycle. So this is on its way in upstream, but not there yet.
The patches here are based on v5 of my patch set, and v4 were both
reviewed by Jani Nikula and Takashi Iwai.

Now, I've tested the upstream version, but I've just backported this to
3.19 without any testing. I could use Timo's assistance here so we
coordinate testing this with other i915 changes for the next SRU cycle.
And I could use Timo's help to make sure this applies equally to i915
and i915_bpo.

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895

David Henningsson (4):
  drm/i915: Add audio pin sense / ELD callback
  drm/i915: Call audio pin/ELD notify function
  ALSA: hda - allow codecs to access the i915 pin/ELD callback
  ALSA: hda - Wake the codec up on pin/ELD notify events

 drivers/gpu/drm/i915/i915_drv.h|  1 +
 drivers/gpu/drm/i915/intel_audio.c | 27 ---
 include/drm/i915_component.h   | 16 
 sound/pci/hda/hda_i915.c   | 10 ++
 sound/pci/hda/hda_intel.h  |  5 +
 sound/pci/hda/patch_hdmi.c | 21 -
 6 files changed, 76 insertions(+), 4 deletions(-)

-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] [PATCH 1/4] drm/i915: Add audio pin sense / ELD callback

2015-09-01 Thread David Henningsson
This callback will be called by the i915 driver to notify the hda
driver that its HDMI information needs to be refreshed, i e,
that audio output is now available (or unavailable) - usually as a
result of a monitor being plugged in (or unplugged).

Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 include/drm/i915_component.h | 16 
 1 file changed, 16 insertions(+)

diff --git a/include/drm/i915_component.h b/include/drm/i915_component.h
index c9a8b64..c0f4d45 100644
--- a/include/drm/i915_component.h
+++ b/include/drm/i915_component.h
@@ -34,6 +34,22 @@ struct i915_audio_component {
void (*codec_wake_override)(struct device *, bool enable);
int (*get_cdclk_freq)(struct device *);
} *ops;
+
+   const struct i915_audio_component_audio_ops {
+   /**
+* @audio_ptr:
+*
+* Pointer to pass when calling pin_eld_notify.
+*/
+   void *audio_ptr;
+   /**
+* @pin_eld_notify:
+*
+* Called from i915 driver, notifying the HDA driver that
+* pin sense and/or ELD information has changed.
+*/
+   void (*pin_eld_notify)(void *audio_ptr, int port);
+   } *audio_ops;
 };
 
 #endif /* _I915_COMPONENT_H_ */
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-09-01 Thread David Henningsson
Whenever there is an event from the i915 driver, wake the codec
and recheck plug/unplug + ELD status.

This fixes the issue with lost unsol events in power save mode,
the codec and controller can now sleep in D3 and still know when
the HDMI monitor has been connected.

Right now, this might mean we get two callbacks from the same event,
one from the unsol event and one from the i915 driver, but this is
not harmful and can be optimised away in a later patch.

Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 sound/pci/hda/patch_hdmi.c | 21 -
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index b422e40..8fe466b 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -40,6 +40,7 @@
 #include "hda_codec.h"
 #include "hda_local.h"
 #include "hda_jack.h"
+#include "hda_intel.h"
 
 static bool static_hdmi_pcm;
 module_param(static_hdmi_pcm, bool, 0644);
@@ -145,6 +146,9 @@ struct hdmi_spec {
 */
struct hda_multi_out multiout;
struct hda_pcm_stream pcm_playback;
+
+   /* i915/powerwell (Haswell+/Valleyview+) specific */
+   struct i915_audio_component_audio_ops i915_audio_ops;
 };
 
 
@@ -2201,6 +2205,9 @@ static void generic_hdmi_free(struct hda_codec *codec)
struct hdmi_spec *spec = codec->spec;
int pin_idx;
 
+   if (is_haswell_plus(codec) || is_valleyview_plus(codec))
+   snd_hdac_i915_register_notifier(NULL);
+
for (pin_idx = 0; pin_idx < spec->num_pins; pin_idx++) {
struct hdmi_spec_per_pin *per_pin = get_pin(spec, pin_idx);
 
@@ -2327,6 +2334,14 @@ static void haswell_set_power_state(struct hda_codec 
*codec, hda_nid_t fg,
snd_hda_codec_set_power_to_all(codec, fg, power_state);
 }
 
+static void intel_pin_eld_notify(void *audio_ptr, int port)
+{
+   struct hda_codec *codec = audio_ptr;
+   int pin_nid = port + 0x04;
+
+   check_presence_and_report(codec, pin_nid);
+}
+
 static int patch_generic_hdmi(struct hda_codec *codec)
 {
struct hdmi_spec *spec;
@@ -2344,8 +2359,12 @@ static int patch_generic_hdmi(struct hda_codec *codec)
intel_haswell_fixup_enable_dp12(codec);
}
 
-   if (is_haswell_plus(codec) || is_valleyview_plus(codec))
+   if (is_haswell_plus(codec) || is_valleyview_plus(codec)) {
codec->depop_delay = 0;
+   spec->i915_audio_ops.audio_ptr = codec;
+   spec->i915_audio_ops.pin_eld_notify = intel_pin_eld_notify;
+   snd_hdac_i915_register_notifier(>i915_audio_ops);
+   }
 
if (hdmi_parse_codec(codec) < 0) {
codec->spec = NULL;
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] [PATCH 2/4] drm/i915: Call audio pin/ELD notify function

2015-09-01 Thread David Henningsson
When the audio codec is enabled or disabled, notify the audio driver.
This will enable the audio driver to get the notification at all times
(even when audio is in different powersave states).

Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 drivers/gpu/drm/i915/i915_drv.h|  1 +
 drivers/gpu/drm/i915/intel_audio.c | 27 ---
 2 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index e437bb0..146ef60 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1700,6 +1700,7 @@ struct drm_i915_private {
struct drm_property *force_audio_property;
 
/* hda/i915 audio component */
+   struct i915_audio_component *audio_component;
bool audio_component_registered;
 
uint32_t hw_context_size;
diff --git a/drivers/gpu/drm/i915/intel_audio.c 
b/drivers/gpu/drm/i915/intel_audio.c
index 530f0d6..3348e60 100644
--- a/drivers/gpu/drm/i915/intel_audio.c
+++ b/drivers/gpu/drm/i915/intel_audio.c
@@ -404,6 +404,9 @@ void intel_audio_codec_enable(struct intel_encoder 
*intel_encoder)
struct drm_connector *connector;
struct drm_device *dev = encoder->dev;
struct drm_i915_private *dev_priv = dev->dev_private;
+   struct i915_audio_component *acomp = dev_priv->audio_component;
+   struct intel_digital_port *intel_dig_port = enc_to_dig_port(encoder);
+   enum port port = intel_dig_port->port;
 
connector = drm_select_eld(encoder, mode);
if (!connector)
@@ -424,6 +427,9 @@ void intel_audio_codec_enable(struct intel_encoder 
*intel_encoder)
 
if (dev_priv->display.audio_codec_enable)
dev_priv->display.audio_codec_enable(connector, intel_encoder, 
mode);
+
+   if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify)
+   acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, 
(int) port);
 }
 
 /**
@@ -433,13 +439,20 @@ void intel_audio_codec_enable(struct intel_encoder 
*intel_encoder)
  * The disable sequences must be performed before disabling the transcoder or
  * port.
  */
-void intel_audio_codec_disable(struct intel_encoder *encoder)
+void intel_audio_codec_disable(struct intel_encoder *intel_encoder)
 {
-   struct drm_device *dev = encoder->base.dev;
+   struct drm_encoder *encoder = _encoder->base;
+   struct drm_device *dev = encoder->dev;
struct drm_i915_private *dev_priv = dev->dev_private;
+   struct i915_audio_component *acomp = dev_priv->audio_component;
+   struct intel_digital_port *intel_dig_port = enc_to_dig_port(encoder);
+   enum port port = intel_dig_port->port;
 
if (dev_priv->display.audio_codec_disable)
-   dev_priv->display.audio_codec_disable(encoder);
+   dev_priv->display.audio_codec_disable(intel_encoder);
+
+   if (acomp && acomp->audio_ops && acomp->audio_ops->pin_eld_notify)
+   acomp->audio_ops->pin_eld_notify(acomp->audio_ops->audio_ptr, 
(int) port);
 }
 
 /**
@@ -529,12 +542,16 @@ static int i915_audio_component_bind(struct device 
*i915_dev,
 struct device *hda_dev, void *data)
 {
struct i915_audio_component *acomp = data;
+   struct drm_i915_private *dev_priv = dev_to_i915(i915_dev);
 
if (WARN_ON(acomp->ops || acomp->dev))
return -EEXIST;
 
+   drm_modeset_lock_all(dev_priv->dev);
acomp->ops = _audio_component_ops;
acomp->dev = i915_dev;
+   dev_priv->audio_component = acomp;
+   drm_modeset_unlock_all(dev_priv->dev);
 
return 0;
 }
@@ -543,9 +560,13 @@ static void i915_audio_component_unbind(struct device 
*i915_dev,
struct device *hda_dev, void *data)
 {
struct i915_audio_component *acomp = data;
+   struct drm_i915_private *dev_priv = dev_to_i915(i915_dev);
 
+   drm_modeset_lock_all(dev_priv->dev);
acomp->ops = NULL;
acomp->dev = NULL;
+   dev_priv->audio_component = NULL;
+   drm_modeset_unlock_all(dev_priv->dev);
 }
 
 static const struct component_ops i915_audio_component_bind_ops = {
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490895] [NEW] Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

2015-09-01 Thread David Henningsson
Public bug reported:

This is a long-standing bug for some Haswell, Broadwell and most Skylake
machines.

When the HDA audio controller is in D3, a hotplug event (i e, HDMI or
DisplayPort being plugged in) fails to wake up the audio side so it
never registers that something has happened.

By having the i915 driver call directly into the hda driver, the HDA
driver is always notified that an HDMI hotplug event has happened.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress

** Changed in: linux (Ubuntu)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490895

Title:
  Skylake/Broadwell/Haswell: No HDMI audio jack detection in D3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1490895/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490937] [NEW] Unavailable port selected by default

2015-09-01 Thread David Henningsson
Public bug reported:

In case one card has only unavailable ports, it might be still be
selected as default, even though there are available ports on other
cards.

E g, on a HTPC which have only Headphone and HDMI outputs, and these two
outputs are on separate cards, the headphone port might be selected even
if the HDMI port is available and the headphone port is not.

Probably PulseAudio's routing system needs to be rewritten to be more
port based to fix this issue.

** Affects: pulseaudio (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

  In case one card has only unavailable ports, it might be still be
  selected as default, even though there are available ports on other
  cards.
  
  E g, on a HTPC which have only Headphone and HDMI outputs, and these two
  outputs are on separate cards, the headphone port might be selected even
  if the HDMI port is available and the headphone port is not.
  
- This is because PulseAudio's routing is not port based (enough).
+ Probably PulseAudio's routing system needs to be rewritten to be more
+ port based to fix this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490937

Title:
  Unavailable port selected by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1490937/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 986817] Re: UA-101 - UA-101, playback Pulseaudio fails to detect card

2015-09-01 Thread David Henningsson
There was a bug with multichannel duplex where the number of output and
input channels are different, which should be fixed by:

http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa?id=02dc6d84edde7af86e155b224b6aa98080ef2979

That fix has not been released into Ubuntu yet, though.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/986817

Title:
   UA-101 - UA-101, playback  Pulseaudio fails to detect card

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/986817/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1490937] Re: Unavailable port selected by default

2015-09-01 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
   Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1490937

Title:
  Unavailable port selected by default

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1490937/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487345] Re: Noises from CX20722 codec after reboot

2015-08-21 Thread David Henningsson
** Changed in: linux (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487345

Title:
  Noises from CX20722 codec after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1487345/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487345] [PATCH] ALSA: hda - Shutdown CX20722 on reboot/free to avoid spurious noises

2015-08-21 Thread David Henningsson
On shutdown/reboot of CX20722, first shut down all EAPDs, then
shut down the afg node to D3.

Failure to do so can lead to spurious noises from the internal speaker
directly after reboot (and before the codec is reinitialized again, i e
in BIOS setup or GRUB menus).

BugLink: https://bugs.launchpad.net/bugs/1487345
Signed-off-by: David Henningsson david.hennings...@canonical.com
---
 sound/pci/hda/patch_conexant.c | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index f788a91..ca03c40 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -200,12 +200,33 @@ static int cx_auto_init(struct hda_codec *codec)
return 0;
 }
 
-#define cx_auto_free   snd_hda_gen_free
+static void cx_auto_reboot_notify(struct hda_codec *codec)
+{
+   struct conexant_spec *spec = codec-spec;
+
+   if (codec-core.vendor_id != 0x14f150f2)
+   return;
+
+   /* Turn the CX20722 codec into D3 to avoid spurious noises
+  from the internal speaker during (and after) reboot */
+   cx_auto_turn_eapd(codec, spec-num_eapds, spec-eapds, false);
+
+   snd_hda_codec_set_power_to_all(codec, codec-core.afg, AC_PWRST_D3);
+   snd_hda_codec_write(codec, codec-core.afg, 0,
+   AC_VERB_SET_POWER_STATE, AC_PWRST_D3);
+}
+
+static void cx_auto_free(struct hda_codec *codec)
+{
+   cx_auto_reboot_notify(codec);
+   snd_hda_gen_free(codec);
+}
 
 static const struct hda_codec_ops cx_auto_patch_ops = {
.build_controls = cx_auto_build_controls,
.build_pcms = snd_hda_gen_build_pcms,
.init = cx_auto_init,
+   .reboot_notify = cx_auto_reboot_notify,
.free = cx_auto_free,
.unsol_event = snd_hda_jack_unsol_event,
 #ifdef CONFIG_PM
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487345

Title:
  Noises from CX20722 codec after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1487345/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487345] [NEW] Noises from CX20722 codec after reboot

2015-08-21 Thread David Henningsson
Public bug reported:

This bug is meant for tracking purposes. Please do not triage.

On shutdown/reboot of CX20722, first shut down all EAPDs, then
shut down the afg node to D3.

Failure to do so can lead to spurious noises from the internal speaker
directly after reboot (and before the codec is reinitialized again, such as in 
BIOS setup or GRUB menus).

** Affects: hwe-next
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress

** Description changed:

  This bug is meant for tracking purposes. Please do not triage.
+ 
+ On shutdown/reboot of CX20722, first shut down all EAPDs, then
+ shut down the afg node to D3.
+ 
+ Failure to do so can lead to spurious noises from the internal speaker
+ directly after reboot (and before the codec is reinitialized again, such as 
in BIOS setup or GRUB menus).

** Changed in: linux (Ubuntu)
   Status: New = In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487345

Title:
  Noises from CX20722 codec after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1487345/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1487345] Re: [PATCH] ALSA: hda - Shutdown CX20722 on reboot/free to avoid spurious noises

2015-08-21 Thread David Henningsson
On 2015-08-21 10:26, Takashi Iwai wrote:
 On Fri, 21 Aug 2015 09:42:35 +0200,
 David Henningsson wrote:

 On shutdown/reboot of CX20722, first shut down all EAPDs, then
 shut down the afg node to D3.

 Failure to do so can lead to spurious noises from the internal speaker
 directly after reboot (and before the codec is reinitialized again, i e
 in BIOS setup or GRUB menus).

 BugLink: https://bugs.launchpad.net/bugs/1487345
 Signed-off-by: David Henningsson david.hennings...@canonical.com

 It's worth for stable, right?

Right, just forgot it.



 Takashi

 ---
   sound/pci/hda/patch_conexant.c | 23 ++-
   1 file changed, 22 insertions(+), 1 deletion(-)

 diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
 index f788a91..ca03c40 100644
 --- a/sound/pci/hda/patch_conexant.c
 +++ b/sound/pci/hda/patch_conexant.c
 @@ -200,12 +200,33 @@ static int cx_auto_init(struct hda_codec *codec)
  return 0;
   }

 -#define cx_auto_freesnd_hda_gen_free
 +static void cx_auto_reboot_notify(struct hda_codec *codec)
 +{
 +struct conexant_spec *spec = codec-spec;
 +
 +if (codec-core.vendor_id != 0x14f150f2)
 +return;
 +
 +/* Turn the CX20722 codec into D3 to avoid spurious noises
 +   from the internal speaker during (and after) reboot */
 +cx_auto_turn_eapd(codec, spec-num_eapds, spec-eapds, false);
 +
 +snd_hda_codec_set_power_to_all(codec, codec-core.afg, AC_PWRST_D3);
 +snd_hda_codec_write(codec, codec-core.afg, 0,
 +AC_VERB_SET_POWER_STATE, AC_PWRST_D3);
 +}
 +
 +static void cx_auto_free(struct hda_codec *codec)
 +{
 +cx_auto_reboot_notify(codec);
 +snd_hda_gen_free(codec);
 +}

   static const struct hda_codec_ops cx_auto_patch_ops = {
  .build_controls = cx_auto_build_controls,
  .build_pcms = snd_hda_gen_build_pcms,
  .init = cx_auto_init,
 +.reboot_notify = cx_auto_reboot_notify,
  .free = cx_auto_free,
  .unsol_event = snd_hda_jack_unsol_event,
   #ifdef CONFIG_PM
 --
 1.9.1



-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487345

Title:
  Noises from CX20722 codec after reboot

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1487345/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1477900] Re: Headset mic support for a Dell desktop machine

2015-08-19 Thread David Henningsson
Woodrow, did we ever get a quirk in for this one or not?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1477900

Title:
  Headset mic support for a Dell desktop machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1477900/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1460982] Re: sound: Testing mono output plays back noise

2015-08-19 Thread David Henningsson
At this point, what we need is actually someone recording the sound and
drawing the icons. (Or have GNOME do it for us?)

IIRC, if we merge this patch without new icons and sounds:
 - the sound will fall back the same noise (i e bug remains unfixed)
 - the icon might be worse off (displaying a broken icon of some sort). I 
guess this can be worked around with symlinking one of the existing speaker 
icons.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460982

Title:
  sound: Testing mono output plays back noise

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1460982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1476987] [NEW] Headset mic support for a Dell machine

2015-07-22 Thread David Henningsson
Public bug reported:

This bug is used for tracking only, please do not triage.

** Affects: hwe-next
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress

** Changed in: linux (Ubuntu)
   Status: New = In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1476987

Title:
  Headset mic support for a Dell machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1476987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1476987] [PATCH] ALSA: hda - Add headset mic pin quirk for a Dell device

2015-07-22 Thread David Henningsson
Without this patch, the headset mic will not work on this machine.

BugLink: https://bugs.launchpad.net/bugs/1476987
Signed-off-by: David Henningsson david.hennings...@canonical.com
---
 sound/pci/hda/patch_realtek.c | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index caba66b..11c8a74 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5463,6 +5463,17 @@ static const struct snd_hda_pin_quirk 
alc269_pin_fixup_tbl[] = {
{0x1d, 0x4071},
{0x21, 0x02211030}),
SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, Dell, 
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
+   {0x12, 0x4000},
+   {0x14, 0x90170130},
+   {0x17, 0x41f0},
+   {0x18, 0x41f0},
+   {0x19, 0x41f0},
+   {0x1a, 0x41f0},
+   {0x1b, 0x01014020},
+   {0x1d, 0x4054c029},
+   {0x1e, 0x41f0},
+   {0x21, 0x0221103f}),
+   SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, Dell, 
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
{0x12, 0x90a60160},
{0x14, 0x90170120},
{0x17, 0x90170140},
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1476987

Title:
  Headset mic support for a Dell machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1476987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1476987] Re: Headset mic support for a Dell machine

2015-07-22 Thread David Henningsson
** Changed in: linux (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1476987

Title:
  Headset mic support for a Dell machine

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1476987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: Pulseaudio should integrate with trust-store

2015-07-15 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
   Status: Triaged = In Progress

** Changed in: pulseaudio (Ubuntu)
 Assignee: (unassigned) = David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  Pulseaudio should integrate with trust-store

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1224756/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454975] Re: AMD Radeon HD 8570 / R7 240/340 OEM] [1002:6611] No DP audio with the open source driver

2015-06-18 Thread David Henningsson
** Changed in: hwe-next
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454975

Title:
  AMD Radeon HD 8570 / R7 240/340 OEM] [1002:6611] No DP audio with the
  open source driver

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1411212] Re: [vivid] skype cannot be installed

2015-06-04 Thread David Henningsson
Hi,

I've just tested this by
 * making sure my amd64 vivid installation was up-to-date (sudo apt-get update, 
sudo apt-get dist-upgrade)
 * using ubuntu software center to add the partner repository
 * running sudo apt-get update again, then sudo apt-get install skype
 * started skype from the command line

Skype installed and started just fine. I therefore assume this bug is
fixed. If it still is a problem for you after following the instructions
above, please reopen the bug. Thanks!

** Changed in: pulseaudio (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1411212

Title:
  [vivid]  skype cannot be installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1411212/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 334319] Re: Stale ~/.pulse/* entries causes inaudible sound after dist-upgrade from 8.10 to 9.04

2015-06-04 Thread David Henningsson
We have not seen much such problems on later upgrades, so closing this
bug (9.04 is no longer supported).

** Changed in: pulseaudio (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/334319

Title:
  Stale ~/.pulse/* entries causes inaudible sound after dist-upgrade
  from 8.10 to 9.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/334319/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 172654] Re: distorted sound through IEC958

2015-06-04 Thread David Henningsson
Hi, is this still a problem on modern Ubuntu versions (trusty, vivid)?

** Changed in: pulseaudio (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/172654

Title:
  distorted sound through IEC958

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/172654/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1460982] Re: sound: Testing mono output plays back noise

2015-06-03 Thread David Henningsson
Corresponding upstream bug:
https://bugzilla.gnome.org/show_bug.cgi?id=750324

** Bug watch added: GNOME Bug Tracker #750324
   https://bugzilla.gnome.org/show_bug.cgi?id=750324

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460982

Title:
  sound: Testing mono output plays back noise

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1460982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1460982] [NEW] sound: Testing mono output plays back noise.wav

2015-06-02 Thread David Henningsson
Public bug reported:

When having a mono output source, such as BT HFP/HSP, unity-control-
center by default plays /usr/share/sounds/alsa/Noise.wav.

This makes it hard to know whether the speaker test works successfully,
e g, if the sound output is noisy because of some bug, you can't hear it
(it's noise either way!).

It would be better if the test button was a spoken voice, just like when
you test Front Left, Front Right etc.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: unity-control-center 14.04.3+14.04.20140922-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-31.43~14.04.1-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun  2 10:53:12 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-03-07 (451 days ago)
InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Alpha amd64 (20140307)
SourcePackage: unity-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_unity-control-center: deja-dup 30.0-0ubuntu4

** Affects: unity-control-center (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460982

Title:
  sound: Testing mono output plays back noise.wav

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1460982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1460982] Re: sound: Testing mono output plays back noise.wav

2015-06-02 Thread David Henningsson
** Description changed:

- When having a mono output source, such as BT HFP/HSP, unity-control-
- center by default plays /usr/share/sounds/alsa/Noise.wav.
+ When having a mono output source, such as BT HFP/HSP, unity-control-center by 
default plays /usr/share/sounds/freedesktop/stereo/audio-test-signal.oga 
+  - which is a sample of noise.
  
  This makes it hard to know whether the speaker test works successfully,
- e g, if the sound output is noisy because of some bug, you can't hear it
- (it's noise either way!).
+ e g, if the sound output is noisy because of some bug, you will not
+ notice (it's noise either way!).
  
  It would be better if the test button was a spoken voice, just like when
  you test Front Left, Front Right etc.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: unity-control-center 14.04.3+14.04.20140922-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-31.43~14.04.1-generic 3.16.7-ckt5
  Uname: Linux 3.16.0-31-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Jun  2 10:53:12 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-03-07 (451 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Alpha amd64 (20140307)
  SourcePackage: unity-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)
  usr_lib_unity-control-center: deja-dup 30.0-0ubuntu4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460982

Title:
  sound: Testing mono output plays back noise.wav

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1460982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1460982] Re: sound: Testing mono output plays back noise

2015-06-02 Thread David Henningsson
This is the code part of the solution. Then we need someone to draw
icons and record sound for these new channels, too.

** Summary changed:

- sound: Testing mono output plays back noise.wav
+ sound: Testing mono output plays back noise

** Patch added: 
0001-sound-Add-front-left-of-center-front-right-of-center.patch
   
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1460982/+attachment/4408626/+files/0001-sound-Add-front-left-of-center-front-right-of-center.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460982

Title:
  sound: Testing mono output plays back noise

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1460982/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1446517] Re: num_steps = 0 error on ALC256

2015-06-01 Thread David Henningsson
Comes from upstream stable, does not need verification.

** Tags removed: verification-needed-vivid
** Tags added: verification-done-vivid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1446517

Title:
  num_steps = 0 error on ALC256

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1446517/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454235] Re: [PATCH] ALSA: hda - Disable Headphone Mic boost for ALC662

2015-05-28 Thread David Henningsson
On 2015-05-28 09:18, Takashi Iwai wrote:
 At Thu, 28 May 2015 09:15:46 +0200,
 David Henningsson wrote:

 When headphone mic boost is above zero, some 10 - 20 second delay
 might occur before the headphone mic is operational.
 Therefore disable the headphone mic boost control (recording gain is
 sufficient even without it).

 (Note: this patch is not about the headset mic, it's about the less
 common mic-in only mode.)

 BugLink: https://bugs.launchpad.net/bugs/1454235
 Suggested-by: Kailang Yang kail...@realtek.com
 Signed-off-by: David Henningsson david.hennings...@canonical.com
 ---
   sound/pci/hda/patch_realtek.c | 4 
   1 file changed, 4 insertions(+)

 diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
 index d0fa455..87605fc 100644
 --- a/sound/pci/hda/patch_realtek.c
 +++ b/sound/pci/hda/patch_realtek.c
 @@ -4240,6 +4240,10 @@ static void alc_fixup_headset_mode_alc662(struct 
 hda_codec *codec,
  if (action == HDA_FIXUP_ACT_PRE_PROBE) {
  spec-parse_flags |= HDA_PINCFG_HEADSET_MIC;
  spec-gen.hp_mic = 1; /* Mic-in is same pin as headphone */
 +
 +/* Disable boost for mic-in permanently */
 +snd_hda_codec_write(codec, 0x1b, 0, AC_VERB_SET_AMP_GAIN_MUTE, 
 0x7000);
 +snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b)  
 ~AC_WCAP_IN_AMP);

 Can we really hard-code NID 0x1b here...?

alc_fixup_headset_mode_alc662 is currently only called from a pin fixup 
quirk (via ALC662_FIXUP_DELL_MIC_NO_PRESENCE), and that pin quirk has 
headphone at 0x1b, so yes.

It would we better if we could make it more generic, but I think doing 
this at HDA_FIXUP_PROBE instead would be too late (the boost control, 
paths, etc, would already be created)...?

Do you have a better suggestion?

-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454235

Title:
  Fix headset jack on two Dell machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454235] [PATCH] ALSA: hda - Disable Headphone Mic boost for ALC662

2015-05-28 Thread David Henningsson
When headphone mic boost is above zero, some 10 - 20 second delay
might occur before the headphone mic is operational.
Therefore disable the headphone mic boost control (recording gain is
sufficient even without it).

(Note: this patch is not about the headset mic, it's about the less
common mic-in only mode.)

BugLink: https://bugs.launchpad.net/bugs/1454235
Suggested-by: Kailang Yang kail...@realtek.com
Signed-off-by: David Henningsson david.hennings...@canonical.com
---
 sound/pci/hda/patch_realtek.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index d0fa455..da2d371 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4240,6 +4240,11 @@ static void alc_fixup_headset_mode_alc662(struct 
hda_codec *codec,
if (action == HDA_FIXUP_ACT_PRE_PROBE) {
spec-parse_flags |= HDA_PINCFG_HEADSET_MIC;
spec-gen.hp_mic = 1; /* Mic-in is same pin as headphone */
+
+   /* Disable boost for mic-in permanently. (This code is only 
called
+  from quirks that guarantee that the headphone is at NID 
0x1b.) */
+   snd_hda_codec_write(codec, 0x1b, 0, AC_VERB_SET_AMP_GAIN_MUTE, 
0x7000);
+   snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b)  
~AC_WCAP_IN_AMP);
} else
alc_fixup_headset_mode(codec, fix, action);
 }
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454235

Title:
  Fix headset jack on two Dell machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1298842] Re: pulseaudio crashed with SIGABRT in pa_xmalloc()

2015-05-21 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
   Status: Fix Committed = Fix Released

** Also affects: pulseaudio (Ubuntu Trusty)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1298842

Title:
  pulseaudio crashed with SIGABRT in pa_xmalloc()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1298842/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454235] Re: Fix headset jack on two Dell machines

2015-05-18 Thread David Henningsson
** Changed in: linux (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454235

Title:
  Fix headset jack on two Dell machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454656] Re: Add support for Conexant codecs CX20721, CX20722, CX20723 and CX20724

2015-05-18 Thread David Henningsson
** Changed in: linux (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454656

Title:
  Add support for Conexant codecs CX20721, CX20722, CX20723 and CX20724

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454656/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454656] [PATCH] ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724

2015-05-13 Thread David Henningsson
This patch adds support for Conexant HD Audio codecs
CX20721, CX20722, CX20723 and CX20724.

Cc: sta...@vger.kernel.org
BugLink: https://bugs.launchpad.net/bugs/1454656
Signed-off-by: David Henningsson david.hennings...@canonical.com
---
 sound/pci/hda/patch_conexant.c | 12 
 1 file changed, 12 insertions(+)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index f8f0dfb..78b719b 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -968,6 +968,14 @@ static const struct hda_codec_preset 
snd_hda_preset_conexant[] = {
  .patch = patch_conexant_auto },
{ .id = 0x14f150b9, .name = CX20665,
  .patch = patch_conexant_auto },
+   { .id = 0x14f150f1, .name = CX20721,
+ .patch = patch_conexant_auto },
+   { .id = 0x14f150f2, .name = CX20722,
+ .patch = patch_conexant_auto },
+   { .id = 0x14f150f3, .name = CX20723,
+ .patch = patch_conexant_auto },
+   { .id = 0x14f150f4, .name = CX20724,
+ .patch = patch_conexant_auto },
{ .id = 0x14f1510f, .name = CX20751/2,
  .patch = patch_conexant_auto },
{ .id = 0x14f15110, .name = CX20751/2,
@@ -1002,6 +1010,10 @@ MODULE_ALIAS(snd-hda-codec-id:14f150ab);
 MODULE_ALIAS(snd-hda-codec-id:14f150ac);
 MODULE_ALIAS(snd-hda-codec-id:14f150b8);
 MODULE_ALIAS(snd-hda-codec-id:14f150b9);
+MODULE_ALIAS(snd-hda-codec-id:14f150f1);
+MODULE_ALIAS(snd-hda-codec-id:14f150f2);
+MODULE_ALIAS(snd-hda-codec-id:14f150f3);
+MODULE_ALIAS(snd-hda-codec-id:14f150f4);
 MODULE_ALIAS(snd-hda-codec-id:14f1510f);
 MODULE_ALIAS(snd-hda-codec-id:14f15110);
 MODULE_ALIAS(snd-hda-codec-id:14f15111);
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454656

Title:
  Add support for Conexant codecs CX20721, CX20722, CX20723 and CX20724

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454656/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454656] [NEW] Add support for Conexant codecs CX20721, CX20722, CX20723 and CX20724

2015-05-13 Thread David Henningsson
Public bug reported:

These codecs can be trivially supported by adding the relevant id:s to
the right tables.

** Affects: hwe-next
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress

** Changed in: linux (Ubuntu)
   Status: New = In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454656

Title:
  Add support for Conexant codecs CX20721, CX20722, CX20723 and CX20724

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454656/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1413446] Re: Audio broken on 2015 XPS 13 (9343) in I2S mode in Ubuntu 14.10/15.04

2015-05-13 Thread David Henningsson
JFTR, it seems that upstream has agreed to revert the _REV change for
4.1, and develop a quirk system for 4.2 that would enable us to stay on
HDA mode for as many kernels as we like:

http://mailman.alsa-project.org/pipermail/alsa-
devel/2015-May/091958.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1413446

Title:
  Audio broken on 2015 XPS 13 (9343) in I2S mode in Ubuntu 14.10/15.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1413446/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454235] [PATCH] ALSA: hda - Fix headset mic and mic-in for a Dell desktop

2015-05-12 Thread David Henningsson
ALC662 does not need any special verbs to change the jack functionality,
and enables mic in through the headphone jack mode by changing the
direction of the headphone pin node.

BugLink: https://bugs.launchpad.net/bugs/1454235
Signed-off-by: David Henningsson david.hennings...@canonical.com
---
 sound/pci/hda/patch_realtek.c | 46 ++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index ce41271..30ec30f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -3674,6 +3674,10 @@ static void alc_headset_mode_mic_in(struct hda_codec 
*codec, hda_nid_t hp_pin,
alc_process_coef_fw(codec, coef0293);
snd_hda_set_pin_ctl_cache(codec, mic_pin, PIN_VREF50);
break;
+   case 0x10ec0662:
+   snd_hda_set_pin_ctl_cache(codec, hp_pin, 0);
+   snd_hda_set_pin_ctl_cache(codec, mic_pin, PIN_VREF50);
+   break;
case 0x10ec0668:
alc_write_coef_idx(codec, 0x11, 0x0001);
snd_hda_set_pin_ctl_cache(codec, hp_pin, 0);
@@ -4012,7 +4016,7 @@ static void alc_update_headset_mode(struct hda_codec 
*codec)
if (new_headset_mode != ALC_HEADSET_MODE_MIC) {
snd_hda_set_pin_ctl_cache(codec, hp_pin,
  AC_PINCTL_OUT_EN | AC_PINCTL_HP_EN);
-   if (spec-headphone_mic_pin)
+   if (spec-headphone_mic_pin  spec-headphone_mic_pin != 
hp_pin)
snd_hda_set_pin_ctl_cache(codec, 
spec-headphone_mic_pin,
  PIN_VREFHIZ);
}
@@ -4215,6 +4219,18 @@ static void alc_fixup_dell_xps13(struct hda_codec *codec,
}
 }
 
+static void alc_fixup_headset_mode_alc662(struct hda_codec *codec,
+   const struct hda_fixup *fix, int action)
+{
+   struct alc_spec *spec = codec-spec;
+
+   if (action == HDA_FIXUP_ACT_PRE_PROBE) {
+   spec-parse_flags |= HDA_PINCFG_HEADSET_MIC;
+   spec-gen.hp_mic = 1; /* Mic-in is same pin as headphone */
+   } else
+   alc_fixup_headset_mode(codec, fix, action);
+}
+
 static void alc_fixup_headset_mode_alc668(struct hda_codec *codec,
const struct hda_fixup *fix, int action)
 {
@@ -6080,7 +6096,9 @@ enum {
ALC662_FIXUP_NO_JACK_DETECT,
ALC662_FIXUP_ZOTAC_Z68,
ALC662_FIXUP_INV_DMIC,
+   ALC662_FIXUP_DELL_MIC_NO_PRESENCE,
ALC668_FIXUP_DELL_MIC_NO_PRESENCE,
+   ALC662_FIXUP_HEADSET_MODE,
ALC668_FIXUP_HEADSET_MODE,
ALC662_FIXUP_BASS_MODE4_CHMAP,
ALC662_FIXUP_BASS_16,
@@ -6273,6 +6291,20 @@ static const struct hda_fixup alc662_fixups[] = {
.chained = true,
.chain_id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE
},
+   [ALC662_FIXUP_DELL_MIC_NO_PRESENCE] = {
+   .type = HDA_FIXUP_PINS,
+   .v.pins = (const struct hda_pintbl[]) {
+   { 0x19, 0x03a1113c }, /* use as headset mic, without 
its own jack detect */
+   /* headphone mic by setting pin control of 0x1b 
(headphone out) to in + vref_50 */
+   { }
+   },
+   .chained = true,
+   .chain_id = ALC662_FIXUP_HEADSET_MODE
+   },
+   [ALC662_FIXUP_HEADSET_MODE] = {
+   .type = HDA_FIXUP_FUNC,
+   .v.func = alc_fixup_headset_mode_alc662,
+   },
[ALC668_FIXUP_DELL_MIC_NO_PRESENCE] = {
.type = HDA_FIXUP_PINS,
.v.pins = (const struct hda_pintbl[]) {
@@ -6432,6 +6464,18 @@ static const struct hda_model_fixup 
alc662_fixup_models[] = {
{0x1f, 0x41f0}
 
 static const struct snd_hda_pin_quirk alc662_pin_fixup_tbl[] = {
+   SND_HDA_PIN_QUIRK(0x10ec0662, 0x1028, Dell, 
ALC662_FIXUP_DELL_MIC_NO_PRESENCE,
+   {0x12, 0x4004c000},
+   {0x14, 0x01014010},
+   {0x15, 0x41f0},
+   {0x16, 0x41f0},
+   {0x18, 0x01a19020},
+   {0x19, 0x41f0},
+   {0x1a, 0x0181302f},
+   {0x1b, 0x0221401f},
+   {0x1c, 0x41f0},
+   {0x1d, 0x4054c601},
+   {0x1e, 0x41f0}),
SND_HDA_PIN_QUIRK(0x10ec0668, 0x1028, Dell, ALC668_FIXUP_AUTO_MUTE,
ALC668_STANDARD_PINS,
{0x12, 0x99a30130},
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454235

Title:
  Fix headset jack on two Dell machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1454235] [NEW] Fix headset jack on two Dell machines

2015-05-12 Thread David Henningsson
Public bug reported:

This bug is for tracking purposes. Please do not triage.

** Affects: hwe-next
 Importance: Undecided
 Status: New

** Affects: linux (Ubuntu)
 Importance: Undecided
 Assignee: David Henningsson (diwic)
 Status: In Progress

** Changed in: linux (Ubuntu)
   Status: New = In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = David Henningsson (diwic)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1454235

Title:
  Fix headset jack on two Dell machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1454235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1452175] [PATCH] ALSA: hda - Add headset mic quirk for Dell Inspiron 5548

2015-05-11 Thread David Henningsson
This enables the headset microphone on Dell Inspiron 5548,
or at least some variants of it.

Cc: sta...@vger.kernel.org
BugLink: https://bugs.launchpad.net/bugs/1452175
Signed-off-by: David Henningsson david.hennings...@canonical.com
---
 sound/pci/hda/patch_realtek.c | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4a0a238..37c2c9f 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5346,6 +5346,13 @@ static const struct snd_hda_pin_quirk 
alc269_pin_fixup_tbl[] = {
{0x17, 0x4000},
{0x1d, 0x4071},
{0x21, 0x02211050}),
+   SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, Dell Inspiron 5548, 
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
+   ALC255_STANDARD_PINS,
+   {0x12, 0x90a60180},
+   {0x14, 0x90170130},
+   {0x17, 0x4000},
+   {0x1d, 0x4071},
+   {0x21, 0x02211040}),
SND_HDA_PIN_QUIRK(0x10ec0256, 0x1028, Dell, 
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
ALC256_STANDARD_PINS,
{0x13, 0x4000}),
-- 
1.9.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452175

Title:
  Add headset mic some variants of Dell Inspiron 5548

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1452175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1452175] Re: Add headset mic some variants of Dell Inspiron 5548

2015-05-11 Thread David Henningsson
** Changed in: linux (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1452175

Title:
  Add headset mic some variants of Dell Inspiron 5548

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1452175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


<    1   2   3   4   5   6   7   8   9   10   >