Re: [mythtv-users] looking for A7N8X-E sound advice

2005-03-14 Thread Reza Naima
are you able to record and playback via the s/pdif connector?  I know
that the record connector is a header on the motherboard itself,
thinking of just making an adaptor myself as I've no idea where I can
buy the special board that plugs into it.

Reza

On Fri, Jan 21, 2005 at 04:43:39AM -0800, Todd Tidwell sent me this...
 Go here: http://www.mythtv.info/moin.cgi/DigitalSoundHowTo
 
 It has a great asoundrc file that has been running fantastically for me on
 my A7n8x deluxe for nearly 9 months.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of John Freer
 Sent: Wednesday, January 19, 2005 5:45 PM
 To: mythtv-users@mythtv.org
 Subject: [mythtv-users] looking for A7N8X-E sound advice
 
 Hey all:
 
 Wondering if someone could give me suggestions on how to best get the
 A7N8X-E Deluxe's SPDIF port working.
 
 Fresh FC3 install
 
 Would appreciate a copy of someone's .asoundrc file and any special
 modprobe.conf entries of note.
 
 I've been going over the alsa postings for the 810 module, but
 haven't found a working combination yet.
 
 Thanks a lot.
 
 JF
 
 
 

 ___
 mythtv-users mailing list
 mythtv-users@mythtv.org
 http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] looking for A7N8X-E sound advice

2005-03-14 Thread Jim Oltman
I bought the plug on ebay.  Of course, I haven't used it yet.  Here is
my modprobe.conf for my A7N8X-E DLX.

alias eth0 sk98lin
alias eth1 forcedeth
alias snd-card-0 snd-intel8x0
options snd-card-0 index=0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 
/usr/sbin/alsactl restore /dev/null 21 || :
remove snd-intel8x0 { /usr/sbin/alsactl store /dev/null 21 || : ;
}; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd

Instead of a .asound, I made an asound.conf and placed it in the /etc
directory.  It works PERFECTLY for me.  You just have to make sure to
specify the correct settings in MythFrontend for MythTV and for
MythMusic.

# Override the default output used by ALSA.
# If you do not override the default, your default
# device is identical to the (unmixed) analog device
# shown below.  If you prefer mixed and/or digital
# output, uncomment the appropriate four lines below
# (only one slave.pcm line).
pcm.!default {
  type plug
## Uncomment the following to use mixed analog by default
#  slave.pcm dmix-analog
## Uncomment the following to use unmixed digital by default
  slave.pcm digital-hw
## Uncomment the following to use mixed digital by default
#  slave.pcm dmix-digital
}

# Alias for analog output on the nForce2 (hw:0,0)
# - This is identical to the device named default--which
# always exists and refers to hw:0,0 (unless overridden)
# - Therefore, we can specify hw:0,0, default, or analog
# to access analog output on the nForce2
pcm.analog {
 type plug
 slave.pcm analog-hw
}

# Control device (mixer, etc.) for the nForce2 card
ctl.analog {
 type hw
 card 0
}

# Alias for (rate-converted) mixed analog output on the
# nForce2 (hw:0,0)
#  - This will accept audio input--regardless of rate--and
# convert to the rate required for the dmix plugin
# (in this case 48000Hz)
pcm.mixed-analog {
 type plug
 slave.pcm dmix-analog
}

# Control device (mixer, etc.) for the nForce2 card
ctl.mixed-analog {
 type hw
 card 0
}

# Alias for (rate-converted) digital (S/PDIF) output on the
# nForce2 (hw:0,2)
#  - This will accept audio input--regardless of rate--and
# convert to the rate required for the S/PDIF hardware
# (in this case 48000Hz)
pcm.digital {
 type plug
 slave.pcm digital-hw
}

# Control device (mixer, etc.) for the nForce2 card
ctl.digital {
 type hw
 card 0
}

# Alias for mixed (rate-converted) digital (S/PDIF) output on the
# nForce2 (hw:0,2)
#  - This will accept audio input--regardless of rate--and
# convert to the rate required for the S/PDIF hardware
# (in this case 48000Hz)
pcm.mixed-digital {
 type plug
 slave.pcm dmix-digital
}

# Control device (mixer, etc.) for the nForce2 card
ctl.mixed-digital {
 type hw
 card 0
}

# The following devices are not useful by themselves.  They
# require specific rates, channels, and formats.  Therefore,
# you probably do not want to use them directly.  Instead use
# of of the devices defined above.

# Alias for analog output on the nForce2 (hw:0,0)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.analog-hw {
 type hw
 card 0
 # The default value for device is 0, so no need to specify
}

# Control device (mixer, etc.) for the nForce2 card
ctl.analog-hw {
 type hw
 card 0
}

# Alias for digital (S/PDIF) output on the nForce2 (hw:0,2)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.digital-hw {
 type hw
 card 0
 device 2
}

# Control device (mixer, etc.) for the nForce2 card
ctl.digital-hw {
 type hw
 card 0
}

# Direct software mixing plugin for analog output on
# the nForce2 (hw:0,0)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.dmix-analog {
 type dmix
 ipc_key 1234
 slave {
   pcm analog-hw
   period_time 0
   period_size 1024
   buffer_size 4096
   rate 48000
 }
}

# Control device (mixer, etc.) for the nForce2 card
ctl.dmix-analog {
 type hw
 card 0
}

# Direct software mixing plugin for digital (S/PDIF) output
# on the nForce2 (hw:0,2)
# Do not use this directly--it requires specific rate,
# channels, and format
pcm.dmix-digital {
 type dmix
 ipc_key 1235
 slave {
   pcm digital-hw
   period_time 0
   period_size 1024
   buffer_size 4096
   rate 48000
 }
}

# Control device (mixer, etc.) for the nForce2 card
ctl.dmix-digital {
 type hw
 card 0
}

In MythTVFrontend ---Setup for the audio device I put in ALSA:digital
(this is my default setting in the asound.conf above).  For the mixer
device, I put in:  default.  For MythMusic setup I did the same thing,
ALSA:digital.  I am not sitting in front of my machine right now or I
would have the exact menu structure down.  Good luck!

On Mon, 14 Mar 2005 13:05:56 -0800, Reza Naima [EMAIL PROTECTED] wrote:
 are you able to record and playback via the s/pdif connector?  I know
 that the record connector is a header on the motherboard itself,
 thinking of just making an adaptor myself as I've no idea where I can
 buy the special board that 

Re: [mythtv-users] looking for A7N8X-E sound advice

2005-03-14 Thread Tim Fenn
On Mon, Mar 14, 2005 at 04:25:47PM -0600, Jim Oltman wrote:
 
 alias eth0 sk98lin
 alias eth1 forcedeth
 alias snd-card-0 snd-intel8x0
 options snd-card-0 index=0
 install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 
 /usr/sbin/alsactl restore /dev/null 21 || :
 remove snd-intel8x0 { /usr/sbin/alsactl store /dev/null 21 || : ;
 }; /sbin/modprobe -r --ignore-remove snd-intel8x0
 alias usb-controller ehci-hcd
 alias usb-controller1 ohci-hcd
 

Here's a handy addition:

options snd-pcm-oss dsp_map=2 adsp_map=2

so OSS stuff using /dev/(a)dsp will be piped through the s/pdif
(device 2) as well.

HTH,
Tim

-- 
Morals?  I eat communism and $h!t America, brother.  --Seanbaby
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RE: [mythtv-users] looking for A7N8X-E sound advice

2005-01-21 Thread Todd Tidwell
Go here: http://www.mythtv.info/moin.cgi/DigitalSoundHowTo

It has a great asoundrc file that has been running fantastically for me on
my A7n8x deluxe for nearly 9 months.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Freer
Sent: Wednesday, January 19, 2005 5:45 PM
To: mythtv-users@mythtv.org
Subject: [mythtv-users] looking for A7N8X-E sound advice

Hey all:

Wondering if someone could give me suggestions on how to best get the
A7N8X-E Deluxe's SPDIF port working.

Fresh FC3 install

Would appreciate a copy of someone's .asoundrc file and any special
modprobe.conf entries of note.

I've been going over the alsa postings for the 810 module, but
haven't found a working combination yet.

Thanks a lot.

JF



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] looking for A7N8X-E sound advice

2005-01-19 Thread Andrew Ziobro
John Freer wrote:
Wondering if someone could give me suggestions on how to best get the
A7N8X-E Deluxe's SPDIF port working.
Fresh FC3 install
Would appreciate a copy of someone's .asoundrc file and any special
modprobe.conf entries of note.
I've been going over the alsa postings for the 810 module, but
haven't found a working combination yet.
Thanks a lot.
JF
 

Not sure if this will help, but i just found a neat trick for using the 
SPDIF on the xbox (810 module).
In your /etc/modules.conf: (Gentoo use /etc/conf.d/alsa then 
modules-update) place the following

options snd-pcm-oss dsp_map=0 adsp_map=2
This will place the analog dsp on /dev/dsp and the spdif on /dev/adsp. 
You can then use the standard myth oss drivers.

The only issue is that only one output is active at a time.
Drew

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users