Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connecting mobile phone messes with Phonon
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
McLink
Apprentice
Apprentice


Joined: 02 Feb 2008
Posts: 181
Location: /dev/chair

PostPosted: Sun Jan 18, 2015 11:54 am    Post subject: Connecting mobile phone messes with Phonon Reply with quote

I have a very strange problem that occurs on both of my Gentoo systems: if I'm listening to music using Amarok and then plug in my mobile phone (Alcatel One Touch S'Pop/4030D, running Android 4.1.1) over USB, the music will stop playing, and I have to restart Amarok before it will produce any sound again. On one of my systems, I get a small popup saying my sound card has stopped working, while on the other (the one I'm currently using), I usually don't get any messages, although oddly enough I recently got a dialogue stating that "KDE detected that one or more internal devices were removed"; it listed my HDMI audio and the softvol control I created for it, neither of which is the actual sound device that stopped working. I just checked to see whether this happens with any other applications, and I got a similar dialogue when plugging in the phone while using KPlayer. This time, the dialogue did list the main sound card, but KPlayer just kept working, unlike Amarok, which borks completely. Non-KDE applications aren't affected by this at all, suggesting it's related to Phonon or some other KDE component.

The main sound card on both computers is an ASUS Xonar DS PCI, listed by lspci -vvk as
Code:
05:06.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
        Subsystem: ASUSTeK Computer Inc. Virtuoso 66 (Xonar DS)
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 32 (500ns min, 6000ns max)
        Interrupt: pin A routed to IRQ 20
        Region 0: I/O ports at c000 [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: snd_virtuoso
        Kernel modules: snd_virtuoso


eix -I*c phonon reports
Code:
[I] kde-base/phonon-kde (4.14.3(4)@13/01/15): Phonon KDE Integration
[I] media-libs/phonon (4.7.2@27/10/14): KDE multimedia API
[I] media-libs/phonon-gstreamer (4.7.2@01/12/14): Phonon GStreamer backend
[I] media-libs/phonon-vlc (0.7.2@01/12/14): Phonon VLC backend
I'm currently using the GStreamer backend, but last time I checked, switching to the VLC one didn't fix it.

dmesg when connecting the phone:
Code:
[356867.713613] usb 1-2: new high-speed USB device number 17 using ehci-pci
[356867.828766] usb 1-2: New USB device found, idVendor=1bbb, idProduct=0165
[356867.828771] usb 1-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[356867.828774] usb 1-2: Product: MT65xx Android Phone
[356867.828776] usb 1-2: Manufacturer: MediaTek
[356867.828777] usb 1-2: SerialNumber: B69DKNLBKVS4QOJB
[356867.829292] usb-storage 1-2:1.0: USB Mass Storage device detected
[356867.836675] scsi21 : usb-storage 1-2:1.0
[356868.840939] scsi 21:0:0:0: Direct-Access     Linux    File-CD Gadget   0000 PQ: 0 ANSI: 2
[356868.841106] sd 21:0:0:0: Attached scsi generic sg5 type 0
[356868.843051] sd 21:0:0:0: [sde] Attached SCSI removable disk


I am using plain ALSA, compiled as modules. No PulseAudio or systemd or any other of Poettering's go-se. Although I do use a few KDE applications, I'm not using KDE as a DE (I use Openbox instead), which may mean some KDE processes aren't started by default.

Does anyone have any clues as to what could be causing this?

Update: upgrading the entire phonon pipeline to the latest keyworded (~amd64) version and then switching to the VLC backend appears to have fixed it for now, on one computer at least. I'll update this post if there are any further developments.
Update 2: looks like I spoke too soon. The upgrade stops it from killing the stream the moment the phone is plugged in, but still prevents subsequent songs from playing.
_________________
Mc'abit wrote:
Islam isn't the problem, religion is.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum