From owner-freebsd-multimedia@FreeBSD.ORG Tue Jan 3 23:20:29 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4999216A41F for ; Tue, 3 Jan 2006 23:20:29 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from graveyard2.mail.t-online.hu (graveyard2.mail.t-online.hu [195.228.240.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0755B43D6D for ; Tue, 3 Jan 2006 23:20:24 +0000 (GMT) (envelope-from Gabor@Zahemszky.HU) Received: from mail.t-online.hu (karoly.axelero.hu [195.228.240.245]) by graveyard2.mail.t-online.hu (Postfix) with ESMTP id 7DE8F203518D for ; Wed, 4 Jan 2006 00:20:23 +0100 (CET) Received: from [192.168.1.3] (dsl51B6CC04.pool.t-online.hu [81.182.204.4]) by mail.t-online.hu (Postfix) with ESMTP for ; Wed, 4 Jan 2006 00:20:23 +0100 (CET) Message-ID: <43BB0835.3070508@Zahemszky.HU> Date: Wed, 04 Jan 2006 00:26:45 +0100 From: =?ISO-8859-2?Q?Zahemszky_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051219) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: snd_mss problem X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2006 23:20:29 -0000 Hi! I've got a problem with FreeBSD6's sound system. In my machine, there is a working CMI8738-card - it's pcm0, and a builtin soundchip. In 5-STABLE, it's recognised by the snd-mss module. If I kldload it, I got: pcm1: at port 0x220-0x22f,0x388-0x38b,0x534-0x537 irq 5 drq 0,1 on isa0 with verbose mode, the next few lines, too: ioapic0: routing intpin 5 (ISA IRQ 5) to cluster 0 pcm1: [GIANT-LOCKED] pcm1: sndbuf_setmap ff1000,1000; 0xda77c000 -> ff1000 pcm1: sndbuf_setmap ff1000,1000; 0xda77d000 -> ff0000 But on FreeBSD6, the builtin chip "locks" the machine. If I kldload snd_mss (with verbose mode), I got the following lines: pcm1: at port 0x600-0x603,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 AD_WAIT_INIT_FAILED 201000 0xff AD_WAIT_INIT_FAILED 1002000 0xff AD_WAIT_INIT_FAILED 203000 0xff AD_WAIT_INIT_FAILED 1002000 0xff AD_WAIT_INIT_FAILED 1000000 0xff AD_WAIT_INIT_FAILED 1000000 0xff mss: Auto calibration timed out (1) AD_WAIT_INIT_FAILED 201000 0xff And the last line repeats forever. The machine doesn't recognise any keypress - neither the Caps/Scrool/Num - Lock keys, nor the Goto-Debugger key. I doesn't know, is it OK, that in FBSD5, in the port line there is port 0x534, but in FBSD6, it's 0x600. And in FBSD5, drq 0,1 but in FBSD6, it's drq 1,0 (they are the same DRQ lines, so maybe doesn't matter). So my trivial question is: are there any possibilities, to use my machine's builtin soundchip in FreeBSD6? (The machine is a Dell Precision WS210, 2x P-III-550.) Bye, Gabor Zahemszky < Gabor at Zahemszky dot HU > PS: this lockup is in both the new - and the old - sound driver (my system is 6-stable from Jan 2.) -- #!/bin/ksh Z='21N16I25C25E30, 40M30E33E25T15U!';IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set -- $Z;for i;{ [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;j="$j $i";typeset +l i;};print "$j"