On Sun, Aug 17, 2014 at 07:24:17AM +0800, Long Wind wrote: > My sound card can play sound, but can't record it > > dmesg related to sound card: > > isapnp0 at isa0 port 0x279: read port 0x203 > sb1 at isapnp0 "Creative ViBRA16C PnP, CTL0001, , Audio" port > 0x220/16,0x330/2,0x388/4 irq 5 drq 1,5: dsp v4.13 > midi0 at sb1: <SB MPU-401 UART> > audio0 at sb1 > opl at sb1 not configured > joy0 at isapnp0 "Creative ViBRA16C PnP, CTL7001, PNPB02F, Game" port 0x200/8 > > It's ISA sound blaster, I don't know why it's called sb1, not sb0 >
sb0 is reserved for the first non-pnp card. > When I run aucat -o t2.wav, it says > snd0: default: failed to open audio device This card is not full-duplex at 44.1kHz (afaics the default) so it's used in play-only mode by default, thus recording doesn't work. You could either try to use mono at 22.05kHz (or at whatever rate and/or channel count full-duplex works), or switch between play-only and record-only modes (possibly register two devices in sndiod one play-only and one record-only).