Re: nforce audio problem

2006-08-20 Thread Brad Kowalczyk

Hi Greg,

Greg 'groggy' Lehey wrote:

[Format recovered--see http://www.lemis.com/email/email-format.html]

Computer output wrapped.

On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
  

Hi,

Just wondering if anyone has any experience getting sound working for an
nforce1 motherboard?



Heh.  Just what I've been playing with right now.

  

Seems I have the correct driver loaded and the device exists but no
sound...



It would be good to say which one (kldstat output), but from below I
expect you'll have:

Id Refs AddressSize Name
 61 0xc5577000 5000 snd_ich.ko
 71 0xc557c000 1d000sound.ko
  

Here's my kldstat output:

Id Refs AddressSize Name
51 0xc0a43000 328c snd_driver.ko
62 0xc0a47000 45b8 snd_vibes.ko
7   29 0xc0a4c000 1d4fcsound.ko
82 0xc0a6a000 46c8 snd_via82c686.ko
92 0xc0a6f000 47dc snd_via8233.ko
102 0xc0a74000 4664 snd_t4dwave.ko
112 0xc0a79000 4604 snd_solo.ko
125 0xc0a7e000 49ec snd_sbc.ko
132 0xc0a83000 4de4 snd_sb16.ko
142 0xc0a88000 49fc snd_sb8.ko
152 0xc0a8d000 1095csnd_neomagic.ko
163 0xc0a9e000 b6f8 snd_mss.ko
172 0xc0aaa000 944c snd_maestro3.ko
182 0xc0ab4000 7200 snd_maestro.ko
192 0xc0abc000 59c4 snd_ich.ko
202 0xc0ac2000 4974 snd_fm801.ko
213 0xc0ac7000 505c snd_ess.ko
222 0xc0acd000 62ac snd_es137x.ko
232 0xc0ad4000 7494 snd_emu10k1.ko
242 0xc0adc000 bfe4 snd_ds1.ko
254 0xc0ae8000 7464 snd_csa.ko
262 0xc0af 443c snd_cs4281.ko
272 0xc0af5000 517c snd_cmi.ko
282 0xc0afb000 4e1c snd_als4000.ko
292 0xc0b0 4c9c snd_ad1816.ko

I reallise I don't need all those other sound drivers, but can't seem tp 
find where to disable them...
  

Some info:

# pciconf -vl

snip

[EMAIL PROTECTED]:5:0: class=0x040100 card=0x37301462 chip=0x01b010de rev=0xc2
hdr=0x00
   vendor   = 'NVIDIA Corporation'
   device   = 'nForce MCP Audio Processing Unit (Dolby Digital)'
   class= multimedia
   subclass = audio
[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x37301462 chip=0x01b110de rev=0xc2
hdr=0x00
   vendor   = 'NVIDIA Corporation'
   device   = 'nForce MCP Audio Codec Interface'
   class= multimedia
   subclass = audio



I have:

[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x57001462 chip=0x006a10de rev=0xa1 
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP-T Audio Codec Interface'
class= multimedia
subclass = audio

I don't have the APU.

  

# dmesg | grep pcm
pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
0xdc18-0xdc180fff irq 16 at device 6.0 on pci0
pcm0: Analog Devices AD1885 AC97 Codec
Interrupt storm detected on irq16: pcm0 nv0++; throttling interrupt source



pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xe400-0xe4000fff irq 21 at device 6.0 on pci0
pcm0: Avance Logic ALC655 AC97 Codec

Looks pretty much the same, except that the chipset is slightly
different.  The important message is the last one: Interrupt storm.
That's the problem; I don't have a real answer, but what version of
FreeBSD are you running?  It might also help if you can connect the
pcm device to a different IRQ from the nv device; but that depends on
your motherboard BIOS.
  
I'm running 5.4 STABLE. I don't have much experience on FreeBSD, how do 
I change the IRQ for a device?


Cheers,

Brad

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


Re: nforce audio problem

2006-08-20 Thread Greg 'groggy' Lehey
On Sunday, 20 August 2006 at 10:47:17 +, Brad Kowalczyk wrote:
 Greg 'groggy' Lehey wrote:
 On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
 Seems I have the correct driver loaded and the device exists but no
 sound...

 It would be good to say which one (kldstat output), but from below I
 expect you'll have:

 ...

 Here's my kldstat output:

 (all drivers loaded)

 I reallise I don't need all those other sound drivers, but can't
 seem tp find where to disable them...

That depends on how you enabled them :-) You should have something
like this in /var/run/dmesg.boot:

  pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xeb00-0xeb000fff irq 21 at device 6.0 on pci0
  pcm0: Avance Logic ALC655 AC97 Codec

In this case, you should add to your /boot/loader.conf (creating the
file if it doesn't exist):

  snd_ich_load=YES

 It might also help if you can connect the pcm device to a different
 IRQ from the nv device; but that depends on your motherboard BIOS.

 I'm running 5.4 STABLE. I don't have much experience on FreeBSD, how do
 I change the IRQ for a device?

As I say,

 that depends on your motherboard BIOS.

I'd look in the PCI device configuration first.

It might also help to move to 6.1.  I had problems with sound on this
board until I did.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpMUFsB5IO9w.pgp
Description: PGP signature


Re: nforce audio problem

2006-08-20 Thread Brad Kowalczyk

Greg 'groggy' Lehey wrote:

On Sunday, 20 August 2006 at 10:47:17 +, Brad Kowalczyk wrote:
  

Greg 'groggy' Lehey wrote:


On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
  

Seems I have the correct driver loaded and the device exists but no
sound...


It would be good to say which one (kldstat output), but from below I
expect you'll have:

...
  

Here's my kldstat output:

(all drivers loaded)

I reallise I don't need all those other sound drivers, but can't
seem tp find where to disable them...



That depends on how you enabled them :-) You should have something
like this in /var/run/dmesg.boot:

  pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xeb00-0xeb000fff irq 21 at device 6.0 on pci0
  pcm0: Avance Logic ALC655 AC97 Codec
  

yes:

pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
0xdc18-0xdc180fff irq 16 at device 6.0 on pci0

pcm0: Analog Devices AD1885 AC97 Codec

In this case, you should add to your /boot/loader.conf (creating the
file if it doesn't exist):

  snd_ich_load=YES
  

yes I have that
  

It might also help if you can connect the pcm device to a different
IRQ from the nv device; but that depends on your motherboard BIOS.
  

I'm running 5.4 STABLE. I don't have much experience on FreeBSD, how do
I change the IRQ for a device?



As I say,

  

that depends on your motherboard BIOS.
  


I'd look in the PCI device configuration first.

It might also help to move to 6.1.  I had problems with sound on this
board until I did
I attempted to upgrade to 6.1 last week. All went well until make 
installkernel  where I got a 'no disk space' error part way through.
I ended up doing a complete reinstall as I somehow ended up with an 
unbootable system.


I'll keep fiddling about anyhow. Thanks for your input.

BTW love your brewing fridge! Got to get me one of those :)

Cheers,

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


Re: nforce audio problem

2006-08-19 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Computer output wrapped.

On Sunday, 20 August 2006 at  4:44:06 +, Brad Kowalczyk wrote:
 Hi,

 Just wondering if anyone has any experience getting sound working for an
 nforce1 motherboard?

Heh.  Just what I've been playing with right now.

 Seems I have the correct driver loaded and the device exists but no
 sound...

It would be good to say which one (kldstat output), but from below I
expect you'll have:

Id Refs AddressSize Name
 61 0xc5577000 5000 snd_ich.ko
 71 0xc557c000 1d000sound.ko

 Some info:

 # pciconf -vl

 snip

 [EMAIL PROTECTED]:5:0: class=0x040100 card=0x37301462 chip=0x01b010de rev=0xc2
 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP Audio Processing Unit (Dolby Digital)'
class= multimedia
subclass = audio
 [EMAIL PROTECTED]:6:0:  class=0x040100 card=0x37301462 chip=0x01b110de 
 rev=0xc2
 hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP Audio Codec Interface'
class= multimedia
subclass = audio

I have:

[EMAIL PROTECTED]:6:0:  class=0x040100 card=0x57001462 chip=0x006a10de rev=0xa1 
hdr=0x00
vendor   = 'NVIDIA Corporation'
device   = 'nForce MCP-T Audio Codec Interface'
class= multimedia
subclass = audio

I don't have the APU.

 # dmesg | grep pcm
 pcm0: nVidia nForce port 0xe400-0xe47f,0xe000-0xe0ff mem 
 0xdc18-0xdc180fff irq 16 at device 6.0 on pci0
 pcm0: Analog Devices AD1885 AC97 Codec
 Interrupt storm detected on irq16: pcm0 nv0++; throttling interrupt source

pcm0: nVidia nForce2 port 0xe400-0xe4ff,0xe800-0xe87f mem 
0xe400-0xe4000fff irq 21 at device 6.0 on pci0
pcm0: Avance Logic ALC655 AC97 Codec

Looks pretty much the same, except that the chipset is slightly
different.  The important message is the last one: Interrupt storm.
That's the problem; I don't have a real answer, but what version of
FreeBSD are you running?  It might also help if you can connect the
pcm device to a different IRQ from the nv device; but that depends on
your motherboard BIOS.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpmnI9AZR0Tz.pgp
Description: PGP signature