Skip to contentSkip to conversation

Fedora system-config-soundcard generating broken configs?

DISCUSSION Lee Revell 5 participants 9 messages May 17, 2006 – May 18, 2006

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

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

#1 lore raw
Quoted 11 lines · Lee Revell

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

author
#2 lore raw
Quoted 13 lines · Fernando Lopez-Lezcano
Quoted 11 lines · Lee Revell

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?

Quoted 6 lines

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

#3 lore raw
Quoted 21 lines · Lee Revell
Quoted 13 lines · Fernando Lopez-Lezcano
Quoted 11 lines · Lee Revell

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?

Quoted 6 lines

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.

Quoted 5 lines

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

Signature · 9 lines
Adam Tlałka       mailto:[email protected]    ^v^ ^v^ ^v^
PGP public key:   finger [email protected]


-------------------------------------------------------
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&kid0709&bid&3057&dat1642
#4 lore raw

At Wed, 17 May 2006 07:18:38 +0200,

Quoted 25 lines · Adam Tlałka
Quoted 23 lines · Lee Revell
Quoted 13 lines · Fernando Lopez-Lezcano
Quoted 11 lines · Lee Revell

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?

Quoted 6 lines

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?

Quoted 7 lines
Quoted 3 lines

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&kid0709&bid&3057&dat1642

#5 lore raw

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

Quoted 46 lines · Takashi Iwai

At Wed, 17 May 2006 07:18:38 +0200,

Quoted 26 lines · Adam Tlałka
Quoted 24 lines · Lee Revell
Quoted 13 lines · Fernando Lopez-Lezcano
Quoted 10 lines · Lee Revell

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?

Quoted 6 lines

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?

Quoted 7 lines
Quoted 3 lines

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

Quoted 9 lines

-------------------------------------------------------
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
[email protected]
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&kid0709&bid&3057&dat1642

#6 lore raw
In reply to Lee Revell
Quoted 14 lines · Lee Revell
Quoted 13 lines · Fernando Lopez-Lezcano
Quoted 11 lines · Lee Revell

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?

Quoted 8 lines
Quoted 6 lines

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.

Quoted 2 lines

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

author
#7 lore raw
Quoted 22 lines · Fernando Lopez-Lezcano
Quoted 21 lines · Lee Revell
Quoted 19 lines · Fernando Lopez-Lezcano
Quoted 11 lines · Lee Revell

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.

Quoted 5 lines
Quoted 1 line

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?

Quoted 5 lines
Quoted 2 lines

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

#8 lore raw

At Wed, 17 May 2006 18:31:57 -0400,

Quoted 33 lines · Lee Revell
Quoted 22 lines · Fernando Lopez-Lezcano
Quoted 21 lines · Lee Revell
Quoted 19 lines · Fernando Lopez-Lezcano
Quoted 11 lines · Lee Revell

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.

Quoted 5 lines
Quoted 1 line

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?

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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