kmix/amarok unable to unmute sound

Bug #105262 reported by Richard Birnie
2
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kmix

I'm filing this against kmix but it may actually be amarok that is the problem I'm not sure how to diagnose further. While working today with amarok running in the system tray I accidentally hit Win+M instead of CTRL+M. I've since discovered that this is a global shortcut for 'Mute Sound' The result was that amarok is muted and I am unable to unmute it. Sound is fine in realplayer and kaffeine which makes me suspect it may be amarok that is at fault. If I try to play an mp3 then amarok appears to be playing since the progress meter moves through the track and the animated bar at the bottom of the amarok window is responding but I can't here anything.

I've checked kmix and alsamixer and both display Master and PCM as unmuted. The hotkeys to set volume or mute sound on my laptop are still working and kmix is responding to those but still no sound comes out. I'm pretty baffled by this. I think it is related to bug #69352 which describes similar symptoms and is linked to an upstream kde bug here http://bugs.kde.org/show_bug.cgi?id=136378. I have tried the work arounds posted in the kde bug tracker but none of those made any difference for me. I've also looked into kmixrc and kmixctrlrc which I will attach in case it helps. The contents of both files look reasonably sane to me but I'm no expert in this area. I've also tried completely reinstalling amarok and kmix including manually removing kmixrc and kmixctrlrc to see if that would rewrite some sensible values. The attached files are from following this reinstall.

lspci says my sound card is: 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
My laptop is Lenovo 3000 N100. I am running a fully up to date install of Kubuntu Feisty as of 10/04/2007. I am at a complete loss how to rectify this, any insights would be appreciated. If you need me to try anything or attach any other files or outputs just ask. I saw another kmix bug that asked for the output of amixer so I'll give that as well in case it's any use.

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :
Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :
Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :
Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

Assigning this to amarok since every other sound related app I've tested appears to be fine. I guess this means it probably needs to be passed upstream but I don't know how to do that within launchpad. It seems as if Amarok is just ignoring kmix but that's a complete guess. This bug is in need of some triage but I've pretty well exhausted my knowledge. If someone can tell me what needs doing I'll happily do it.

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

OK I have finally hacked my way around this problem. I have installed todays set of updates 11/04/2007. I tested amarok again but nothing in the updates had affected the problem. I had to completely purge amarok and kmix and manually remove some files from ~/.kde/share. Here are the steps I took

sudo aptitude purge amarok kmix

rm -rf ~/.kde/share/apps/amarok
rm ~/.kde/share/config/amarok*
rm ~/.kde/share/config/kmix*
the last two commands removed several amarokrc and kmixrc type files.

sudo aptitude install amarok kmix

This has got me back to a working amarok, although I've lost my podcast feeds but that's no big deal. My guess is that there was something wrong in one of the rc files in ~/.kde/share/config but I've no idea what. So it would seem there is still some issues regarding the communication between amarok, kmix and whatever it is that handles global keyboard shortcuts.

Revision history for this message
Daniel Hahler (blueyed) wrote :

I cannot confirm this.

As far as I can see, Win-M is a global shortcut for Amarok and does not affect KMix/alsamixer at all.

I'm able to (un-)mute Amarok by pressing Win-M.

Even if I additionally configure Win-M to as a global KMix shortcut to (un)mute the master channel, it works - though the shortcut does not seem to "arrive" at KMix (master mute status does not change).

Do you get the Amarok overlay, which says "Mute", when pressing Win-M?

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

Daniel,

You may be right that the problem is amarok rather than kmix, if it's a problem at all. I originally thought it was kmix because the kde bug that I linked in the original post suggests that Win+M does affect kmix. But on further testing I found that other apps that use sound such as kaffeine and realplayer were still working.

I do not see the "Mute" overlay in amarok you describe when I press Win+M. I tried setting the global shortcut in amarok to other key combinations but amarok seemed to ignore the keyboard shortcut whatever I set it too. In fact now that I've got it fixed working Amarok appears to ignore this keyboard shortcut altogether. Currently Win+M doesn't do anything at all

The more I dig into this the more I find I have problems with other keyboard shortcuts in Amarok. I have Play/pause, skip fwd, skip back and stop on my arrow keys which can be accessed by pressing Fn+arrow. These all work except for Fn+up which should be stop. This used to work prior to having this problem yesterday.

Anything I can try to diagnose this further, I'm at a loss? Could it be my soundcard/driver?

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

Closing bug, Unable to reproduce

Changed in amarok:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.