[PlanetCCRMA] MIDI sequencer init problem (2.6.11-0.3.rdt.rhfc3.ccrma)

Brad Fuller brad@sonaural.com
Wed Mar 30 12:38:01 2005


This is a multi-part message in MIME format.
--------------040207010201040805070505
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Mark Knecht wrote:

>On Wed, 30 Mar 2005 12:00:46 -0800, Brad Fuller <brad@sonaural.com> wrote:
>  
>
>> Mark Knecht wrote: 
>> On Wed, 30 Mar 2005 10:54:39 -0800, Brad Fuller <brad@sonaural.com> wrote:  DISCONNECTING. Looks ok:
>> Mar 30 11:54:31 ives kernel: usb 2-1.1: USB disconnect, address 12
>> 
>> CONNECTING gives the following error:
>> Mar 30 11:54:40 ives kernel: usb 2-1.1: new full speed USB device using
>>uhci_hcd and address 13
>> Mar 30 11:54:40 ives kernel: ALSA
>>/usr/src/rpm/BUILD/alsa-driver-1.0.9rc1/acore/init.c:104: cannot find the
>>slot for index 0 (range 0-0)
>> Mar 30 11:54:40 ives kernel: ALSA
>>/usr/src/rpm/BUILD/alsa-driver-1.0.9rc1/usb/usbaudio.c:3155: cannot create
>>card instance 0
>> Mar 30 11:54:40 ives kernel: snd-usb-audio: probe of 2-1.1:1.0 failed with
>>error -5
>>    
>>
>
>So you're indexing the USB device to 0 and the sound card to 1 but it
>appears to think 0 is already in use?
>  
>
That appears to be the case. Why, I don't know. Maybe if I restarted it 
would have made a difference.  More below

>If I could suggest a possible fix I'd go the other way around. USB=1
>and ice-1712=0. The the default sound device would be audio so simple
>commands would work and the MIDI stuff would be 1.
>
>Would that be worth a try? Flip the two numbers in your modprobe.conf
>file and restart alsa or reboot.
>  
>
I did it and it worked. I just flipped them around and restarted ALSA 
and the 8x8 showed up.

Thanks - I appreciate your help!


BTW, for others reference: Originally, when restarting ALSA:

=====
#/etc/rc.d/init.d/alsasound start
Starting sound driver snd-ice1712                          [  OK  ]
Starting sound driver snd-usb-audio                        [  OK  ]
Starting sequencer                                         [  OK  ]
=====

which I thought, ok, I have the sequencer -- no problem. But, now I have:

=====
#/etc/rc.d/init.d/alsasound start
Starting sound driver snd-ice1712                          [  OK  ]
Starting sound driver snd-usb-audio                        [  OK  ]
Starting sequencer                                         [  OK  ]
Starting sequencer driver snd-seq-midi                     [  OK  ]
=====

which obviously makes all the difference.

Thanks again Mark and Fernando!

brad

--------------040207010201040805070505
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Mark Knecht wrote:
<blockquote cite="mid5bdc1c8b050330121215edb37d@mail.gmail.com"
 type="cite">
  <pre wrap="">On Wed, 30 Mar 2005 12:00:46 -0800, Brad Fuller <a class="moz-txt-link-rfc2396E" href="mailto:brad@sonaural.com">&lt;brad@sonaural.com&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> Mark Knecht wrote: 
 On Wed, 30 Mar 2005 10:54:39 -0800, Brad Fuller <a class="moz-txt-link-rfc2396E" href="mailto:brad@sonaural.com">&lt;brad@sonaural.com&gt;</a> wrote:  DISCONNECTING. Looks ok:
 Mar 30 11:54:31 ives kernel: usb 2-1.1: USB disconnect, address 12
 
 CONNECTING gives the following error:
 Mar 30 11:54:40 ives kernel: usb 2-1.1: new full speed USB device using
uhci_hcd and address 13
 Mar 30 11:54:40 ives kernel: ALSA
/usr/src/rpm/BUILD/alsa-driver-1.0.9rc1/acore/init.c:104: cannot find the
slot for index 0 (range 0-0)
 Mar 30 11:54:40 ives kernel: ALSA
/usr/src/rpm/BUILD/alsa-driver-1.0.9rc1/usb/usbaudio.c:3155: cannot create
card instance 0
 Mar 30 11:54:40 ives kernel: snd-usb-audio: probe of 2-1.1:1.0 failed with
error -5
    </pre>
  </blockquote>
  <pre wrap=""><!---->
So you're indexing the USB device to 0 and the sound card to 1 but it
appears to think 0 is already in use?
  </pre>
</blockquote>
That appears to be the case. Why, I don't know. Maybe if I restarted it
would have made a difference.&nbsp; More below<br>
<blockquote cite="mid5bdc1c8b050330121215edb37d@mail.gmail.com"
 type="cite">
  <pre wrap="">
If I could suggest a possible fix I'd go the other way around. USB=1
and ice-1712=0. The the default sound device would be audio so simple
commands would work and the MIDI stuff would be 1.

Would that be worth a try? Flip the two numbers in your modprobe.conf
file and restart alsa or reboot.
  </pre>
</blockquote>
<tt>I did it and it worked. </tt><tt>I just flipped them around and
restarted ALSA and the 8x8 showed up.<br>
<br>
</tt><tt>Thanks - I appreciate your help!<br>
<br>
<br>
BTW, for others reference: Originally, when restarting ALSA:<br>
<br>
</tt><tt>=====<br>
#/etc/rc.d/init.d/alsasound start<br>
Starting sound driver snd-ice1712&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
Starting sound driver snd-usb-audio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
Starting sequencer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
=====<br>
<br>
which I thought, ok, I have the sequencer -- no problem. But, now I
have:<br>
<br>
</tt><tt>=====<br>
#/etc/rc.d/init.d/alsasound start<br>
Starting sound driver snd-ice1712&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
Starting sound driver snd-usb-audio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
Starting sequencer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
Starting sequencer driver snd-seq-midi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [&nbsp; OK&nbsp; ]<br>
=====<br>
<br>
which obviously makes all the difference. <br>
<br>
Thanks again Mark and Fernando!<br>
<br>
brad<br>
</tt>
</body>
</html>

--------------040207010201040805070505--