View previous topic :: View next topic |
Author |
Message |
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Apr 03, 2006 10:45 am Post subject: [KMix]Saving master channel setting / Volume setting display |
|
|
I've set up my volume control keys on my keyboard to change the volume of the master channel in KMix. The problem is, my TV-tuner card is the first ALSA device and my soundcard is the second ALSA device. So I have to change the master channel by rightclicking on the KMix tray icon and select 'Select Master Channel' to select my EMU10k1 card.
This works, the problem is that KMix does not store this setting, so after a restart of KDE I have to do it again.
I know I can change the keys to only control the master channel of emu10k1 but I'd like to be able to easily switch to a different soundcard, my USB headset for example, and still control the volume with the keys on the keyboard so I'd really like to use the master channel. Is there any way of making KMix remember this setting?
Or should this go in Multimedia?
[edit]Another thing:
A while back, whenever I used my multimedia keys to increase/decrease the volume, I would get an OSD in the center of the screen displaying the current volume etc; but since then it disappeared again. Any way to get that back?
[/edit] _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755
Last edited by MadEgg on Mon Apr 03, 2006 4:26 pm; edited 1 time in total |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Mon Apr 03, 2006 10:51 am Post subject: |
|
|
Try using alsamixer and then use alsactl store to remember settings. |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Apr 03, 2006 11:14 am Post subject: |
|
|
It's not the volume settings that don't get rememberd, alsa mixer levels are already stored at shutdown and restored at boot. This is purely the selection of which channel to change the volume of when I press the volume up and down keys on my keyboard... _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Mon Apr 03, 2006 11:16 am Post subject: |
|
|
I don't know how to help you then |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Mon Apr 03, 2006 4:26 pm Post subject: |
|
|
Anyone else?
Also, another thing:
A while back, whenever I used my multimedia keys to increase/decrease the volume, I would get an OSD in the center of the screen displaying the current volume etc; but since then it disappeared again. Any way to get that back? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Tue Apr 04, 2006 8:26 am Post subject: |
|
|
Hmm, I emerged some 3.5.2 packages yesterday that I hadn't ugpraded yet from 3.4.2, and now the OSD is back. Apperantly it doesn't belong to KMix but I don't know what it does belong to.(kdeutils-meta and kdewebdev-meta... strange)
Anyway, I can now see the volume change, but the problem is that this other application or whatever it is, does not respect the channel to modify I set in KMix, so now the volume doesn't change at all because this other application also alters the volume of the TV-tuner card. Any clue on what this could possibly be? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Wed Apr 05, 2006 8:07 am Post subject: |
|
|
*kick* _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
kingsly n00b
Joined: 05 Jul 2004 Posts: 33 Location: Bangalore, INDIA
|
Posted: Wed Apr 05, 2006 8:16 am Post subject: |
|
|
Something like this in your /etc/modules.d/alsa file should make the tv-tuner card the second one.
Code: |
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.1 2003/08/05 21:07:55 johnm Exp $
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-emu10k1
alias snd-card-1 snd_bt87x
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
## OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=2
|
|
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Wed Apr 05, 2006 11:06 am Post subject: |
|
|
Right, thanks for the tip, this at least makes my main card the one controlled by the OSD(anyone knows what program does that????)
But it doesn't solve everything completely for me, because I sometimes use my USB headset, which I would like to control by the OSD Volume control then instead of my soundblaster.
I suppose I could set something up using hotplug to at least change /etc/asound.conf so that the headset is the default soundcard then, but then I need to find a way to make it clear to KDE that I want to use the volume control on another device! _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Thu Apr 06, 2006 8:02 am Post subject: |
|
|
*kick* _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Fri Apr 07, 2006 10:19 am Post subject: |
|
|
*kick*
The order of the soundcards which I set up in /etc/conf.d/alsasound is not respected at boot... When I boot up my system the TV-tuner is the first card. To get my emu10k1 to be the first card, I have to do /etc/init.d/alsasound stop followed by /etc/init.d/alsasound start.
I think modules are autoloaded in the wrong order, any way to disable that? _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
revertex l33t
Joined: 23 Apr 2003 Posts: 806
|
Posted: Mon Apr 10, 2006 8:09 pm Post subject: |
|
|
MadEgg wrote: | *kick*
The order of the soundcards which I set up in /etc/conf.d/alsasound is not respected at boot... When I boot up my system the TV-tuner is the first card. To get my emu10k1 to be the first card, I have to do /etc/init.d/alsasound stop followed by /etc/init.d/alsasound start.
I think modules are autoloaded in the wrong order, any way to disable that? |
It's because hotplug is loading the soundcard modules before the alsa init script, the first one loaded takes the first place.
to stop hotplug to load the soudcard modules in the wrong order put the modules that you don't want to be handle by hotplug in /etc/hotplug/blacklist, this way it will be loaded by alsa following the correct order.
take a look here:
https://forums.gentoo.org/viewtopic-p-3246863.html |
|
Back to top |
|
|
MadEgg l33t
Joined: 06 Jun 2002 Posts: 678 Location: Netherlands
|
Posted: Tue Apr 11, 2006 12:35 pm Post subject: |
|
|
Thanks, that did the trick! _________________ Pentium 4 Prescott 3,2 GHz
Asus P4P800 SE, i865PE chipset
1024 MB PC3200 RAM
AOpen Aeolus GeForce 6800 Ultra 256 MB DDR2
Creative Audigy2 ZS
gentoo-sources-2.6.20-r7
nVidia-drivers version 9755 |
|
Back to top |
|
|
|