Re: [Alsa-user] Skype - problem with sound device - ?

2006-01-05 Thread Sergei Steshenko
The card is M-Audio Revolution 7.1.

Please remember, I'm still on ALSA 1.0.8.

'aoss' was the only way I could get Skype working with
M-Audio Revolution 7.1, before M-Audio Revolution 7.1
I used to use SB-Live 5.1, and with it Skype worked
out of the box, i.e. whatever OSS simulation was
doing, it was good enough for Skype.

On Thu, 05 Jan 2006 01:16:00 -0500
Lee Revell [EMAIL PROTECTED] wrote:

 On Wed, 2006-01-04 at 16:40 +0200, Sergei Steshenko wrote:
  I do two things:
  
  1) disable ALL alsa applications like 'ams', 'alsaplayer', etc., but do
  leave 'alsamixer' open;
  
  2) run Skype as
  
  aoss skype
  .
 
 Skype really works with aoss for you?  We have seen TONS of reports that
 it didn't and had assumed it was a bug in aoss.
 
 What sound card are you using?
 
 Lee
 
 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] pcm vs pcm2 channel

2006-01-05 Thread Paul Fox
hi -- i understand that sometimes channels are mislabeled, and
that pcm2 sometimes means headphones, or main, but
assuming that that's not the case, does the presence of a pcm2
channel imply that one could play two digital sources at once
(e.g., two wav files) and have them mixed by the hardware?

if so, what devices would one use?

i run a whole-house audio system.  i have both music (duh.  :-)
and also a home-automation menuing system.  currently, i run a
nas server on top of the audio device, because it's capable of
mixing inputs from various clients.  i use a NAS-enabled mpg123
to play the music, and i use auplay to send the festival-generated
voice data.  so my music can keep playing while i check my
voicemail, for instance.  i'd like to eliminate the nas server
(just to make things simpler) but i know of no other easy way to
do pcm signal mixing.  (i'd also be happy with having one input
override the other input -- i.e., the voice response menu system
would have priority over music.)

paul
=-
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 31.8 degrees)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] pcm vs pcm2 channel

2006-01-05 Thread Lee Revell
On Thu, 2006-01-05 at 13:25 -0500, Paul Fox wrote:
 hi -- i understand that sometimes channels are mislabeled, and
 that pcm2 sometimes means headphones, or main, but
 assuming that that's not the case, does the presence of a pcm2
 channel imply that one could play two digital sources at once
 (e.g., two wav files) and have them mixed by the hardware?
 
 if so, what devices would one use?
 
 i run a whole-house audio system.  i have both music (duh.  :-)
 and also a home-automation menuing system.  currently, i run a
 nas server on top of the audio device, because it's capable of
 mixing inputs from various clients.  i use a NAS-enabled mpg123
 to play the music, and i use auplay to send the festival-generated
 voice data.  so my music can keep playing while i check my
 voicemail, for instance.  i'd like to eliminate the nas server
 (just to make things simpler) but i know of no other easy way to
 do pcm signal mixing.  (i'd also be happy with having one input
 override the other input -- i.e., the voice response menu system
 would have priority over music.)

You must be using an old version of ALSA.  With 1.0.9 and later this
should Just Work - if your hardware can't mix multiple channels then
alsa-lib will handle the mixing.

You have to make sure all your ALSA apps are using the default PCM.
Some buggy apps like XMMS default to hw:0,0 which has always been
wrong.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] pcm vs pcm2 channel

2006-01-05 Thread Paul Fox
   channel imply that one could play two digital sources at once
   (e.g., two wav files) and have them mixed by the hardware?
   
   if so, what devices would one use?
 ...
   voicemail, for instance.  i'd like to eliminate the nas server
   (just to make things simpler) but i know of no other easy way to
   do pcm signal mixing.  (i'd also be happy with having one input
   override the other input -- i.e., the voice response menu system
   would have priority over music.)
  
  You must be using an old version of ALSA.  With 1.0.9 and later this
  should Just Work - if your hardware can't mix multiple channels then
  alsa-lib will handle the mixing.

doh.  okay, clearly i need to upgrade.  i'm running 1.0.1, but
even if i were running something newer, it might not have occurred
to me to try this.  i confess that once i get sound (or almost anything
else, for that matter :-) working, i don't tend to touch it until i
have to.

  
  You have to make sure all your ALSA apps are using the default PCM.

what does this mean, exactly?  /dev/dsp?

  Some buggy apps like XMMS default to hw:0,0 which has always been
  wrong.

am i to infer from this (and your mention of alsa-lib, above)
that i can't do this from the shell?  i.e. can i simply cat two
sound files to separate device nodes and have them mixed?  or do
i have to use alsa-aware apps?

thanks very much for helping me understand this...

paul
=-
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 31.5 degrees)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] pcm vs pcm2 channel

2006-01-05 Thread Lee Revell
On Thu, 2006-01-05 at 13:42 -0500, Paul Fox wrote:
channel imply that one could play two digital sources at once
(e.g., two wav files) and have them mixed by the hardware?

if so, what devices would one use?
  ...
voicemail, for instance.  i'd like to eliminate the nas server
(just to make things simpler) but i know of no other easy way to
do pcm signal mixing.  (i'd also be happy with having one input
override the other input -- i.e., the voice response menu system
would have priority over music.)
   
   You must be using an old version of ALSA.  With 1.0.9 and later this
   should Just Work - if your hardware can't mix multiple channels then
   alsa-lib will handle the mixing.
 
 doh.  okay, clearly i need to upgrade.  i'm running 1.0.1, but
 even if i were running something newer, it might not have occurred
 to me to try this.  i confess that once i get sound (or almost anything
 else, for that matter :-) working, i don't tend to touch it until i
 have to.
 
   
   You have to make sure all your ALSA apps are using the default PCM.
 
 what does this mean, exactly?  /dev/dsp?
 

/dev/dsp is the OSS emulation device.  I was referring to native ALSA.

   Some buggy apps like XMMS default to hw:0,0 which has always been
   wrong.
 
 am i to infer from this (and your mention of alsa-lib, above)
 that i can't do this from the shell?  i.e. can i simply cat two
 sound files to separate device nodes and have them mixed?  or do
 i have to use alsa-aware apps?
 
 thanks very much for helping me understand this...

You can't cat files to /dev/dsp and have them be mixed (but cat file.wav
 /dev/dsp was never a good interface anyway) as the in-kernel OSS
emulation does not do software mixing.  But you can just aplay
file.wav from two different terminals and they will be mixed.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] pcm vs pcm2 channel

2006-01-05 Thread Paul Fox
 
 You have to make sure all your ALSA apps are using the default PCM.
   
   what does this mean, exactly?  /dev/dsp?
   
  
  /dev/dsp is the OSS emulation device.  I was referring to native ALSA.

i see.  so i guess there's no per-channel device node under alsa?

  You can't cat files to /dev/dsp and have them be mixed (but cat file.wav
   /dev/dsp was never a good interface anyway) as the in-kernel OSS
  emulation does not do software mixing.  But you can just aplay
  file.wav from two different terminals and they will be mixed.

gotcha.  alsa-aware apps it is, then.  thanks.

if alsa is doing the mixing, how can one adjust the relative
volume of the inputs?  possible?  going back to my music and
home-automation menuing example, i could see wanting to mute or
reduce the volume of the music while the voice menus are
speaking.

paul
=-
 paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 32.0 degrees)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Alsa problems

2006-01-05 Thread kunt1z

Hi guys,
this is my first post in this mailing list. I've got a problem using 
ALSA: I've installed tho sources following the documentation 
step-by-step. That's OK, but when I try to run aplay here's what happen:


$ aplay -D intel8x0 test.wav
aplay: main:533: audio open error: No such file or directory


And when I try to run mplayer using alsa, something similar happens:

$ mplayer -ao alsa test.wav
MPlayer 1.0pre7try2-3.3.6 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

85 audio  196 video codecs
Playing test.wav.
Audio file detected.
==
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22254 Hz, 1 ch, u8, 178.0 kbit/100.00% (ratio: 22254-22254)
Selected audio codec: [pcm] afm:pcm (Uncompressed PCM)
==
Checking audio filter chain for 22254Hz/1ch/u8 - 22254Hz/2ch/u8...
AF_pre: 22254Hz/1ch/u8
alsa-init: 1 soundcard found, using: default
ALSA lib pcm_dmix.c:819:(snd_pcm_dmix_open) unable to open slave
alsa-init: playback open error: No such file or directory
Could not open/initialize audio device - no sound.
Audio: no sound
Video: no video

Exiting... (End of file)

Another problem occours with midi. I cannot play midi. No way.
Furthermore, I've got a problem using aRts and Alsa together: when using 
aRts, all kde's sounds work well, but I can't use mplayer because aRts 
block the /dev/dsp device. I cannot listen sounds in web pages, too. How 
can I use aRts and ALSA together?
Finally, a little audio delay problem: when aRts is not active, all the 
videos have an audio delay. E.g.: if a watch a movie using mplayer, the 
audio has ALWAYS delay, and also Flash movies in web pages have audio delay.



Anyone can help me? Here's some data:

- Debian testing
- kernel 2.6.10
- KDE 3.4.2
- Audio device: INTEL 82801DB-ICH4 (DUPLEX)
- Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)

- $ cat /etc/modutils/alsa   (this file is inserted into 
/etc/modules.conf when i run #update-modules)

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
#module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss


- $ ll /dev/dsp*
lrwxrwxrwx  1 root root   9 2006-01-05 21:44 /dev/dsp - /dev/dsp0
crw-rw-rw-  1 root audio 14,  3 2005-06-22 16:50 /dev/dsp0
crw-rw-rw-  1 root audio 14, 35 2005-06-22 16:50 /dev/dsp2
crw-rw-rw-  1 root audio 14, 51 2005-06-22 16:50 /dev/dsp3


- $ ll /dev/midi*
lrwxrwxrwx  1 root audio  6 2005-06-22 16:50 /dev/midi - midi00
crw-rw-rw-  1 root audio 14,  2 2005-06-22 16:50 /dev/midi00
crw-rw  1 root audio 14, 18 2005-06-22 16:50 /dev/midi01
crw-rw  1 root audio 14, 34 2005-06-22 16:50 /dev/midi02
crw-rw  1 root audio 14, 50 2005-06-22 16:50 /dev/midi03
crw-rw  1 root audio 35,  1 2004-09-18 13:52 /dev/midi1
crw-rw  1 root audio 35,  2 2004-09-18 13:52 /dev/midi2
crw-rw  1 root audio 35,  3 2004-09-18 13:52 /dev/midi3


- $ cat .asoundrc
pcm.intel8x0 {
   type hw
   card 0
}

ctl.intel8x0 {
   type hw
   card 0
}


Thanx guys!!!
ByEz!!!



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Lee Revell
On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:
 Hi guys,
 this is my first post in this mailing list. I've got a problem using 
 ALSA: I've installed tho sources following the documentation 
 step-by-step. That's OK, but when I try to run aplay here's what happen:
 

What documentation were you reading that said to create an .asoundrc
file?  It's wrong.

Anyway try a newer ALSA version, 1.0.9 is very old.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread kunt1z

Lee Revell ha scritto:


On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:
 


Hi guys,
this is my first post in this mailing list. I've got a problem using 
ALSA: I've installed tho sources following the documentation 
step-by-step. That's OK, but when I try to run aplay here's what happen:


   



What documentation were you reading that said to create an .asoundrc
file?  It's wrong.

Anyway try a newer ALSA version, 1.0.9 is very old.

Lee
 


It's the latest version! The site I downloaded the drivers from is:

www.alsa-project.org

and there is also a complete documentation. The page about the .asoundrc 
file is:


http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Intelcard=ICH+southbridge+AC97+audio.chip=440MX%2C+i810%2C+i810E%2C+i820%2C+ICH4%2C+ICH5%2C+ICH6module=intel8x0

Am I wrong? There is a newer project site? Thank you!


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread kunt1z

Lee Revell ha scritto:


On Thu, 2006-01-05 at 23:32 +0100, kunt1z wrote:
 


Lee Revell ha scritto:

   


On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:


 


Hi guys,
this is my first post in this mailing list. I've got a problem using 
ALSA: I've installed tho sources following the documentation 
step-by-step. That's OK, but when I try to run aplay here's what happen:


  

   


What documentation were you reading that said to create an .asoundrc
file?  It's wrong.

Anyway try a newer ALSA version, 1.0.9 is very old.

Lee


 


It's the latest version! The site I downloaded the drivers from is:

   



The latest development version on that site is 1.0.11-rc2 and the latest
stable version is 1.0.10.  You are currently using 1.0.9:

- Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)

Try 1.0.11-rc2.

Lee


 

I cannot find that version. Could you post me an URL, please? I 
downloaded it from:


ftp://ftp.alsa-project.org/pub/driver/

Thanx!


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Lee Revell
On Thu, 2006-01-05 at 23:54 +0100, kunt1z wrote:
 Lee Revell ha scritto:
 
 On Thu, 2006-01-05 at 23:32 +0100, kunt1z wrote:
   
 
 Lee Revell ha scritto:
 
 
 
 On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:
  
 
   
 
 Hi guys,
 this is my first post in this mailing list. I've got a problem using 
 ALSA: I've installed tho sources following the documentation 
 step-by-step. That's OK, but when I try to run aplay here's what happen:
 

 
 
 
 What documentation were you reading that said to create an .asoundrc
 file?  It's wrong.
 
 Anyway try a newer ALSA version, 1.0.9 is very old.
 
 Lee
  
 
   
 
 It's the latest version! The site I downloaded the drivers from is:
 
 
 
 
 The latest development version on that site is 1.0.11-rc2 and the latest
 stable version is 1.0.10.  You are currently using 1.0.9:
 
 - Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)
 
 Try 1.0.11-rc2.
 
 Lee
 
 
   
 
 I cannot find that version. Could you post me an URL, please? I 
 downloaded it from:
 
 ftp://ftp.alsa-project.org/pub/driver/

ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.11rc2.tar.bz2

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread kunt1z

Lee Revell ha scritto:


On Thu, 2006-01-05 at 23:54 +0100, kunt1z wrote:
 


Lee Revell ha scritto:

   


On Thu, 2006-01-05 at 23:32 +0100, kunt1z wrote:


 


Lee Revell ha scritto:

  

   


On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:




 


Hi guys,
this is my first post in this mailing list. I've got a problem using 
ALSA: I've installed tho sources following the documentation 
step-by-step. That's OK, but when I try to run aplay here's what happen:


 

  

   


What documentation were you reading that said to create an .asoundrc
file?  It's wrong.

Anyway try a newer ALSA version, 1.0.9 is very old.

Lee




 


It's the latest version! The site I downloaded the drivers from is:

  

   


The latest development version on that site is 1.0.11-rc2 and the latest
stable version is 1.0.10.  You are currently using 1.0.9:

- Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)

Try 1.0.11-rc2.

Lee




 

I cannot find that version. Could you post me an URL, please? I 
downloaded it from:


ftp://ftp.alsa-project.org/pub/driver/
   



ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.11rc2.tar.bz2

Lee


 

Ok, I'll try. And what about the .asoundrc file? You said it isn't 
correct, is it? Could you post me a correct file? Thanx




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Lee Revell
On Fri, 2006-01-06 at 00:01 +0100, kunt1z wrote:
 Lee Revell ha scritto:
 
 On Thu, 2006-01-05 at 23:54 +0100, kunt1z wrote:
   
 
 Lee Revell ha scritto:
 
 
 
 On Thu, 2006-01-05 at 23:32 +0100, kunt1z wrote:
  
 
   
 
 Lee Revell ha scritto:
 

 
 
 
 On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:
 
 
  
 
   
 
 Hi guys,
 this is my first post in this mailing list. I've got a problem using 
 ALSA: I've installed tho sources following the documentation 
 step-by-step. That's OK, but when I try to run aplay here's what happen:
 
   
 

 
 
 
 What documentation were you reading that said to create an .asoundrc
 file?  It's wrong.
 
 Anyway try a newer ALSA version, 1.0.9 is very old.
 
 Lee
 
 
  
 
   
 
 It's the latest version! The site I downloaded the drivers from is:
 

 
 
 
 The latest development version on that site is 1.0.11-rc2 and the latest
 stable version is 1.0.10.  You are currently using 1.0.9:
 
 - Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)
 
 Try 1.0.11-rc2.
 
 Lee
 
 
  
 
   
 
 I cannot find that version. Could you post me an URL, please? I 
 downloaded it from:
 
 ftp://ftp.alsa-project.org/pub/driver/
 
 
 
 ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.11rc2.tar.bz2
 
 Lee
 
 
   
 
 Ok, I'll try. And what about the .asoundrc file? You said it isn't 
 correct, is it? Could you post me a correct file? Thanx
 

You don't need one at all.  The docs on that page are out of date.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Lee Revell
On Thu, 2006-01-05 at 23:32 +0100, kunt1z wrote:
 Lee Revell ha scritto:
 
 On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:
   
 
 Hi guys,
 this is my first post in this mailing list. I've got a problem using 
 ALSA: I've installed tho sources following the documentation 
 step-by-step. That's OK, but when I try to run aplay here's what happen:
 
 
 
 
 What documentation were you reading that said to create an .asoundrc
 file?  It's wrong.
 
 Anyway try a newer ALSA version, 1.0.9 is very old.
 
 Lee
   
 
 It's the latest version! The site I downloaded the drivers from is:
 

The latest development version on that site is 1.0.11-rc2 and the latest
stable version is 1.0.10.  You are currently using 1.0.9:

- Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)

Try 1.0.11-rc2.

Lee




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Sergei Steshenko
So, how end users are supposed to learn about ALSA ?

If something exists for general public, but general public
has no way of knowing it, what's the use of that potentially
useful thing ?

Maybe ALSA project site should contain clearly visible

Ignore the documentation, ask alsa-user@lists.sourceforge.net first

warning on the main page ?

On Thu, 05 Jan 2006 18:05:29 -0500
Lee Revell [EMAIL PROTECTED] wrote:

 You don't need one at all.  The docs on that page are out of date.
 
 Lee


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Lee Revell
On Fri, 2006-01-06 at 00:21 +0100, kunt1z wrote:
 I've got this error:
 
 # modprobe snd-intel8x0
 WARNING: Error inserting snd_pcm 
 (/lib/modules/2.6.10/kernel/sound/acore/snd-pcm.ko): Unknown symbol
 in 
 module, or unknown parameter (see dmesg)
 WARNING: Error inserting snd_ac97_codec 
 (/lib/modules/2.6.10/kernel/sound/pci/ac97/snd-ac97-codec.ko):
 Unknown 
 symbol in module, or unknown parameter (see dmesg)
 FATAL: Error inserting snd_intel8x0 
 (/lib/modules/2.6.10/kernel/sound/pci/snd-intel8x0.ko): Unknown
 symbol 
 in module, or unknown parameter (see dmesg)
 

This means you compiled ALSA against the wrong kernel version or did not
unload all the old ALSA modules before reloading them.  Try just
rebooting.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Sergei Steshenko
To fix the documentation is the best way.

Who is deciding to do this ?

Who of the developers is supposed to do this ?

Anyway, I suggested what from experience seemed more
realistic.

On Thu, 05 Jan 2006 18:16:58 -0500
Lee Revell [EMAIL PROTECTED] wrote:

 On Fri, 2006-01-06 at 01:15 +0200, Sergei Steshenko wrote:
  So, how end users are supposed to learn about ALSA ?
  
  If something exists for general public, but general public
  has no way of knowing it, what's the use of that potentially
  useful thing ?
  
  Maybe ALSA project site should contain clearly visible
  
  Ignore the documentation, ask alsa-user@lists.sourceforge.net first
  
  warning on the main page ?
 
 Or just fix the documentation.
 
 Lee
 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread Lee Revell
On Fri, 2006-01-06 at 01:15 +0200, Sergei Steshenko wrote:
 So, how end users are supposed to learn about ALSA ?
 
 If something exists for general public, but general public
 has no way of knowing it, what's the use of that potentially
 useful thing ?
 
 Maybe ALSA project site should contain clearly visible
 
 Ignore the documentation, ask alsa-user@lists.sourceforge.net first
 
 warning on the main page ?

Or just fix the documentation.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread kunt1z

Lee Revell ha scritto:


On Fri, 2006-01-06 at 00:21 +0100, kunt1z wrote:
 


I've got this error:

# modprobe snd-intel8x0
WARNING: Error inserting snd_pcm 
(/lib/modules/2.6.10/kernel/sound/acore/snd-pcm.ko): Unknown symbol
in 
module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec 
(/lib/modules/2.6.10/kernel/sound/pci/ac97/snd-ac97-codec.ko):
Unknown 
symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_intel8x0 
(/lib/modules/2.6.10/kernel/sound/pci/snd-intel8x0.ko): Unknown
symbol 
in module, or unknown parameter (see dmesg)


   



This means you compiled ALSA against the wrong kernel version or did not
unload all the old ALSA modules before reloading them.  Try just
rebooting.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

 


Ok, reboot works fine. But when if I run:

$ aplay test.wav

here's what happens:

ALSA lib confmisc.c:560:(snd_determine_driver) could not open control 
for card 1
ALSA lib conf.c:2699:(snd_config_hooks_call) function 
snd_config_hook_load_for_all_cards returned error: No such file or directory
ALSA lib pcm.c:1969:(snd_pcm_open_conf) Invalid type for PCM default 
definition (id: default, value: cards.pcm.default)

aplay: main:547: audio open error: Invalid argument

I don't have the .asoundrc file anymore.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Alsa problems

2006-01-05 Thread kunt1z

Lee Revell ha scritto:


On Fri, 2006-01-06 at 00:01 +0100, kunt1z wrote:
 


Lee Revell ha scritto:

   


On Thu, 2006-01-05 at 23:54 +0100, kunt1z wrote:


 


Lee Revell ha scritto:

  

   


On Thu, 2006-01-05 at 23:32 +0100, kunt1z wrote:




 


Lee Revell ha scritto:

 

  

   


On Thu, 2006-01-05 at 22:14 +0100, kunt1z wrote:


   



 


Hi guys,
this is my first post in this mailing list. I've got a problem using 
ALSA: I've installed tho sources following the documentation 
step-by-step. That's OK, but when I try to run aplay here's what happen:




 

  

   


What documentation were you reading that said to create an .asoundrc
file?  It's wrong.

Anyway try a newer ALSA version, 1.0.9 is very old.

Lee


   



 


It's the latest version! The site I downloaded the drivers from is:

 

  

   


The latest development version on that site is 1.0.11-rc2 and the latest
stable version is 1.0.10.  You are currently using 1.0.9:

- Sound Driver: 3.8.1a-980706 (ALSA v1.0.9 emulation code)

Try 1.0.11-rc2.

Lee






 

I cannot find that version. Could you post me an URL, please? I 
downloaded it from:


ftp://ftp.alsa-project.org/pub/driver/
  

   


ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.11rc2.tar.bz2

Lee




 

Ok, I'll try. And what about the .asoundrc file? You said it isn't 
correct, is it? Could you post me a correct file? Thanx


   



You don't need one at all.  The docs on that page are out of date.

Lee


 


I've got this error:

# modprobe snd-intel8x0
WARNING: Error inserting snd_pcm 
(/lib/modules/2.6.10/kernel/sound/acore/snd-pcm.ko): Unknown symbol in 
module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_ac97_codec 
(/lib/modules/2.6.10/kernel/sound/pci/ac97/snd-ac97-codec.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_intel8x0 
(/lib/modules/2.6.10/kernel/sound/pci/snd-intel8x0.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] devfs removed branch incompatible with alsa-drivers

2006-01-05 Thread Avuton Olrich
Just a shot across the bow, I tried to compile alsa-drivers
(1.0.11rc2) outside of the tree using the devfs removed 2.6.15 git
branch. After the drivers are installed they won't work (complains
about missing symbols iirc); although if you compile against a vanilla
kernel they will work in a devfs-removed kernel.

devfs-removed kernel announcement:
http://marc.theaimsgroup.com/?l=linux-kernelm=113626505529729w=2
--
avuton
--
 Anyone who quotes me in their sig is an idiot. -- Rusty Russell.


Re: [Alsa-user] Trying to get a C-Media card's spdif working...

2006-01-05 Thread Chad
On 12/30/05, Lee Revell [EMAIL PROTECTED] wrote:
 On Fri, 2005-12-30 at 22:44 -0700, Chad wrote:
  Evening!
 
  I don't really no where to start or what information to provide, so
  I'll start light and hope someone can guide me from there :)
 
  To start off:
  I have a fairly decent understanding of linux.  I can follow a how-to
  pretty well, and understand most of the lingo.
 
  I've read a lot (everything? :D ) on getting SPDIF out working with
  these cards (cmipci) but have still not been successful in the widest
  form of the word.

 Well, what happens if you just do:

 aplay -D plug:spdif file.wav

 ?

 Lee


Thanks for the reply!

Actually, nothing happened.  The file appeared to be playing, but
there was no sound coming from my speakers.  So I tried adjusting
everything I could in alsamixer, but nothing changed, just dead
silence.

(FYI, I was working a bit of overtime, this was the first chance I got
to test it :) ).

Still wide open to suggestions, thanks!

Chad


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] porting my old oss app to alsa how?

2006-01-05 Thread Britton Kerin

Hello,

I'm the author and (sort of) maintainer of rawrec
(http://rawrec.sourceforge.net).
I'm working on a maintenance release.  There are other programs now that
do what
rawrec does probably better, but it does have some users including some
fairly
complicated scripts (http://soundgrab.sourceforge.net) so I thought that
for 
continuity sake I should do this.  I'm trying to avoid spending too much
time on
it though.

My question is, given that rawrec implements its own ring buffer using
pthreads,
what is likely the best way to proceed?

What I would like is to simply replace the read/write io calls on the
old /dev/dsp
with analogous calls into ALSA lib, but since it implements its own ring
buffer,
I'm not sure this is a good idea.  In truth a slight efficiency loss of
an 
extra copy in this little app is not going to be the end of the world,
and it
would be the easiest way to continue (admitedly quite old now) oss
support and 
support the rawrec interface.

Is it a problem to have a high priority pair of userspace threads
handling a 
ring buffer which then gets filled or drained using snd_pcm_writei with
a pcm
opened in blocking mode, or will the competing userspace threads cause
problems?

Thanks,
Britton
-- 
  Britton Kerin
  [EMAIL PROTECTED]



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] porting my old oss app to alsa how?

2006-01-05 Thread Lee Revell
On Thu, 2006-01-05 at 18:56 -0900, Britton Kerin wrote:
 Is it a problem to have a high priority pair of userspace threads
 handling a 
 ring buffer which then gets filled or drained using snd_pcm_writei
 with
 a pcm
 opened in blocking mode, or will the competing userspace threads cause
 problems?

Nope, that sounds like a good implementation, just use mutexes to
protect the shared data.

Lee



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Whether ALSA supports real time mode?

2006-01-05 Thread Santosh
Hello all!!!
   iam a new bie to ALSA group. Currently i need some information related to
ALSA.I have the following question:

   Whether ALSA supports real time mode?

   In real time mode the player send the MIDI events directly to the
synthesizer that are contained in the current frame. There is no time
information in the events
   and there is no bufferization

Thanks in advance..

Santosh





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user