Re: snd_ich and syntax error

2005-11-30 Thread Boris Samorodov
On Tue, 29 Nov 2005 19:55:22 -0200 JoaoBR wrote:

> On Tuesday 29 November 2005 19:03, Kevin Oberman wrote:
> > To get ICH audio to work on my system, I had to include the following in
> > my kernel:
> > # Sound card
> > device  smbus
> > device  ichsmb
> > device  smb
> > device  sound
> > device  snd_ich
> >


> nice idea but in my case it doesn't help, still I get

> pcm0:  port 0x1400-0x14ff,0x1c80-0x1cff irq 18 at device 2.7 on pci0
> pcm0: [GIANT-LOCKED]
> pcm0: 

AC97 has some incompatible codecs. Hence:
# grep AC97 * | grep snd_
Binary file snd_ich.ko matches
Binary file snd_maestro.ko matches
Binary file snd_pcm.ko matches

Maybe give a try to another kernel module?

> I am with releng_6

# uname -srm
FreeBSD 6.0-RELEASE i386


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co, http://www.ipt.ru
Telephone & Internet Service Provider
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread JoaoBR
On Tuesday 29 November 2005 19:03, Kevin Oberman wrote:
> To get ICH audio to work on my system, I had to include the following in
> my kernel:
> # Sound card
> device  smbus
> device  ichsmb
> device  smb
> device  sound
> device  snd_ich
>


nice idea but in my case it doesn't help, still I get

pcm0:  port 0x1400-0x14ff,0x1c80-0x1cff irq 18 at device 2.7 on pci0
pcm0: [GIANT-LOCKED]
pcm0: 

I am with releng_6

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread Marco Calviani
29 Nov 2005 15:56:42 -0500, Lowell Gilbert <
[EMAIL PROTECTED]>:

> Well, you need to end the file with a linefeed.
> Do you get the error if you add a newline at the end?
>

You've got it! There were two spaces at the beginning of the next line. That
was causing the syntax error

Thanks very much for the help to all.

MC
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread Kevin Oberman
To get ICH audio to work on my system, I had to include the following in
my kernel:
# Sound card
device  smbus
device  ichsmb
device  smb
device  sound
device  snd_ich

I believe the System Management bus is required for the AC97 attachment.
With those, it just worked, but YMMV. (But another ICH system also
incudes iicbus, iicbb, and intpm. Not sure why anymore. I suspect that
these are not REALLY for sound.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]   Phone: +1 510 486-8634
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread Lowell Gilbert
Marco Calviani <[EMAIL PROTECTED]> writes:

> I use it on 6.0-Stable but the AC97 is still not working but I got no error
> 
> > compiling it into the kernel
> >
> > João
> >
> >
> Hi,
>i'm attaching my config file. And the error i'm having is:
> 
> config: MARCO1:283: syntax error
> 
> However if i try to load the module with kldload snd_ich the sound card
> works perfectly:
> 
> leased-248# cat /dev/sndstat
> FreeBSD Audio Driver (newpcm)
> Installed devices:
> pcm0:  at io 0x1c00, 0x18c0 irq 10 bufsz 16384 kld
> snd_ich (1p/1r/0v channels duplex default)
> 
> Please note that doublequoting snd_ich gives the very same results.

Well, you need to end the file with a linefeed.
Do you get the error if you add a newline at the end?
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread Boris Samorodov
On Tue, 29 Nov 2005 19:54:45 + Marco Calviani wrote:

> I use it on 6.0-Stable but the AC97 is still not working but I got no error

> > compiling it into the kernel
> >
> > João
> >
> >
> Hi,
>i'm attaching my config file. And the error i'm having is:

> config: MARCO1:283: syntax error

Did you look at the line number 283 at your kernel config file?

> devicesound
> device  snd_ich

Pay attention to spaces, tabs and new line symbols.


WBR
-- 
Boris B. Samorodov, Research Engineer
InPharmTech Co, http://www.ipt.ru
Telephone & Internet Service Provider
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread Marco Calviani
I use it on 6.0-Stable but the AC97 is still not working but I got no error

> compiling it into the kernel
>
> João
>
>
Hi,
   i'm attaching my config file. And the error i'm having is:

config: MARCO1:283: syntax error

However if i try to load the module with kldload snd_ich the sound card
works perfectly:

leased-248# cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0:  at io 0x1c00, 0x18c0 irq 10 bufsz 16384 kld
snd_ich (1p/1r/0v channels duplex default)

Please note that doublequoting snd_ich gives the very same results.

Regards,
MC


MARCO1
Description: Binary data
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: snd_ich and syntax error

2005-11-29 Thread Scot Hetzel
On 11/29/05, Marco Calviani <[EMAIL PROTECTED]> wrote:
> Hi list,
>   i have a problem during the config(8) phase of a kernel configuration
> file. I would like to add in the kernel the device snd_ich with (as
> indicated in the handbook):
>
> device  snd_ich
>
> However i've got a Syntax Error on that line when i try to config it.
>
> Any ideas for this behaviour?
>
We need a little more information.

What is the Syntax Error?

Show us your kernel config file.

Do you have "device sound" in your kernel config file?

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: snd_ich and syntax error

2005-11-29 Thread JoaoBR
On Tuesday 29 November 2005 11:53, Marco Calviani wrote:
> Hi list,
>i have a problem during the config(8) phase of a kernel configuration
> file. I would like to add in the kernel the device snd_ich with (as
> indicated in the handbook):
>
> device  snd_ich
>
> However i've got a Syntax Error on that line when i try to config it.
>

what kind of error and which version?

I use it on 6.0-Stable but the AC97 is still not working but I got no error 
compiling it into the kernel

João







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"