View Single Post
  #1   (View Single Post)  
Old 13th August 2009
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 136
Default Recording sound with external sound card

Hi folks,

I have here a Creative Labs SB0270 Soundblaster:
Code:
uaudio0 at uhub1 port 1 configuration 1 interface 0 "Creative Labs USB Audio" rev 1.10/1.00 addr 2
uaudio0: audio rev 1.00, 13 mixer controls
audio1 at uaudio0
It connects to the computer via USB, and has red/white phono Line In connection. I have been using it to record audio on a Windows laptop with Audacity, but would like to move to OpenBSD. Unfortunately, aucat -f /dev/audio1 -o test.raw seems to produce a silent file no matter what I do.

Any tips?

mixerctl -va:
Code:
inputs.dac=192,192 volume
inputs.dac.mute=off  [ off on ]
inputs.fmsynth=192,192 volume
inputs.fmsynth.mute=off  [ off on ]
inputs.cd=255,255 volume
inputs.cd.mute=off  [ off on ]
inputs.line=255,255 volume
inputs.line.mute=off  [ off on ]
inputs.aux=255,255 volume
inputs.aux.mute=off  [ off on ]
inputs.mic=255 volume
inputs.mic.mute=off  [ off on ]
inputs.mic.preamp=off  [ off on ]
inputs.spkr=128 volume
record.source=spdif  { mic cd line aux wave fmsynth spdif }
record.mic=255 volume
playback.mode=dac  [ dac spdif ]
spdif.input=spdin1  [ spdin1 spdin2 spdout ]
spdif.input.phase=positive  [ positive negative ]
spdif.output=playback  [ playback spdin ]
spdif.output.playback=wave  [ wave legacy ]
spdif.output.voltage=5V  [ 5V 0.5V ]
spdif.monitor=off  [ off spdin spdout ]
outputs.master=128,128 volume
outputs.rear=on  [ off on ]
outputs.rear.individual=on  [ off on ]
outputs.rear.reverse=off  [ off on ]
outputs.surround=off  [ off on ]
dmesg:
Code:
OpenBSD 4.5 (GENERIC) #1749: Sat Feb 28 14:51:18 MST 2009
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III ("GenuineIntel" 686-class) 669 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,SER,MMX,FXSR,SSE
real mem  = 259616768 (247MB)
avail mem = 242733056 (231MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/22/01, BIOS32 rev. 0 @ 0xfd960, SMBIOS rev. 2.3 @ 0xf04f0 (18 entries)
bios0: vendor American Megatrends Inc. version "062710" date 07/15/97
bios0: PCCHIPS M756LMRT
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7660/112 (5 entries)
pcibios0: PCI Interrupt Router at 000:01:0 ("SiS 85C503 System" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x8000
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SiS 630 PCI" rev 0x21
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xf4000000, size 0x4000000
pciide0 at pci0 dev 0 function 1 "SiS 5513 EIDE" rev 0xd0: 630: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <MAXTOR 4K020H1>
wd0: 16-sector PIO, LBA, 19470MB, 39876480 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SONY, CDU5211, YYS2> ATAPI 5/cdrom removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
pcib0 at pci0 dev 1 function 0 "SiS 85C503 System" rev 0x00
sis0 at pci0 dev 1 function 1 "SiS 900 10/100BaseTX" rev 0x83: irq 11, address 00:d0:09:c3:c8:93
ukphy0 at sis0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000760, model 0x0000
ohci0 at pci0 dev 1 function 2 "SiS 5597/5598 USB" rev 0x07: irq 10, version 1.0, legacy support
ohci1 at pci0 dev 1 function 3 "SiS 5597/5598 USB" rev 0x07: irq 10, version 1.0, legacy support
ppb0 at pci0 dev 2 function 0 "SiS 86C201 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 6300" rev 0x21
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
cmpci0 at pci0 dev 15 function 0 "C-Media Electronics CMI8738/C3DX Audio" rev 0x10: irq 9
audio0 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
"C-Media Electronics HSP56 AMR" rev 0x10 at pci0 dev 15 function 1 not configured
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8705F rev 1, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "SiS OHCI root hub" rev 1.00/1.00 addr 1
usb1 at ohci1: USB revision 1.0
uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1
biomask e56d netmask ed6d ttymask fdff
mtrr: Pentium Pro MTRR support
uaudio0 at uhub1 port 2 configuration 1 interface 0 "Creative Labs USB Audio" rev 1.10/1.00 addr 2
uaudio0: audio rev 1.00, 13 mixer controls
audio1 at uaudio0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
audio1 detached
uaudio0 detached
uaudio0 at uhub1 port 2 configuration 1 interface 0 "Creative Labs USB Audio" rev 1.10/1.00 addr 2
uaudio0: audio rev 1.00, 13 mixer controls
audio1 at uaudio0
Reply With Quote