[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-09-16 Thread Sebastien Bacher
@Brian, it has been reuploaded with the previous changelog entry
included

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-09-11 Thread Hui Wang
@Daniel van,

Do you know how to "reupload to bionic-proposed queue in such a fashion
that 1556439 will appear in Launchpad-Bugs-Fixed"?

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-09-11 Thread Robie Basak
> Additionally, I think this should be reuploaded to bionic-proposed
queue in such a fashion that 1556439 will appear in Launchpad-Bugs-Fixed
so that we reverify the fix for that bug when verifying the new
pulseaudio upload.

I don't see any change in the upload. Please could you address Brian's
comment? If it is no longer relevant, an explanation would be helpful.

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

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-08-31 Thread Mathew Hodson
** Changed in: pulseaudio (Ubuntu Bionic)
   Status: Incomplete => Triaged

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-08-14 Thread Hui Wang
addressed the #29, change No to Low.


** Description changed:

  SRU Document:
  
  [Impact]
  
  The Lenovo P520 machine has dual analogue codecs, so there are two sinks
  and two sources in the PA, one has the front headphone and front
  microphone, the other has the rear lineout, linein and rear microphone,
  and the rear microphone always shows up in the gnome-sound-setting, When
  we plug a microphone to front audio jack, there are two input devices:
  rear mic and front mic in the gnome-sound-setting, and suppose users
  select the the front mic to record sound via audio app like arecord, the
  front mic will be bond the arecord, after the front mic is unplugged,
  there is only one rear mic left in the gnome-sound-setting, but the
  binding will not be changed, the arecrod still bind to front mic, under
  this situation if users record sound via arecord, they will find they
  can't record any sound from any other input devices even they are listed
  in the gnome-sound-setting. This problem also happens to output devices
  too.
  
  [Test Case]
  
  After applying this patch, I did the same test: unplug the front mic,
  then use the arecord to record sound, the app can record sound from rear
  mic now. After I plug the front mic back, the arecord still record from
  front mic. Also did the similar test for output devices, it worked as
  expected too.
  
  [Regression Potential]
  
- No, Just make a simple check when creating new streams
+ Low, Just make a simple check when creating new streams
  (sink_input/source_output), If the restored device (sink/source) has
  ports and all ports are unavialble, it will not restore the binding,
  otherwise it will work as before.
  
  For the Bionic, This SRU also includes the fix of LP: #1556439, this fix
  is safe and will not introduce any regression too, because it just adds
  a sink-input/source-output state checking, if the sink-input/source-
  output is unlinking or unlinked, it is useless to move it to a new
  sink/source, furthermore it will trigger an assertion that make the
  pulseaudio crash, adding this check can fix this problem (LP: #1556439).
  
  [Other Info]
  
  No more info here

** Description changed:

  SRU Document:
  
  [Impact]
  
  The Lenovo P520 machine has dual analogue codecs, so there are two sinks
  and two sources in the PA, one has the front headphone and front
  microphone, the other has the rear lineout, linein and rear microphone,
  and the rear microphone always shows up in the gnome-sound-setting, When
  we plug a microphone to front audio jack, there are two input devices:
  rear mic and front mic in the gnome-sound-setting, and suppose users
  select the the front mic to record sound via audio app like arecord, the
  front mic will be bond the arecord, after the front mic is unplugged,
  there is only one rear mic left in the gnome-sound-setting, but the
  binding will not be changed, the arecrod still bind to front mic, under
  this situation if users record sound via arecord, they will find they
  can't record any sound from any other input devices even they are listed
  in the gnome-sound-setting. This problem also happens to output devices
  too.
  
  [Test Case]
  
  After applying this patch, I did the same test: unplug the front mic,
  then use the arecord to record sound, the app can record sound from rear
  mic now. After I plug the front mic back, the arecord still record from
  front mic. Also did the similar test for output devices, it worked as
  expected too.
  
  [Regression Potential]
  
  Low, Just make a simple check when creating new streams
  (sink_input/source_output), If the restored device (sink/source) has
  ports and all ports are unavialble, it will not restore the binding,
  otherwise it will work as before.
  
  For the Bionic, This SRU also includes the fix of LP: #1556439, this fix
- is safe and will not introduce any regression too, because it just adds
- a sink-input/source-output state checking, if the sink-input/source-
- output is unlinking or unlinked, it is useless to move it to a new
- sink/source, furthermore it will trigger an assertion that make the
- pulseaudio crash, adding this check can fix this problem (LP: #1556439).
+ is safe and is very low possible to introduce any regression too,
+ because it just adds a sink-input/source-output state checking, if the
+ sink-input/source-output is unlinking or unlinked, it is useless to move
+ it to a new sink/source, furthermore it will trigger an assertion that
+ make the pulseaudio crash, adding this check can fix this problem (LP:
+ #1556439).
  
  [Other Info]
  
  No more info here

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

-- 

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-08-14 Thread Daniel van Vugt
"Regression Potential" also shouldn't start with "No".

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-08-14 Thread Hui Wang
"Regression Potential" is updated with adding the 1556439 part in it.


** Description changed:

  SRU Document:
  
  [Impact]
  
  The Lenovo P520 machine has dual analogue codecs, so there are two sinks
  and two sources in the PA, one has the front headphone and front
  microphone, the other has the rear lineout, linein and rear microphone,
  and the rear microphone always shows up in the gnome-sound-setting, When
  we plug a microphone to front audio jack, there are two input devices:
  rear mic and front mic in the gnome-sound-setting, and suppose users
  select the the front mic to record sound via audio app like arecord, the
  front mic will be bond the arecord, after the front mic is unplugged,
  there is only one rear mic left in the gnome-sound-setting, but the
  binding will not be changed, the arecrod still bind to front mic, under
  this situation if users record sound via arecord, they will find they
  can't record any sound from any other input devices even they are listed
  in the gnome-sound-setting. This problem also happens to output devices
  too.
  
  [Test Case]
  
  After applying this patch, I did the same test: unplug the front mic,
  then use the arecord to record sound, the app can record sound from rear
  mic now. After I plug the front mic back, the arecord still record from
  front mic. Also did the similar test for output devices, it worked as
  expected too.
  
  [Regression Potential]
  
  No, Just make a simple check when creating new streams
  (sink_input/source_output), If the restored device (sink/source) has
  ports and all ports are unavialble, it will not restore the binding,
  otherwise it will work as before.
  
+ For the Bionic, This SRU also includes the fix of LP: #1556439, this fix
+ is safe and will not introduce any regression too, because it just adds
+ a sink-input/source-output state checking, if the sink-input/source-
+ output is unlinking or unlinked, it is useless to move it to a new
+ sink/source, furthermore it will trigger an assertion that make the
+ pulseaudio crash, adding this check can fix this problem (LP: #1556439).
+ 
  [Other Info]
  
  No more info here

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-08-13 Thread Brian Murray
Please update the "Regression Potential" of the bug description.
Additionally, I think this should be reuploaded to bionic-proposed queue
in such a fashion that 1556439 will appear in Launchpad-Bugs-Fixed so
that we reverify the fix for that bug when verifying the new pulseaudio
upload.

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

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-08-06 Thread Daniel van Vugt
Now in the upload queue:

https://launchpad.net/ubuntu/bionic/+queue?queue_state=1_text=

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-25 Thread Daniel van Vugt
I think this probably should be reworded:

[Regression Potential]

No, ...

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Hui Wang
** Patch removed: "pulseaudio_11.1-1ubuntu7.4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1834138/+attachment/5278407/+files/pulseaudio_11.1-1ubuntu7.4.debdiff

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Daniel van Vugt
Please use this debdiff for the bionic SRU instead.

** Patch added: "pulseaudio_11.1-1ubuntu7.4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1834138/+attachment/5279152/+files/pulseaudio_11.1-1ubuntu7.4.debdiff

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Hui Wang
** Patch removed: "pulseaudio_12.2-0ubuntu4.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1834138/+attachment/5275752/+files/pulseaudio_12.2-0ubuntu4.1.debdiff

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Daniel van Vugt
Ignore comment #22, and please remove comment #19. I will make a new
version today.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Daniel van Vugt
Please ignore 1:11.1-1ubuntu7.4 and propose 1:11.1-1ubuntu7.5 instead.
You will need to take the debdiff against 1:11.1-1ubuntu7.2.

** Also affects: pulseaudio (Ubuntu Eoan)
   Importance: High
 Assignee: Hui Wang (hui.wang)
   Status: Fix Released

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

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

** Changed in: pulseaudio (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: pulseaudio (Ubuntu Bionic)
 Assignee: (unassigned) => Hui Wang (hui.wang)

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Yuan-Chen Cheng
** Tags added: originate-from-1835155

** Changed in: oem-priority
   Importance: High => Critical

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-24 Thread Yuan-Chen Cheng
** Changed in: oem-priority
   Status: New => Confirmed

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-23 Thread Mathew Hodson
** Changed in: pulseaudio (Ubuntu Disco)
   Importance: Undecided => High

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-23 Thread Daniel van Vugt
For PulseAudio changes, feel free to commit them to git immediately,
just don't tag them:

  https://git.launchpad.net/~ubuntu-audio-dev/pulseaudio/log/?h=ubuntu-
bionic

They will then be included in whatever version we manage to successfully
release next.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-23 Thread Yuan-Chen Cheng
** Tags added: oem-priority

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-23 Thread Hui Wang
@sebastien or anyone else in the sponsor-team,

Please review my debdiff for bionic in the #19 and if possible, please
enqueue it.

thx.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-23 Thread Alex Tu
** Also affects: oem-priority
   Importance: Undecided
   Status: New

** Changed in: oem-priority
   Importance: Undecided => High

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-22 Thread Hui Wang
Sporsor-team, this is the debdiff for bionic.

thx.


** Patch added: "pulseaudio_11.1-1ubuntu7.4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1834138/+attachment/5278407/+files/pulseaudio_11.1-1ubuntu7.4.debdiff

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-10 Thread Hui Wang
OK, got it.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-09 Thread Daniel van Vugt
Please don't upload anything for bionic till this is done:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/32

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-09 Thread Hui Wang
OK, let us skip the cosmic, I will upload a debdiff for bionic.

Thanks.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-09 Thread Sebastien Bacher
Thanks for the new debdiff but I don't think it makes sense to do a
Cosmic SRU at this point since it's a deprecated serie

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-08 Thread Hui Wang
This is the debdiff for Cosmic.

Thanks.


** Patch added: "pulseaudio_12.2-0ubuntu4.1.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1834138/+attachment/5275752/+files/pulseaudio_12.2-0ubuntu4.1.debdiff

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-08 Thread Hui Wang
Verification done on the Disco, it fixed the problem.

On the lenovo P520, I installed the disco (19.04), edit the 
/etc/apt/sources.list to add disco-proposed repository, then run apt-get update 
abd sudo apt install pulseaudio, now the pulseaudio is:
ii  pulseaudio   1:12.2-2ubuntu3.1 
amd64PulseAudio sound server
ii  pulseaudio-utils 1:12.2-2ubuntu3.1 
amd64Command line tools for the PulseAudio sound server

recording: plug a mic into the front audio jack, and select it from
sound-setting, use arecord to record sound, after recording, unplug the
front mic and plug it to rear mic, use arecord to record sound again, it
still can record sound.

playback: plug a headphone to rear lineout and select lineout as output
device, then play sound via totem, after a while, close the totem and
unplug the rear lineout and plug the headphone to front headphone jack,
use totem to play sound, I can hear the sound from front headphone.


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

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-08 Thread Brian Murray
Hello Hui, or anyone else affected,

Accepted pulseaudio into disco-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/pulseaudio/1:12.2-2ubuntu3.1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-disco to verification-done-disco. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-disco. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

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

** Tags added: verification-needed verification-needed-disco

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-06 Thread Sebastien Bacher
The SRU has been uploaded to Disco as well, it's waiting for SRU team
review

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-05 Thread Hui Wang
Installed the latest eaon image of http://cdimage.ubuntu.com/ubuntu
/daily-live/current/ to the lenovo p520, and upgrade the pulseaudio to
1:12.2-2ubuntu4, Then I tested the recording and palyback, it worked as
expected:

recording: plug a mic into the front audio jack, and select it from
sound-setting, use arecord to record sound, after recording, unplug the
front mic and plug it to rear mic, use arecord to record sound again, it
still can record sound.

playback: plug a headphone to rear lineout and select lineout as output
device, then play sound via totem, after a while, close the totem and
unplug the rear lineout and plug the headphone to front headphone jack,
use totem to play sound, I can hear the sound from front headphone.

It proves after applying the patch, both playback and recording works as
expected.

Please push the debdiff to disco.

thx.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-04 Thread Launchpad Bug Tracker
This bug was fixed in the package pulseaudio - 1:12.2-2ubuntu4

---
pulseaudio (1:12.2-2ubuntu4) eoan; urgency=medium

  * debian/patches/0006-load-module-x11-bell.patch:
- remove that old distro patch, it's undocumented, not needed since
  GNOME handles the login sound by itself and create issues in some
  cases (duplicate sound, not respecting the UI choice)
  (lp: #1827842)

  [ Hui Wang ]
  * d/p/0800-stream-restore-Don-t-restore-if-the-active_port-is-P.patch:
- Don't restore the streams to sinks/sources with only unavailable ports
  (LP: #1834138)

 -- Sebastien Bacher   Fri, 28 Jun 2019 11:45:10
+0200

** Changed in: pulseaudio (Ubuntu)
   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/1834138

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-04 Thread Hui Wang
@Sebastien,

I checked the ubuntu eaon also uses pulseaudio_12.2-2ubuntu3 which is
same as the disco uses, so the debdiff in the #5 can be applied to eaon
too, could we apply the #5 to eaon first? or I need to re-generate a
debdiff for eaon?

thx.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-03 Thread Hui Wang
Reply #6:

The ubuntu 19.10 (Eaon) also has this problem, need to apply this patch
as well. And since both eaon and disco share the same pulseaudio
version, the debdiff in the #5 also can apply to eaon, let us apply it
to eaon first.

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-02 Thread Sebastien Bacher
@Hui, thanks for the work. Is that bug fixed in eoan? It needs to be
resolved there before being SRUed

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

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-02 Thread Hui Wang
This is the debdiff for disco version, after it is merged any verified,
I will continue uploading the debdiff for cosmic and bionic.

So please put this change into the disco queue first. thanks.


** Patch added: "pulseaudio_12.2-2ubuntu4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1834138/+attachment/5274590/+files/pulseaudio_12.2-2ubuntu4.debdiff

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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

[Bug 1834138] Re: PA: Don't restore the streams to sinks/sources with only unavailable ports

2019-07-02 Thread Hui Wang
Since the P520 machine uses ucm in the PA, the patch in the #1 doesn't
fix any problem for this machine, so only need to backport the patch of
#2.


** Summary changed:

- PA: can't auto switch streams between different sinks
+ PA: Don't restore the streams to sinks/sources with only unavailable ports

** Description changed:

- On the Lenovo P52 machine, there are dual analogue codecs: the 1st one
- contains the speaker and front headphone, the 2nd one contains the rear
- lineout.
+ SRU Document:
  
- As there are two codecs, there are 2 sinks in the PA, the one sink has
- speaker and headphone, the other one has the lineout
+ [Impact]
  
- Supposing users play music via totem (gnome app) and neither front
- headphone nor rear lineout is plugged, the sound will comes out from
- speaker. While the music is playing, if users plug a headphone into the
- front headphone, the headphone will show up in the gonme-sound-setting
- and the speaker will disappear, and the sound will change to heapdhone
- from speaker, so the steam auto swtiches from speaker to headphone
- because both speaker and headphone belong to the same PA sink. But while
- the music is playing, if users plug a headphone into the rear lineout
- jack, the lineout will show up in the gnome-sound-setting and the
- speaker will disappear too, but the sound will not switch to lineout, it
- keeps staying in the speaker even the UI shows the speaker is relaced by
- lineout. it doesn't auto switch just because the speaker belongs to one
- sink and the lineout belongs to the other.
+ The Lenovo P520 machine has dual analogue codecs, so there are two sinks
+ and two sources in the PA, one has the front headphone and front
+ microphone, the other has the rear lineout, linein and rear microphone,
+ and the rear microphone always shows up in the gnome-sound-setting, When
+ we plug a microphone to front audio jack, there are two input devices:
+ rear mic and front mic in the gnome-sound-setting, and suppose users
+ select the the front mic to record sound via audio app like arecord, the
+ front mic will be bond the arecord, after the front mic is unplugged,
+ there is only one rear mic left in the gnome-sound-setting, but the
+ binding will not be changed, the arecrod still bind to front mic, under
+ this situation if users record sound via arecord, they will find they
+ can't record any sound from any other input devices even they are listed
+ in the gnome-sound-setting. This problem also happens to output devices
+ too.
  
- When this issue happens, if users want the sound comes out from lineout,
- users have to close the totem and re-run the toem to make the sound come
- out from lineout. This is not user friendly.
+ [Test Case]
  
- And a similar situation is:
- users play the music through lineout and UI (gnome-soudn-setting) shows 
lineout is active, while it is playing the music, if users unplug the headphone 
from the rear lineout jack, the lineout will disappear from UI and the speaker 
will show up, but the sound still comes from lineout, it doesn't switch to 
speaker.
+ After applying this patch, I did the same test: unplug the front mic,
+ then use the arecord to record sound, the app can record sound from rear
+ mic now. After I plug the front mic back, the arecord still record from
+ front mic. Also did the similar test for output devices, it worked as
+ expected too.
+ 
+ [Regression Potential]
+ 
+ No, Just make a simple check when creating new streams
+ (sink_input/source_output), If the restored device (sink/source) has
+ ports and all ports are unavialble, it will not restore the binding,
+ otherwise it will work as before.
+ 
+ [Other Info]
+ 
+ No more info here

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

Title:
  PA: Don't restore the streams to sinks/sources with only unavailable
  ports

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

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