From owner-freebsd-newbies@FreeBSD.ORG Thu Mar 3 02:35:52 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3034616A4CE for ; Thu, 3 Mar 2005 02:35:52 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id C97E343D49 for ; Thu, 3 Mar 2005 02:35:51 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.211); Wed, 2 Mar 2005 20:37:21 -0600 Message-ID: <42267804.2090009@daleco.biz> Date: Wed, 02 Mar 2005 20:35:48 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jaanus J6gisu References: <42259F00.9030307@hot.ee> In-Reply-To: <42259F00.9030307@hot.ee> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Mar 2005 02:37:21.0996 (UTC) FILETIME=[ED3380C0:01C51F99] cc: freebsd-newbies@freebsd.org Subject: Re: SiS sound problem X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 02:35:52 -0000 Jaanus J6gisu wrote: > Hi > When I kldload snd_ich > > g550# kldload snd_ich > g550# kldstat > Id Refs Address Size Name > 1 9 0xc0400000 5cdad0 kernel > 2 14 0xc09ce000 537f0 acpi.ko > 3 1 0xc185d000 17000 linux.ko > 4 1 0xc1e15000 5000 snd_ich.ko > 5 1 0xc1e1a000 18000 sound.ko > > I can use the soundcard, but the processor usage is extremely high. > > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 22 44.9 0.0 0 12 ?? RL 12:42PM 0:41.77 [irq11: > cbb0 pcm0 > > These are the dmesg and cat outputs. > > pcm0: port 0xd800-0xd87f,0xdc00-0xdcff irq 11 at device 2.7 > on pci0 > pcm0: [GIANT-LOCKED] > pcm0: > g550# cat /dev/sndstat > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xdc00, 0xd800 irq 11 bufsz 16384 kld snd_ich > (1p/1r/0v channels duplex default) > > kldload snd_driver gives the same result, it loads the same driver. > > Computer is ECS laptop, with integrated SiS sound card. > Any idea how I could get it to work properly? Googling didnt help much. > > Thank you in advance. > This really ought to go to "questions@freebsd.org". It's likely a complex enough issue that not much is going to happen here at "newbies". Also, have you searched for a bug report at the web site? Might be that it's a known issue. I have this device on a desktop machine: [admin@archangel][~] $ kldstat && dmesg | grep pcm && cat /dev/sndstat Id Refs Address Size Name 1 17 0xc0400000 5dfd28 kernel 2 1 0xc09e0000 3254 splash_bmp.ko 3 1 0xc09f4000 5844 snd_ich.ko 4 2 0xc09fa000 1d4fc sound.ko 5 1 0xc0a18000 9b70 sis.ko 6 14 0xc0a22000 537f0 acpi.ko pcm0: port 0xe400-0xe47f,0xe000-0xe0ff irq 18 at device 2.7 on pci0 pcm0: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xe000, 0xe400 irq 18 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) ...and it works quite well. So I'd suspect something's up with cbb et al, but I can't say. What pcmcia bridge do you have? Try the manpages for cbb, pccbb, and cardbus, and compare with your dmesg output. Maybe the ECS mainboard has an unsupported PCMCIA controller or something.... If no one on questions@ can help, you might even try "hackers@", as real knowledgeable people (namely, the developers) are there often; however, I would advise you to try "questions@freebsd.org" first, and then "hackers@" only after waiting a few days without a response at questions, and with some indication that you've done more research on the problem. I think they'd be happy to help if they can, but we can't all go running to the designers with every little thing, eh? Kevin Kinsey