Skip to contentSkip to conversation

Debian Bug#770122: patch as workaround/solution

DISCUSSION Elimar Riesebieter 1 participant 2 messages Nov 23, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

Iam forwarding this Debian bug to alsa-devel due to a not maintained BugTracker at alsa project. Could one please have a look at it?

Thanks
Elimar

Signature · 2 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche

Thank you for looking into this so fast!

Okay I disabled the service to get back to the state I was in:

$ sudo systemctl disable alsa-fix.service
Removed
symlink /etc/systemd/system/multi-user.target.wants/alsa-fix.service.

Btw I did a fast test before that and after resume from hibernate the workaround doesn't seem to work anymore (only after reboot probably)... I am still learning; am on Debian since 3 weeks.

then I did a --reinstall of alsa-base/utils & libasound2 for pristine installation of those

$ sudo apt-get install --reinstall alsa-base alsa-utils libasound2

I checked my $home/ folder for hidden files using
$ls -a
but there is no .asoundrc file there

I made a collection of screenshots of alsamixer and pulseaudio settings for you; I hope they can help to resolve the issue. First two screenshots are xterm output.

As you can see the channels are correctly auto-muted when I switch from speaker to headphone jack, but there's simply no audio coming out of that jack. Even pulseaudio shows a sound ping when I test headphone configuration (last screenshot). I also tried muting and unmuting in pulseaudio settings and switching to Analog Stereo configuration, no deal.

I hope I'm able to help you fixing this!

Quoted 26 lines · Teutone

Thank you for looking into this so fast!

Okay I disabled the service to get back to the state I was in:

$ sudo systemctl disable alsa-fix.service
Removed
symlink /etc/systemd/system/multi-user.target.wants/alsa-fix.service.

Btw I did a fast test before that and after resume from hibernate the workaround doesn't seem to work anymore (only after reboot probably)... I am still learning; am on Debian since 3 weeks.

then I did a --reinstall of alsa-base/utils & libasound2 for pristine installation of those

$ sudo apt-get install --reinstall alsa-base alsa-utils libasound2

I checked my $home/ folder for hidden files using
$ls -a
but there is no .asoundrc file there

I made a collection of screenshots of alsamixer and pulseaudio settings for you; I hope they can help to resolve the issue. First two screenshots are xterm output.

Quoted 6 lines

As you can see the channels are correctly auto-muted when I switch from speaker to headphone jack, but there's simply no audio coming out of that jack. Even pulseaudio shows a sound ping when I test headphone configuration (last screenshot). I also tried muting and unmuting in pulseaudio settings and switching to Analog Stereo configuration, no deal.

Please try as user:

$ mkdir $HOME/.pulse
$ echo "autospawn=no" >> $HOME/.pulse/client.conf

This prevents pulseaudio to restart when it's down.

To shutdown pulse:

$ pulseaudio -k

Please test sound now.

To restart pulse:

$ pulseaudio -D

Elimar

Signature · 7 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel
Quoted 8 lines · Elimar Riesebieter

Please try as user:

$ mkdir $HOME/.pulse
$ echo "autospawn=no" >> $HOME/.pulse/client.conf

This prevents pulseaudio to restart when it's down.

To shutdown pulse:

Quoted 12 lines
$ pulseaudio -k

Please test sound now.

To restart pulse:

$ pulseaudio -D

Elimar

Signature · 2 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche

Okay I tried this, but no difference to sound test with pulseaudio. Built in speakers work, headphone jack does not play a single sound, nothing. Speakers get auto-muted when I plug in my headphones though. Only difference, I can't use media buttons to control volume when pulseaudio is turned off (guess that's normal)

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel

Quoted 22 lines · Teutone
Quoted 8 lines · Elimar Riesebieter

Please try as user:

$ mkdir $HOME/.pulse
$ echo "autospawn=no" >> $HOME/.pulse/client.conf

This prevents pulseaudio to restart when it's down.

To shutdown pulse:

Quoted 12 lines
$ pulseaudio -k

Please test sound now.

To restart pulse:

$ pulseaudio -D

Elimar

Signature · 2 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche
Quoted 3 lines

Okay I tried this, but no difference to sound test with pulseaudio. Built in speakers work, headphone jack does not play a single sound, nothing. Speakers get auto-muted when I plug in my headphones though.

This looks like a driver bug. As I remember you're using linux-3.16. It's pretty new, though. In sid we have linux-3.17 images which worth to try. If that not helps I'd forward this bug to the kernel team with your attention please. To browse the ALSA BTS [0] might be helpful as well.

Quoted 2 lines

Only difference, I can't use media buttons to control volume when pulseaudio is turned off (guess that's normal)

Thats not normal. My thinkpads are working with a straight ALSA. For me there is no advantage to run pulseaudio. The "media buttons" are working correct. Same on my powerbook (Yeah, it's PPC arch ;-)).

[0] https://bugtrack.alsa-project.org/alsa-bug

Elimar

Signature · 7 lines
 Numeric stability is probably not all that
  important when you're guessing;-)

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel
Quoted 28 lines · Elimar Riesebieter
Quoted 22 lines · Teutone
Quoted 8 lines · Elimar Riesebieter

Please try as user:

$ mkdir $HOME/.pulse
$ echo "autospawn=no" >> $HOME/.pulse/client.conf

This prevents pulseaudio to restart when it's down.

To shutdown pulse:

Quoted 12 lines
$ pulseaudio -k

Please test sound now.

To restart pulse:

$ pulseaudio -D

Elimar

Signature · 2 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche
Quoted 3 lines

Okay I tried this, but no difference to sound test with pulseaudio. Built in speakers work, headphone jack does not play a single sound, nothing. Speakers get auto-muted when I plug in my headphones though.

Quoted 5 lines

This looks like a driver bug. As I remember you're using linux-3.16. It's pretty new, though. In sid we have linux-3.17 images which worth to try. If that not helps I'd forward this bug to the kernel team with your attention please. To browse the ALSA BTS [0] might be helpful as well.

I looked through the changelogs on
http://metadata.ftp-master.debian.org/changelogs//main/l/linux/linux_3.17-1~exp1_changelog and http://kernelnewbies.org/Linux_3.17 and could not find any news about audio drivers - plus I read the warning about data loss and experimental state of 3.17, and I'm feeling unsure if it's safe for me to use it, I am not that good at Linux yet... if you say it's relatively safe could you give me a few hints how to do the kernel update safely or point me to the direction where I can read about how to do it, please?

Quoted 7 lines
Quoted 3 lines

Only difference, I can't use media buttons to control volume when pulseaudio is turned off (guess that's normal)

Thats not normal. My thinkpads are working with a straight ALSA. For me there is no advantage to run pulseaudio. The "media buttons" are working correct. Same on my powerbook (Yeah, it's PPC arch ;-)).

Hmm. That's strange then... something seems really wrong with this Macbook ***** :P I recently noticed that I have a slight sound problem with my speakers, too - in Mac OS + Windows I get decent sound from right and left built-in speaker; in Debian Jessie I only have the right speaker working correctly, but the left one is a lot quieter... as if it's also not working 100% with the driver...

Quoted 2 lines

[0] https://bugtrack.alsa-project.org/alsa-bug

I'm unable to open that site - it seems to be down? Even with simple
http:// it just gives me a 404 Error... is it reachable for you?

Teutone

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel

Quoted 1 line · Teutone

On Sat, 2014-11-22 at 12:57 +0100, Elimar Riesebieter wrote:

[...]

Quoted 8 lines
Quoted 5 lines

This looks like a driver bug. As I remember you're using linux-3.16. It's pretty new, though. In sid we have linux-3.17 images which worth to try. If that not helps I'd forward this bug to the kernel team with your attention please. To browse the ALSA BTS [0] might be helpful as well.

I looked through the changelogs on

Quoted 8 lines

http://metadata.ftp-master.debian.org/changelogs//main/l/linux/linux_3.17-1~exp1_changelog
and http://kernelnewbies.org/Linux_3.17 and could not find any news about audio drivers - plus I read the warning about data loss and experimental state of 3.17, and I'm feeling unsure if it's safe for me to use it, I am not that good at Linux yet... if you say it's relatively safe could you give me a few hints how to do the kernel update safely or point me to the direction where I can read about how to do it, please?

Well, linux-3.17 is the stable mainline kernel. It's not experimental and there are no known bugs about data loss. If you're not comfortable to try 3.17 I can tell you that this kernel runs fine. (3.14.25, 3.17.4, 3.18-rc5 here). But I won't force you to use it. You can otherwise try some Live-Distros (Knoppix, GRML a.o) to check your soundcard. Those are not running 3.17!

How to install Debian's 3.17:
As root:

# echo "deb http://ftp.de.debian.org/debian/unstable main non-free contrib" >> /etc/apt/sources.list.d/teutone.list
# apt-get update
# apt-get install -t unstable linux-image-3.17-1-amd64

Reboot to load the new kerenl and test sound.

To reverse it:

# rm -rf /etc/apt/sources.list.d/teutone.list
# apt-get update
# apt-get remove --purge linux-image-3.17-1-amd64

Thats it ;-)

Quoted 9 lines
Quoted 8 lines
Quoted 4 lines

Only difference, I can't use media buttons to control volume when pulseaudio is turned off (guess that's normal)

Thats not normal. My thinkpads are working with a straight ALSA. For me there is no advantage to run pulseaudio. The "media buttons" are working correct. Same on my powerbook (Yeah, it's PPC arch ;-)).

Quoted 6 lines

Hmm. That's strange then... something seems really wrong with this Macbook ***** :P I recently noticed that I have a slight sound problem with my speakers, too - in Mac OS + Windows I get decent sound from right and left built-in speaker; in Debian Jessie I only have the right speaker working correctly, but the left one is a lot quieter... as if it's also not working 100% with the driver...

If there is a hardware bug you can check live distris as mentioned above. But there we can't help. Success to your hardware is needed, though....

Quoted 6 lines
Quoted 3 lines

[0] https://bugtrack.alsa-project.org/alsa-bug

I'm unable to open that site - it seems to be down? Even with simple
http:// it just gives me a 404 Error... is it reachable for you?

It looks like it is temporarely down :(

Elimar

Signature · 7 lines
 On the keyboard of life you have always
  to keep a finger at the escape key;-)

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel
Quoted 17 lines · Elimar Riesebieter
Quoted 1 line · Teutone

On Sat, 2014-11-22 at 12:57 +0100, Elimar Riesebieter wrote:

[...]
Well, linux-3.17 is the stable mainline kernel. It's not experimental and there are no known bugs about data loss. If you're not comfortable to try 3.17 I can tell you that this kernel runs fine. (3.14.25, 3.17.4, 3.18-rc5 here). But I won't force you to use it. You can otherwise try some Live-Distros (Knoppix, GRML a.o) to check your soundcard. Those are not running 3.17!

How to install Debian's 3.17:
As root:

# echo "deb http://ftp.de.debian.org/debian/unstable main non-free contrib" >> /etc/apt/sources.list.d/teutone.list
# apt-get update
# apt-get install -t unstable linux-image-3.17-1-amd64
Quoted 8 lines

Reboot to load the new kerenl and test sound.

To reverse it:

# rm -rf /etc/apt/sources.list.d/teutone.list
# apt-get update
# apt-get remove --purge linux-image-3.17-1-amd64

Thats it ;-)

Alright, thanks for the fast response and extra terminal help ; ) (had to switch to experimental debian distro + install kernel-headers as well)

I am now on

		uname -r
		3.17-1-amd64

and tested my headphones after rebooting--- no difference. Still silent as a grave. What's the next step then?

Quoted 10 lines
Quoted 6 lines

Hmm. That's strange then... something seems really wrong with this Macbook ***** :P I recently noticed that I have a slight sound problem with my speakers, too - in Mac OS + Windows I get decent sound from right and left built-in speaker; in Debian Jessie I only have the right speaker working correctly, but the left one is a lot quieter... as if it's also not working 100% with the driver...

If there is a hardware bug you can check live distris as mentioned above. But there we can't help. Success to your hardware is needed, though....

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel

Quoted 1 line · Teutone

On Sat, 2014-11-22 at 15:59 +0100, Elimar Riesebieter wrote:

[...]

Quoted 19 lines
Quoted 5 lines

As root:

# echo "deb http://ftp.de.debian.org/debian/unstable main non-free contrib" >> /etc/apt/sources.list.d/teutone.list
# apt-get update
# apt-get install -t unstable linux-image-3.17-1-amd64
Quoted 8 lines

Reboot to load the new kerenl and test sound.

To reverse it:

# rm -rf /etc/apt/sources.list.d/teutone.list
# apt-get update
# apt-get remove --purge linux-image-3.17-1-amd64

Thats it ;-)

Alright, thanks for the fast response and extra terminal help ; ) (had to switch to experimental debian distro + install kernel-headers as well)

Quoted 6 lines

I am now on

		uname -r
		3.17-1-amd64

and tested my headphones after rebooting--- no difference. Still silent as a grave. What's the next step then?

Forwarding this bug to the Debian kernel team and upstream.

Please be careful by updates now. First remove your source.list.d entries for experimental, apr-get remove purge 3.17 and and run a "apt-get update && apt-get dist-upgrade".

Quoted 11 lines
Quoted 11 lines
Quoted 7 lines

Hmm. That's strange then... something seems really wrong with this Macbook ***** :P I recently noticed that I have a slight sound problem with my speakers, too - in Mac OS + Windows I get decent sound from right and left built-in speaker; in Debian Jessie I only have the right speaker working correctly, but the left one is a lot quieter... as if it's also not working 100% with the driver...

If there is a hardware bug you can check live distris as mentioned above. But there we can't help. Success to your hardware is needed, though....

Before forwarding the bug we must be sure your hardware works correct. Could you test another headpone and/or speaker set meanwhile?

Elimar

Quoted 1 line

what IMHO then?

IMHO - Inhalation of a Multi-leafed Herbal Opiate ;)
--posting from alex in debian-user--

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel

Thank you for the additional information you have supplied regarding this Bug report.

This is an automatically generated reply to let you know your message has been received.

Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
Debian ALSA Maintainers <[email protected]>

If you wish to submit further information on this problem, please send it to [email protected].

Please do not send mail to [email protected] unless you wish to report a problem with the Bug-tracking system.

Signature · 3 lines
770122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770122
Debian Bug Tracking System
Contact [email protected] with problems
Quoted 3 lines · Elimar Riesebieter

Please be careful by updates now. First remove your source.list.d entries for experimental, apr-get remove purge 3.17 and and run a "apt-get update && apt-get dist-upgrade".

Okay, I followed the steps to revert to 3.16-4 and am back on 3.16.0-4-amd64 now.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

Hmm. That's strange then... something seems really wrong with this Macbook ***** :P I recently noticed that I have a slight sound problem with my speakers, too - in Mac OS + Windows I get decent sound from right and left built-in speaker; in Debian Jessie I only have the right speaker working correctly, but the left one is a lot quieter... as if it's also not working 100% with the driver...

Quoted 6 lines
Quoted 3 lines
Quoted 3 lines

If there is a hardware bug you can check live distris as mentioned above. But there we can't help. Success to your hardware is needed, though....

Before forwarding the bug we must be sure your hardware works correct. Could you test another headpone and/or speaker set meanwhile?

My hardware is absolutely fine; I boot into three different OS on my
Macbook: Debian Jessie, Windows & Mac OS - on Windows & Mac OS I have no problems with neither the built-in speakers of the Macbook nor my good old headphones. Forwarding this should be allright. Thank you for your help until now!

Teutone

_______________________________________________
Pkg-alsa-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-alsa-devel

#1 lore raw
Quoted 4 lines · Elimar Riesebieter

Hi,

Iam forwarding this Debian bug to alsa-devel due to a not maintained BugTracker at alsa project. Could one please have a look at it?

Sorry for the huge datas. I've send the link acoordingly.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770122

Elimar

Signature · 2 lines
  Alles was viel bedacht wird ist bedenklich!;-)
         Friedrich Nietzsche