All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
       [not found]   ` <3DB59381.5000007@iriXx.org>
@ 2002-10-22 19:06     ` Patrick Shirkey
  2002-10-23  1:49       ` m
  0 siblings, 1 reply; 11+ messages in thread
From: Patrick Shirkey @ 2002-10-22 19:06 UTC (permalink / raw)
  To: linux-audio-user, alsa-devel

iriXx wrote:
> hi Patrick,
> 

I have forwarded this to the devel list. To subscribe please visit this 
link.

http://lists.sourceforge.net/lists/listinfo/alsa-devel

> thanks so much... this will improve things wonderfully not just for the 
> Evolution but for my quattro as well... i had assumed that in rc3 the 
> midi interface for the quattro wasnt implemented.... i shall give cvs a 
> try straight away, as this is part of a review for a uk magazine...
> 
> could you give me the address for subscribing to alsa-devel? i would be 
> happy to test and report back...
> 
> the problems i've had with modules.conf are in adding support for the 
> two cards - which of course wont be necessary with the cvs version...
> i shall ask again on alsa-devel if i have any more problems...
> 

There are some changes that need to be made regarding the modules.conf 
file and the options for the driver. Specifically all snd_xxx references 
have been changed to just xxx. Ie remove the snd_ prefix. This has been 
done to ensure the alsa modules options are inline with the Kernel 
standard. NB this is completely seperate from the module name which is 
snd-xxx. That has not been changed.

Interestingly enough we are in the process of debating how and what to 
do about getting more articles published on Linux Audio. If you want any 
  second opinions on the article before it is published I am happy to 
have a look at it.

Please let us know when you publish it too.

Also could you send your modules.conf file in the next post so we can 
see what you are doing to load the modules.

-- 
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

"Um...symbol_get and symbol_put... They're
kindof like does anyone remember like get_symbol
and put_symbol I think we used to have..."
- Rusty Russell in his talk on the module subsystem



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-22 19:06     ` [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together Patrick Shirkey
@ 2002-10-23  1:49       ` m
  2002-10-23  9:50         ` Clemens Ladisch
  0 siblings, 1 reply; 11+ messages in thread
From: m @ 2002-10-23  1:49 UTC (permalink / raw)
  To: alsa-devel

Patrick Shirkey wrote:

> There are some changes that need to be made regarding the modules.conf 
> file and the options for the driver. Specifically all snd_xxx references 
> have been changed to just xxx. Ie remove the snd_ prefix. This has been 
> done to ensure the alsa modules options are inline with the Kernel 
> standard. NB this is completely seperate from the module name which is 
> snd-xxx. That has not been changed.
> 

hi Patrick, thanks again,

my modules.conf for rc3 was as follows:

# ALSA portion
 alias char-major-116 snd
 alias snd-card-0 snd-usb-audio

## 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
 alias sound-slot-1 audio

so i assume i change only need to change the second line to

alias snd-card-0 usb-audio

or are there more changes necessary? should snd-card-0 stay the same?

> Interestingly enough we are in the process of debating how and what to 
> do about getting more articles published on Linux Audio. If you want any 
>   second opinions on the article before it is published I am happy to 
> have a look at it.
> 
> Please let us know when you publish it too.

certainly - although its not me that is writing the article - i'm
testing the UC16 for a friend, who is writing for Camcorder User
magazine in the UK... we are planning to review the Edirol usb devices
as well, and probably the quattro... so hopefully i will be able to
include more detailed GNU/Linux audio coverage soon.. i will suggest a
few apps... anyone know of an app which would be particularly useful for
live work with a UC-16?... 

i am actually a writer myself too, i'm currently working on a book which
will be an expose of 'digital rights management' technology, strongly
supporting GNU/Linux audio.... you can read more at
http://www.copyleftmedia.org.uk . its not a technical book on audio,
more a musician's answer to Naomi Klein's "No Logo"... to be published
by GNU Press, provisional date Sept. 2003... watch this space...
 
best,

m~
-- 
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
info@copyleftmedia.org.uk
www.copyleftmedia.org.uk

 _
( )  ascii ribbon against html email
 X
/ \    cat /dev/sda1 > /dev/dsp


  *** stopping make sense ***



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23  1:49       ` m
@ 2002-10-23  9:50         ` Clemens Ladisch
  2002-10-23 10:28           ` m
  2002-10-23 11:03           ` Martin Langer
  0 siblings, 2 replies; 11+ messages in thread
From: Clemens Ladisch @ 2002-10-23  9:50 UTC (permalink / raw)
  To: m; +Cc: alsa-devel, Patrick Shirkey

"m" wrote:
> Patrick Shirkey wrote:
>
> > There are some changes that need to be made regarding the modules.conf
> > file and the options for the driver. Specifically all snd_xxx references
> > have been changed to just xxx. Ie remove the snd_ prefix. This has been
> > done to ensure the alsa modules options are inline with the Kernel
> > standard. NB this is completely seperate from the module name which is
> > snd-xxx. That has not been changed.
> >
>
> hi Patrick, thanks again,
>
> my modules.conf for rc3 was as follows:
>
> # ALSA portion
>  alias char-major-116 snd
>  alias snd-card-0 snd-usb-audio
>
> ## 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
>  alias sound-slot-1 audio
>
> so i assume i change only need to change the second line to
>
> alias snd-card-0 usb-audio

No, this is a module name, which didn't change. The change is for module
options, but you're not using any, so the renaming doesn't affect you.
(There is a subtle difference between snd_xxx and snd-xxx.)

However, the alias for sound-slot-1 is wrong, "audio" is the name of
the OSS driver. Make that line
	alias sound-slot-1 snd-card-1
And you need to say which driver to use for snd-card-1. For the UC16 with
0.9.0rc3, it would be
	alias snd-card-1 snd-usb-midi
For 0.9.0rc4, it would be
	alias snd-card-1 snd-usb-audio

And when you have more than one card, you should tell the driver at which
index they should load.
If you have 0.9.0rc3, add these lines:
	options snd-usb-audio snd_index=0
	options snd-usb-midi snd_index=1
If you have 0.9.0rc4, add this line instead:
	options snd-usb-audio index=0,1 pid=0x2001


HTH
Clemens



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23  9:50         ` Clemens Ladisch
@ 2002-10-23 10:28           ` m
  2002-10-23 13:00             ` Clemens Ladisch
  2002-10-23 11:03           ` Martin Langer
  1 sibling, 1 reply; 11+ messages in thread
From: m @ 2002-10-23 10:28 UTC (permalink / raw)
  To: alsa-devel

hi, and thanks,

> However, the alias for sound-slot-1 is wrong, "audio" is the name of
> the OSS driver. Make that line
> 	alias sound-slot-1 snd-card-1
> And you need to say which driver to use for snd-card-1. For the UC16 with
> 0.9.0rc3, it would be
> 	alias snd-card-1 snd-usb-midi
> For 0.9.0rc4, it would be
> 	alias snd-card-1 snd-usb-audio

thats great, thanks... i have 0.9.0rc4

the only thing i'm confused on is that i've now got 2 entries that say

alias sound-slot-0 snd-card-0
alias snd-card-0 snd-usb-audio

alias sound-slot-1 snd-card-1
alias snd-card-1 snd-usb-audio

im wondering if this is actually necessary when i've got only one USB
port - if usb midi now uses the snd-usb-audio driver, then theoretically
i only actually need to put in one card entry, the same driver should
work for both?...
> 
> And when you have more than one card, you should tell the driver at which
> index they should load.
> If you have 0.9.0rc3, add these lines:
> 	options snd-usb-audio snd_index=0
> 	options snd-usb-midi snd_index=1
> If you have 0.9.0rc4, add this line instead:
> 	options snd-usb-audio index=0,1 pid=0x2001

thats great, thanks so much

m~
-- 
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
info@copyleftmedia.org.uk
www.copyleftmedia.org.uk

 _
( )  ascii ribbon against html email
 X
/ \    cat /dev/sda1 > /dev/dsp


  *** stopping make sense ***



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23 11:03           ` Martin Langer
@ 2002-10-23 11:02             ` Jaroslav Kysela
  2002-10-23 11:27               ` Takashi Iwai
  0 siblings, 1 reply; 11+ messages in thread
From: Jaroslav Kysela @ 2002-10-23 11:02 UTC (permalink / raw)
  To: Martin Langer; +Cc: Clemens Ladisch, alsa-devel@lists.sourceforge.net

On Wed, 23 Oct 2002, Martin Langer wrote:

> On Wed, Oct 23, 2002 at 11:50:37AM +0200, Clemens Ladisch wrote:
> > And you need to say which driver to use for snd-card-1. For the UC16 with
> > 0.9.0rc3, it would be
> > 	alias snd-card-1 snd-usb-midi
> > For 0.9.0rc4, it would be
> > 	alias snd-card-1 snd-usb-audio
> > 
> 
> 
> It would be better to add this module name change to the rc4 announce lines on
> www.alsa-project.org !

It's not possible to comment changes for all drivers in the news 
section...

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23  9:50         ` Clemens Ladisch
  2002-10-23 10:28           ` m
@ 2002-10-23 11:03           ` Martin Langer
  2002-10-23 11:02             ` Jaroslav Kysela
  1 sibling, 1 reply; 11+ messages in thread
From: Martin Langer @ 2002-10-23 11:03 UTC (permalink / raw)
  To: Clemens Ladisch, alsa-devel

On Wed, Oct 23, 2002 at 11:50:37AM +0200, Clemens Ladisch wrote:
> And you need to say which driver to use for snd-card-1. For the UC16 with
> 0.9.0rc3, it would be
> 	alias snd-card-1 snd-usb-midi
> For 0.9.0rc4, it would be
> 	alias snd-card-1 snd-usb-audio
> 


It would be better to add this module name change to the rc4 announce lines on
www.alsa-project.org !


martin




-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23 11:02             ` Jaroslav Kysela
@ 2002-10-23 11:27               ` Takashi Iwai
  2002-10-23 11:44                 ` Martin Langer
  2002-10-23 12:25                 ` Patrick Shirkey
  0 siblings, 2 replies; 11+ messages in thread
From: Takashi Iwai @ 2002-10-23 11:27 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Martin Langer, Clemens Ladisch, alsa-devel@lists.sourceforge.net

At Wed, 23 Oct 2002 13:02:28 +0200 (CEST),
Jaroslav wrote:
> 
> On Wed, 23 Oct 2002, Martin Langer wrote:
> 
> > On Wed, Oct 23, 2002 at 11:50:37AM +0200, Clemens Ladisch wrote:
> > > And you need to say which driver to use for snd-card-1. For the UC16 with
> > > 0.9.0rc3, it would be
> > > 	alias snd-card-1 snd-usb-midi
> > > For 0.9.0rc4, it would be
> > > 	alias snd-card-1 snd-usb-audio
> > > 
> > 
> > 
> > It would be better to add this module name change to the rc4 announce lines on
> > www.alsa-project.org !
> 
> It's not possible to comment changes for all drivers in the news 
> section...

but the change of driver names is actually very important for users,
and there are only few:

	snd-via686, snd-via8233 ==> snd-via82xx
	snd-usb-midi ==> snd-usb-audio


Takashi


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23 11:27               ` Takashi Iwai
@ 2002-10-23 11:44                 ` Martin Langer
  2002-10-23 12:25                 ` Patrick Shirkey
  1 sibling, 0 replies; 11+ messages in thread
From: Martin Langer @ 2002-10-23 11:44 UTC (permalink / raw)
  To: Takashi Iwai, perex, clemens, alsa-devel

On Wed, Oct 23, 2002 at 01:27:23PM +0200, Takashi Iwai wrote:
> At Wed, 23 Oct 2002 13:02:28 +0200 (CEST),
> Jaroslav wrote:
> > 
> > On Wed, 23 Oct 2002, Martin Langer wrote:
> > 
> > > On Wed, Oct 23, 2002 at 11:50:37AM +0200, Clemens Ladisch wrote:
> > > > And you need to say which driver to use for snd-card-1. For the UC16 with
> > > > 0.9.0rc3, it would be
> > > > 	alias snd-card-1 snd-usb-midi
> > > > For 0.9.0rc4, it would be
> > > > 	alias snd-card-1 snd-usb-audio
> > > > 
> > > 
> > > 
> > > It would be better to add this module name change to the rc4 announce lines on
> > > www.alsa-project.org !
> > 
> > It's not possible to comment changes for all drivers in the news 
> > section...
> 
> but the change of driver names is actually very important for users,
> and there are only few:
> 
> 	snd-via686, snd-via8233 ==> snd-via82xx
> 	snd-usb-midi ==> snd-usb-audio

What about a linked changelog or announce file?

martin

> 
> 
> Takashi
> 
> 

-- 
"2b|!2b"


-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23 11:27               ` Takashi Iwai
  2002-10-23 11:44                 ` Martin Langer
@ 2002-10-23 12:25                 ` Patrick Shirkey
  1 sibling, 0 replies; 11+ messages in thread
From: Patrick Shirkey @ 2002-10-23 12:25 UTC (permalink / raw)
  To: Takashi Iwai
  Cc: Jaroslav Kysela, Martin Langer, Clemens Ladisch,
	alsa-devel@lists.sourceforge.net

Takashi Iwai wrote:
> At Wed, 23 Oct 2002 13:02:28 +0200 (CEST),
> Jaroslav wrote:
> 
>>On Wed, 23 Oct 2002, Martin Langer wrote:
>>
>>
>>>On Wed, Oct 23, 2002 at 11:50:37AM +0200, Clemens Ladisch wrote:
>>>
>>>>And you need to say which driver to use for snd-card-1. For the UC16 with
>>>>0.9.0rc3, it would be
>>>>	alias snd-card-1 snd-usb-midi
>>>>For 0.9.0rc4, it would be
>>>>	alias snd-card-1 snd-usb-audio
>>>>
>>>
>>>
>>>It would be better to add this module name change to the rc4 announce lines on
>>>www.alsa-project.org !
>>
>>It's not possible to comment changes for all drivers in the news 
>>section...
> 
> 
> but the change of driver names is actually very important for users,
> and there are only few:
> 
> 	snd-via686, snd-via8233 ==> snd-via82xx
> 	snd-usb-midi ==> snd-usb-audio
> 

Well I have already updated the online docs. With specifics references 
in the notes for these drivers.

It wouldn't hurt to add a note to the main page too though. It is 
profeesional courtesy.


-- 
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.djcj.org - The Linux Audio Users guide
========================================

"Um...symbol_get and symbol_put... They're
kindof like does anyone remember like get_symbol
and put_symbol I think we used to have..."
- Rusty Russell in his talk on the module subsystem



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23 10:28           ` m
@ 2002-10-23 13:00             ` Clemens Ladisch
  2002-10-23 20:17               ` m
  0 siblings, 1 reply; 11+ messages in thread
From: Clemens Ladisch @ 2002-10-23 13:00 UTC (permalink / raw)
  To: m; +Cc: alsa-devel

"m" wrote:
> > 	alias sound-slot-1 snd-card-1
> > 	alias snd-card-1 snd-usb-audio
>
> the only thing i'm confused on is that i've now got 2 entries that say
>
> alias sound-slot-0 snd-card-0
> alias snd-card-0 snd-usb-audio
>
> alias sound-slot-1 snd-card-1
> alias snd-card-1 snd-usb-audio
>
> im wondering if this is actually necessary when i've got only one USB
> port - if usb midi now uses the snd-usb-audio driver, then theoretically
> i only actually need to put in one card entry, the same driver should
> work for both?...

I assumed that you wanted to use a Quattro and a UC16 together. In this
case, you need one entry for each card, although they're handled by the
same driver.

The snd-card-x entries are used for autoloading: when you try to access
PCM device hw:x,y and this device doesn't yet exist, ALSA knowns that it
should load the driver specified by snd-card-x.


HTH
Clemens



-------------------------------------------------------
This sf.net emial is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

* Re: Re: [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together
  2002-10-23 13:00             ` Clemens Ladisch
@ 2002-10-23 20:17               ` m
  0 siblings, 0 replies; 11+ messages in thread
From: m @ 2002-10-23 20:17 UTC (permalink / raw)
  To: alsa-devel

On Wed, 2002-10-23 at 14:00, Clemens Ladisch wrote:

> I assumed that you wanted to use a Quattro and a UC16 together. In this
> case, you need one entry for each card, although they're handled by the
> same driver.
> 
> The snd-card-x entries are used for autoloading: when you try to access
> PCM device hw:x,y and this device doesn't yet exist, ALSA knowns that it
> should load the driver specified by snd-card-x.

thanks, that helps a lot... as you can guess i'm new-ish to working with
alsa although not so new to linux sound...

bw
m
-- 
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
info@copyleftmedia.org.uk
www.copyleftmedia.org.uk

 _
( )  ascii ribbon against html email
 X
/ \    cat /dev/sda1 > /dev/dsp


  *** stopping make sense ***



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en

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

end of thread, other threads:[~2002-10-23 20:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1035239386.4549.73.camel@hamish.iriXx.org>
     [not found] ` <3DB57DD6.8070303@boosthardware.com>
     [not found]   ` <3DB59381.5000007@iriXx.org>
2002-10-22 19:06     ` [linux-audio-user] Evolution UC16 problems, modules.conf for usb-midi and usb-audio together Patrick Shirkey
2002-10-23  1:49       ` m
2002-10-23  9:50         ` Clemens Ladisch
2002-10-23 10:28           ` m
2002-10-23 13:00             ` Clemens Ladisch
2002-10-23 20:17               ` m
2002-10-23 11:03           ` Martin Langer
2002-10-23 11:02             ` Jaroslav Kysela
2002-10-23 11:27               ` Takashi Iwai
2002-10-23 11:44                 ` Martin Langer
2002-10-23 12:25                 ` Patrick Shirkey

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.