Bug 3110 - In LXDE aumix doesn't works
Summary: In LXDE aumix doesn't works
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 10:43 CEST by Jacques Pronchery
Modified: 2011-12-23 23:09 CET (History)
2 users (show)

See Also:
Source RPM: aumix
CVE:
Status comment:


Attachments

Description Jacques Pronchery 2011-10-19 10:43:42 CEST
In LXDE aumix doesn't start.
when it's launched in a console we have a message
who say that it doesn't found the mixer.
Here is the report :

[jacques@localhost ~]$ aumix
aumix:  erreur à l'ouverture du mixeur: Aucun fichier ou dossier de ce type

[jacques@localhost ~]$
Comment 1 Manuel Hiebel 2011-10-25 12:30:43 CEST
Is PulseAudio enable ? does alsamixer  work ?
Comment 2 Jacques Pronchery 2011-10-25 14:00:17 CEST
Yes pulse audio is enable
pavucontrol works OK
alsamixer works OK
and the volume control of the task bar works OK
Comment 3 Marja Van Waes 2011-12-17 20:37:50 CET
@ Jacques
 
You filed this bug against cauldron, do you have this bug in fully updated cauldron, so with aumix-2.9.1-1.mga2.i586.rpm ?

Please start aumix from the console again, but now with:
$ LC_ALL=C aumix

That'll give the error message in English, so more easy for non-French readers here to understand :)

CC'ing the maintainer of aumix

CC: (none) => marja11, shlomif
Whiteboard: (none) => NEEDINFO

Comment 4 Jacques Pronchery 2011-12-17 23:14:37 CET
It do not works, the message is :

[jacques@localhost ~]$ LC_ALL=C aumix
aumix:  error opening mixer: No such file or directory

[jacques@localhost ~]$
Comment 5 Marja Van Waes 2011-12-18 19:54:41 CET
(In reply to comment #4)
> It do not works, the message is :
> 
> [jacques@localhost ~]$ LC_ALL=C aumix
> aumix:  error opening mixer: No such file or directory
> 
> [jacques@localhost ~]$

Googling this error message, I read somewhere that this is caused by aumix expecting the mixer to be in /dev/

Indeed, when I check man aumix, I read:
" âd device_file
                 specify the name of the mixer device (default is /dev/mixer) "

@Jacques
When in the console please do: 

cd /dev          and then
ls -l

do you see a "mixer" line like this one:

crw-rw----+ 1 root  audio    14,   0 Dec  7 17:21 mixer

if so, can you paste it here?

Whiteboard: NEEDINFO => (none)

Comment 6 Jacques Pronchery 2011-12-18 20:17:24 CET
There is not the file /dev/mixer
My sound card is :
MCP61 High Definition Audio nVidia Corporation
with the driver snd_hda_intel
Comment 7 Marja Van Waes 2011-12-19 08:27:18 CET
(In reply to comment #6)
> There is not the file /dev/mixer
> My sound card is :
> MCP61 High Definition Audio nVidia Corporation
> with the driver snd_hda_intel

@ Shlomi

Can you help with this, please? I can't install aumix in my cauldron, atm, because of bug 3804, and maybe also another issue that makes it impossible for me to install anything
In 1 aumix works fine and in 1 my /dev/mixer is present
Comment 8 Shlomi Fish 2011-12-19 09:36:54 CET
(In reply to comment #7)
> (In reply to comment #6)
> > There is not the file /dev/mixer
> > My sound card is :
> > MCP61 High Definition Audio nVidia Corporation
> > with the driver snd_hda_intel
> 
> @ Shlomi
> 
> Can you help with this, please? I can't install aumix in my cauldron, atm,
> because of bug 3804, and maybe also another issue that makes it impossible for
> me to install anything

It sounds strange that you cannot install anything. You can stop using KDE for the time being and use something that does not depend on MySQL/MariaDB.  

> In 1 aumix works fine and in 1 my /dev/mixer is present

OK, let me check it with PulseAudio enabled.

Regards,

-- Shlomi Fish
Comment 9 Shlomi Fish 2011-12-19 10:06:31 CET
Hi.

(In reply to comment #6)
> There is not the file /dev/mixer
> My sound card is :
> MCP61 High Definition Audio nVidia Corporation
> with the driver snd_hda_intel

OK, I enabled PulseAudio in draksound and then logged out and logged in to LXDE (using startx) and aumix worked fine. However, after I rebooted (with PulseAudio still enabled), and logged into LXDE, then aumix now says:

<<<
shlomif@telaviv1:~$ aumix
aumix:  error opening mixer: No such file or directory
>>>

So I can confirm the problem. I'll try to investigate further.
Comment 10 Shlomi Fish 2011-12-19 10:21:55 CET
Hi,

(In reply to comment #9)
> Hi.
> 
> (In reply to comment #6)
> > There is not the file /dev/mixer
> > My sound card is :
> > MCP61 High Definition Audio nVidia Corporation
> > with the driver snd_hda_intel
> 
> OK, I enabled PulseAudio in draksound and then logged out and logged in to LXDE
> (using startx) and aumix worked fine. However, after I rebooted (with
> PulseAudio still enabled), and logged into LXDE, then aumix now says:
> 
> <<<
> shlomif@telaviv1:~$ aumix
> aumix:  error opening mixer: No such file or directory
> >>>
> 
> So I can confirm the problem. I'll try to investigate further.

according to https://wiki.archlinux.org/index.php/PulseAudio , aumix is an OSS (open sound system) program and as a result when PulseAudio is in use, it needs to be invoked using "padsp aumix". I tried it and it is working. Now the question is how to permanently solve this problem. Maybe by making /usr/bin/aumix a shell script that will test for the lack of availability of /dev/mixer and, if so, run it using padsp. (Yes, I know it would be evil.). 

You may also wish to consider using a different mixer program.

Regards,

-- Shlomi Fish
Comment 11 Marja Van Waes 2011-12-19 16:43:09 CET
(In reply to comment #8)
> 
> It sounds strange that you cannot install anything. You can stop using KDE for
> the time being and use something that does not depend on MySQL/MariaDB.  
> 
@ Shlomi
You're right, before I could see which process was using so much memory, I had "upgraded" my Mga2alpha2 with the Mga2alpha2 DVD to see whether that would help. Then, after finding out it was mysqld that was eating my memory, I was so focused on that, that I forgot about bug 3458. Fixed now, so I can install aumix (I dislike using the DVD to install individual packages so much, that I didn't even look to see whether it is on it). But I guess I don't need to install aumix anymore, because you confirmed the bug.

(In reply to comment #10)
> 
> according to https://wiki.archlinux.org/index.php/PulseAudio , aumix is an OSS
> (open sound system) program and as a result when PulseAudio is in use, it needs
> to be invoked using "padsp aumix". I tried it and it is working. Now the
> question is how to permanently solve this problem. Maybe by making
> /usr/bin/aumix a shell script that will test for the lack of availability of
> /dev/mixer and, if so, run it using padsp. (Yes, I know it would be evil.). 
> 
> You may also wish to consider using a different mixer program.

Which mixer program would you recommend Jacques to try?
Comment 12 Shlomi Fish 2011-12-19 16:47:37 CET
> > You may also wish to consider using a different mixer program.
> 
> Which mixer program would you recommend Jacques to try?

Well, I'm using kmix on KDE, and I've heard recommendations for pavucontrol and alsamixer, and the LXDE project may have their own mixer.
Comment 13 Shlomi Fish 2011-12-23 10:17:55 CET
@Jacques: can you confirm that it is working for you?

Regards,

-- Shlomi Fish
Comment 14 Shlomi Fish 2011-12-23 14:07:19 CET
Hi,

(In reply to comment #13)
> @Jacques: can you confirm that it is working for you?
> 

I meant whether the "padsp aumix" workaround is working fine for you, and whether you can consider using more modern mixers instead.

Regards,

-- Shlomi Fish

> Regards,
> 
> -- Shlomi Fish
Comment 15 Jacques Pronchery 2011-12-23 22:20:30 CET
Yes it is working.
There is a mixer with LXDE and with pavucontrol it's good.
You can delete aumix for LXDE.
Comment 16 Marja Van Waes 2011-12-23 23:09:27 CET
(In reply to comment #15)
> Yes it is working.
> There is a mixer with LXDE and with pavucontrol it's good.
> You can delete aumix for LXDE.

@ Jacques

Thanks for the feedback.

Since your the only user who reported this issue, I'll close this bug report as wontfix.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.