Re: [Alsa-devel] dxs_support and via82xx (yet once more)

2004-04-23 Thread Takashi Iwai
At Fri, 23 Apr 2004 4:12:57 +,
[EMAIL PROTECTED] wrote:
 
 Hi all, 
  
 Apologies for my persistence but is this feature 
 broken in the 1.0.4.pre2 drivers or am I simply 
 unable to put the right syntax into the 
 modules.conf? 
  
 alias char-major-116 snd 
 alias char-major-14 soundcore 
 alias snd-card-0 via82xx 
   ^^^
   snd-via82xx
 #I tried every possible option 
 options via82xx dxs_support=1 

this line is useless.

 options snd-card-0 dxs_support=1 
 options snd-via82xx dxs_support=1 
  
 alias sound-slot-0 snd-card-0 
 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 
  
 Even with all this the syslog still complains: 
 via82xx: Assuming DXS channels with 48k fixed 
 sample rate. 
  Please try dxs_support=1 or 
 dxs_support=4 option 
  and report if it works on your machine. 
  
 What am I doing wrong? 

make sure that there is another defitions of snd-via82xx options in
/etc/modules.conf or its variants.


--
Takashi Iwai [EMAIL PROTECTED]ALSA Developer - www.alsa-project.org


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-23 Thread Clemens Ladisch
Caleb Crome wrote:
 Arek Korbik wrote:
 pcm.file {
 type file
 slave {
 pcm hw:0,0
 }
 file /tmp/file.raw
 }

 what do I do with that bit of configuration data?  I found the
 /usr/share/alsa/alsa.conf, and there is a similar pcm.file entry
 in that, but it seems to take parameters.

Put it into your ~/.asoundrc file, or into /etc/asound.conf for all
users.

 Since I have no sound card, how do I configure my system to use
 the dummy PCM driver and use the pcm.file plugin?

modprobe snd-dummy should work.


HTH
Clemens




---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] dxs_support and via82xx (yet once more)

2004-04-23 Thread Takashi Iwai
At Fri, 23 Apr 2004 12:56:35 -0400,
Ivica Ico Bukvic wrote:
 
   alias char-major-116 snd
   alias char-major-14 soundcore
   alias snd-card-0 via82xx
 ^^^
 snd-via82xx
 
 Hmmm, but somewhere along the road while troubleshooting this/installing
 something told me (a script) that I should drop the snd- prefix. Are you
 saying that I still need snd- prefix? The alsa init does succeed after all
 even with only via82xx (modprobing) so that's why I am asking.

yes, the module name still consists of snd- prefix.
the snd_ prefix was dropped from the module OPTIONS.
(e.g. dxs_support would have been named as snd_dxs_support in the old
 versions.)

   #I tried every possible option
   options via82xx dxs_support=1
  
  this line is useless.
 
 Because it's missing snd- prefix? (I removed the hdsp stuff from the
 modules.conf for the better legibility but using cards without snd- prefix
 seemed to work just fine, so I am guessing that snd- is needed for the
 options call only, or am I misunderstanding this?)

snd- prefix is for the module NAMES, but not for module OPTIONS.
again, there is no via82xx module.  there is only snd-via82xx module.
defining the options for via82xx is useless because options for a
non-existing module will be never referred.


   options snd-card-0 dxs_support=1

this one is also useless.  remove it.
(snd-card-0 is just an alias, not the real module name.)


   options snd-via82xx dxs_support=1
 
 Shouldn't this then work?

yes, in theory it should work.
that's why i asked you to make sure any other definitions exist.
there must be another error in the configuration.


BTW, i assume that are you using 2.4 kernel.  is it right?


Takashi


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


Re: [Alsa-devel] How do create a dummy device for recording audio? Does it exist already?

2004-04-23 Thread Caleb Crome
Caleb Crome wrote:

Alright, I did what you suggested, and real player comes up and 
connects to the dummy sound card (I had to do a modprobe snd-pcm-oss 
and snd-mixer-oss).   However, I don't get a file called 
/tmp/file.raw.  Is there any way to check how the data is routed? 
Do I have to do anything to make .asoundrc get reread?

Thanks again,
  -Caleb
Clemens Ladisch wrote:

Caleb Crome wrote:
 

Arek Korbik wrote:
  

pcm.file {
  type file
  slave {
  pcm hw:0,0
  }
  file /tmp/file.raw
}

what do I do with that bit of configuration data?  I found the
/usr/share/alsa/alsa.conf, and there is a similar pcm.file entry
in that, but it seems to take parameters.
  


Put it into your ~/.asoundrc file, or into /etc/asound.conf for all
users.
 

Since I have no sound card, how do I configure my system to use
the dummy PCM driver and use the pcm.file plugin?
  


modprobe snd-dummy should work.

HTH
Clemens


---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
 





---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel


[Alsa-devel] How to branch from WDM to ALSA fastest way??

2004-04-23 Thread ns
Hello alsa-devel,
  HI all!

I have WDM driver for our lab's own propertiary sound
card(ADAT+SPDIF+DB...) and wanna write ALSA drv.
I have linux w/kernel 2.4.20 (original). I have patch it to RTLinux
which got work OK recently.
I know that I must patch kernel for ALSA and write ALSA driver. HOw to
do it fastest?
  

-- 
Best regards,
 ns  mailto:[EMAIL PROTECTED]



---
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
___
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel