Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[KMix]Saving master channel setting / Volume setting display
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Mon Apr 03, 2006 10:45 am    Post subject: [KMix]Saving master channel setting / Volume setting display Reply with quote

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
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Mon Apr 03, 2006 10:51 am    Post subject: Reply with quote

Try using alsamixer and then use alsactl store to remember settings.
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Mon Apr 03, 2006 11:14 am    Post subject: Reply with quote

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
View user's profile Send private message
kfiaciarka
Veteran
Veteran


Joined: 20 May 2005
Posts: 1498
Location: Dobre Miasto, Poland

PostPosted: Mon Apr 03, 2006 11:16 am    Post subject: Reply with quote

I don't know how to help you then :(
Back to top
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Mon Apr 03, 2006 4:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Tue Apr 04, 2006 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Wed Apr 05, 2006 8:07 am    Post subject: Reply with quote

*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
View user's profile Send private message
kingsly
n00b
n00b


Joined: 05 Jul 2004
Posts: 33
Location: Bangalore, INDIA

PostPosted: Wed Apr 05, 2006 8:16 am    Post subject: Reply with quote

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
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Wed Apr 05, 2006 11:06 am    Post subject: Reply with quote

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
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Thu Apr 06, 2006 8:02 am    Post subject: Reply with quote

*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
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Fri Apr 07, 2006 10:19 am    Post subject: Reply with quote

*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
View user's profile Send private message
revertex
l33t
l33t


Joined: 23 Apr 2003
Posts: 806

PostPosted: Mon Apr 10, 2006 8:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
MadEgg
l33t
l33t


Joined: 06 Jun 2002
Posts: 678
Location: Netherlands

PostPosted: Tue Apr 11, 2006 12:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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