I got a little farther.
Found http://alsa.opensrc.org/DigitalOut
I think I need to send output to hw=0,1 but it still doesn't work.
What am I doing wrong?
Steps completed:
#
# List ALSA playback devices
#
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: VT1708 Analog [VT1708 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: VT82xx [HDA VIA VT82xx], device 1: VT1708 Digital [VT1708
Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
#
# Device Aliases
# List Available playback devices.
#
pico ~ # aplay -L f
default:CARD=VT82xx
HDA VIA VT82xx, VT1708 Analog
Default Audio Device
front:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Analog
Front speakers
surround40:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=VT82xx,DEV=0
HDA VIA VT82xx, VT1708 Digital
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
#
# Find device another way
#
pico ~ # cat /proc/asound/devices
0: [ 0] : control
1: : sequencer
16: [ 0- 0]: digital audio playback
17: [ 0- 1]: digital audio playback
24: [ 0- 0]: digital audio capture
25: [ 0- 1]: digital audio capture
33: : timer
#
# TEST digital out with aplay requries a wav file
# But test still fails
#
pico ~ # aplay -d
hw:0,1
/music/global_psychedelic_trance_vol_4_ambient_side/amphibia__grey_area.wav
mplayer /music/Paul_jaz/Track03.wav -ao alsa:device=hw=0,1
On Thu, 2007-12-13 at 11:50 -0800, John Stile wrote:
> I need help to play optical-audio out from a pico-itx px10000g in a
> Serener GS-L08 case (which has an optical-audio connector).
>
> I connected a Klipsch 5:1 system to the pico case via a standard
> optic-audio cable.
>
> Then I tried aplay and play to send sound out the optic port, but have
> had no success.
>
> This is my first optic audio system, so maybe I'm missing something
> simple.
>
> I turned the volume on the Klipsch system up to +25, and in alsamixer
> all levels where maxed.
>
> In alsamixer, I notice there is no volume level change allowed for
> IEC958, but there is a volume level bar for the other items (Master F,
> PCM, Front, Line, Mic).
>
> Example of what IEC958 looks like in alsamixer.
> ----
> |00|
> ----
> IEC958
>
> I can play sound through head phones attached to the front rca plug.
>
> Details below:
> #-------------------------
> I use the in-kernel snd_hda_intel driver in a 2.6.23-gentoo-r3 kernel,
> with the following options.
>
> Device Drivers --->
> Sound --->
> <*> Sound card support
> Advanced Linux Sound Architecture --->
> <M> Advanced Linux Sound Architecture
> <M> Sequencer support
> < > Sequencer dummy client
> <M> OSS Mixer API
> <M> OSS PCM (digital audio) API
> [*] OSS PCM (digital audio) API - Include plugin system
> [*] OSS Sequencer API
> <M> RTC Timer support
> [*] Use RTC as default sequencer timer
> [ ] Dynamic device file minor numbers
> [*] Support old ALSA API
> [ ] Verbose procfs contents
> [ ] Verbose printk
> [ ] Debug
> Generic devices --->
> PCI devices --->
> <M> Intel HD Audio
> <M> VIA 82C686A/B, 8233/8235 AC97 Controller
> <M> VIA 82C686A/B, 8233 based Modems
> #-------------------------
> I tried versions 1.0.14 and 1.0.15 of the following gentoo alsa packages
>
> media-libs/alsa-lib
> media-libs/alsa-oss
> media-plugins/alsa-plugins
> media-sound/alsa-firmware
> media-sound/alsa-headers
> media-sound/alsa-tools
> media-sound/alsa-utils
> media-sound/alsamixergui
> #-------------------------
> lsmod |grep hda
>
> snd_hda_intel 216732 0
> snd_pcm 47492 2 snd_pcm_oss,snd_hda_intel
> snd 33508 8
> snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer
> snd_page_alloc 10504 2 snd_hda_intel,snd_pcm
> #-------------------------
> lspci -v
>
> 80:01.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio
> Controller (rev 10)
> Subsystem: VIA Technologies, Inc. VIA High Definition Audio
> Controller
> Flags: bus master, fast devsel, latency 0, IRQ 20
> Memory at 9fffc000 (64-bit, non-prefetchable) [size=16K]
> Capabilities: [50] Power Management version 2
> Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
> Queue=0/0 Enable-
> Capabilities: [70] Express Root Complex Integrated Endpoint, MSI
> 00
> Capabilities: [100] Virtual Channel <?>
> #-------------------------
> Alsa mixer shows no volume adjustments for IEC958.
>
> Card: HDA VIA VT82xx
> ?
> Chip: VIA VIA VT1708
> ?
> View: [Playback] Capture All
> ?
> Item: IEC958
>
> ----
> |00|
> ----
> IEC958
> #-------------------------
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Alsa-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/alsa-user
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user