public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* Alsa and Intel 810 chipset
@  Keith Watson
   ` Cheryl Homiak
   ` Kenny Hitt
  0 siblings, 2 replies; 15+ messages in thread
From: Keith Watson @  UTC (permalink / raw)
  To: speakup

Hi all,

I am attempting to get alsa working with my piece of bovine kaka 
intel chipset. I have made some progress in that I am now able to 
play multiple audio sources by using the alsa-oss wrapper. I have 
yet to compile mplayer, but did install zinf and this is where I 
am running into problems. Without running zinf through the 
wrapper it cannot find the audio device, which suggests that it 
is still trying to use the oss stuff even though I have installed 
the alsa plugin. I guess my question is, has anyone yet attempted 
to get zinf running with the alsa-oss wrapper?

Thanks,

Keith


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

* Re: Alsa and Intel 810 chipset
   Alsa and Intel 810 chipset Keith Watson
@  ` Cheryl Homiak
     ` Keith Watson
     ` Cheryl Homiak
   ` Kenny Hitt
  1 sibling, 2 replies; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Kwatson, Speakup is a screen review system for Linux.

I can't answer your question except to ask whether you have ALSADevice: 
0:0 in  your 
.zinf/preferences. Can you explain to me how you are 
playing multiple audio sources. I have a Thinkpad T23 and according to 
lspci the sound chip is
Multimedia audio contoller Intel Corporation 82801CA/CAM AC97 audio 
controller (rev 02) I can only use one audio source at a time and didn't 
know there might be a way to have it do otherwise. Would you please 
explain specifically what you did? In my kernel configuration I'm using 
the Intel/SiS/nVidia//AMD/ALi Ac97 Controller.
Thanks.


-- 
Cheryl

"Where your treasure is, there will your heart be also."



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

* Re: Alsa and Intel 810 chipset
   ` Cheryl Homiak
@    ` Keith Watson
       ` Cheryl Homiak
     ` Cheryl Homiak
  1 sibling, 1 reply; 15+ messages in thread
From: Keith Watson @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

[-- Attachment #1: Type: text/plain, Size: 1354 bytes --]

Sure, I would be glad to tell you what I have done so far.

First, I am using Debian so I did an apt-get install alsa-oss. I 
then placed the attached asound.conf in /etc. Then I recompiled 
the kernel and took out the two OSS entries, rebooted and I can 
now do the following:

aoss ogg123 myfile.ogg and while that is running I am able to do 
things like:

aoss saytime

And I can hear both audio streams. I have not yet been able to 
get it working with zinf though.

Keith

On 10:19 AM, Cheryl Homiak wrote:
> I can't answer your question except to ask whether you have ALSADevice: 
> 0:0 in  your 
> .zinf/preferences. Can you explain to me how you are 
> playing multiple audio sources. I have a Thinkpad T23 and according to 
> lspci the sound chip is
> Multimedia audio contoller Intel Corporation 82801CA/CAM AC97 audio 
> controller (rev 02) I can only use one audio source at a time and didn't 
> know there might be a way to have it do otherwise. Would you please 
> explain specifically what you did? In my kernel configuration I'm using 
> the Intel/SiS/nVidia//AMD/ALi Ac97 Controller.
> Thanks.
> 
> 
> -- 
> Cheryl
> 
> "Where your treasure is, there will your heart be also."
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

[-- Attachment #2: asound.conf --]
[-- Type: text/plain, Size: 564 bytes --]

# Redirect default to swmixer
pcm.!default {
	type plug
	slave.pcm "swmixer"
}

# Redirect OSS dsp0 (when using aoss rapper) to swmixer
pcm.dsp0 {
	type plug
	slave.pcm "swmixer"
}

# Set OSS mixer (when using aoss rapper) to use hardware mixer
ctl.mixer0 {
	type hw
	card 0
}

# Software mixing
# We could use the dmix plug from the default alsa.conf, but we need to specify
# period_size, buffers, etc.
pcm.swmixer {
	type dmix
	ipc_key 5678293
	ipc_key_add_uid yes
	slave {
		pcm "hw:0,0"
		period_time 0
		period_size 1024
		buffer_size 4096
		rate 44100
	}
}

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

* Re: Alsa and Intel 810 chipset
     ` Keith Watson
@      ` Cheryl Homiak
         ` Cheryl Homiak
  0 siblings, 1 reply; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Kwatson, Speakup is a screen review system for Linux.

Thanks.
I have alsa compiled into my kernel. But gentoo also does have an alsa-oss 
package. If I add alsa-oss to my system do I need to do anything to the 
kernel or can that stand as is?
Thanks.


-- 
Cheryl

"Where your treasure is, there will your heart be also."


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

* Re: Alsa and Intel 810 chipset
       ` Cheryl Homiak
@        ` Cheryl Homiak
           ` Cheryl Homiak
  0 siblings, 1 reply; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Actually, I see three oss entries in the kernel config for sound. oss 
mixer api, oss pcm, and oss sequencer api. I'm going to try eliminating 
them and see what happens since when I just tried adding alsa-oss and then 
ran a second application with it, I still got "can not open /dev/dsp."


-- 
Cheryl

"Where your treasure is, there will your heart be also."



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

* Re: Alsa and Intel 810 chipset
         ` Cheryl Homiak
@          ` Cheryl Homiak
  0 siblings, 0 replies; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I have aoss working, for instance running saytime and ogg123 
simultaneously 
as Keith did. It wasn't apparently necessary to change anything in my 
kernel; I just implemented Keith's file as my .asoundrc. As for zinf, if I 
run it by itself not using the oss-wrapper, it still works fine. If I run 
it without the oss-wrapper while anything else using aoss or alsa is 
running, I 
get an error about audio device is busy. 
If I try it through 
aoss, it appears to run but no sound comes out, maybe because its set up 
to run through alsa instead of oss? Don't know if this helps any.



-- 
Cheryl

"Where your treasure is, there will your heart be also."



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

* Re: Alsa and Intel 810 chipset
   Alsa and Intel 810 chipset Keith Watson
   ` Cheryl Homiak
@  ` Kenny Hitt
  1 sibling, 0 replies; 15+ messages in thread
From: Kenny Hitt @  UTC (permalink / raw)
  To: Kwatson, Speakup is a screen review system for Linux.

Hi.

I just changed the line

PMO: soundcard.pmo

to:

PMO: alsa.pmo

in my ~/.zinf/preferences file.  I then did a modprobe -r command to
remove my OSS modules.  Now, my zinf will work using alsa instead of
OSS.  No wrappers needed.

Hope this helps.
          Kenny

On Sat, May 14, 2005 at 12:57:23AM -0400, Keith Watson wrote:
> Hi all,
> 
> I am attempting to get alsa working with my piece of bovine kaka 
> intel chipset. I have made some progress in that I am now able to 
> play multiple audio sources by using the alsa-oss wrapper. I have 
> yet to compile mplayer, but did install zinf and this is where I 
> am running into problems. Without running zinf through the 
> wrapper it cannot find the audio device, which suggests that it 
> is still trying to use the oss stuff even though I have installed 
> the alsa plugin. I guess my question is, has anyone yet attempted 
> to get zinf running with the alsa-oss wrapper?
> 
> Thanks,
> 
> Keith
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup


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

* Re: Alsa and Intel 810 chipset
   ` Cheryl Homiak
     ` Keith Watson
@    ` Cheryl Homiak
       ` Adam Myrow
       ` Kenny Hitt
  1 sibling, 2 replies; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Well, I'm running alsa built into the kernel. When I recompiled and took 
out the oss entries under alsa and changed from soundcard.pmo to 
alsa.pmo, my 
output became choppy and kind of with clicking in the background for an 
ogg file. Using soundcard.pmo I now get the message about can not open 
the audio device, which I imagine would be correct since oss isn't 
present. Anybody else had the problem with chopped sound in zinf with 
alsa.pmo? If I don't solve this i'll have to put the oss entries under 
alsa back in
the kernel and let it run on oss.
Thanks.

So, as in Keith's case, it must still be trying to play through 
oss. I'm now re-emerging zinf in gentoo specifically with the alsa USE 
flag to see if that makes any difference, though I assumed alsa was 
built into the package since I don't see any alsa-plugin in gentoo.



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

* Re: Alsa and Intel 810 chipset
     ` Cheryl Homiak
@      ` Adam Myrow
         ` Cheryl Homiak
         ` Janina Sajka
       ` Kenny Hitt
  1 sibling, 2 replies; 15+ messages in thread
From: Adam Myrow @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

To put it bluntly, Zinf is the most bug-ridden piece of junk I've ever 
encountered.  Not once have I gotten decent audio from it.  The only file 
format that Zinf can supposedly handle that Mplayer can't is shoutcast 
streams.  Otherwise, Mplayer handles pretty much anything I throw at it. 
BTW, I strongly recommend against leaving out OSS emulation when building 
Alsa.  Far too many applications still expect OSS-style support, and 
probably will continue to do so for some time.



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

* Re: Alsa and Intel 810 chipset
       ` Adam Myrow
@        ` Cheryl Homiak
           ` Cheryl Homiakw
         ` Janina Sajka
  1 sibling, 1 reply; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux., 

Well, actually I like zinf and haven't had nearly the problems you have 
but I can't say why.
I do have aoss but yes I may have to put oss back in.
What I'm trying to do is get my intel to do as much playing as possible 
without getting tied up everytime I try to play two sound sources. Aoss 
does seem to have helped with this.



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

* Re: Alsa and Intel 810 chipset
         ` Cheryl Homiak
@          ` Cheryl Homiakw
  0 siblings, 0 replies; 15+ messages in thread
From: Cheryl Homiakw @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux., ^X

Anyway, I think I accomplished most of what I wanted and zinf isn't really 
that important. Using aoss for some of the applications that need oss, I 
can for instance run saytime while mplayer is running and grandfatherclock 
is running, etc. So at least I'm not as frustrated with my Intel soundcard 
as I was.


-- 
Cheryl

"Where your treasure is, there will your heart be also."



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

* Re: Alsa and Intel 810 chipset
       ` Adam Myrow
         ` Cheryl Homiak
@        ` Janina Sajka
           ` Cheryl Homiak
  1 sibling, 1 reply; 15+ messages in thread
From: Janina Sajka @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Handling simoultaneous audio output streams on cards that don't mix
audio in hardware is the job of dmix in alsa. Beginning with alsa 1.0.9,
dmix is the default configuration.

I would agree about keeping oss emmulation in alsa, as Adam says, for
many years still.

I don't know about zinf, but I can say I've stopped using it. mplayer is
sufficient for me.

Adam Myrow writes:
> To put it bluntly, Zinf is the most bug-ridden piece of junk I've ever 
> encountered.  Not once have I gotten decent audio from it.  The only file 
> format that Zinf can supposedly handle that Mplayer can't is shoutcast 
> streams.  Otherwise, Mplayer handles pretty much anything I throw at it. 
> BTW, I strongly recommend against leaving out OSS emulation when building 
> Alsa.  Far too many applications still expect OSS-style support, and 
> probably will continue to do so for some time.
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 

Janina Sajka				Phone: +1.202.494.7040
Partner, Capital Accessibility LLC	http://www.CapitalAccessibility.Com

Chair, Accessibility Workgroup		Free Standards Group (FSG)
janina@freestandards.org		http://a11y.org

If Linux can't solve your computing problem, you need a different problem.



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

* Re: Alsa and Intel 810 chipset
         ` Janina Sajka
@          ` Cheryl Homiak
             ` Sean McMahon
  0 siblings, 1 reply; 15+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Definitely mplayer is a better program than zinf.
Actually, I came across another .asoundrc or asound.conf configuration, 
done for the Intel with an 845 chip, so not quite the same as mine, that 
does use dmix and also works for me. It is at
http://www.alsa-project.org/alsa-doc/doc-php/template.php?module=intel8x0
Also a dmix howto:
http://alsa.opensrc.org/index.php?page=Dmix-plugin



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

* Re: Alsa and Intel 810 chipset
           ` Cheryl Homiak
@            ` Sean McMahon
  0 siblings, 0 replies; 15+ messages in thread
From: Sean McMahon @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Does dmix take the place of amixer?  I'm trying to get flite to play with an
mplayer-playable streme over an s1371 based card using alsa.
----- Original Message ----- 
From: "Cheryl Homiak" <chomiak@charter.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Tuesday, May 17, 2005 8:05 AM
Subject: Re: Alsa and Intel 810 chipset


> Definitely mplayer is a better program than zinf.
> Actually, I came across another .asoundrc or asound.conf configuration,
> done for the Intel with an 845 chip, so not quite the same as mine, that
> does use dmix and also works for me. It is at
> http://www.alsa-project.org/alsa-doc/doc-php/template.php?module=intel8x0
> Also a dmix howto:
> http://alsa.opensrc.org/index.php?page=Dmix-plugin
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup



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

* Re: Alsa and Intel 810 chipset
     ` Cheryl Homiak
       ` Adam Myrow
@      ` Kenny Hitt
  1 sibling, 0 replies; 15+ messages in thread
From: Kenny Hitt @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

Hi.

I have the problem you have, but only with low bit rate ogg files.
Hi bit ogg files and broadband mp3 streams sound fine.  Even low bit
rate Mp3 files work, just not low bit oggs.

Hope this helps.
          Kenny
	  
On Mon, May 16, 2005 at 09:04:51PM -0500, Cheryl Homiak wrote:
> Well, I'm running alsa built into the kernel. When I recompiled and took 
> out the oss entries under alsa and changed from soundcard.pmo to 
> alsa.pmo, my 
> output became choppy and kind of with clicking in the background for an 
> ogg file. Using soundcard.pmo I now get the message about can not open 
> the audio device, which I imagine would be correct since oss isn't 
> present. Anybody else had the problem with chopped sound in zinf with 
> alsa.pmo? If I don't solve this i'll have to put the oss entries under 
> alsa back in
> the kernel and let it run on oss.


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

end of thread, other threads:[~ UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Alsa and Intel 810 chipset Keith Watson
 ` Cheryl Homiak
   ` Keith Watson
     ` Cheryl Homiak
       ` Cheryl Homiak
         ` Cheryl Homiak
   ` Cheryl Homiak
     ` Adam Myrow
       ` Cheryl Homiak
         ` Cheryl Homiakw
       ` Janina Sajka
         ` Cheryl Homiak
           ` Sean McMahon
     ` Kenny Hitt
 ` Kenny Hitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).