Azalia Basic Information

Azalia, OpenBSD May 6th, 2008

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

Azalia, Notebook, Solaris, Wireless March 31st, 2008

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

Azalia, Notebook, OpenBSD February 8th, 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 the rest of this entry »