On Mon, Aug 25, 2008 at 1:01 AM, Alexandre Ratchov <[EMAIL PROTECTED]> wrote:
> On Sun, Aug 24, 2008 at 11:36:38AM +0530, Siju George wrote:
>> Hi,
>>
>>  I tried to set a few parameters as said in the faq
>>
>> http://www.openbsd.org/faq/faq13.html#playaudio
>>
>> I get the following errors.
>>
>> $ sudo audioctl play.encoding=slinear_le
>> audioctl: set failed: Invalid argument
>> $ sudo audioctl play.rate=44100
>> audioctl: set failed: Invalid argument
>> $ sudo audioctl play.channels=2
>> audioctl: set failed: Invalid argument
>> $ sudo audioctl play.precision=16
>> audioctl: set failed: Invalid argument
>>
>> Am I doing something wrong?
>
> there isn't enough information in your post;
> could you give us the output of dmesg(1) and audioctl(1) commands
> please?
>

Thanks for the response Alexandre here are outputs

$ audioctl -a
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:16,slinear_le:16,slinear_le:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=384
hiwat=170
lowat=127
monitor_gain=0
mode=
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=233
play.balance=10
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=184
record.balance=31
record.port=0x0
record.avail_ports=0x0
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0
$
$ dmesg
OpenBSD 4.2 (GENERIC) #375: Tue Aug 28 10:38:44 MDT 2007
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3500+ ("AuthenticAMD" 686-class,
512KB L2 cache) 2.21 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SSE3
cpu0: AMD erratum 89 present, BIOS upgrade may be required
real mem  = 469004288 (447MB)
avail mem = 445726720 (425MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/19/06, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.3 @ 0xf0730 (54 entries)
bios0: vendor American Megatrends Inc. version "080012 " date 06/19/2006
bios0: ASUSTeK Computer INC. A8V-VM
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 3.0 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf76c0/256 (14 entries)
pcibios0: no compatible PCI ICU found: ICU vendor 0x1106 product 0x3287
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #5 is the last bus
bios0: ROM list: 0xc0000/0x8400
cpu0 at mainbus0
cpu0: Cool'n'Quiet K8 2201 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA K8M890 Host" rev 0x00
pchb1 at pci0 dev 0 function 1 "VIA K8M890 Host" rev 0x00
pchb2 at pci0 dev 0 function 2 "VIA K8M890 Host" rev 0x00
pchb3 at pci0 dev 0 function 3 "VIA K8M890 Host" rev 0x00
pchb4 at pci0 dev 0 function 4 "VIA K8M890 Host" rev 0x00
"VIA K8M890 IOAPIC" rev 0x00 at pci0 dev 0 function 5 not configured
pchb5 at pci0 dev 0 function 6 "VIA K8M890 Host" rev 0x00
pchb6 at pci0 dev 0 function 7 "VIA K8M890 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "VIA DeltaChrome Video" rev 0x01:
aperture at 0xd0000000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pciide0 at pci0 dev 15 function 0 "VIA VT8251 SATA" rev 0x00: DMA
pciide0: using irq 5 for native-PCI interrupt
pciide1 at pci0 dev 15 function 1 "VIA VT82C571 IDE" rev 0x07: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide1 channel 0 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide1:0:0): using PIO mode 4, DMA mode 2
atapiscsi0 at pciide1 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Optiarc, DVD RW AD-7190A, 1.02> SCSI0
5/cdrom removable
cd0(pciide1:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x90: irq 11
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x90: irq 4
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x90: irq 5
uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x90: irq 5
ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x90: irq 4
usb0 at ehci0: USB revision 2.0
uhub0 at usb0: VIA EHCI root hub, rev 2.00/1.00, addr 1
viapm0 at pci0 dev 17 function 0 "VIA VT8251 ISA" rev 0x00
iic0 at viapm0
pchb7 at pci0 dev 17 function 7 "VIA VT8251 VLINK" rev 0x00
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x7c: irq 11,
address 00:18:f3:a7:74:73
rlphy0 at vr0 phy 1: RTL8201L 10/100 PHY, rev. 1
ppb1 at pci0 dev 19 function 0 "VIA VT8251 PCIE" rev 0x00
pci2 at ppb1 bus 4
azalia0 at pci2 dev 1 function 0 "VIA HD Audio" rev 0x00: irq 5
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Analog Devices/0x1986 (rev. 5.0), HDA version 1.0
audio0 at azalia0
ppb2 at pci0 dev 19 function 1 "VIA VT8251 PCI" rev 0x00
pci3 at ppb2 bus 5
skc0 at pci3 dev 9 function 0 "D-Link Systems DGE-530T A1" rev 0x01:
can't map mem space
pchb8 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb9 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb10 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb11 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
usb1 at uhci0: USB revision 1.0
uhub1 at usb1: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3: VIA UHCI root hub, rev 1.00/1.00, addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4: VIA UHCI root hub, rev 1.00/1.00, addr 1
isa0 at mainbus0
isadma0 at isa0
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
lm0 at isa0 port 0x290/8: W83627EHF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask ef75 netmask ef75 ttymask fff7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
ugen0 at uhub1 port 1
ugen0: PrimaScan iCam320, rev 1.10/1.00, addr 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a swap on wd0b dump on wd0b
$

Reply via email to