Also running 4.3 generic, and been reading here and in archives about
people having issues with the azalia driver. Here is my info, if it's
useful to devs, or if you guys need anything else from me, let me know:
short story: xmms works fine - cdio cdplay doesn't work - ogg123
doesn't work - cat file.wav > /dev/(audio|sound) works, but can't set
sample rates.
# cat track01.wav > /dev/audio
works (plays slow)
# cat track01.wav > /dev/sound
works (plays slow)
attempting to set the play.rate or play.sample_rate seems to do nothing:
# audioctl play.rate=44100
audioctl: set failed: Invalid argument
# aucat track01.wav
aucat: AUDIO_SETINFO: Invalid argument
attempting to play an ogg file through the sun driver:
# ogg123 house_of_cards.ogg
Audio Device: Sun audio driver output
Playing: house_of_cards.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Title: House of Cards
Artist: Radiohead
Genre: 12
Date: 2008
Album: In Rainbows
Track number: 08
Error: Cannot open device sun
same when trying to use /dev/sound w/the sun driver:
# ogg123 -d sun -o dev:/dev/sound house_of_cards.ogg
Audio Device: Sun audio driver output
Playing: house_of_cards.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Title: House of Cards
Artist: Radiohead
Genre: 12
Date: 2008
Album: In Rainbows
Track number: 08
Error: Cannot open device sun.
# cdio cdplay
No CD device name specified. Defaulting to cd0.
cdio: can't configure audio device
Playing through xmms works fine.
dmesg:
OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz ("GenuineIntel"
686-class) 1.
60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CF
LUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,CX16,xTPR
real mem = 1063669760 (1014MB)
avail mem = 1020456960 (973MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/20/08, BIOS32 rev. 0 @ 0xfdcf0,
SMBIOS
rev. 2.4 @ 0xe0010 (70 entries)
bios0: vendor LENOVO version "7PETB2WW (2.12 )" date 02/20/2008
bios0: LENOVO 76509LU
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET SLIC BOOT SSDT SSDT
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) EXP0(S4) EXP1(S4) EXP2(S4)
EXP3(S4) PCI1
(S4) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus -1 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4513" serial 5504 type LION oem "SANYO"
acpiac0 at acpi0: AC unit online
bios0: ROM list: 0xc0000/0x10000! 0xd0000/0x1a00 0xd1a00/0x1000
0xe0000/0x10000!
cpu0 at mainbus0
cpu0: unknown Enhanced SpeedStep CPU, msr 0x060f0c2b06000c2b
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1600 MHz (1388 mV): speeds: 1600, 800 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel GM965 Host" rev 0x0c
agp0 at pchb0: aperture at 0xe0000000, size 0x8000000
vga1 at pci0 dev 2 function 0 "Intel GM965 Video" rev 0x0c
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel GM965 Video" rev 0x0c at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x03: irq 11
uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x03: irq 11
ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x03: irq 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x03: irq 11
azalia0: codec[s]: Conexant/0x5045
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x03: irq 11
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 82801H PCIE" rev 0x03: irq 11
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq
11, MoW
1, address 00:1f:3c:18:d8:83
ppb2 at pci0 dev 28 function 2 "Intel 82801H PCIE" rev 0x03: irq 11
pci3 at ppb2 bus 4
bge0 at pci3 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787
A2 (0xb
002): irq 11, address 00:1c:25:90:79:9f
brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x03: irq 10
uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x03: irq 11
uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x03: irq 11
ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x03: irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xf3
pci4 at ppb3 bus 21
cbb0 at pci4 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb6: irq 10
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801HBM LPC" rev 0x03: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801HBM IDE" rev 0x03: DMA,
channel 0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-T20N, WX05> SCSI0
5/cdrom re
movable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801HBM AHCI" rev 0x03: irq 10,
AHCI 1.1
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD800BEVS-08, 08.0> SCSI3
0/direct fixed
sd0: 76319MB, 9729 cyl, 255 head, 63 sec, 512 bytes/sec, 156301488 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x03: irq 11
iic0 at ichiic0
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
aps0: failed to initialise
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask edfd netmask edfd ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
audioctl -a:
name=HD-Audio
version=1.0
config=azalia0
encodings=slinear_le:16,slinear_le:16
properties=full_duplex,independent
full_duplex=0
fullduplex=0
blocksize=4800
hiwat=6
lowat=1
output_muted=0
monitor_gain=0
mode=
play.rate=48000
play.channels=1
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=4800
play.samples=720000
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=32768
record.rate=48000
record.channels=1
record.precision=16
record.encoding=slinear_le
record.gain=127
record.balance=32
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=32768
record.errors=0
mixterctl -a:
outputs.speaker.source=dac2
outputs.speaker.mute=off
outputs.speaker=200,200
outputs.speaker.eapd=on
outputs.headphones.sour=dac2
outputs.headphones.mute=off
outputs.headphones=125,125
outputs.headphones.dir=output
outputs.headphones.boos=off
outputs.other.source=dac2
outputs.other.mute=off
outputs.other=125,125
outputs.other.dir=output
outputs.other.boost=off
inputs.beep.mute=off
inputs.beep=108
inputs.mix.dac2.mute=off
inputs.mix.mic.mute=off
inputs.mix.other.mute=off
inputs.mix.headphones.=off
inputs.mix.other3.mute=off
inputs.mix.dac2=125,125
inputs.mix.mic=125,125
inputs.mix.other=125,125
inputs.mix.headphones=125,125
inputs.mix.other3=125,125
outputs.adc.source=other3
record.adc.mute=off
record.adc=121,121
inputs.usingdac=19