Skip to contentSkip to conversation

Evolution UC16 problems, modules.conf for usb-midi and usb-audio together

linux-audio-user Patrick Shirkey 6 participants 11 messages Oct 22, 2002 – Oct 23, 2002 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 2 lines · iriXx

hi Patrick,

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

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

Quoted 7 lines

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.

Signature · 15 lines
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
#4 lore raw
Quoted 7 lines · Patrick Shirkey

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?

Quoted 6 lines

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~

Signature · 22 lines
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
[email protected]
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
#5 lore raw
Quoted 30 lines · "m" wrote:
Quoted 7 lines · Patrick Shirkey

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
Quoted 3 lines

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

#6 lore raw

hi, and thanks,

Quoted 8 lines

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?...

Quoted 8 lines

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~

Signature · 22 lines
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
[email protected]
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
#7 lore raw
Quoted 8 lines · "m" wrote:
Quoted 2 lines

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

Quoted 7 lines

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

#8 lore raw
Quoted 7 lines · Clemens Ladisch

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

Signature · 22 lines
iriXx
www.iriXx.org

copyleft: creativity, technology and freedom?
[email protected]
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
#9 lore raw
In reply to Clemens Ladisch
Quoted 6 lines · Clemens Ladisch

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

#10 lore raw
Quoted 11 lines · Martin Langer
Quoted 6 lines · Clemens Ladisch

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 <[email protected]>
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

#11 lore raw

At Wed, 23 Oct 2002 13:02:28 +0200 (CEST),

Quoted 12 lines · Jaroslav
Quoted 9 lines · Martin Langer
Quoted 6 lines · Clemens Ladisch

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

Quoted 5 lines
Quoted 2 lines

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

#12 lore raw
Quoted 17 lines · Takashi Iwai

At Wed, 23 Oct 2002 13:02:28 +0200 (CEST),

Quoted 15 lines · Jaroslav
Quoted 11 lines · Martin Langer
Quoted 6 lines · Clemens Ladisch

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 !

Quoted 8 lines
Quoted 2 lines

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

Quoted 5 lines

Takashi

Signature · 8 lines
"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
#13 lore raw
In reply to Takashi Iwai
Quoted 19 lines · Takashi Iwai

At Wed, 23 Oct 2002 13:02:28 +0200 (CEST),

Quoted 16 lines · Jaroslav
Quoted 12 lines · Martin Langer
Quoted 6 lines · Clemens Ladisch

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 !

Quoted 9 lines
Quoted 1 line

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.

Signature · 15 lines
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