Odd sound problem - Pavillion ze4500

Jon Hamilton hamilton at pobox.com
Thu Nov 20 17:17:56 PST 2003


I've got a recently acquired HP Pavillion ze4540 which is so far working
quite well, but with a couple of lingering issues.  Most interesting to me
is that sound only partially works.  If I compile in pcm, the sound hardware
gets detected and is used - but only for "sound using" applications like xmms
and such.  The "system beep" is nowhere to be heard (beep from xterm, or even
the pccard beep when the hardware is inserted).  Without the pcm driver
loaded, the system beep functions normally, but obviously I don't have the
benefit of playing dvd's, mp3's, etc.  The behavior is the same across both 
-STABLE and -CURRENT, and with or without PNPBIOS in -stable.

Here's a snippet from a verbose boot with pcm compiled in (the entire dmesg
is available at http://www.nethamilton.net/bootv.html :

pcm0: <Acer Labs M5451> port 0x1000-0x10ff irq 5 at device 6.0 on pci0
pcm0: <Conexant CX20468 AC97 Codec (id = 0x43585429)>
pcm0: Codec features reserved, headphone, 18 bit DAC, 18 bit ADC, 5 bit master volume, no 3D Stereo Enhancement
pcm0: Primary codec extended features variable rate PCM, AMAP
pcm0: sndbuf_setmap d8d4000, 1000; 0xc1060000 -> d8d4000
pcm0: sndbuf_setmap d8d7000, 1000; 0xc1063000 -> d8d7000
pcm0: sndbuf_setmap d8f9000, 1000; 0xc1065000 -> d8f9000
pcm0: sndbuf_setmap d8dc000, 1000; 0xc1068000 -> d8dc000
pcm0: sndbuf_setmap d8be000, 1000; 0xc106a000 -> d8be000

I tried the OSS sound module and it works fine in all regards, so I've got
that as a fallback if it comes to that.  

Here's ``cat /dev/sndstat'' with the OSS module loaded:

OSS/FreeBSD 3.9.8b (C) 4Front Technologies 1996-2003

License serial number: E00000008
This Open Sound System copy is licensed for limited evaluation use only.
You can order the permanent OSS license using the 'Order permanent OSS license'
function of soundconf command. Alternatively use our ordering page at
http://www.opensound.com/order.html.
License will expire after: 12/2003
Drivers: ALL


*** Activity time of this evaluation version is limited ***

Kernel: FreeBSD 4.9-STABLE #11: Wed Nov 19 18:13:10 CST 2003
    hamilton at maria:/usr/obj/usr/src/sys/SWINE               


    Card config:
    Trident  4DWave MIDI port
    Trident 4DWave at 0x1000 irq 5

    Audio devices:
    0: ALI M5451 (DUPLEX)
    1: ALI M5451 (playback only)
    2: ALI M5451 (playback only)
    3: ALI M5451 (playback only)
    4: ALI M5451 (playback only)
    5: ALI M5451 (playback only)
    6: ALI M5451 (playback only)
    7: ALI M5451 (playback only)

    Synth devices:

    Midi devices:

    Timers:
    0: System clock

    Mixers:
    0: ALI M5451 (CXT29/0x43585429)


and the same with pcm:

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Acer Labs M5451> at io 0x1000 irq 5 (4p/1r/0v channels duplex)


My kernel config file is at http://www.nethamilton.net/swine/SWINE.html

I appreciate any suggestions or pointers.

-- 

   Jon Hamilton 
   hamilton at pobox.com


More information about the freebsd-mobile mailing list