Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2005 20:35:48 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Jaanus J6gisu <jj666@hot.ee>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: SiS sound problem
Message-ID:  <42267804.2090009@daleco.biz>
In-Reply-To: <42259F00.9030307@hot.ee>
References:  <42259F00.9030307@hot.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <SiS 7012> port 0xd800-0xd87f,0xdc00-0xdcff irq 11 at device 2.7 
> on pci0
> pcm0: [GIANT-LOCKED]
> pcm0: <Avance Logic ALC202 AC97 Codec>
> g550# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0: <SiS 7012> 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: <SiS 7012> port 0xe400-0xe47f,0xe000-0xe0ff irq 18 at device 2.7 
on pci0
pcm0: <Avance Logic ALC655 AC97 Codec>
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <SiS 7012> 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



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