All of lore.kernel.org
 help / color / mirror / Atom feed
* Fedora system-config-soundcard generating broken configs?
@ 2006-05-17  0:15 Lee Revell
  2006-05-17  1:21 ` Fernando Lopez-Lezcano
  0 siblings, 1 reply; 9+ messages in thread
From: Lee Revell @ 2006-05-17  0:15 UTC (permalink / raw)
  To: alsa-devel

This is from a bug report from an FC5 user:

------- /etc/asound.conf --------
#Generated by system-config-soundcard, do not edit by hand
#HWCONF
#DEV 0
pcm.!default { type hw card 0 device 0 } 
ctl.!default { type hw card 0 }

Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
dsnoop, etc to be bypassed?

Lee



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17  0:15 Fedora system-config-soundcard generating broken configs? Lee Revell
@ 2006-05-17  1:21 ` Fernando Lopez-Lezcano
  2006-05-17  2:00   ` Lee Revell
  0 siblings, 1 reply; 9+ messages in thread
From: Fernando Lopez-Lezcano @ 2006-05-17  1:21 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel

On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> This is from a bug report from an FC5 user:
> 
> ------- /etc/asound.conf --------
> #Generated by system-config-soundcard, do not edit by hand
> #HWCONF
> #DEV 0
> pcm.!default { type hw card 0 device 0 } 
> ctl.!default { type hw card 0 }
> 
> Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> dsnoop, etc to be bypassed?

Yup. 

On the control panel there is a button that actually says something like
"disable dmix and dsnoop" and if you click there that's what you get. I
just tried to be sure. If you uncheck it you get a normal (I hope)
asound.conf again.

-- Fernando




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17  1:21 ` Fernando Lopez-Lezcano
@ 2006-05-17  2:00   ` Lee Revell
  2006-05-17  5:18     ` Adam Tlałka
  2006-05-17 19:05     ` Fernando Lopez-Lezcano
  0 siblings, 2 replies; 9+ messages in thread
From: Lee Revell @ 2006-05-17  2:00 UTC (permalink / raw)
  To: Fernando Lopez-Lezcano; +Cc: alsa-devel

On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
> On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> > This is from a bug report from an FC5 user:
> > 
> > ------- /etc/asound.conf --------
> > #Generated by system-config-soundcard, do not edit by hand
> > #HWCONF
> > #DEV 0
> > pcm.!default { type hw card 0 device 0 } 
> > ctl.!default { type hw card 0 }
> > 
> > Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> > dsnoop, etc to be bypassed?
> 
> Yup. 
> 
> On the control panel there is a button that actually says something like
> "disable dmix and dsnoop" and if you click there that's what you get. I
> just tried to be sure. If you uncheck it you get a normal (I hope)
> asound.conf again.

What's the default?

And, shouldn't it have a better label than "disable dmix and dsnoop"?
Like "Prevent multiple applications from accessing the sound device"?

Lee



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17  2:00   ` Lee Revell
@ 2006-05-17  5:18     ` Adam Tlałka
  2006-05-17 10:12       ` Takashi Iwai
  2006-05-17 19:05     ` Fernando Lopez-Lezcano
  1 sibling, 1 reply; 9+ messages in thread
From: Adam Tlałka @ 2006-05-17  5:18 UTC (permalink / raw)
  To: alsa-devel

On Tue, May 16, 2006 at 10:00:40PM -0400, Lee Revell wrote:
> On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
> > On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> > > This is from a bug report from an FC5 user:
> > > 
> > > ------- /etc/asound.conf --------
> > > #Generated by system-config-soundcard, do not edit by hand
> > > #HWCONF
> > > #DEV 0
> > > pcm.!default { type hw card 0 device 0 } 
> > > ctl.!default { type hw card 0 }
> > > 
> > > Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> > > dsnoop, etc to be bypassed?
> > 
> > Yup. 
> > 
> > On the control panel there is a button that actually says something like
> > "disable dmix and dsnoop" and if you click there that's what you get. I
> > just tried to be sure. If you uncheck it you get a normal (I hope)
> > asound.conf again.
> 
> What's the default?
> 
> And, shouldn't it have a better label than "disable dmix and dsnoop"?
> Like "Prevent multiple applications from accessing the sound device"?
> 

Better would be "Prevent multiple access software emulation"
because in case of hardware mixing capable cards it works anyway and one
app can open many streams by itself too.

Regards
-- 
Adam Tlałka       mailto:atlka@pg.gda.pl    ^v^ ^v^ ^v^
PGP public key:   finger atlka@sunrise.pg.gda.pl


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17  5:18     ` Adam Tlałka
@ 2006-05-17 10:12       ` Takashi Iwai
  2006-05-17 13:00         ` Martin Stransky
  0 siblings, 1 reply; 9+ messages in thread
From: Takashi Iwai @ 2006-05-17 10:12 UTC (permalink / raw)
  To: Adam Tlałka; +Cc: alsa-devel

At Wed, 17 May 2006 07:18:38 +0200,
Adam Tlałka wrote:
> 
> On Tue, May 16, 2006 at 10:00:40PM -0400, Lee Revell wrote:
> > On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
> > > On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> > > > This is from a bug report from an FC5 user:
> > > > 
> > > > ------- /etc/asound.conf --------
> > > > #Generated by system-config-soundcard, do not edit by hand
> > > > #HWCONF
> > > > #DEV 0
> > > > pcm.!default { type hw card 0 device 0 } 
> > > > ctl.!default { type hw card 0 }
> > > > 
> > > > Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> > > > dsnoop, etc to be bypassed?
> > > 
> > > Yup. 
> > > 
> > > On the control panel there is a button that actually says something like
> > > "disable dmix and dsnoop" and if you click there that's what you get. I
> > > just tried to be sure. If you uncheck it you get a normal (I hope)
> > > asound.conf again.
> > 
> > What's the default?
> > 
> > And, shouldn't it have a better label than "disable dmix and dsnoop"?
> > Like "Prevent multiple applications from accessing the sound device"?
> > 
> 
> Better would be "Prevent multiple access software emulation"
> because in case of hardware mixing capable cards it works anyway and one
> app can open many streams by itself too.

The dmix isn't used for such cards as default.
Actually, the default-dmix is set up only for cards which are really
needed and confirmed to work.


Takashi


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17 10:12       ` Takashi Iwai
@ 2006-05-17 13:00         ` Martin Stransky
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Stransky @ 2006-05-17 13:00 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel, Adam Tlałka

The formulation in system-config-soudcard ("Disable sw mixing") isn't 
absolutely clear but I can't find a better one, any suggestions are 
welcome. The default /etc/asound.conf in Fedora is:

defaults.pcm.card 0
defaults.pcm.device 0
defaults.ctl.card 0

Martin

Takashi Iwai wrote:
> At Wed, 17 May 2006 07:18:38 +0200,
> Adam Tlałka wrote:
> 
>>On Tue, May 16, 2006 at 10:00:40PM -0400, Lee Revell wrote:
>>
>>>On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
>>>
>>>>On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
>>>>
>>>>>This is from a bug report from an FC5 user:
>>>>>
>>>>>------- /etc/asound.conf --------
>>>>>#Generated by system-config-soundcard, do not edit by hand
>>>>>#HWCONF
>>>>>#DEV 0
>>>>>pcm.!default { type hw card 0 device 0 } 
>>>>>ctl.!default { type hw card 0 }
>>>>>
>>>>>Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
>>>>>dsnoop, etc to be bypassed?
>>>>
>>>>Yup. 
>>>>
>>>>On the control panel there is a button that actually says something like
>>>>"disable dmix and dsnoop" and if you click there that's what you get. I
>>>>just tried to be sure. If you uncheck it you get a normal (I hope)
>>>>asound.conf again.
>>>
>>>What's the default?
>>>
>>>And, shouldn't it have a better label than "disable dmix and dsnoop"?
>>>Like "Prevent multiple applications from accessing the sound device"?
>>>
>>
>>Better would be "Prevent multiple access software emulation"
>>because in case of hardware mixing capable cards it works anyway and one
>>app can open many streams by itself too.
> 
> 
> The dmix isn't used for such cards as default.
> Actually, the default-dmix is set up only for cards which are really
> needed and confirmed to work.
> 
> 
> Takashi
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd_______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x120709&bid&3057&dat\x121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17  2:00   ` Lee Revell
  2006-05-17  5:18     ` Adam Tlałka
@ 2006-05-17 19:05     ` Fernando Lopez-Lezcano
  2006-05-17 22:31       ` Lee Revell
  1 sibling, 1 reply; 9+ messages in thread
From: Fernando Lopez-Lezcano @ 2006-05-17 19:05 UTC (permalink / raw)
  To: Lee Revell; +Cc: alsa-devel

On Tue, 2006-05-16 at 22:00 -0400, Lee Revell wrote:
> On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
> > On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> > > This is from a bug report from an FC5 user:
> > > 
> > > ------- /etc/asound.conf --------
> > > #Generated by system-config-soundcard, do not edit by hand
> > > #HWCONF
> > > #DEV 0
> > > pcm.!default { type hw card 0 device 0 } 
> > > ctl.!default { type hw card 0 }
> > > 
> > > Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> > > dsnoop, etc to be bypassed?
> > 
> > Yup. 
> > 
> > On the control panel there is a button that actually says something like
> > "disable dmix and dsnoop" and if you click there that's what you get. I
> > just tried to be sure. If you uncheck it you get a normal (I hope)
> > asound.conf again.
> 
> What's the default?

AFAIK the box is not checked by default, ie: dmix and dsnoop and
enabled. 

> And, shouldn't it have a better label than "disable dmix and dsnoop"?
> Like "Prevent multiple applications from accessing the sound device"?

It actually says "Disable software mixing (dmix, dsnoop)". Sorry, it is
not the computer I'm using and I could not remember the exact text. 

-- Fernando




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17 19:05     ` Fernando Lopez-Lezcano
@ 2006-05-17 22:31       ` Lee Revell
  2006-05-18  9:24         ` Takashi Iwai
  0 siblings, 1 reply; 9+ messages in thread
From: Lee Revell @ 2006-05-17 22:31 UTC (permalink / raw)
  To: Fernando Lopez-Lezcano; +Cc: alsa-devel

On Wed, 2006-05-17 at 12:05 -0700, Fernando Lopez-Lezcano wrote:
> On Tue, 2006-05-16 at 22:00 -0400, Lee Revell wrote:
> > On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
> > > On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> > > > This is from a bug report from an FC5 user:
> > > > 
> > > > ------- /etc/asound.conf --------
> > > > #Generated by system-config-soundcard, do not edit by hand
> > > > #HWCONF
> > > > #DEV 0
> > > > pcm.!default { type hw card 0 device 0 } 
> > > > ctl.!default { type hw card 0 }
> > > > 
> > > > Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> > > > dsnoop, etc to be bypassed?
> > > 
> > > Yup. 
> > > 
> > > On the control panel there is a button that actually says something like
> > > "disable dmix and dsnoop" and if you click there that's what you get. I
> > > just tried to be sure. If you uncheck it you get a normal (I hope)
> > > asound.conf again.
> > 
> > What's the default?
> 
> AFAIK the box is not checked by default, ie: dmix and dsnoop and
> enabled. 
> 

So if the box is not checked then /etc/alsa.conf is not created and it
falls through to the definition in /usr/share/alsa/cards/$DRIVER.conf?

> > And, shouldn't it have a better label than "disable dmix and dsnoop"?
> > Like "Prevent multiple applications from accessing the sound device"?
> 
> It actually says "Disable software mixing (dmix, dsnoop)". Sorry, it is
> not the computer I'm using and I could not remember the exact text. 

It seems to me that this will disable a bunch of other things also
(resampling, etc).

Lee



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

* Re: Fedora system-config-soundcard generating broken configs?
  2006-05-17 22:31       ` Lee Revell
@ 2006-05-18  9:24         ` Takashi Iwai
  0 siblings, 0 replies; 9+ messages in thread
From: Takashi Iwai @ 2006-05-18  9:24 UTC (permalink / raw)
  To: Lee Revell; +Cc: Fernando Lopez-Lezcano, alsa-devel

At Wed, 17 May 2006 18:31:57 -0400,
Lee Revell wrote:
> 
> On Wed, 2006-05-17 at 12:05 -0700, Fernando Lopez-Lezcano wrote:
> > On Tue, 2006-05-16 at 22:00 -0400, Lee Revell wrote:
> > > On Tue, 2006-05-16 at 18:21 -0700, Fernando Lopez-Lezcano wrote:
> > > > On Tue, 2006-05-16 at 20:15 -0400, Lee Revell wrote:
> > > > > This is from a bug report from an FC5 user:
> > > > > 
> > > > > ------- /etc/asound.conf --------
> > > > > #Generated by system-config-soundcard, do not edit by hand
> > > > > #HWCONF
> > > > > #DEV 0
> > > > > pcm.!default { type hw card 0 device 0 } 
> > > > > ctl.!default { type hw card 0 }
> > > > > 
> > > > > Wouldn't this cause the default PCM to be hw:0,0, and cause dmix,
> > > > > dsnoop, etc to be bypassed?
> > > > 
> > > > Yup. 
> > > > 
> > > > On the control panel there is a button that actually says something like
> > > > "disable dmix and dsnoop" and if you click there that's what you get. I
> > > > just tried to be sure. If you uncheck it you get a normal (I hope)
> > > > asound.conf again.
> > > 
> > > What's the default?
> > 
> > AFAIK the box is not checked by default, ie: dmix and dsnoop and
> > enabled. 
> > 
> 
> So if the box is not checked then /etc/alsa.conf is not created and it
> falls through to the definition in /usr/share/alsa/cards/$DRIVER.conf?
> 
> > > And, shouldn't it have a better label than "disable dmix and dsnoop"?
> > > Like "Prevent multiple applications from accessing the sound device"?
> > 
> > It actually says "Disable software mixing (dmix, dsnoop)". Sorry, it is
> > not the computer I'm using and I could not remember the exact text. 
> 
> It seems to me that this will disable a bunch of other things also
> (resampling, etc).

Yes.  I don't see reasons to do in the system level.  For JACK
configuration?


Takashi


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

end of thread, other threads:[~2006-05-18  9:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17  0:15 Fedora system-config-soundcard generating broken configs? Lee Revell
2006-05-17  1:21 ` Fernando Lopez-Lezcano
2006-05-17  2:00   ` Lee Revell
2006-05-17  5:18     ` Adam Tlałka
2006-05-17 10:12       ` Takashi Iwai
2006-05-17 13:00         ` Martin Stransky
2006-05-17 19:05     ` Fernando Lopez-Lezcano
2006-05-17 22:31       ` Lee Revell
2006-05-18  9:24         ` 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.