You are not logged in.
Pages: 1
I've been using KDE a bit and everything works how I want it to for the most part. However KMix seems to hate headphones. The headphones I use are Clearchat Comfort USB headphones by Logitech. First, a channel for them didn't appear until I logged back in with them plugged in, now I can go ahead and manipulate the volume level of that channel, however nothing I do will direct output to my headphones. I've looked around I think every single KMix menu, perhaps there is something I missed but what I have seen hasn't helped. In my Phonon settings I set my headphones as my preferred device but it still continues to use my PC speakers. I know that the problem isn't with my headphones, they work perfectly in Windows and Cinnamon, it's just KMix that seems to have a grudge against them. So any advice or magical incantations would be appreciated.
Offline
Pulseaudio or plain alsa?
Offline
Pulseaudio, I believe.
Alright, I've made some progress. Using pavucontrol I was able to set my headphones as the preferred output device for Amarok, so it uses them when they're plugged in. However, everything else, system sounds, my browser, etc. still only uses my speakers, I see no option to set all that to my headphones in pavucontrol. There are only two things in the playback tab, System sounds and Amarok, and only Amarok has any output options.
Last edited by Axalon (2012-02-26 03:20:39)
Offline
try changing the Profile in Configuration section in pulseaudio volume control. See if it works and if it works check the failback mode, disconnect your headphones and see if everything returns to default.
If it ain't broke, broke it then fix it.
Offline
I gess you do not use pulseaudio if you are using KDE, pulseaudio is for gnome.
I also have Logitech USB headphones and I'm using alsa to switch from usb to speakers, Kmix to set volume level.
First you have to find which cards are used for your headphones and for the speakers :
cat /proc/asound/cards
then edit your /etc/asound.conf, i consider card 0 as the speakers and card 1 as the USB one :
pcm.card0 {
type hw
card 0
# mmap_emulation true
}
pcm.dmix0 {
type dmix
ipc_key 34521
slave {
pcm "card0"
}
}
pcm.dsnoop0 {
type dsnoop
ipc_key 34523
slave {
pcm "card0"
}
}
pcm.asym0 {
type asym
playback.pcm "dmix0"
capture.pcm "dsnoop0"
}
pcm.pasym0 {
type plug
slave.pcm "asym0"
}
# 'dsp0' is espected by OSS emulation etc.
pcm.dsp0 {
type plug
slave.pcm "asym0"
}
ctl.dsp0 {
type hw
card 0
}
pcm.card1 {
type hw
card 1
# mmap_emulation true
}
pcm.dmix1 {
type dmix
ipc_key 34521
slave {
pcm "card1"
}
}
pcm.dsnoop1 {
type dsnoop
ipc_key 34523
slave {
pcm "card1"
}
}
pcm.asym1 {
type asym
playback.pcm "dmix1"
capture.pcm "dsnoop1"
}
pcm.pasym1 {
type plug
slave.pcm "asym1"
}
# 'dsp1' is espected by OSS emulation etc.
pcm.dsp1 {
type plug
slave.pcm "asym1"
}
ctl.dsp1 {
type hw
card 1
}
pcm.!default {
type plug
slave.pcm "asym0"
}
ctl.!default {
type hw
card 0
}
And finally in your ~/.asoundrc you put this code :
pcm.!default {
type plug
slave.pcm "asym0" # or asym1
}
At this step you can force your system to load speakers as card 0 and USB as card 1 by editing /etc/modprobe.d/modprobe.conf :
options snd-your-speakers-card index=0
options snd-your-usb-card index=1
I made a script to switch from asym0 (speakers) to asym1 (USB) in the ~/.asoundrc and associate it to a shortcut. Then if you want to use your USB headphones you should have asym1 defined before launching the application, and asym0 if you want to use speakers. Make shure that default is defined as default output in Phonon. I did not manage to automatically define the master pcm in Kmix, I switch manually the pcm in Kmix to use fn+f10/f11 to set the volume of the desired card.
Hope this helped and sorry for my poor english !
Last edited by viperpaulo (2012-02-26 11:52:26)
Offline
I gess you do not use pulseaudio if you are using KDE, pulseaudio is for gnome.
...
I made a script to switch from asym0 (speakers) to asym1 (USB) in the ~/.asoundrc and associate it to a shortcut. Then if you want to use your USB headphones you should have asym1 defined before launching the application, and asym0 if you want to use speakers. Make shure that default is defined as default output in Phonon. I did not manage to automatically define the master pcm in Kmix, I switch manually the pcm in Kmix to use fn+f10/f11 to set the volume of the desired card.Hope this helped and sorry for my poor english !
Using pavucontrol I was able to set my headphones as the preferred output device for Amarok
Sounds like he's using Pulseaudio and not ALSA, though I don't know whether that renders your solution invalid or not, I'm not familiar with how ALSA interacts with pulse.
Last edited by will.price94 (2012-02-26 11:55:46)
Offline
I thought puleaudio was made for gnome desktop not for KDE, personnaly i recommand to use standard kde configuration : alsa+kmix+phonon.
Offline
I thought puleaudio was made for gnome desktop not for KDE, personnaly i recommand to use standard kde configuration : alsa+kmix+phonon.
Fairly certain its desktop independent, can't see any mention of gnome branding on http://pulseaudio.org/
Offline
Ok ! My bad !
Offline
Made for Gnome!?!?!? A friend of mine used to think that Gentoo is a Gnome distribution simply because of that „G“ at the beggining.
I guess the same can be applied to Pulseaudio. Please.
@Axalon
Try using Veromix (kde mixer for pulseaudio) instead of KMix.
Last edited by Xabre (2012-02-26 12:30:07)
Offline
Pages: 1