LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   asound.conf adrsound advanced config (https://www.linuxquestions.org/questions/linux-hardware-18/asound-conf-adrsound-advanced-config-702757/)

phanohanover 02-06-2009 10:46 AM

asound.conf adrsound advanced config
 
Hi everyone,

My name is Stephane.

Me and my family have switched over to Linux lately.
I have been playing on that OS for awhile but more seriously in the last year.

I wonder if you guys could help me out.
I decided to take a chance in asking!

Here is what I have:

(all stations are Mythbuntu 8.04)

Station “SALON” is the main server for Mythtv (standard PC configured accordingly) Station “BISTRO” configured has a slave backend for Mythtv Station “CHAMBRE” is a frontend only running on a Koolu thin client Station “BISTROBAR” is a frontend only for mythtv (main computer of the house for various applications) Station “ENFANTS” used has a frontend only / gaming PC for the kids as well

If you can help me with 1 station, I’ll figure out the rest for the other stations…

Two stations are problematic:

The BISTROBAR pc has an MAUDIO pci audio card has well has the onboard audio.
I am using the onboard audio mainly. I have not yet started playing with the MAUDIO.
I have a tv using 1/8” jack (plug on a regular splitter) and 1/8” that is connected to my mixer for Karaoke…!
These 2 work good. I am also using the spdif out to feed a little AC3 amp that plays on surround speakers For movie purposes in the same room (just a simple installation for convenience).

My server SALON is connected to spdif only for cinematographic purposes. I would like but I am not using The analog output yet.

I am able to have either one analog or digital out working on both PC’s.
However, the digital out sound poor has it uses hw0,1 (I think).

I have made a test in switching the 0,1 to 0,3 or 0,4 (not sure) to get the perfect digital sound out of it.
It worked good!
Bad point, I lost the analog output.
I had to switch it back to original settings.

I guess you get were I am going with this…

I have asound.conf and asound.adrsound.conf configured (needing revue I guess) on both stations.

I have attached the files so you can look at them.
The SI7012 is SALON and the I82801DBICH4 is the BISTROBAR.

I would like both PC’s to use the analog side and the spdif hw0, 2 or 3 (not sure which 2 or 3 it is) at all time.
Could you indicate me what settings should be written in the config files?

One last thing:
On all my stations, sometimes, when I reboot or fter a crash or for some other reasons, the volume slides changes As well as the IEC958 that changes and then stop spitting out my digital sound. I have to play with the slides again and again each time… Is there a way to make it come back to a particular settings everytime it reboots?

Hopefully you guys can help me has my wife is getting desperate of the situation up to a point where she almost refuse to use the PC’s!

Wife: “… It never works your computers thing …switch back to windows…it’ll be easier for everyone…”

See what I mean !!!

Many thanks and best regards

.asoundrc (same for both stations)

# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/stephane/.asoundrc.asoundconf>


asound.conf for BISTROBAR is empty
asound.conf for SALON:

pcm.!default spdif
#pcm "hw:0,1"


.asoundrc.asoundconf for SALON:
# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card SI7012
defaults.ctl.card SI7012
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format S16_LE
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off

.asoundrc.asoundconf for BISTROBAR:

# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card I82801DBICH4
defaults.ctl.card I82801DBICH4
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format S16_LE
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 1
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off

Many thanks in advance to anyone who can help me out.


All times are GMT -5. The time now is 02:37 AM.