From owner-freebsd-questions@FreeBSD.ORG Fri Dec 10 21:32:44 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3144916A4CE for ; Fri, 10 Dec 2004 21:32:44 +0000 (GMT) Received: from f15.mail.ru (f15.mail.ru [194.67.57.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA90743D5E for ; Fri, 10 Dec 2004 21:32:43 +0000 (GMT) (envelope-from infofarmer@mail.ru) Received: from mail by f15.mail.ru with local id 1CcsNW-0000kx-00 for questions@freebsd.org; Sat, 11 Dec 2004 00:32:42 +0300 Received: from [83.237.13.76] by win.mail.ru with HTTP; Sat, 11 Dec 2004 00:32:42 +0300 From: Andrew To: questions@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [83.237.13.76] Date: Sat, 11 Dec 2004 00:32:42 +0300 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: Subject: Re: Sound card drivers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrew List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Dec 2004 21:32:44 -0000 >>>(uuu) pwd >>>/usr/src >>>(uuu) grep ALC658 sys/dev/sound/pcm/ac97.c >>> { 0x414c4780, 0x0f, 0, "ALC658", 0 }, >>> >>>so, besides I do not know about deep thinks you >>>detailed below, it seems there is some hope... >> >>Yep, thanks for advice! my ALC658 soundcard worked >>great on FreeBSD/x86. >> >>Is it somehow possible to turn on spdif output >>on the soundcard? Tuning all available mixer entries >>to 100:100 doesn't help. In windows version, there's >>no spdif/out level, just a flag (on or off) and two >>optional flags (sample rate and pass-through/digital >>/analog/off mode). I need digital output very much. > > An interesting mail sent about s/pdif support of > FreeBSD can be read at: http://lists.freebsd.org/ > pipermail/freebsd-multimedia/2004-March/000921.html > > It seems that there is driver-specific sysctl values; > if the driver is loaded it should add some of them, > which can be listed using sysctl -a then greping for > pcm, or just seeking for info by eye. I grepped sysctl list and found hw.snd.pcm0.spdif_enabled switch, but when I change it 0->1, the sound disappears (both analog and digital outputs are silent). I tried to play with other hw.snd switches, changed mixer levels and recsrc, searched the net for a few hours - but nothing came up. People hack into sound drivers in cases like mine, but I'm too lame for that yet. Anyways, after loading snd_driver dmesg says pcm0: ... pcm0: [GIANT-LOCKED] pcm0: Motherboard manual says it's a "Realtek ALC658 CODEC (UAJ)" and the chip itself says "Realtek". Has anybody tried to make spdif out work on this mother? Best wishes, Andrew