Archive for the 'Azalia' Category

Azalia Basic Information

Azalia Tutorial
Here are some basic troubleshooting tips for working
with new azalia codecs.

The generic driver creates every possible mixer item, so new
codecs can be can be thorougly tested in userland by fiddling
with them. What follows is an incredibly tedious process, but
I’ve tried my best to arrange it so that you’ll find the
solution as quickly as possible.

Here goes..

Start up some music sampled at 48000 Hz. If you don’t have
any, here is a copy of the 3.0 song resampled at that rate.
I figured that would be best since since many of us know how
it is supposed to sound (this is also the bsdtalk intro
music).

http://freedaemonhosting.com/~deanna/song30_48khz.mp3

If you hate that too much, you can resample anything with sox
(audio/sox)

sox song.mp3 -r 48000 song48.mp3

And some lightweight players are ‘plaympeg’ (devel/smpeg) and
‘madplay’ (devel/mad).

1) Run ‘mixerctl -v’ and take a look at the items.

2) Look for any *.eapd controls, and set them all to ‘on’.

If that doesn’t work..

3) Look for any volume controls (the number,number values) and
set them all to something fairly high. 220,220 should do it.

If that doesn’t work..

4) Look for mutable items: ‘mixerctl -v | grep mute’ Now the fun
really starts! Mute every single one of these. Make sure the
music is still playing, then unmute and re-mute each one.

If that doesn’t work..

5) All mutable items should still be muted. Look for an
‘inputs.usingdac’ control. Stop the music, and choose the
next dacgroup entry. Start the music back up, and repeat
step 4.

Still no music? Repeat step five until you’ve tried all dac
groups (inputs.usingdac).

If at any point here you manage to produce some sound, save the
output of ‘mixerctl -av’ and email this plus your dmesg to
deanna@openbsd.org.

I DID NOT WRITE THIS DRIVER. NONE OF THIS IS MY FAULT! :)

This is just a last resort for the truly desperate.

Compaq Presario V3412AU | Solaris Express

Compaq Presario V3412AU/ Presario V3000 Series ( Report not work)

  • nVidia Corporation MCP51 High Definition Audio - unsupported HD codec

    # cat /etc/release
    Solaris Express Developer Edition 1/08 snv_79b X86
    Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 24 January 2008

    # dmesg|grep audio
    Mar 31 09:25:50 bethesda audiosup: [ID 833414 kern.warning] WARNING: audiohd0: unsupported HD codec: vid=0×14f15045, rev=0×00100100
    Mar 31 09:25:50 bethesda audiosup: [ID 493330 kern.warning] WARNING: audiohd0: audiohd_attach() couldn’t create codec

    # modinfo|grep audio
    158 fffffffff8123000 81c8 75 1 audiohd (HD Audio Driver1.13)
    160 fffffffff80aa000 3c08 - 1 audiosup (Audio Device Support 1.24)
    232 fffffffff8066000 3ad8 242 1 lx_audio (linux audio driver)

  • Broadcom Wireless Integrated Module (bwi/Broadcom BCM4312) - On/Off Wireless switch

    Mar 31 10:24:02 bethesda usba: [ID 349649 kern.info] Broadcom Corp HP Integrated Module
    Mar 31 10:24:02 bethesda genunix: [ID 936769 kern.info] usb_mid1 is /pci@0,0/pci103c,30b5@b/device@4
    Mar 31 10:24:02 bethesda genunix: [ID 408114 kern.info] /pci@0,0/pci103c,30b5@b/device@4 (usb_mid1) online
    Mar 31 10:24:02 bethesda usba: [ID 349649 kern.info] usba: no driver found for interface 0 (nodename: ‘interface’) of Broadcom Corp HP Integrated Module
    Mar 31 10:24:02 bethesda usba: [ID 349649 kern.info] usba: no driver found for interface 1 (nodename: ‘interface’) of Broadcom Corp HP Integrated Module
    Mar 31 10:24:02 bethesda usba: [ID 349649 kern.info] usba: no driver found for interface 2 (nodename: ‘interface’) of Broadcom Corp HP Integrated Module
    Mar 31 10:24:02 bethesda usba: [ID 349649 kern.info] usba: no driver found for interface 3 (nodename: ‘firmware’) of Broadcom Corp HP Integrated Module

    Temporary Solved: http://www.opensound.com/download.cgi - oss-solaris-v4.0-1015-i386.pkg. But output sound yang dihasilkan masih terasa noise-nya

Dmesg OpenBSD 4.2-Current Fri Feb 8 16:29:37 WIT 2008

Great work for OpenBSD team.
# sysctl hw.sensors
hw.sensors.acpitz0.temp0=55.05 degC (zone temperature)
hw.sensors.acpitz1.temp0=58.05 degC (zone temperature)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=unknown (current voltage), UNKNOWN
hw.sensors.acpibat0.amphour0=4.22 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.21 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.15 Ah (low capacity)
hw.sensors.acpibat0.amphour3=unknown (remaining capacity), UNKNOWN
hw.sensors.acpibat0.raw0=unknown (battery unknown), UNKNOWN
hw.sensors.acpibat0.raw1=0 (rate)
hw.sensors.acpiac0.indicator0=Off (power supply)

Azalia still not work and also driver for Broadcom Wireless adapter (http://www.nazgul.ch/bwi/bwi-firmware-1.4.tgz).

bwi0 at pci1 dev 0 function 0 “Broadcom BCM4312″ rev 0×02: could not map memory space

Read more »

Presario V3412AU OpenBSD 4.2-Current

My Notebook detail : Compaq Presario V3412AU running on OpenBSD 4.2-Current January 23, 2008. I still got some problem with this kernel: sound, acpi, wireless still not work correctly.

Here my dmesg output from:

OpenBSD 4.2-current (BETHESDA) #5: Wed Jan 23 09:47:01 WIT 2008
krisna@bethesda.ciputra.ac.id:/home/archives/src/sys/arch/i386/compile/BETHESDA
cpu0: AMD Turion(tm) 64 X2 (”AuthenticAMD” 686-class, 512KB L2 cache) 1.81 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,
MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16
real mem = 1005146112 (958MB)
avail mem = 963858432 (919MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/22/07, BIOS32 rev. 0 @ 0xfdbc5, SMBIOS rev. 2.4 @ 0xdc010 (27 entries)
bios0: vendor Hewlett-Packard version “F.39″ date 11/22/2007
bios0: Hewlett-Packard Presario V3000 (GM187PA#UUF)
acpi at bios0 function 0×0 not configured
pcibios0: pcibios_get_status - function not supported
pcibios at bios0 function 0×1a not configured
bios0: ROM list: 0xc0000/0xf200 0xcf800/0×1800 0xdc000/0×4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
“NVIDIA C51 Host” rev 0xa2 at pci0 dev 0 function 0 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 1 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 2 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 3 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 4 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 5 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 6 not configured
“NVIDIA C51 Memory” rev 0xa2 at pci0 dev 0 function 7 not configured
ppb0 at pci0 dev 2 function 0 “NVIDIA C51 PCIE” rev 0xa1
pci1 at ppb0 bus 1
bwi0 at pci1 dev 0 function 0 “Broadcom BCM4312″ rev 0×02: could not map memory space
ppb1 at pci0 dev 3 function 0 “NVIDIA C51 PCIE” rev 0xa1
pci2 at ppb1 bus 3
vga1 at pci0 dev 5 function 0 vendor “NVIDIA”, unknown product 0×0244 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80×25, vt100 emulation)
wsdisplay0: screen 1-5 added (80×25, vt100 emulation)
“NVIDIA MCP51 Host” rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 “NVIDIA MCP51 ISA” rev 0xa3
nviic0 at pci0 dev 10 function 1 “NVIDIA MCP51 SMBus” rev 0xa3
iic0 at nviic0
spdmem0 at iic0 addr 0×50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
spdmem1 at iic0 addr 0×51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
iic1 at nviic0
“NVIDIA MCP51 PMU” rev 0xa3 at pci0 dev 10 function 3 not configured
ohci0 at pci0 dev 11 function 0 “NVIDIA MCP51 USB” rev 0xa3: irq 11, version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 “NVIDIA MCP51 USB” rev 0xa3: irq 7
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 “NVIDIA EHCI root hub” rev 2.00/1.00 addr 1
pciide0 at pci0 dev 13 function 0 “NVIDIA MCP51 IDE” rev 0xf1: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <Slimtype, DVD A DS8A1P, CH71> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
pciide1 at pci0 dev 14 function 0 “NVIDIA MCP51 SATA” rev 0xf1: DMA
pciide1: using irq 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <Hitachi HTS541616J9SA00>
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ppb2 at pci0 dev 16 function 0 “NVIDIA MCP51 PCI-PCI” rev 0xa2
pci3 at ppb2 bus 5
“Ricoh 5C832 Firewire” rev 0×00 at pci3 dev 9 function 0 not configured
sdhc0 at pci3 dev 9 function 1 “Ricoh 5C822 SD/MMC” rev 0×19: irq 10
sdmmc0 at sdhc0
“Ricoh 5C843 MMC” rev 0×01 at pci3 dev 9 function 2 not configured
“Ricoh 5C592 Memory Stick” rev 0×0a at pci3 dev 9 function 3 not configured
“Ricoh 5C852 xD” rev 0×05 at pci3 dev 9 function 4 not configured
azalia0 at pci0 dev 16 function 1 “NVIDIA MCP51 HD Audio” rev 0xa2: irq 10
azalia0: host: High Definition Audio rev. 1.0
azalia0: host: 4 output, 4 input, and 0 bidi streams
azalia_attach: resetting
azalia_attach: reset counter = 4998
azalia_attach: reset counter = 4989
azalia0: found a codec at #0
azalia_init_corb: CORB allocation succeeded.
azalia_init_corb: CORBWP=0; size=256
azalia_init_rirb: RIRB allocation succeeded.
azalia_init_rirb: RIRBRP=0, size=256
azalia0: codec[0] vid 0×14f15045, subid 0×30b5103c, rev. 1.0, HDA version 1.0
azalia_codec_init: nidstart=1 #functions=2
azalia_codec_init: FTYPE result = 0×00000001
azalia_codec_init: There are 12 widgets in the audio function.
encodings=1<PCM>
PCM formats=e0140<24bit,20bit,16bit,96kHz,48kHz>
inamp: mute=0 size=0 steps=0 offset=0
outamp: mute=0 size=0 steps=0 offset=0
gpio: wake=0 unsol=0 gpis=0 gpos=0 gpios=0
azalia0: unknown10 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
cap=10014<EAPD,OUTPUT,PRESENCE>
[01/00] color=unknown device=speaker conn=fixed conntype=analog
location=top chassis=internal special=none
outamp: mute=1 size=5 steps=43 offset=43
connections=0×19,0×17; selected=0×17
azalia0: green11 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
cap=113c<VREF80,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
[01/15] color=green device=headphones conn=jack conntype=1/8
location=front chassis=external special=none
outamp: mute=1 size=5 steps=43 offset=43
connections=0×19,0×17; selected=0×17
azalia0: pink12 wcap=40058d<POWER,CONNLIST,UNSOL,AMPOV,OUTAMP,STEREO>
cap=113c<VREF80,VREFHIZ,INPUT,OUTPUT,HEADPHONE,PRESENCE>
[02/14] color=pink device=mic conn=none conntype=1/8
location=front chassis=separate special=none
outamp: mute=1 size=5 steps=43 offset=43
connections=0×19,0×17; selected=0×17
azalia0: black13 wcap=400301<DIGITAL,CONNLIST,STEREO>
cap=10<OUTPUT>
[03/00] color=black device=SPDIF-out conn=jack conntype=optical
location=rear chassis=separate special=none
connections=0×18; selected=0×18
azalia0: unknown14 wcap=400081<UNSOL,STEREO>
cap=1124<VREF80,VREFHIZ,INPUT,PRESENCE>
[15/00] color=unknown device=mic conn=fixed conntype=analog
location=spec0 chassis=internal special=riser
azalia0: unknown15 wcap=400001<STEREO>
cap=20<INPUT>
[02/01] color=unknown device=cd conn=none conntype=atapi
location=right chassis=internal special=none
azalia0: beep16 wcap=70000c<AMPOV,OUTAMP>
outamp: mute=1 size=11 steps=7 offset=7
azalia0: mix17 wcap=20050b<POWER,CONNLIST,AMPOV,INAMP,STEREO>
inamp: mute=1 size=5 steps=43 offset=20
connections=0×19,0×14,0×12,0×11,0×15; selected=0×19
azalia0: dac18 wcap=211<DIGITAL,FORMATOV,STEREO>
encodings=5<AC3,PCM>
PCM formats=60040<20bit,16bit,48kHz>
azalia0: dac19 wcap=c11<LRSWAP,POWER,FORMATOV,STEREO>
encodings=1<PCM>
PCM formats=e0540<24bit,20bit,16bit,192kHz,96kHz,48kHz>
azalia0: adc1a wcap=100d0b<LRSWAP,POWER,CONNLIST,AMPOV,INAMP,STEREO>
inamp: mute=1 size=5 steps=23 offset=0
connections=0×17,0×14,0×12,0×11,0×15; selected=0×15
azalia0: vendor1b wcap=f00000
azalia_codec_init: dacgroup[0]: 19
azalia_codec_init: dacgroup[1]: 18
azalia0: codec[s]: Conexant/0×5045
audio0 at azalia0
azalia_round_blocksize: resultant block size = 384
azalia_round_blocksize: resultant block size = 384
nfe0 at pci0 dev 20 function 0 “NVIDIA MCP51 LAN” rev 0xa3: irq 11, address 00:16:d3:ae:60:67
eephy0 at nfe0 phy 1: Marvell 88E1118 Gigabit PHY, rev. 0
pchb0 at pci0 dev 24 function 0 “AMD AMD64 HyperTransport” rev 0×00
pchb1 at pci0 dev 24 function 1 “AMD AMD64 Address Map” rev 0×00
pchb2 at pci0 dev 24 function 2 “AMD AMD64 DRAM Cfg” rev 0×00
pchb3 at pci0 dev 24 function 3 “AMD AMD64 Misc Cfg” rev 0×00
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0×60/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 0×61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 “NVIDIA OHCI root hub” rev 1.00/1.00 addr 1
biomask effd netmask effd ttymask ffff
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 5 configuration 1 interface 0 “vendor 0×04f3 PS/2+USB Mouse” rev 1.10/22.90 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b.

Do You have any idea on this problem?