Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 May 2005 13:37:57 +0200
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Getting ALC658 sound tpo work on amd64?
Message-ID:  <20050505133757.2adacb8f.torfinn.ingolfsen@broadpark.no>

next in thread | raw e-mail | index | archive | help
Hello,

I'm trying to get sound work on my amd64 machine. The mainboard is a
MS-7093 (aka RS480M2-IL) fra MSI, and according to the specs, it has a
Realtek ALC658 audio codec (and "Compliance with AC97 v2.3
Spec."). For the record, I'm running FreeBSD / amd64 from the 5-stable
branch:
root@kg-quiet# uname -a
FreeBSD kg-quiet.kg4.no 5.4-STABLE FreeBSD 5.4-STABLE #2: Tue May  3
22:40:03 CEST 2005     root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET 
amd64

I have the following info about the audio: 'pciconf -lv' says:
none2@pci0:20:5:        class=0x040100 card=0x00801462 chip=0x43701002
rev=0x00 hdr=0x00    vendor   = 'ATI Technologies Inc'
    class    = multimedia
    subclass = audio

and 'lspci -v' says:
root@kg-quiet# lspci -v -s 00:14.5
00:14.5 Multimedia audio controller: ATI Technologies Inc: Unknown
device 4370        Subsystem: Micro-Star International Co., Ltd.:
Unknown device 0080        Flags: bus master, 66Mhz, slow devsel,
latency 64, IRQ 3        Memory at fe029000 (32-bit, non-prefetchable)
        Capabilities: [40] Message Signalled Interrupts: 64bit-
Queue=0/0 Enable-


I have tried 'kldload snd_driver', but 'cat /dev/sndstat' still shows
nothing:
root@kg-quiet# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:

I then looked at /usr/src/sys/dev/sound/pcm/ac97.c
and saw an entry for an ALC658 codec in the ac97codecid table:
{ 0x414c4780, 0x0f, 0, "ALC658",        0 },

 but I don't know anything about ac97 audio and how devices are
identified, probed or whatever.

According to the ALC658 datasheet from the RealTek web site, the codec
is identified by 0x414c4780, so I don't understand what else is needed.

If this is a stupid question, please be forgiving:
Is there a place in the sound subsystem source where i can enter a
"magic identifier" and get this chip recoginzed as a AC97 codec?

If not, what else can I do to get this working?
-- 
Regards,
Torfinn Ingolfsen,
Norway



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505133757.2adacb8f.torfinn.ingolfsen>