All of lore.kernel.org
 help / color / mirror / Atom feed
* Digi96 driver question
@ 2004-05-04  2:43 Anders Torger
  2004-05-04 10:48 ` Paul Davis
  0 siblings, 1 reply; 6+ messages in thread
From: Anders Torger @ 2004-05-04  2:43 UTC (permalink / raw)
  To: alsa-devel


On the page 
http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=RME&card=Digi96%
2F8+PAD&chip=FPGA&module=rme96

in says under "known bugs":

 - 96kHz and 88.2kHz not accessible via PCM interface 

What does that mean? The card and driver does work in 96 and 88.2 kHz, I 
know that since I wrote the driver... but if there is some sort of bug, 
I'd like to know.

/Anders Torger


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

* Re: Digi96 driver question
  2004-05-04  2:43 Digi96 driver question Anders Torger
@ 2004-05-04 10:48 ` Paul Davis
  2004-05-04 12:06   ` Anders Torger
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Davis @ 2004-05-04 10:48 UTC (permalink / raw)
  To: Anders Torger; +Cc: alsa-devel

>in says under "known bugs":
>
> - 96kHz and 88.2kHz not accessible via PCM interface 
>
>What does that mean? The card and driver does work in 96 and 88.2 kHz, I 
>know that since I wrote the driver... but if there is some sort of bug, 
>I'd like to know.

anders, i don't know, but it might mean that you can't set the SR to
these values using the PCM interface. the hammerfalls are subject to
the same limitation in a slightly different way. just a guess.

--p



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

* Re: Digi96 driver question
  2004-05-04 10:48 ` Paul Davis
@ 2004-05-04 12:06   ` Anders Torger
  2004-05-04 15:41     ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Anders Torger @ 2004-05-04 12:06 UTC (permalink / raw)
  To: Paul Davis; +Cc: alsa-devel

On Tuesday 04 May 2004 12.48, you wrote:
> >in says under "known bugs":
> >
> > - 96kHz and 88.2kHz not accessible via PCM interface
> >
> >What does that mean? The card and driver does work in 96 and 88.2
> > kHz, I know that since I wrote the driver... but if there is some
> > sort of bug, I'd like to know.
>
> anders, i don't know, but it might mean that you can't set the SR to
> these values using the PCM interface. the hammerfalls are subject to
> the same limitation in a slightly different way. just a guess.

You are probably right, I don't really know what the is meant by the PCM 
interface though. If I can run the card in 96 kHz with

aplay -r 96000 ...

(which is possible) does that not mean that the PCM interface supports 
96 kHz? Or does "PCM interface" refer to some interface within ALSA I 
don't know about? I was thinking that "PCM interface" is the collection 
of snd_pcm_*() functions, but perhaps I'm mistaken?

The digi96 card runs either in ADAT or S/PDIF mode, it cannot do both at 
the same time (as the hammerfall can). In ADAT mode, which in the 
driver is represented as a separate device, it only supports 44.1 and 
48 kHz. In S/PDIF mode it supports 32 - 96 kHz. I though perhaps this 
is what has caused the bug report, but that is only a limitation in the 
hardware, not a bug in the driver.

/Anders


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

* Re: Digi96 driver question
  2004-05-04 12:06   ` Anders Torger
@ 2004-05-04 15:41     ` Takashi Iwai
  2004-05-04 17:40       ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-05-04 15:41 UTC (permalink / raw)
  To: Anders Torger; +Cc: Paul Davis, alsa-devel

At Tue, 4 May 2004 14:06:11 +0200,
Anders Torger wrote:
> 
> On Tuesday 04 May 2004 12.48, you wrote:
> > >in says under "known bugs":
> > >
> > > - 96kHz and 88.2kHz not accessible via PCM interface
> > >
> > >What does that mean? The card and driver does work in 96 and 88.2
> > > kHz, I know that since I wrote the driver... but if there is some
> > > sort of bug, I'd like to know.
> >
> > anders, i don't know, but it might mean that you can't set the SR to
> > these values using the PCM interface. the hammerfalls are subject to
> > the same limitation in a slightly different way. just a guess.
> 
> You are probably right, I don't really know what the is meant by the PCM 
> interface though. If I can run the card in 96 kHz with
> 
> aplay -r 96000 ...
> 
> (which is possible) does that not mean that the PCM interface supports 
> 96 kHz? Or does "PCM interface" refer to some interface within ALSA I 
> don't know about? I was thinking that "PCM interface" is the collection 
> of snd_pcm_*() functions, but perhaps I'm mistaken?
> 
> The digi96 card runs either in ADAT or S/PDIF mode, it cannot do both at 
> the same time (as the hammerfall can). In ADAT mode, which in the 
> driver is represented as a separate device, it only supports 44.1 and 
> 48 kHz. In S/PDIF mode it supports 32 - 96 kHz. I though perhaps this 
> is what has caused the bug report, but that is only a limitation in the 
> hardware, not a bug in the driver.

maybe it's simply outdated.  i'll remove that one if aplay like above
works.

if you have a better text to explain the driver restriction (either
h/w or s/w one), please send us a patch :)


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

* Re: Digi96 driver question
  2004-05-04 15:41     ` Takashi Iwai
@ 2004-05-04 17:40       ` Takashi Iwai
  2004-05-04 19:25         ` Anders Torger
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2004-05-04 17:40 UTC (permalink / raw)
  To: Anders Torger; +Cc: Paul Davis, alsa-devel

At Tue, 04 May 2004 17:41:09 +0200,
I wrote:
> 
> At Tue, 4 May 2004 14:06:11 +0200,
> Anders Torger wrote:
> > 
> > On Tuesday 04 May 2004 12.48, you wrote:
> > > >in says under "known bugs":
> > > >
> > > > - 96kHz and 88.2kHz not accessible via PCM interface
> > > >
> > > >What does that mean? The card and driver does work in 96 and 88.2
> > > > kHz, I know that since I wrote the driver... but if there is some
> > > > sort of bug, I'd like to know.
> > >
> > > anders, i don't know, but it might mean that you can't set the SR to
> > > these values using the PCM interface. the hammerfalls are subject to
> > > the same limitation in a slightly different way. just a guess.
> > 
> > You are probably right, I don't really know what the is meant by the PCM 
> > interface though. If I can run the card in 96 kHz with
> > 
> > aplay -r 96000 ...
> > 
> > (which is possible) does that not mean that the PCM interface supports 
> > 96 kHz? Or does "PCM interface" refer to some interface within ALSA I 
> > don't know about? I was thinking that "PCM interface" is the collection 
> > of snd_pcm_*() functions, but perhaps I'm mistaken?
> > 
> > The digi96 card runs either in ADAT or S/PDIF mode, it cannot do both at 
> > the same time (as the hammerfall can). In ADAT mode, which in the 
> > driver is represented as a separate device, it only supports 44.1 and 
> > 48 kHz. In S/PDIF mode it supports 32 - 96 kHz. I though perhaps this 
> > is what has caused the bug report, but that is only a limitation in the 
> > hardware, not a bug in the driver.
> 
> maybe it's simply outdated.  i'll remove that one if aplay like above
> works.

it turned out that the entry "snd-rme9652" matches with snd-rme96.
so, it was targeted to another driver...


Takashi


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

* Re: Digi96 driver question
  2004-05-04 17:40       ` Takashi Iwai
@ 2004-05-04 19:25         ` Anders Torger
  0 siblings, 0 replies; 6+ messages in thread
From: Anders Torger @ 2004-05-04 19:25 UTC (permalink / raw)
  To: alsa-devel

On Tuesday 04 May 2004 19.40, Takashi Iwai wrote:
> At Tue, 04 May 2004 17:41:09 +0200,
>
> I wrote:
> > At Tue, 4 May 2004 14:06:11 +0200,
> >
> > Anders Torger wrote:
> > > On Tuesday 04 May 2004 12.48, you wrote:
> > > > >in says under "known bugs":
> > > > >
> > > > > - 96kHz and 88.2kHz not accessible via PCM interface
> > > > >
> > > > >What does that mean? The card and driver does work in 96 and
> > > > > 88.2 kHz, I know that since I wrote the driver... but if
> > > > > there is some sort of bug, I'd like to know.
> > > >
> > > > anders, i don't know, but it might mean that you can't set the
> > > > SR to these values using the PCM interface. the hammerfalls are
> > > > subject to the same limitation in a slightly different way.
> > > > just a guess.
> > >
> > > You are probably right, I don't really know what the is meant by
> > > the PCM interface though. If I can run the card in 96 kHz with
> > >
> > > aplay -r 96000 ...
> > >
> > > (which is possible) does that not mean that the PCM interface
> > > supports 96 kHz? Or does "PCM interface" refer to some interface
> > > within ALSA I don't know about? I was thinking that "PCM
> > > interface" is the collection of snd_pcm_*() functions, but
> > > perhaps I'm mistaken?
> > >
> > > The digi96 card runs either in ADAT or S/PDIF mode, it cannot do
> > > both at the same time (as the hammerfall can). In ADAT mode,
> > > which in the driver is represented as a separate device, it only
> > > supports 44.1 and 48 kHz. In S/PDIF mode it supports 32 - 96 kHz.
> > > I though perhaps this is what has caused the bug report, but that
> > > is only a limitation in the hardware, not a bug in the driver.
> >
> > maybe it's simply outdated.  i'll remove that one if aplay like
> > above works.
>
> it turned out that the entry "snd-rme9652" matches with snd-rme96.
> so, it was targeted to another driver...

Ok great... then I know.

I think the hardware limitation (that is that you run it either in ADAT 
or S/PDIF mode, not both at the same time) is stated in the info for 
the card when you buy it, so it should not be necessary to have the 
same info in the driver page. As long as the hardware is fully 
supported there should not be necessary for any further notes.

Well, there actually is one limitation -- the driver does not support 
running the card in "multi-stereo device mode", which is a hardware 
hack to make the card simulate multiple stereo sound cards (I think it 
is to support old Microsoft Windows pcm APIs). ALSA makes such things 
redundant though, so I don't think it is a limitation worth mentioning. 
There is simply no reason for using the card that way when there is 
proper multi-channel support in the pcm API.

/Anders


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

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

end of thread, other threads:[~2004-05-04 19:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-04  2:43 Digi96 driver question Anders Torger
2004-05-04 10:48 ` Paul Davis
2004-05-04 12:06   ` Anders Torger
2004-05-04 15:41     ` Takashi Iwai
2004-05-04 17:40       ` Takashi Iwai
2004-05-04 19:25         ` Anders Torger

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.