From owner-freebsd-current@FreeBSD.ORG Wed Jun 2 16:29:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 154FA16A4CE for ; Wed, 2 Jun 2004 16:29:40 -0700 (PDT) Received: from charm.uugrn.org (charm.uugrn.org [195.226.127.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id D99F843D31 for ; Wed, 2 Jun 2004 16:29:38 -0700 (PDT) (envelope-from michael@mpimail.mpi-hd.mpg.de) Received: from charm.uugrn.org (smmsp@localhost [127.0.0.1]) by charm.uugrn.org (8.12.9/8.12.9) with ESMTP id i52NU13T005383 for ; Thu, 3 Jun 2004 01:30:01 +0200 (CEST) Received: from uumile.UUCP (uucp@localhost) by charm.uugrn.org (8.12.9/8.12.9/Submit) with UUCP id i52NNJHd007593 for current@freebsd.org; Thu, 3 Jun 2004 01:23:19 +0200 (CEST) Received: from mobi (mobi.lestinsky.de [192.168.42.3]) by zaphod.lestinsky.de (8.12.11/8.12.10) with ESMTP id i52NMxAg006110 for ; Thu, 3 Jun 2004 01:22:59 +0200 (CEST) (envelope-from michael@mail.mpi-hd.mpg.de) Received: from mobi.lestinsky.de (localhost [127.0.0.1]) by mobi (8.12.11/8.12.11) with ESMTP id i52NJUSK003499 for ; Thu, 3 Jun 2004 01:19:30 +0200 (CEST) (envelope-from michael@mobi.lestinsky.de) Received: (from michael@localhost) by mobi.lestinsky.de (8.12.11/8.12.11/Submit) id i52NJUEI003498 for current@freebsd.org; Thu, 3 Jun 2004 01:19:30 +0200 (CEST) (envelope-from michael) Date: Thu, 3 Jun 2004 01:19:30 +0200 From: Michael Lestinsky To: current@freebsd.org Message-ID: <20040602231930.GA833@mobi.lestinsky.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: snd_ich: S/PDIF output not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 23:29:40 -0000 Hi, my noteboot (Samsung X05) has an spdif connector, which works under WinXP but doesn't on FreeBSD-current. Sound hardware is this: pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 10 at device 31.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: I'm digging through the registers of the codec and as far as I can see it, spdif should be enabled, at least from the codec's point of view. But I can't see anything happening, no red light, nothing at the receiving end. The digital output has to be enabled by but this doesn't work. Is there anyone with some hint where I could try to look next? I've hacked up ac97.c a little to produce a register dump of the codec as last step from ac97_initmixer(). Here it is, maybe someone else can make any clues from it. Reg : Value 00 : 6a90 02 : 8000 04 : 8000 06 : 8000 08 : 0000 0a : 0000 0c : 8008 0e : 8008 10 : 8808 12 : 8808 14 : 8808 16 : 8808 18 : 8808 1a : 0000 1c : 8000 1e : 0000 20 : 0000 22 : 0000 24 : 0000 26 : 000f 28 : 0a05 2a : 0414 2c : bb80 2e : 0000 30 : 0000 32 : bb80 34 : 0000 36 : 0000 38 : 0000 3a : a004 3c : 0000 3e : 0100 40 : 0000 42 : 0000 44 : 0000 46 : 0000 48 : 0000 4a : 0000 4c : 0003 4e : ffff 50 : 0000 52 : 0000 54 : 0000 56 : 0000 58 : 0000 5a : 0000 5c : 0000 5e : 0000 60 : 0000 62 : 0000 64 : 0000 66 : 0000 68 : 0000 6a : 0002 6c : 0002 6e : 1000 70 : 0000 72 : 0000 74 : 0800 76 : 0000 78 : 0000 7a : 0000 7c : 8384 7e : 7652 -- Michael Lestinsky