* 1869 trouble with snd-es18xx
@ 2002-06-27 12:20 Kasper Souren
2002-06-27 14:10 ` Paul Davis
0 siblings, 1 reply; 6+ messages in thread
From: Kasper Souren @ 2002-06-27 12:20 UTC (permalink / raw)
To: alsa devel, abramo, fishbach
Hi,
I'm still trying to get ALSA running on my es1869 chip. The chip gets
detected properly:
ALSA ../alsa-kernel/isa/es18xx.c:1544: [0x220] ESS1869 chip found
Also alsamixer works properly.
But when I try to play a soundfile with alsaplayer I just get whitish noise.
I get a lot of messages like this from dmesg:
ALSA ../alsa-kernel/core/pcm_native.c:1093: playback drain error
(DMA or IRQ trouble?)
I tried other IRQ's and DMA's, and then the chip doesn't get recognised, or
I don't get noise when playing something. Also, the IRQ and DMA settings
(IRQ 5, DMA1 1, DMA2 5) are the same for the OSS sb driver, which is working
properly.
So... What can I do? I took a look at es18xx.c but my knowledge about device
driver programming is very limited. And I'm longing to try ALSA, and JACK,
and some other stuff... Is there a way to debug device drivers, maybe with gdb?
Isn't there any option to use a 'virtual' ALSA device? Like snd-pcm-oss, but
then the other way around. snd-oss-pcm module? Then you could use ALSA with
a working OSS driver, and no working ALSA driver...
greetz,
Kasper
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 1869 trouble with snd-es18xx
2002-06-27 12:20 1869 trouble with snd-es18xx Kasper Souren
@ 2002-06-27 14:10 ` Paul Davis
2002-06-27 14:13 ` Kasper Souren
0 siblings, 1 reply; 6+ messages in thread
From: Paul Davis @ 2002-06-27 14:10 UTC (permalink / raw)
To: Kasper Souren; +Cc: alsa devel, abramo, fishbach
>Isn't there any option to use a 'virtual' ALSA device? Like snd-pcm-oss, but
>then the other way around. snd-oss-pcm module? Then you could use ALSA with
>a working OSS driver, and no working ALSA driver...
ALSA has a significantly different internal architecture than OSS. It
is not possible to use an OSS driver to support the ALSA "midlevel"
code.
--p
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 1869 trouble with snd-es18xx
2002-06-27 14:10 ` Paul Davis
@ 2002-06-27 14:13 ` Kasper Souren
2002-06-27 14:54 ` Paul Davis
2002-06-27 23:39 ` yes.. [was " Kasper Souren
0 siblings, 2 replies; 6+ messages in thread
From: Kasper Souren @ 2002-06-27 14:13 UTC (permalink / raw)
To: Paul Davis, alsa devel
Paul Davis wrote:
>>Isn't there any option to use a 'virtual' ALSA device? Like snd-pcm-oss, but
>>then the other way around. snd-oss-pcm module? Then you could use ALSA with
>>a working OSS driver, and no working ALSA driver...
>
>
> ALSA has a significantly different internal architecture than OSS. It
> is not possible to use an OSS driver to support the ALSA "midlevel"
> code.
What kind of "midlevel" code?
I meant an ALSA driver, that you can assign an OSS device. The "midlevel"
ALSA stuff can be handled by the ALSA driver, that just sends the audio data
to the OSS device.
greetz,
Kasper
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 1869 trouble with snd-es18xx
2002-06-27 14:13 ` Kasper Souren
@ 2002-06-27 14:54 ` Paul Davis
2002-06-27 23:39 ` yes.. [was " Kasper Souren
1 sibling, 0 replies; 6+ messages in thread
From: Paul Davis @ 2002-06-27 14:54 UTC (permalink / raw)
To: Kasper Souren; +Cc: alsa devel
>Paul Davis wrote:
>>>Isn't there any option to use a 'virtual' ALSA device? Like snd-pcm-oss, but
>
>>>then the other way around. snd-oss-pcm module? Then you could use ALSA with
>>>a working OSS driver, and no working ALSA driver...
>>
>>
>> ALSA has a significantly different internal architecture than OSS. It
>> is not possible to use an OSS driver to support the ALSA "midlevel"
>> code.
>
>What kind of "midlevel" code?
the code in alsa-kernel/core/pcm (for the audio side). this is
non-device-specific kernel side code. it is called by both user-space
code via system calls and by device-specific code via direct function calls.
>I meant an ALSA driver, that you can assign an OSS device. The "midlevel"
>ALSA stuff can be handled by the ALSA driver, that just sends the audio data
>to the OSS device.
you appear to be talking about routing audio data from alsa-lib to an
actual OSS device, and also providing a translation of the entire
alsa-lib audio API into OSS.
it doesn't seem very likely that anyone from the ALSA would want to do
this. the time could be much better spent on using an existing OSS
driver to implement a native ALSA one.
--p
-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: yes.. [was 1869 trouble with snd-es18xx
2002-06-27 14:13 ` Kasper Souren
2002-06-27 14:54 ` Paul Davis
@ 2002-06-27 23:39 ` Kasper Souren
2002-06-28 0:14 ` Mark Rages
1 sibling, 1 reply; 6+ messages in thread
From: Kasper Souren @ 2002-06-27 23:39 UTC (permalink / raw)
To: alsa devel; +Cc: Rubikz, "José Andrés Martínez S."
Hi,
Finally I managed to get ALSA running properly on my Compaq Armada 3500 with
an es1869 soundchip. The problem was apparently an IRQ DMA problem. I read
the datasheet of the es1869 and there I found that it's best to have the
first DMA channel set to 1 and the second DMA set to 0, 1 or 3. I haven't
found anything about IRQ settings, but I tried irq 9, which didn't work, and
now I'm using irq 5. However, Jose Andres Martinez runs the es18xx driver on
his Armada 3500 with irq 9.
The second DMA channel used to be 5. And the OSS sb driver worked perfectly,
just like the Windows 98 and 2000 drivers. So that's pretty strange. On
Windows I even managed to have full duplex. Haven't tried that yet.
Maybe someone can add this information to the ALSA documentation somewhere.
The ALSA HOWTO might be a good place? Jorn?
greetz,
Kasper
P.S. me happy now :) finally I can use ALSA and JACK :)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: yes.. [was 1869 trouble with snd-es18xx
2002-06-27 23:39 ` yes.. [was " Kasper Souren
@ 2002-06-28 0:14 ` Mark Rages
0 siblings, 0 replies; 6+ messages in thread
From: Mark Rages @ 2002-06-28 0:14 UTC (permalink / raw)
To: Kasper Souren; +Cc: alsa devel, Rubikz, "Jos? Andr?s Mart?nez S."
On Fri, Jun 28, 2002 at 01:39:38AM +0200, Kasper Souren wrote:
> Finally I managed to get ALSA running properly on my Compaq Armada 3500
congratulations!
>
> Maybe someone can add this information to the ALSA documentation somewhere.
> The ALSA HOWTO might be a good place? Jorn?
You can do it yourself:
1. Go to http://alsa.opensrc.org/index.php?page=es18xx
2. Click on "Edit this document"
3. Type the information and click "save"
Regards,
Mark
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-06-28 0:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-27 12:20 1869 trouble with snd-es18xx Kasper Souren
2002-06-27 14:10 ` Paul Davis
2002-06-27 14:13 ` Kasper Souren
2002-06-27 14:54 ` Paul Davis
2002-06-27 23:39 ` yes.. [was " Kasper Souren
2002-06-28 0:14 ` Mark Rages
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.