Version: (using KDE 4.2.96) Installed from: Ubuntu Packages I have an external usb-sound card, which I sometimes have to plugin and out for lack of usb ports. The card works fine, but when I unplug it and then plugin it in again dragon player and amarok do not play the sound anymore via that external soundcard. I believe it then continues to use the internal soundcard, but I can not test that because the internal one does not work really. In the phonon setting I have set the external soundcard first priority, so theoretically it should take priority again, when the sound card is pluged in again. This does not seem to happen. I have to close the app and restart it, then it works correctly. Since this happens with dragon player and amarok I thought this may be a problem of phonon, but I may be wrong. If necessary, I can file separate bug reports to amarok and dragon player.
I can't reproduce this with: Burr-Brown from TI - USB Audio DAC (USB Audio) SB Live! 5.1 [SB0220] (ADC Capture/Standard PCM Playback) The external USB device is a JVC NX-PS1. I have two problems when unplugging and plugging it in again, however (don't know if they're Phonon related): 1. KMix doesn't update its master channel, it's still SB Live! master. Moreover, the volume is 100% for the USB device (it's not remembered). 2. I get two notifications instead of one. Running KDE(mod) 4.3.3. I can report the above issues as separate bugs, if needed.
I have a little more complex case, but this is probably related to this issue: Devices/Priority: USB: Logitech Premium Stereo USB Headset 350 USB: Creative Technology SB Live! 24-bit External () PCI: HDA Intel () Software: PulseAudio How to reproduce?/What happens? - Listening to music (Amarok 2.2.0), both USB devices are unplugged - Plugging in USB Headset, expecting the music to switch to the USB Headset - Music is still played through the 'HDA Intel()' device, no notification appears - Plugging in USB Soundcard (SB Live!), music switches to USB Headset + notification which should have appeared before, appears now - Unplugging the USB-Headset now, the music switches to the SB Live! and the music is correctly played back through it The same happens the other way round when plugging in first the SB Live!, the music will not switch to the SB Live!, until I plug in the 2nd USB device (USB Headset). To get playback on USB devices, you actually need currently 2 of them. I'm using this Gentoo packages: - kde-base/phonon-kde-4.3.3 - media-sound/phonon-4.4_pre20090520 (kde-testing overlay)
Couldn't reproduce. Everything worked perfectly (and beautifully looking, too, I might add) on: Kubuntu Karmic AMD64 Roland Edirol M100-FX (usb audio) Kubuntu packages Amarok 2.2 KDE 4.3.2
I could reproduce one of the problems reported by Hans Chen: phonon forgetting the sound volume for the playback channel. For this, see b). a) HOTPLUGGING WORKS The kernel module for my internal sound card is blacklisted and thus alsa and phonon can only see the external USB sound card. This means that I cannot test device priority among different *real* devices. However, when I unplug my USB sound card, phonon pops up an announcement stating that it is falling back to "." (I assume it falls back to no card as output device, but I does not have a name defined and the sentence of the notification simply ends in a dot.) When I plug the USB card back in, playback immediately switches back to my default (USB) device and continues playing. This is awesome! b) FORGETTING SOUND VOLUME (BUG) While playback resumes when I plug my USB sound device back in, the sound volume of the playback channel "Speaker" is not remembered, but set to 100%. The sound volumes for the other channel ("Mic"), however, is remembered correctly.
I forgot to add some information: I use phonon with the Xine backend on an up-to-date Arch Linux with KDE 4.3.3 The USB sound card is a Terratec Aureon Dual USB. $ lsusb | grep Terra Bus 002 Device 007: ID 0ccd:0077 TerraTec Electronic GmbH
Another information for my case ( comment#2 ) which might be helpful: - Although no notification regarding the newly plugged in device has been displayed yet, the playback on the correct newly plugged in device starts when playing back the next track in Amarok (by waiting for it or by switching to it manually).
This should be solved now with Pulseaudio.