LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-06-2009, 10:46 AM   #1
phanohanover
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Red face 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changes to HCL to show user-specific config, advanced organization, and desktops kittehz LQ Suggestions & Feedback 2 02-07-2009 07:43 PM
Making progs use definitions in asound.conf? tuxedo-notebook Linux - Hardware 4 03-20-2006 02:16 PM
Config Error: Error accessing config file: /etc/yum.conf dr_zayus69 Linux - Software 2 01-17-2006 05:20 PM
/etc/hosts, /etc/resolve.conf and /etc/host.conf config probs below_average Linux - Networking 1 12-08-2004 10:07 PM
Need help for ALSA Sound /etc/asound.conf or .asoundrc tho_x_tran Linux - Hardware 0 08-09-2004 02:34 PM


All times are GMT -5. The time now is 03:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration