Page 1 of 1

[Gnome hotkeys] PCM instead of vol

Posted: Tue Nov 03, 2009 12:33 am
by Mr. Tao
I don't know if this is problem of Gnome or OSS, but when I used volume control hotkeys, PCM channel was controlled, while it would be proper to control vol channel. Finaly I found solution:
gconftool-2 -s -t string /desktop/gnome/sound/default_mixer_device oss4mixer:/dev/mixer
gconftool-2 -s -t list --list-type string /desktop/gnome/sound/default_mixer_tracks [vol]

Re: [Gnome hotkeys] PCM instead of vol

Posted: Tue Nov 03, 2009 11:16 am
by cesium
I'm curious (but not a Gnome user) - would it accept "vmix0-outvol" value too?

Re: [Gnome hotkeys] PCM instead of vol

Posted: Tue Nov 03, 2009 9:38 pm
by Temüjin
Mr. Tao: what distro are you using?

would it accept "vmix0-outvol" value too?

In GNOME 2.26/Ubuntu 9.04, you could control any volume track that was listed in ossmix. In Ubuntu 9.10 (probably in all GNOME 2.28), the GNOME volume control doesn't work, even if you set the values manually. I am thinking something might need to be updated in libgstoss4.

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 1:35 am
by cesium
Is this the case even when the gstreamer applet is used?

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 2:40 am
by Temüjin
cesium wrote:Is this the case even when the gstreamer applet is used?

Yeah, I recompiled, and still no go. :(

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 2:49 am
by igorzwx
Temüjin wrote:
cesium wrote:Is this the case even when the gstreamer applet is used?

Yeah, I recompiled, and still no go. :(


Hi Temüjin!

What are you doing with the so-called "gstreamer applet"?
Are you trying to run that old applet with new PulseAudio's things?

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 5:33 am
by Temüjin
igor, as I said in the other thread, I recompiled gnome-media and gnome-applets with the appropriate flags and the volume control still didn't work. Maybe I'm misunderstanding something.

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 1:20 pm
by igorzwx
Temüjin wrote:igor, as I said in the other thread, I recompiled gnome-media and gnome-applets with the appropriate flags and the volume control still didn't work. Maybe I'm misunderstanding something.


Hi Temüjin!

Have you tried to reproduce my experiment exactly?
The complete documentation is in that attachment.
To avoid troubles, you may install another Ubuntu 9.10 in dual boot and make everything clean.
Let us fix it.

Best,
Igor

P.S. To deinstall your things accurately, you may do this:

1. Ctrl-Alt-F2

2. login

3. sudo /etc/init.d/gdm stop

4. deinstall [purge] the wrong things and install the right things

5. sudo reboot

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 8:58 pm
by cesium
igorzwx: Maybe you can host the .deb packages somewhere, so that it will be easier to test it?

Re: [Gnome hotkeys] PCM instead of vol

Posted: Thu Nov 05, 2009 9:53 pm
by igorzwx
cesium wrote:igorzwx: Maybe you can host the .deb packages somewhere, so that it will be easier to test it?


I can upload them here, or send you by e-mail through my gmail account.

But I have not yet tried to remove them accurately to return to the initial state.
Therefore, to test such packages, one may better install another Ubuntu 9.10 in dual boot.

Before experimenting with the *.deb packages, one may better try more simple experiment,
the same which I did first.

I just copied "gnome-volume-control" from Ubuntu 9.04 to Ubuntu 9.10 ( ~/Desktop ), renamed, clicked on it, selected "run" and it worked.
This was before recompilation, the standard applets and gnome-media were installed.

I described this here:
viewtopic.php?f=3&t=3324

"gnome-volume-control" is in the package gnome-media_2.26.0-0ubuntu3_i386.deb
You can download it here:
http://packages.ubuntu.com/jaunty/gnome-media

If "gnome-volume-control" does work in some way (may be not very smooth), you may try more advanced experiments as described here:
viewtopic.php?f=3&t=3375

Re: [Gnome hotkeys] PCM instead of vol

Posted: Fri Nov 06, 2009 7:46 am
by Temüjin
I just copied "gnome-volume-control" from Ubuntu 9.04 to Ubuntu 9.10 ( ~/Desktop ), renamed, clicked on it, selected "run" and it worked.

igor, I tried that (with the amd64 version) and I get:

Code: Select all

**
ERROR:misc.c:52:get_page_num: code should not be reached
Aborted

Re: [Gnome hotkeys] PCM instead of vol

Posted: Fri Nov 06, 2009 1:28 pm
by igorzwx
Temüjin wrote:
I just copied "gnome-volume-control" from Ubuntu 9.04 to Ubuntu 9.10 ( ~/Desktop ), renamed, clicked on it, selected "run" and it worked.

igor, I tried that (with the amd64 version) and I get:

Code: Select all

**
ERROR:misc.c:52:get_page_num: code should not be reached
Aborted


Hi Temüjin!

It seems to be a bug in OSS4 for 64bits.

QUOTE: "Got this problem with OSS, works fine with ALSA though."
http://bbs.archlinux.org/viewtopic.php?pid=621610

GOOGLE rules!

Read this:
http://www.google.com/search?hl=en&q=ER ... f&oq=&aqi=

FS#16245 : [gnome-media] gnome-volume-control won't start
18 Sep 2009 ... ERROR:misc.c:52:get_page_num: code should not be reached. Abandon Additional info: *Linux arch 2.6.30-ARCH #1 SMP PREEMPT Wed Sep 9 14:16:44 ...
http://bugs.archlinux.org/task/16245

Arch Linux Forums / gnome-volume-control won't start
7 posts - 5 authors - Last post: 11 Oct
Code: [romain@arch ~]$ gnome-volume-control ** ERROR:misc.c:52:get_page_num: code should not be reached Abandon ...
http://bbs.archlinux.org/viewtopic.php?pid=621610