Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Rudolf Cejka
Glenn Johnson wrote (2003/08/21):
 sound no longer works.  I reverted to the previous versions of these 
 files to get sound back.

Hmm, as I expected, some cases has been fixed and some other cases
are broken now :o(

 pcm0: Intel ICH5 (82801EB) port 0xdc00-0xdc3f,0xd800-0xd8ff mem 
 0xfc002000-0xfc0020ff,0xfc001000-0xfc0011ff irq 10 at device 31.5 on pci0
 pcm0: Avance Logic ALC650 AC97 Codec

Could you do ALC650 register dump? If you look into
ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
how-to in DEBUG sections.

It seems to me that there are just two possibilities:

* Hope, that HP_OUT is used instead of LINE_OUT just with Analog Devices
  chips and in all cases, so that sound fixes can be done just for AD*
  chips.

* Do some compile and/or sysctl or some another option, so that sound fix
  can be allowed just in cases, where it is needed.

There is really missing feedback from users with working and broken
output. Register dumps, dmesg | grep pcm and sound status would be
sufficient ;o)

-- 
Rudolf Cejka cejkar at fit.vutbr.cz http://www.fit.vutbr.cz/~cejkar
Brno University of Technology, Faculty of Information Technology
Bozetechova 2, 612 66  Brno, Czech Republic
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Lars Eggert
Hi,

Rudolf Cejka wrote:
Glenn Johnson wrote (2003/08/21):

sound no longer works.  I reverted to the previous versions of these 
files to get sound back.
I might have the same issue. Does no longer work means silence? Then I 
do. (Just got this box, so I don't know whether this was recently broken 
or not.) Here's my hardware:

pcm0: SiS 7012 port 0x9000-0x907f,0x9400-0x94ff irq 15 at device 2.7 
on pci0
pcm0: Avance Logic ALC650 AC97 Codec

Could you do ALC650 register dump? If you look into
ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
how-to in DEBUG sections.
Would the dump work/help for the SiS chip as well?

Thanks,
Lars
--
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Orion Hodson
/-- Lars Eggert wrote:
| This is a cryptographically signed message in MIME format.
| 
| --ms080500030203050209080702
| Content-Type: text/plain; charset=us-ascii; format=flowed
| Content-Transfer-Encoding: 7bit
| 
| Hi,
| 
| Rudolf Cejka wrote:
|  Glenn Johnson wrote (2003/08/21):
|  
| sound no longer works.  I reverted to the previous versions of these 
| files to get sound back.
| 
| I might have the same issue. Does no longer work means silence? Then I 
| do. (Just got this box, so I don't know whether this was recently broken 
| or not.) Here's my hardware:
| 
| pcm0: SiS 7012 port 0x9000-0x907f,0x9400-0x94ff irq 15 at device 2.7 
| on pci0
| pcm0: Avance Logic ALC650 AC97 Codec
| 
|  Could you do ALC650 register dump? If you look into
|  ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
|  how-to in DEBUG sections.
| 
| Would the dump work/help for the SiS chip as well?

Lars

First off, apologies for the breakage.  Before investing any time doing a 
register dump, can you just check whether your mixer now has an ogain control 
and that it is non-zero.

Thanks
- Orion





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


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Kevin Oberman
 Date: Fri, 22 Aug 2003 13:29:17 -0700
 From: Lars Eggert [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 This is a cryptographically signed message in MIME format.
 
 --ms080500030203050209080702
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi,
 
 Rudolf Cejka wrote:
  Glenn Johnson wrote (2003/08/21):
  
 sound no longer works.  I reverted to the previous versions of these 
 files to get sound back.
 
 I might have the same issue. Does no longer work means silence? Then I 
 do. (Just got this box, so I don't know whether this was recently broken 
 or not.) Here's my hardware:
 
 pcm0: SiS 7012 port 0x9000-0x907f,0x9400-0x94ff irq 15 at device 2.7 
 on pci0
 pcm0: Avance Logic ALC650 AC97 Codec
 
  Could you do ALC650 register dump? If you look into
  ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
  how-to in DEBUG sections.
 
 Would the dump work/help for the SiS chip as well?

I think te issue is a bit more fundamental. My mixer no longer shows a
volume setting! I now am seeing pcm, speaker, line, mic, cd, rec,
line1, phin, phout, and video. I see this on several different tools,
so I think something basic got hosed!

FWIW, xmms still works for me. It does not seem to use the volume
control. Only the pcm setting has any effect on it.
-- 
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Kevin Oberman
 From: Orion Hodson [EMAIL PROTECTED]
 Date: Fri, 22 Aug 2003 13:38:22 -0700
 Sender: [EMAIL PROTECTED]
 
 /-- Lars Eggert wrote:
 | This is a cryptographically signed message in MIME format.
 | 
 | --ms080500030203050209080702
 | Content-Type: text/plain; charset=us-ascii; format=flowed
 | Content-Transfer-Encoding: 7bit
 | 
 | Hi,
 | 
 | Rudolf Cejka wrote:
 |  Glenn Johnson wrote (2003/08/21):
 |  
 | sound no longer works.  I reverted to the previous versions of these 
 | files to get sound back.
 | 
 | I might have the same issue. Does no longer work means silence? Then I 
 | do. (Just got this box, so I don't know whether this was recently broken 
 | or not.) Here's my hardware:
 | 
 | pcm0: SiS 7012 port 0x9000-0x907f,0x9400-0x94ff irq 15 at device 2.7 
 | on pci0
 | pcm0: Avance Logic ALC650 AC97 Codec
 | 
 |  Could you do ALC650 register dump? If you look into
 |  ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
 |  how-to in DEBUG sections.
 | 
 | Would the dump work/help for the SiS chip as well?
 
 Lars
 
 First off, apologies for the breakage.  Before investing any time doing a 
 register dump, can you just check whether your mixer now has an ogain control 
 and that it is non-zero.

Yes, ogain (output gain?) has replaced volume and it works fine. (I
think my claim about xmms may have been bogus. Sorry!)
-- 
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Lars Eggert
Orion,

Orion Hodson wrote:
First off, apologies for the breakage.
no problem - thanks for all the hard work you, Cameron and the others
have put into the sound code!
Before investing any time doing a register dump, can you just check
whether your mixer now has an ogain control and that it is non-zero.
I don't, and I have all of them max'ed:

Mixer vol  is currently set to 100:100
Mixer pcm  is currently set to 100:100
Mixer speaker  is currently set to 100:100
Mixer line is currently set to 100:100
Mixer mic  is currently set to 100:100
Mixer cd   is currently set to 100:100
Mixer rec  is currently set to 100:100
Mixer line1is currently set to 100:100
Mixer phin is currently set to 100:100
Mixer phoutis currently set to 100:100
Mixer videois currently set to 100:100
Recording source: mic
What's weird is that everything looks like it should be playing - no 
weird messages, no jumpy progress bar, etc. I'll double-check my cabling 
again.

One more thing: This board has a bunch of connectors, including regular 
analog out and SPDIF. Right now, things are hooked up to the analog - is 
it maybe playng out of the SPDIF? (Does that even work yet under FreeBSD?)

Thanks,
Lars
--
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Orion Hodson
/-- Kevin Oberman wrote:
|  From: Orion Hodson [EMAIL PROTECTED]
|  Date: Fri, 22 Aug 2003 13:38:22 -0700
|  Sender: [EMAIL PROTECTED]
|  
|  /-- Lars Eggert wrote:
|  | This is a cryptographically signed message in MIME format.
|  | 
|  | --ms080500030203050209080702
|  | Content-Type: text/plain; charset=us-ascii; format=flowed
|  | Content-Transfer-Encoding: 7bit
|  | 
|  | Hi,
|  | 
|  | Rudolf Cejka wrote:
|  |  Glenn Johnson wrote (2003/08/21):
|  |  
|  | sound no longer works.  I reverted to the previous versions of these 
|  | files to get sound back.
|  | 
|  | I might have the same issue. Does no longer work means silence? Then I 
|  | do. (Just got this box, so I don't know whether this was recently broken 
|  | or not.) Here's my hardware:
|  | 
|  | pcm0: SiS 7012 port 0x9000-0x907f,0x9400-0x94ff irq 15 at device 2.7 
|  | on pci0
|  | pcm0: Avance Logic ALC650 AC97 Codec
|  | 
|  |  Could you do ALC650 register dump? If you look into
|  |  ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
 |  how-to in DEBUG sections.
|  | 
|  | Would the dump work/help for the SiS chip as well?
|  
|  Lars
|  
|  First off, apologies for the breakage.  Before investing any time doing a 
|  register dump, can you just check whether your mixer now has an ogain contr
| ol 
|  and that it is non-zero.
| 
| Yes, ogain (output gain?) has replaced volume and it works fine. (I
| think my claim about xmms may have been bogus. Sorry!)

Good stuff.  This I understand and will correct tomorrow.

Thanks
- Orion


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


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Orion Hodson
/-- Lars Eggert wrote:

| What's weird is that everything looks like it should be playing - no 
| weird messages, no jumpy progress bar, etc. I'll double-check my cabling 
| again.
| 
| One more thing: This board has a bunch of connectors, including regular 
| analog out and SPDIF. Right now, things are hooked up to the analog - is 
| it maybe playng out of the SPDIF? (Does that even work yet under FreeBSD?)

Thanks for the info.  I'm looking at the diff and not seeing what's happened 
here.  I'll have to think some more, check the specs, and get back to you.

- Orion



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


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Lars Eggert
Orion Hodson wrote:

/-- Lars Eggert wrote:

| What's weird is that everything looks like it should be playing - no 
| weird messages, no jumpy progress bar, etc. I'll double-check my cabling 
| again.
| 
| One more thing: This board has a bunch of connectors, including regular 
| analog out and SPDIF. Right now, things are hooked up to the analog - is 
| it maybe playng out of the SPDIF? (Does that even work yet under FreeBSD?)

Thanks for the info.  I'm looking at the diff and not seeing what's happened 
here.  I'll have to think some more, check the specs, and get back to you.
I've booted into Windows, and sound plays. So it's not the cabling.

Lars
--
Lars Eggert [EMAIL PROTECTED]   USC Information Sciences Institute


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Recent changes to AC97 files breaks sound

2003-08-22 Thread Glenn Johnson
On Fri, Aug 22, 2003 at 01:38:22PM -0700, Orion Hodson wrote:

 /-- Lars Eggert wrote:

 | This is a cryptographically signed message in MIME format.
 |
 | --ms080500030203050209080702 Content-Type: text/plain;
 | charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit
 |
 | Hi,
 |
 | Rudolf Cejka wrote:
 |
 |  Glenn Johnson wrote (2003/08/21):
 | 
 | sound no longer works.  I reverted to the previous versions of
 | these files to get sound back.
 |
 | I might have the same issue. Does no longer work means
 | silence? Then I do. (Just got this box, so I don't know whether this
 | was recently broken or not.) Here's my hardware:
 |
 | pcm0: SiS 7012 port 0x9000-0x907f,0x9400-0x94ff irq 15 at device
 | 2.7 on pci0 pcm0: Avance Logic ALC650 AC97 Codec
 |
 |  Could you do ALC650 register dump? If you look into
 |  ftp://ftp.FreeBSD.cz/pub/FreeBSD-local/ich/ , you can see small
 |  how-to in DEBUG sections.
 |
 | Would the dump work/help for the SiS chip as well?

 Lars

 First off, apologies for the breakage.  Before investing any time
 doing a register dump, can you just check whether your mixer now has
 an ogain control and that it is non-zero.

No ogain control in my case.  Everything in the mixer output looks the
same as before, including same level settings, just no sound is output.

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


Recent changes to AC97 files breaks sound

2003-08-21 Thread Glenn Johnson
After the changes to:

ac97.c
ac97.h
ac97_patch.c
ac97_patch.h

sound no longer works.  I reverted to the previous versions of these 
files to get sound back.

pcm0: Intel ICH5 (82801EB) port 0xdc00-0xdc3f,0xd800-0xd8ff mem 
0xfc002000-0xfc0020ff,0xfc001000-0xfc0011ff irq 10 at device 31.5 on pci0
pcm0: Avance Logic ALC650 AC97 Codec

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