Bug 182847 - Phonon-4.3.0 not all alsa pcm listed
Summary: Phonon-4.3.0 not all alsa pcm listed
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_phonon (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Matthias Kretz
URL:
Keywords:
: 191373 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-02 10:53 UTC by Przemek Czerepaniak
Modified: 2016-06-23 17:01 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Soundcardinfo script output (9.08 KB, text/plain)
2009-02-10 15:21 UTC, patrick.schwalm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Przemek Czerepaniak 2009-02-02 10:53:36 UTC
Version:           phonon-4.3.0 (using KDE 4.2.0)
Compiler:          gcc-4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

pcm.plugequal {
        type equal;
        slave.pcm "plughw:0,0";
}

pcm.!default {
        type plug;
        slave.pcm plugequal;
        hint {
                show on
                description "Default"
        }
}
This is my /etc/asound.conf, and I can't choose Default pcm in Phonon system settings, in system settings I've got only this:

http://img220.imageshack.us/img220/3836/30236120ln2.png
Comment 1 patrick.schwalm 2009-02-10 15:03:57 UTC
Same Situation here....

Problem with this is that the phonon volume is independent from the one choosen in kmix...

bad to mute all volumes at the same time...
Comment 2 patrick.schwalm 2009-02-10 15:21:14 UTC
Created attachment 31187 [details]
Soundcardinfo script output

Attached output from soundcard.info
Comment 3 Matthias 2009-05-03 01:16:48 UTC
I have the same problem with KDE 4.2. The device is defined as follows in .asoundrc, but it doesn't show up in systemsettings.
Comment 4 Matthias 2009-05-03 01:18:21 UTC
    20to51 {
        type route
        slave {
            pcm {
                type hw
                card 1
                device 0
            }
            channels 6
        }
        ttable {
            0 {
                0 1
                2 1
                4 0.5
            }
            1 {
                1 1
                3 1
                5 0.5
            }
        }
        hint {
            show on
            description "20to51"
        }
    }
Comment 5 Matthias 2009-06-15 18:48:09 UTC
Do the Phonon developers actually give a shit about the users? This bug has been open for more than 4 months and nobody seems to care.
Comment 6 zOOm_ER 2009-06-15 19:45:37 UTC
Confirmed on opensuse-factory with kde 4.3-b2
Comment 7 Przemek Czerepaniak 2009-06-20 16:29:15 UTC
I noticed that phonon doesnt want to deal with plugins such as ladspa otd alsaequal ;/
Comment 8 dionet 2009-07-07 01:13:48 UTC
*** This bug has been confirmed by popular vote. ***
Comment 9 Matthias 2009-07-18 01:59:11 UTC
OK, I think I found a workaround for this bug. The trick is that *every* device in the stack needs a hint section, not just the device that you want to use. 

In my example, I have a device called 20to51 that does the upmixing with a hardware slave device. Instead of 
pcm {
    20to51 {
        ...
        slave {
            pcm {
                type hw
                card 1
            device 0
        }
        channels 6
        ...
        hint {
            show on
            description "20to51"
        }
        ...
    }
}}
I now use
pcm { 
    hwdev {
        type hw
        card 1
        device 0
        hint {
            show on
            description "hwdev"
        }
    }
    20to51 {
        ...
        slave {
            pcm "hwdev"
            channels 6
        }
        ...
        hint {
            show on
            description "20to51"
        }
    }
}

After logging out and in again, Phonon finally sees the 20to51 device. Feel free to email me if you need further information...
Comment 10 Andrew Gaydenko 2009-08-15 02:40:59 UTC
Just want to confirm Matthias' workaround does work for me (hinting all pcms).

Matthias, thanks!
Comment 11 Myriam Schweingruber 2009-11-08 20:06:22 UTC
*** Bug 191373 has been marked as a duplicate of this bug. ***
Comment 12 Przemek Czerepaniak 2009-12-13 10:29:12 UTC
I cant still make it work :( How I must change this code ?

ctl.equal {
  type equal
}

pcm.plugequal {
 type equal
 slave.pcm "plug:dmix"
}

pcm.equalizer {
 type plug;
 slave.pcm plugequal;
 hint {
  show on
  description "Equalizer"
 }
}
Comment 13 Stefan Reuter 2010-03-30 13:26:50 UTC
I'm a lillte late, but here is my working asound.rc/asound.conf

ctl.equal {
  type equal;
}

pcm.plugequal {
  type equal;
   slave.pcm "plug:dmix"
}

pcm.!default {
  type plug
  slave.pcm "plugequal"
  hint {
    show on
    description "Alsaequal"
  }
}
Comment 14 Andreas Hartmetz 2016-06-23 16:53:55 UTC
This is probably due to an upstream bug that was fixed by yours truly in VLC 2.2.2. If the default device was created in an .asoundrc / alsa.conf, it could not be selected in VLC.