recording SPDIF_IN for VIA VT1708 on pico-itx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pci@0000: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
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux