[Gnome hotkeys] PCM instead of vol

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

Mr. Tao
New Member
Posts: 8
Joined: Mon May 18, 2009 9:56 pm

[Gnome hotkeys] PCM instead of vol

Postby Mr. Tao » Tue Nov 03, 2009 12:33 am

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]

cesium
Developer
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: [Gnome hotkeys] PCM instead of vol

Postby cesium » Tue Nov 03, 2009 11:16 am

I'm curious (but not a Gnome user) - would it accept "vmix0-outvol" value too?

Temüjin
Member
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: [Gnome hotkeys] PCM instead of vol

Postby Temüjin » Tue Nov 03, 2009 9:38 pm

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.

cesium
Developer
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: [Gnome hotkeys] PCM instead of vol

Postby cesium » Thu Nov 05, 2009 1:35 am

Is this the case even when the gstreamer applet is used?

Temüjin
Member
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: [Gnome hotkeys] PCM instead of vol

Postby Temüjin » Thu Nov 05, 2009 2:40 am

cesium wrote:Is this the case even when the gstreamer applet is used?

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

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: [Gnome hotkeys] PCM instead of vol

Postby igorzwx » Thu Nov 05, 2009 2:49 am

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?

Temüjin
Member
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: [Gnome hotkeys] PCM instead of vol

Postby Temüjin » Thu Nov 05, 2009 5:33 am

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.

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: [Gnome hotkeys] PCM instead of vol

Postby igorzwx » Thu Nov 05, 2009 1:20 pm

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

cesium
Developer
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: [Gnome hotkeys] PCM instead of vol

Postby cesium » Thu Nov 05, 2009 8:58 pm

igorzwx: Maybe you can host the .deb packages somewhere, so that it will be easier to test it?

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: [Gnome hotkeys] PCM instead of vol

Postby igorzwx » Thu Nov 05, 2009 9:53 pm

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

Temüjin
Member
Posts: 84
Joined: Tue Jul 24, 2007 7:55 pm
Location: Pennsylvania, USA

Re: [Gnome hotkeys] PCM instead of vol

Postby Temüjin » Fri Nov 06, 2009 7:46 am

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

igorzwx
Known Member
Posts: 1262
Joined: Sun Jun 28, 2009 9:31 pm

Re: [Gnome hotkeys] PCM instead of vol

Postby igorzwx » Fri Nov 06, 2009 1:28 pm

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


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 8 guests