[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2019-07-25 Thread Daniel van Vugt
Thank you for reporting this bug to Ubuntu.
Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.
Ubuntu 13.04 (raring) reached end-of-life on January 27, 2014.
Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases 

We appreciate that this bug may be old and you might not be interested
in discussing it any more. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in and change the bug status to Confirmed.


** Changed in: alsa-driver (Ubuntu)
   Status: Confirmed => 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/886975

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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

[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2015-09-02 Thread ljubisa
** Changed in: alsa-driver (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-05-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-security/linux-ti-omap4

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-05-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/linux-ppc

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-04-24 Thread c4pp4
Ubuntu 13.04:
1) Fixed
2) Fixed after oem-audio-hda-daily-dkms installation
3) Not fixed
4) Fixed after oem-audio-hda-daily-dkms installation
5) Fixed

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-03-08 Thread Luis Henriques
Tagging as verified in Precise as fix came from an upstream stable
update (as diwic referred in previous comment).

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

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-03-03 Thread David Henningsson
@Brad Figg, this came from upstream stable and thus does not require
verification.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-03-03 Thread c4pp4
I don't have precise version so someone else would try it.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-03-02 Thread Brad Figg
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed'
to 'verification-done'.

If verification is not done by one week from today, this fix will be
dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-03-02 Thread Brad Figg
** Tags added: verification-needed-precise

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-14 Thread c4pp4
David, it's because we are no robots, fortunately ;)
Thank you for applying it.

Now there is remaining the last one - number 3. I'd like to ask you if
it's in a job queue or something like that.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-14 Thread David Henningsson
Thanks. I've discovered the problem for 5) - Ubuntu 12.10 is missing this patch:
http://bazaar.launchpad.net/~ubuntu-audio-dev/pulseaudio/ubuntu.precise/view/head:/debian/patches/0624-alsa-mixer-Add-Phantom-Jack-support.patch

I have no idea how I could have missed it for 12.10, I was 100% sure
that it was added.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-14 Thread c4pp4
2) Yes, it's solving it. ("codec->power_filter = NULL;" is avoiding the
initial click noise when on battery power)

5)
Internal mic doesn't show up at all. Look at a screenshot here: 
http://ge.tt/2D2PuQY/v/0
I have to use your workaround to show it up: 
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/946232/comments/32
Alsainfo: 
http://www.alsa-project.org/db/?f=091359b9c86fff995dd99c915f5624fe16819f87
PulseAudio Log attached.

** Attachment added: "pulseverbose.log"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3528217/+files/pulseverbose.log

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-13 Thread David Henningsson
For 5) can we recap that a little? I understand the problem is that you
don't have an input slider in the GUI, or that it doesn't control the
gain? Or that Internal Mic does not show up at all?

Could you run the latest dkms, and attach alsa-info and a pulseaudio log (while 
the log is on, try to change the internal mic gain)? 
https://wiki.ubuntu.com/Audio/AlsaInfo
https://wiki.ubuntu.com/PulseAudio/Log

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-13 Thread David Henningsson
Ok, thanks for the finding. If default_power_filter does not work, it
seems most logical to override default_power_filter entirely, as has
been done in this patch. Is this solving click 2) for you?

** Patch added: "0001-ALSA-hda-Remove-speaker-clicks-on-CX20549.patch"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3527934/+files/0001-ALSA-hda-Remove-speaker-clicks-on-CX20549.patch

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-13 Thread c4pp4
Addition

2) Why it's not fixed:
There was a flag to not power down the widget if it controls eapd, it was 
called eapd_workaround and was set to true. I found out we need to set it to 
false to avoid the click #2 because when transitioning to D3 we need to power 
down the widget - Speaker 0x10 and it controls eapd. Now after changes there is 
no flag. EAPD part was separated to a new function default_power_filter without 
any flag to skip that. I've tried to add a new condition and the initial click 
noise vanished:

--- a/hda_codec.c
+++ b/hda_codec.c
@@ -3763,6 +3763,8 @@
 unsigned int power_state)
 {
if (power_state == AC_PWRST_D3 &&
+   !((codec->vendor_id == 0x14f15045) &&
+ (codec->subsystem_id == 0x17aa20db)) &&
get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_PIN &&
(snd_hda_query_pin_caps(codec, nid) & AC_PINCAP_EAPD)) {
int eapd = snd_hda_codec_read(codec, nid, 0,


3) Now I can tell it's not fixed

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-13 Thread c4pp4
I've tried a latest alsa-hda-dkms (Quantal up-to-date).
1) Fixed
2) Not fixed - I'm trying to find out where the problem is because there are a 
lot of changes in the source code.
3) I can't try it because of 2)
4) Fixed
5) Not fixed (in case that the fix should be applied by the alsa-hda-dkms 
package, furthermore I'm not sure what is the fix about)

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-13 Thread David Henningsson
I think 3) is unchanged/remaining, but not sure.

The upstream tree to look at is: 
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound.git;a=summary
I currently don't have time to scavenge this tree to find which patches fixes 
which issues.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-12 Thread c4pp4
@David Henningsson

Great news, thank you!
Where can I find official patch for 2,4 and 5? What about number 3?

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-12 Thread David Henningsson
Hi c4pp4,

A while has passed and we fixed the worst click as mentioned in 1).

Meanwhile, a big rewrite of the HDA drivers has progressed and is now
scheduled to reach kernel 3.9. I ran your codec against that code, and
it seems like most of the stuff is fixed:

2) I think the click you mentioned is now fixed, but not sure
4) the master volume range bug is fixed
5) I'm a little confused about this one. It should be fixed in 3.9, but it 
should also already have been fixed in 12.10 actually.

You can read more about the rewrite here: 
http://voices.canonical.com/david.henningsson/2013/01/18/upcoming-changes-to-the-intel-hda-drivers/
And here's how to test these drivers: 
https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-11 Thread c4pp4
** Tags removed: verification-needed-quantal
** Tags added: verification-done-quantal

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-02-08 Thread Luis Henriques
This bug is awaiting verification that the kernel for Quantal in
-proposed solves the problem (3.5.0-24.37). Please test the kernel and
update this bug with the results. If the problem is solved, change the
tag 'verification-needed-quantal' to 'verification-done-quantal'.

If verification is not done by one week from today, this fix will be
dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
to enable and use -proposed. Thank you!


** Tags added: verification-needed-quantal

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-08 Thread c4pp4
I can confirm that the 1) clicks are gone by the attached package.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-08 Thread David Henningsson
Here it is, based on Takashi's for-linus branch

** Attachment added: "alsa-hda-dkms_0.1_all.deb"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3476983/+files/alsa-hda-dkms_0.1_all.deb

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-04 Thread c4pp4
@David Henningsson

Would you please make a package for the release 12.10 (quantal) 32-bit -
kernel linux 3.5.0-21-generic?

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-04 Thread David Henningsson
** Attachment added: "alsa-hda-dkms_0.1_all.deb"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3473950/+files/alsa-hda-dkms_0.1_all.deb

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-04 Thread David Henningsson
@c4pp4:

Still trying to get 1) through upstream...

The following dkms package contains patch for 1) only, on top of git
master. Can you just install it, reboot, and make sure that the 1) click
is gone. Thanks.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-04 Thread David Henningsson
@Raymond, I think your observation in comment #88 is correct, would you
mind writing a patch for that, or do you want me to do it?

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-04 Thread Raymond
>  fix-master.patch

does the virtual master really work on CD20549 since

spec->vmaster_nid = spec->private_dac_nids[0];

in cx_auto_parse_output

but the volume control are at pin complex instead of audio output (DAC)

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-03 Thread c4pp4
1) Right.

2) Right.

3) Yes, I have. I guess the number 75 is just a compromise because the click 
noise is still there but it's hardly audible = more time less audible.
+   msleep(75);
+   else
+   hda_set_power_state(codec, AC_PWRST_D0);

4) GUI Master Volume slider:
+   vmaster_tlv[2] = -6450;
+   vmaster_tlv[3] = 150;

5) GUI Input Volume slider
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf
#required-any

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2013-01-02 Thread David Henningsson
Ok, back. It is easier to try to examine the clicks one at a time. So in
priority order, is this correct:

1) The biggest clicks are fixed by the patch in comment #71

2) To second click needs these two to fix:
+ snd_hda_codec_set_power_to_all(codec, fg, power_state, false);
when transitioning to D3 set eapd_workaround to false because we need to power 
down the widget - Speaker 0x10, if it's not set it causes the initial click 
noise
+ .set_power_state = conexant_set_power,
use conexant power settings for auto model

3) For the soft click when powering up, have you tried anything between
10 and 75 to see if that also resolves the click? I'm thinking that we
should not set a higher latency than absolutely necessary. (And I agree
that 300 would likely be too much, better live with the recorded click.)

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-24 Thread c4pp4
@David Henningsson

Take your time, happy Holidays.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-24 Thread David Henningsson
c4pp4, thanks for your work so far. FYI, I'll be back from holiday at
2nd of Jan 2013. (And depending on workload, might be a few days extra
until I'll have time to look at your patches)

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-24 Thread c4pp4
** Patch added: "fix-master.patch"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3467135/+files/fix-master.patch

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-24 Thread c4pp4
@David Henningsson

To resolve the unamplified part bug I changed TLV data for a virtual
master volume:

tlv[2] = -nums * step;
tlv[3] = step;

new values:
tlv[2] = -6450;
tlv[3] = 150;

Originally the range of the master volume is from 0db to 10.75db with step 0.25.
After the change the range is from -64.50db to 0db with step 1.50. Now there is 
no unamplified mark and the slider works all over the length.

---

To resolve the mic control bug I followed your workaround:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/946232/comments/32
"For those of you who are missing an internal mic port, edit 
/usr/share/pulseaudio/alsa-mixer/paths/analog-input-internal-mic.conf and 
comment out all lines that start with "required-any"."

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-22 Thread c4pp4
@David Henningsson

GUI Sliders DEMO:
- unamplified part bug
- no control of mic bug

http://youtu.be/AZTcPCGejoA

- better to use flash version with quality 720p
- html5 version has bad annotations

I think that solution with unaplified part is AC_VERB_SET_CONNECT_SEL to
Audio Mixer (0x10 -> 0x17, 0x11 -> 0x17) instead of Audio Output ( 0x10
-> 0x19, 0x11 -> 0x19) and override the setting of 0x17 Amp-In Caps by
snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT, (0x14 <<
AC_AMPCAP_OFFSET_SHIFT) | (0x14 << AC_AMPCAP_NUM_STEPS_SHIFT) | (0x05 <<
AC_AMPCAP_STEP_SIZE_SHIFT) | (1 << AC_AMPCAP_MUTE_SHIFT));

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-20 Thread c4pp4
@David Henningsson

If it's not necessary to join the upstream discussion I'd like to stay
over here if you don't mind.

After putting down that initial click noise I discovered a new one and
that's why the solution avoids two sorts of click noise. Both had been
appearing within the transition to D0. The first one (the initial click
noise) was caused by the eapd workaround - not powering down the speaker
0x10 widget within the transition to D3. The second one is quite soft
and that's why I didn't noticed it before. It was caused by the small
transition time to power up the AFG. It had been appearing at the same
time as the initial click noise as well as after the reboot  (when on
battery power). I read the hda specification and successfully tried to
use 75ms delay according to hda specification - "It is permissible for
the audio fidelity for analog outputs to be slightly degraded if audio
rendering begins immediately once the fully operational state is
entered. However, audio fidelity must not be degraded 75ms after the
transitioning to D0 state." Now there is no click noise with one
exception - when I try to record from D3 state there is a recorded
click. I tried to avoid that recorded click but the solution is in
extending the time to power up the AFG up to 300ms instead of 75ms. But
I think it's too long because the start of sound output is lagging. What
do you think about it?

Commentary:
the source is from dkms-hda_0.201212172004~quantal1
---
patch_conexant.c
---
+ * Copyright (c) 2006 Pototskiy Alex 
just a typo

+ snd_hda_codec_set_power_to_all(codec, fg, power_state, false);
when transitioning to D3 set eapd_workaround to false because we need to power 
down the widget - Speaker 0x10, if it's not set it causes the initial click 
noise

+ msleep(75);
time to power up the AFG to avoid the soft click noise

+ .set_power_state = conexant_set_power,
use conexant power settings for auto model

--
hda_codec.c
--
+ hda_set_power_state(codec, AC_PWRST_D0);
(when on battery power) power up the AFG to avoid the soft click noise when 
rebooting

Would you rewrite it into the "upstream style"?
Thank you.

** Patch added: "patch against dkms-hda_0.201212172004~quantal1"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3464795/+files/lenovo-conexant.patch

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-19 Thread David Henningsson
Oops, wanted to write something more in that comment:

If you like, you can join the discussion I'm having with upstream (cc:ed
into this bug). All I need is your email address to cc you in and you
can discuss with Takashi (the upstream maintainer) and me directly.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-19 Thread David Henningsson
@c4pp4, thanks for your reply.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-19 Thread c4pp4
@David Henningsson

Yes, reverting back to state without snd_hda_shutup_pins() reduce click
noises. After that there is just the initial click noise when on battery
power. I'm almost done with avoiding that initial click noise. It'll be
finished as soon as possible.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-17 Thread Raymond
try mute the amp out VAL of connection from 0x17 in node 0x10 if node
0x17 is not used

Node 0x10 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Speaker Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x2b, nsteps=0x2b, stepsize=0x05, mute=1
  Amp-Out vals:  [0x20 0x20] [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x95170110: [Fixed] Speaker at Int Top
Conn = Analog, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3
  Power: setting=D0, actual=D0
  Connection: 2
 0x19* 0x17

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-17 Thread c4pp4
@David Henningsson

Yes, you are right, that's exactly what I'm doing. I've made a module
without snd_hda_shutup_pins() solution and there is only that initial
click noise now.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-17 Thread David Henningsson
c4pp4, okay, let me know if you find anything. But if reverting the
commit that caused the extra clicks causes no other regressions then we
should probably revert it as a first step, and after that see if you can
find a way to avoid the initial click too?

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-15 Thread aovacik
Hello , I am having the same microphone problem, neither external or
internal microphone works under linux. running ubuntu 12-04 LTS on
Lenovo Ideapad N585

Should i give this patch a try ? My Laptop does not seem to have the
same device though

lspci -vnn | grep -A1 Audio
00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Wrestler HDMI 
Audio [Radeon HD 6250/6310] [1002:1314]
Subsystem: Lenovo Device [17aa:397f]
--
00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] Hudson Azalia 
Controller [1022:780d] (rev 01)
Subsystem: Lenovo Device [17aa:397f]

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-12 Thread c4pp4
@David Henningsson

Ok, it seems to me as a good joke :D

At first there was a problem with initial click noise when on battery power 
according to this:
https://bugzilla.novell.com/show_bug.cgi?id=624896

Then they patched the conexant driver without any confirmation that it's 
resolving the issue:
http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=697c373e34613609cb5450f98b91fefb6e910588

The patch in fact caused click noise hell because the initial click
noise is still alive and in addition there were born new click noises,
louder click noise and double click noise. They start to appear when
using power-save mode, when suspending computer and when rebooting
computer.

I'll try to put down that initial click noise and let you know.

** Bug watch added: Novell/SUSE Bugzilla #624896
   https://bugzilla.novell.com/show_bug.cgi?id=624896

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-12 Thread David Henningsson
> It's necessary to move the line .reboot_notify = conexant_reboot_notify,
> from static const struct hda_codec_ops conexant_patch_ops = {
> to static const struct hda_codec_ops cx_auto_patch_ops = {

Good catch! Fixed.

> snd_hda_codec_set_power_to_all(codec, codec->afg, AC_PWRST_D3, false);
> I think it's not necessary to turning every single pin to D3, just pin for 
> the Speaker, like this
> snd_hda_codec_write(codec, 0x10, 0, AC_VERB_SET_POWER_STATE, AC_PWRST_D3);

I guess it doesn't matter much. All pins get set to D3 afterwards
anyway, so as long as this implementation does not cause regressions
anywhere, I'll try this first out of simplicity.

> 1) There is a wrong AC_VERB_SET_CONNECT_SEL setting. Speaker 0x10 and 
> Headphones 0x11 (and maybe dock station 0x12) 
> are connected to Audio Output 0x19 instead of Audio Mixer 0x17. 

I don't think this is a bug. The 0x17 node is not used because there is
a more direct path ( 0x19 -> 0x10 instead of 0x19 -> 0x17 -> 0x10 ). In
some codecs, not using the mixer node gives slightly better audio
quality, so therefore we use this strategy by default.

Is it causing any practical problems for you?

>  2) I don't know how to explain it but there is a wrong PCM level. Sound 
> output is muted in the "0% <-> unamplified" part of the 
> volume slider and is working in the "unamplified <-> 100% ->" part only and 
> it's annoying;

When you move the slider in the GUI, that in turns modifies sliders at
the ALSA level. As far as I can see, this corresponds to a "Speaker" and
a "Master" slider, or "Headphones" and "Master" if you have headphones
plugged in. Start "alsamixer" in a terminal. (see
https://wiki.ubuntu.com/Audio/Alsamixer for keys you can use.) Fiddle
around with this, i e, move the slider in the sound settings GUI and see
the alsamixer GUI bars moving. Or change things in the alsamixer GUI and
notice what results it has on the actual output volume.

It seems to me like either of the "Speaker" or "Master" sliders are not
working properly, or maybe "Headphones" control Speakers or something
otherwise strange here. Maybe you can figure it out?

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-12 Thread c4pp4
@David Henningsson

Hi, thanks for your effort,

I've tried that patch and with a little correction it works as expected - no 
more click noise.
It's necessary to move the line
.reboot_notify = conexant_reboot_notify,
from
static const struct hda_codec_ops conexant_patch_ops = {
to
static const struct hda_codec_ops cx_auto_patch_ops = {
when rebooting "auto model detection".

One thing about
snd_hda_codec_set_power_to_all(codec, codec->afg, AC_PWRST_D3, false);
I think it's not necessary to turning every single pin to D3, just pin for the 
Speaker, like this
snd_hda_codec_write(codec, 0x10, 0, AC_VERB_SET_POWER_STATE, AC_PWRST_D3);
or
snd_hda_codec_write(codec, codec->start_nid, 0, AC_VERB_SET_POWER_STATE, 
AC_PWRST_D3);
but it's up to you because it works :)

The rest regressions when using "auto model detection":
1) There is a wrong AC_VERB_SET_CONNECT_SEL setting. Speaker 0x10 and 
Headphones 0x11 (and maybe dock station 0x12) are connected to Audio Output 
0x19 instead of Audio Mixer 0x17. Look at post #8.
2) I don't know how to explain it but there is a wrong PCM level. Sound output 
is muted in the "0% <-> unamplified" part of the volume slider and is working 
in the "unamplified <-> 100% ->" part only and it's annoying; according to the 
code from patch_conexant.c (old model setting)
switch (codec->subsystem_id >> 16) {
case 0x103c:
case 0x1631:
case 0x1734:
case 0x17aa:
/* HP, Packard Bell, Fujitsu-Siemens & Lenovo laptops have
 * really bad sound over 0dB on NID 0x17. Fix max PCM level to
 * 0 dB (originally it has 0x2b steps with 0dB offset 0x14)
 */
snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT,
  (0x14 << AC_AMPCAP_OFFSET_SHIFT) |
  (0x14 << AC_AMPCAP_NUM_STEPS_SHIFT) |
  (0x05 << AC_AMPCAP_STEP_SIZE_SHIFT) |
  (1 << AC_AMPCAP_MUTE_SHIFT));
break;
}
the driver doesn't allow amplified part because sound is distorted over 0dB of 
the PCM level so there is no need amplified part of the volume slider.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-11 Thread David Henningsson
@jhoectl, with upstream I mean the vanilla linux kernel maintained by
Linus.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-11 Thread jhoechtl
What is required to get this into mainstream and nail it down forever?
(Or is upstream = mainstream = vanilla linux kernel maintained by
Linus?)

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-11 Thread David Henningsson
I've rewritten the part of your patch that fixes the click so that it looks 
more like upstream would want it (I believe). 
Could you help testing it? If it works, I will send this version to upstream 
for inclusion.

It should be applied to the daily DKMS builds. If you like, I can make a
custom DKMS with this applied - if so, please tell me which Ubuntu
version you would like it for.

Thanks in advance!

** Patch added: "0001-ALSA-hda-Fix-clicking-noise-on-Thinkpad-T61-R61i.patch"
   
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/886975/+attachment/3457254/+files/0001-ALSA-hda-Fix-clicking-noise-on-Thinkpad-T61-R61i.patch

** Changed in: alsa-driver (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/886975

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-11 Thread David Henningsson
Hi c4pp4 and first of all, thanks for your endurance with this issue.

To have this fixed once and for all, we need to get this into upstream.
Based on your comments, I'm trying to figure out which pieces make sense
to send to upstream. Your code is based on making a new "model" which is
a way we're trying to move away from, so therefore it should not be
upstreamed as it is.

It looks to me as the latest thing you have been working with relates to
turning the speaker pin into D3 before turning off its output control,
and this prevents clicking. Are there other issues remaining with the
standard driver, or is this the only remaining one?

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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


[Bug 886975] Re: [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work correctly.

2012-12-11 Thread David Henningsson
** Summary changed:

- [Thinkpad R61i] Lenovo sound chip Conexant CX20549 Venice doesn't work 
correctly.
+ [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't work 
correctly.

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

Title:
  [Thinkpad R61i/T61] Lenovo sound chip Conexant CX20549 Venice doesn't
  work correctly.

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

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