All of lore.kernel.org
 help / color / mirror / Atom feed
* nForce2 (intel8x0) playback doesn't accept 44khz
@ 2004-01-14 11:41 Arve Knudsen
  2004-01-14 12:09 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Arve Knudsen @ 2004-01-14 11:41 UTC (permalink / raw)
  To: alsa-devel@lists.sourceforge.net

Hello

Has the intel8x0 driver been made accept only 48khz for playback? I always 
used 44.1, and wouldn't mind continuing to do so. Also, it really baffled 
me at first that it would accept 44.1 for capture, but not playback. Would 
someone care to explain, if this is how its meant to work?

Thanks

Arve Knudsen


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nForce2 (intel8x0) playback doesn't accept 44khz
  2004-01-14 11:41 nForce2 (intel8x0) playback doesn't accept 44khz Arve Knudsen
@ 2004-01-14 12:09 ` Takashi Iwai
  2004-01-14 12:27   ` Arve Knudsen
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2004-01-14 12:09 UTC (permalink / raw)
  To: Arve Knudsen; +Cc: alsa-devel@lists.sourceforge.net

At Wed, 14 Jan 2004 12:41:59 +0100,
Arve Knudsen wrote:
> 
> Hello
> 
> Has the intel8x0 driver been made accept only 48khz for playback? I always 
> used 44.1, and wouldn't mind continuing to do so. Also, it really baffled 
> me at first that it would accept 44.1 for capture, but not playback. Would 
> someone care to explain, if this is how its meant to work?

it depends on ac97 codec.  if the codec chip accepts the other rates,
the intel8x0 driver accepts them, too.

but for debugging, i need to know more basic info such as the version
you're using, which codec chips, which program doesn't work, etc...


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nForce2 (intel8x0) playback doesn't accept 44khz
  2004-01-14 12:09 ` Takashi Iwai
@ 2004-01-14 12:27   ` Arve Knudsen
  2004-01-14 13:43     ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Arve Knudsen @ 2004-01-14 12:27 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel@lists.sourceforge.net

I'm sorry i wasn't being more specific, but from browsing the archive 
(http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10257.html) 
I got the impression the rate of intel8x0 has been recently fixed at 
48khz? Anyway, this is an Asus A7N8X Deluxe with nForce2 SoundStorm 
onboard audio. ALSA-lib is v1.0.1, while ALSA-driver is compiled into 
kernel 2.6.1-mm2 (v1.0.1?). The problem is consistent across programs it 
seems, specifically my own code and aplay (sets rate to 48000 if I open 
hw).

Regards

Arve Knudsen

On Wed, 14 Jan 2004 13:09:05 +0100, Takashi Iwai <tiwai@suse.de> wrote:

> At Wed, 14 Jan 2004 12:41:59 +0100,
> Arve Knudsen wrote:
>>
>> Hello
>>
>> Has the intel8x0 driver been made accept only 48khz for playback? I 
>> always
>> used 44.1, and wouldn't mind continuing to do so. Also, it really 
>> baffled
>> me at first that it would accept 44.1 for capture, but not playback. 
>> Would
>> someone care to explain, if this is how its meant to work?
>
> it depends on ac97 codec.  if the codec chip accepts the other rates,
> the intel8x0 driver accepts them, too.
>
> but for debugging, i need to know more basic info such as the version
> you're using, which codec chips, which program doesn't work, etc...
>
>
> Takashi




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nForce2 (intel8x0) playback doesn't accept 44khz
  2004-01-14 12:27   ` Arve Knudsen
@ 2004-01-14 13:43     ` Takashi Iwai
  2004-01-14 13:57       ` Arve Knudsen
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2004-01-14 13:43 UTC (permalink / raw)
  To: Arve Knudsen; +Cc: alsa-devel@lists.sourceforge.net

At Wed, 14 Jan 2004 13:27:25 +0100,
Arve Knudsen wrote:
> 
> I'm sorry i wasn't being more specific, but from browsing the archive 
> (http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10257.html) 

no, it was a bug.

> I got the impression the rate of intel8x0 has been recently fixed at 
> 48khz? Anyway, this is an Asus A7N8X Deluxe with nForce2 SoundStorm 
> onboard audio. ALSA-lib is v1.0.1, while ALSA-driver is compiled into 
> kernel 2.6.1-mm2 (v1.0.1?). The problem is consistent across programs it 
> seems, specifically my own code and aplay (sets rate to 48000 if I open 
> hw).

as mentioned, the support sample rate is dependent on AC97 codec.

check /proc/asound/card0/codec97#0/* files.
if your codec supports VRA, you'll see it in the extended id line.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nForce2 (intel8x0) playback doesn't accept 44khz
  2004-01-14 13:43     ` Takashi Iwai
@ 2004-01-14 13:57       ` Arve Knudsen
  2004-01-14 14:02         ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Arve Knudsen @ 2004-01-14 13:57 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel@lists.sourceforge.net

On Wed, 14 Jan 2004 14:43:03 +0100, Takashi Iwai <tiwai@suse.de> wrote:

> At Wed, 14 Jan 2004 13:27:25 +0100,
> Arve Knudsen wrote:
>>
>> I'm sorry i wasn't being more specific, but from browsing the archive
>> (http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10257.html)
>
> no, it was a bug.
>
>> I got the impression the rate of intel8x0 has been recently fixed at
>> 48khz? Anyway, this is an Asus A7N8X Deluxe with nForce2 SoundStorm
>> onboard audio. ALSA-lib is v1.0.1, while ALSA-driver is compiled into
>> kernel 2.6.1-mm2 (v1.0.1?). The problem is consistent across programs it
>> seems, specifically my own code and aplay (sets rate to 48000 if I open
>> hw).
>
> as mentioned, the support sample rate is dependent on AC97 codec.
>
> check /proc/asound/card0/codec97#0/* files.
> if your codec supports VRA, you'll see it in the extended id line.
>
>
> Takashi

The thing is it used to support 44.1 just fine, its only recently there's 
been a problem. Besides isn't it weird that capture will support 44.1 
while playback doesn't? Anyhow, the extended id line indicates it supports 
VRA:
Extended ID      : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA

Regards

Arve Knudsen


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nForce2 (intel8x0) playback doesn't accept 44khz
  2004-01-14 13:57       ` Arve Knudsen
@ 2004-01-14 14:02         ` Takashi Iwai
  2004-01-14 14:12           ` Arve Knudsen
  0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2004-01-14 14:02 UTC (permalink / raw)
  To: Arve Knudsen; +Cc: alsa-devel@lists.sourceforge.net

At Wed, 14 Jan 2004 14:57:03 +0100,
Arve Knudsen wrote:
> 
> On Wed, 14 Jan 2004 14:43:03 +0100, Takashi Iwai <tiwai@suse.de> wrote:
> 
> > At Wed, 14 Jan 2004 13:27:25 +0100,
> > Arve Knudsen wrote:
> >>
> >> I'm sorry i wasn't being more specific, but from browsing the archive
> >> (http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10257.html)
> >
> > no, it was a bug.
> >
> >> I got the impression the rate of intel8x0 has been recently fixed at
> >> 48khz? Anyway, this is an Asus A7N8X Deluxe with nForce2 SoundStorm
> >> onboard audio. ALSA-lib is v1.0.1, while ALSA-driver is compiled into
> >> kernel 2.6.1-mm2 (v1.0.1?). The problem is consistent across programs it
> >> seems, specifically my own code and aplay (sets rate to 48000 if I open
> >> hw).
> >
> > as mentioned, the support sample rate is dependent on AC97 codec.
> >
> > check /proc/asound/card0/codec97#0/* files.
> > if your codec supports VRA, you'll see it in the extended id line.
> >
> >
> > Takashi
> 
> The thing is it used to support 44.1 just fine, its only recently there's 
> been a problem. Besides isn't it weird that capture will support 44.1 
> while playback doesn't? Anyhow, the extended id line indicates it supports 
> VRA:
> Extended ID      : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA

please show the whole entries (of all files) for debugging...


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: nForce2 (intel8x0) playback doesn't accept 44khz
  2004-01-14 14:02         ` Takashi Iwai
@ 2004-01-14 14:12           ` Arve Knudsen
  0 siblings, 0 replies; 7+ messages in thread
From: Arve Knudsen @ 2004-01-14 14:12 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel@lists.sourceforge.net

/proc/asound/card0/codec97#0/ac97#0-0:
0-0/0: Realtek ALC650 rev 2

Capabilities     :
DAC resolution   : 20-bit
ADC resolution   : 18-bit
3D enhancement   : Realtek 3D Stereo Enhancement

Current setup
Mic gain         : +0dB [+0dB]
POP path         : pre 3D
Sim. stereo      : off
3D enhancement   : off
Loudness         : off
Mono output      : MIX
Mic select       : Mic1
ADC/DAC loopback : off
Extended ID      : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
Extended status  : SPCV LDAC SDAC CDAC SPDIF=3/4 VRA
PCM front DAC    : 48000Hz
PCM Surr DAC     : 48000Hz
PCM LFE DAC      : 48000Hz
PCM ADC          : 22050Hz
SPDIF Control    : Consumer PCM Category=0x2 Generation=1 Rate=48kHz
SPDIF In Status  : Not Locked

/proc/asound/card0/codec97#0/ac97#0-0+regs
0:00 = 5980
0:02 = 0505
0:04 = 0000
0:06 = 0003
0:08 = 0000
0:0a = 801e
0:0c = 801f
0:0e = 801f
0:10 = 9f1f
0:12 = 9f1f
0:14 = 9f1f
0:16 = 9f1f
0:18 = 0808
0:1a = 0000
0:1c = 0000
0:1e = 0000
0:20 = 0000
0:22 = 0000
0:24 = 0000
0:26 = 000f
0:28 = 05c7
0:2a = 05c1
0:2c = bb80
0:2e = bb80
0:30 = bb80
0:32 = 5622
0:34 = 0000
0:36 = 9f80
0:38 = 9f9f
0:3a = 2824
0:3c = 0000
0:3e = 0000
0:40 = 0000
0:42 = 0000
0:44 = 0000
0:46 = 0000
0:48 = 0000
0:4a = 0000
0:4c = 0000
0:4e = 0000
0:50 = 0000
0:52 = 0000
0:54 = 0000
0:56 = 0000
0:58 = 0000
0:5a = 0000
0:5c = 0000
0:5e = 0000
0:60 = 0000
0:62 = 0000
0:64 = 0808
0:66 = 0808
0:68 = 0000
0:6a = 0000
0:6c = 0000
0:6e = 0014
0:70 = 0211
0:72 = 00a0
0:74 = 0043
0:76 = 0000
0:78 = 8003
0:7a = 57c3
0:7c = 414c
0:7e = 4720


On Wed, 14 Jan 2004 15:02:44 +0100, Takashi Iwai <tiwai@suse.de> wrote:

> At Wed, 14 Jan 2004 14:57:03 +0100,
> Arve Knudsen wrote:
>>
>> On Wed, 14 Jan 2004 14:43:03 +0100, Takashi Iwai <tiwai@suse.de> wrote:
>>
>> > At Wed, 14 Jan 2004 13:27:25 +0100,
>> > Arve Knudsen wrote:
>> >>
>> >> I'm sorry i wasn't being more specific, but from browsing the archive
>> >> 
>> (http://www.mail-archive.com/alsa-devel@lists.sourceforge.net/msg10257.html)
>> >
>> > no, it was a bug.
>> >
>> >> I got the impression the rate of intel8x0 has been recently fixed at
>> >> 48khz? Anyway, this is an Asus A7N8X Deluxe with nForce2 SoundStorm
>> >> onboard audio. ALSA-lib is v1.0.1, while ALSA-driver is compiled into
>> >> kernel 2.6.1-mm2 (v1.0.1?). The problem is consistent across 
>> programs it
>> >> seems, specifically my own code and aplay (sets rate to 48000 if I 
>> open
>> >> hw).
>> >
>> > as mentioned, the support sample rate is dependent on AC97 codec.
>> >
>> > check /proc/asound/card0/codec97#0/* files.
>> > if your codec supports VRA, you'll see it in the extended id line.
>> >
>> >
>> > Takashi
>>
>> The thing is it used to support 44.1 just fine, its only recently 
>> there's
>> been a problem. Besides isn't it weird that capture will support 44.1
>> while playback doesn't? Anyhow, the extended id line indicates it 
>> supports
>> VRA:
>> Extended ID      : codec=0 rev=1 LDAC SDAC CDAC DSA=0 SPDIF DRA VRA
>
> please show the whole entries (of all files) for debugging...
>
>
> Takashi




-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-14 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-14 11:41 nForce2 (intel8x0) playback doesn't accept 44khz Arve Knudsen
2004-01-14 12:09 ` Takashi Iwai
2004-01-14 12:27   ` Arve Knudsen
2004-01-14 13:43     ` Takashi Iwai
2004-01-14 13:57       ` Arve Knudsen
2004-01-14 14:02         ` Takashi Iwai
2004-01-14 14:12           ` Arve Knudsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.