All of lore.kernel.org
 help / color / mirror / Atom feed
* alsaconf checking for OSS modules
@ 2004-07-23 14:52 Florian Schmidt
  2004-07-26 12:03 ` Ferenc Wagner
  2004-07-27 13:59 ` Takashi Iwai
  0 siblings, 2 replies; 3+ messages in thread
From: Florian Schmidt @ 2004-07-23 14:52 UTC (permalink / raw)
  To: alsa-devel


Hi

i think quite a bit of trouble could be saved if the alsaconf script would check if any OSS modules are loaded. I think it's enough to spit out an error to the user. rmmod'ing them would fail in most cases anyways since users that use alsaconf usually run some desktop environment like kde or gnome, too. And these like to keep the modules busy with their mixer applets, sound servers, etc...

What do you guys think?

Flo

-- 
Palimm Palimm!
http://affenbande.org/~tapas/



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: alsaconf checking for OSS modules
  2004-07-23 14:52 alsaconf checking for OSS modules Florian Schmidt
@ 2004-07-26 12:03 ` Ferenc Wagner
  2004-07-27 13:59 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Ferenc Wagner @ 2004-07-26 12:03 UTC (permalink / raw)
  To: alsa-devel

Florian Schmidt <mista.tapas@gmx.net> writes:

> i think quite a bit of trouble could be saved if the
> alsaconf script would check if any OSS modules are loaded.
> I think it's enough to spit out an error to the user.

Yes, definitely.  The alsaconf behaviour is somewhat
confusing as it correctly identifies the card and then fails
to load the modules showing the error message from a couple
of seconds only.
-- 
Feri.


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: alsaconf checking for OSS modules
  2004-07-23 14:52 alsaconf checking for OSS modules Florian Schmidt
  2004-07-26 12:03 ` Ferenc Wagner
@ 2004-07-27 13:59 ` Takashi Iwai
  1 sibling, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2004-07-27 13:59 UTC (permalink / raw)
  To: Florian Schmidt; +Cc: alsa-devel

At Fri, 23 Jul 2004 16:52:13 +0200,
Florian Schmidt wrote:
> 
> 
> Hi
> 
> i think quite a bit of trouble could be saved if the alsaconf script
> would check if any OSS modules are loaded. I think it's enough to spit
> out an error to the user. rmmod'ing them would fail in most cases
> anyways since users that use alsaconf usually run some desktop
> environment like kde or gnome, too. And these like to keep the modules
> busy with their mixer applets, sound servers, etc... 
> 
> What do you guys think?

Well, it's not so easy to find out the running OSS module name.

A possible solution would be to parse the output of lsmod and
check the dependency of soundcore module.  But, we need to take it
into account that lsmod output format is different between 2.4 and
2.6.  Sigh...


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-27 13:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23 14:52 alsaconf checking for OSS modules Florian Schmidt
2004-07-26 12:03 ` Ferenc Wagner
2004-07-27 13:59 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.