Optic Digital Is wired up:
Motherboard User manual shows SPDIF_IN on pin 17 of the "Audio
Connector" block, and the Serener GS-L08 case run that pin to the pink
optic audio jack. The PSDIF_OUT is on another pin on another connector,
and runs to nothing, so I can't use it.
Is the VIA VT1708 a strange audio card or what? It uses the
snd_hda_intel driver, but /proc/asound/cards makes it look like it
should use the VT82XX:
0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx
HDA VIA VT82xx at 0x9fffc000 irq 20
I rebuilt the kernel without support for:
<> VIA 82C686A/B, 8233/8235 AC97 Controller
<> VIA 82C686A/B, 8233 based Modems
and I can still play sound through head phones (sounds great).
On Sat, 2007-12-15 at 22:06 -0800, John Stile wrote:
> Trying to record optic audio in.
>
> If 'arecord -L' only shows one iec958 as "Digital Audio Output", will I
> be able to record?
>
> Output from 'arecord -l' shows hw:0,1, so I have tired many things, but
> it feels like I'm guessing.
>
> alsamix -> F4 shows:
> "< IEC9 8 >" "Capture", "Capture", "Digital", "Input So"
>
> >From some reading, I tried to set "Input So" to line, with no luck.
>
> I have tried many arecord incantations:
> arecord -D hw:0,1 -f dat -t wave -d10 foo.wav
>
> Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 48000 Hz,
> Stereo
> arecord: pcm_read:1347: read error: Input/output error
>
> arecord -D cards.pcm.iec958 -f dat -t wav -d10 foo.wav
>
> Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
> Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
> arecord: pcm_read:1347: read error: Input/output error
>
> arecord -d 10 -f cd -t wav -D copy foobar.wav
>
> Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
> Stereo
>
> arecord -d 10 -f dat -t wav -D copy foobar.wav
>
> Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 48000 Hz,
> Stereo
>
> ---------------
> System Details:
> ---------------
> Sound card: Embedded VIA VT1708 on pico-itx mother board.
> kernel: 2.6.23-gentoo-r3
> Driver: in-kernel alsa
> Kernel ALSA config:
> 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
>
> Installed packages:
> media-libs/alsa-lib-1.0.15
> media-libs/alsa-oss-1.0.15
> media-plugins/alsa-plugins-1.0.15
> media-sound/alsa-firmware-1.0.15
> media-sound/alsa-headers-1.0.15
> media-sound/alsa-tools-1.0.15
> media-sound/alsa-utils-1.0.15
>
> #-------------------------
> arecord -L
>
> 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)
>
> #-------------------------
> arecord -l
>
> **** List of CAPTURE Hardware Devices ****
> card 0: VT82xx [HDA VIA VT82xx], device 0: VT1708 Analog [VT1708 Analog]
> Subdevices: 2/2
> Subdevice #0: subdevice #0
> Subdevice #1: subdevice #1
> card 0: VT82xx [HDA VIA VT82xx], device 1: VT1708 Digital [VT1708
> Digital]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
> #-------------------------
> amixer info
>
> Card default 'VT82xx'/'HDA VIA VT82xx at 0x9fffc000 irq 20'
> Mixer name : 'VIA VIA VT1708'
> Components : 'HDA:11061708'
> Controls : 21
> Simple ctrls : 10
>
> #-------------------------
> /usr/bin/mhwaveedit
>
> <ALSA recording buffer overrun>
> <ALSA recording buffer overrun>
> <ALSA recording buffer overrun>
> <ALSA recording buffer overrun>
> #-------------------------
> lshw
> <SNIP>
> *-multimedia
> description: Audio device
> product: VIA High Definition Audio Controller
> vendor: VIA Technologies, Inc.
> physical id: 1
> bus info: [EMAIL PROTECTED]:80:01.0
> version: 10
> width: 64 bits
> clock: 33MHz
> capabilities: pm msi pciexpress bus_master cap_list
> configuration: driver=HDA Intel latency=0 module=snd_h
> </SNIP>
> #--------------------------
> cat ~/.asoundrc
> pcm.!default {
> type plug
> slave {
> rate 48000
> pcm "spdif"
> }
> }
> pcm.copy {
> type plug
> slave {
> pcm hw
> }
> route_policy copy
> }
> #--------------------------
>
>
>
> -------------------------------------------------------------------------
> 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