Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 21:25:00 -0600 (CST)
From:      "Jon Noack" <noackjr@alumni.rice.edu>
To:        "Ariff Abdullah" <skywizard@gmail.com>
Cc:        mat@cnd.mcgill.ca
Subject:   Re: Not support for CT4730 chip?
Message-ID:  <1454.192.168.1.1.1099970700.squirrel@192.168.1.1>
In-Reply-To: <b599c4bd04110717317276820e@mail.gmail.com>
References:  <e3d920dd0411060810415e51f1@mail.gmail.com> <b599c4bd04110717317276820e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ariff Abdullah wrote:
> On Sun, 7 Nov 2004 00:10:42 +0800, Robin <huxw1980@gmail.com> wrote:
>> Hi all:
>>   I've just installed FreeBSD 5.3rc2 on an old micron laptop. The
>> sound chip is detected, and snd_es137x.ko can be loaded succesfully.
>> But, no sound at all. ;(  Mixer is tried, but nothing is changed.
>> Since it works under NetBSD 1.6.2, I believe the hardware is OK.
>>   Dmesg and cat /dev/sndstat is here. Any ideas?
>>
> ......
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/73498

Have you by any chance tried my es137x patch?  I doubt it would fix your
problem, but as you're using the es137x driver I thought I'd see if it
works for you:
http://www.noacks.org/freebsd/es137x.diff

The patch includes 2 main features (and is a superset of the 2 PRs
mentioned):
1) Adds locking to the driver to make it MPSAFE.  Reducing Giant
contention can't hurt...  This is based on Mathew Kanner's patch in
kern/59349 (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/59349),
although I cleaned it up and added a snd_mtxfree (mutex_destroy) to
complete the locking.
2) Adds digital (S/PDIF) output.  This is enabled via the
hw.snd.pcmX.spdif_enabled sysctl.  Make sure to read the notes in
kern/68594 (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/68594).

I've been using the S/PDIF output since February and the locking since
August.  I've had no problems with either.  However, I am not aware of
anyone other than myself looking at this code, so I'm sure I screwed up
somewhere... ;-)

Jon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1454.192.168.1.1.1099970700.squirrel>