[PlanetCCRMA] midiman usb audio4

Fernando Pablo Lopez-Lezcano nando@ccrma.Stanford.EDU
Sat Aug 21 12:25:02 2004


On Sat, 2004-08-21 at 11:28, abi wrote:
> I did everything about hotplug blacklist and I edit my modules.conf
> like this:
> 
> alias usb-controller usb-ohci
> 
> #modem
> alias char-major-212 slmodem
> alias slmodem slusb
> 
> # --- BEGIN: Generated by ALSACONF, do not edit. ---
> # --- ALSACONF verion 1.0.4 ---
> alias char-major-116 snd
> alias char-major-14 soundcore
> 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 snd-card-0 snd-ali5451
> alias sound-slot-0 snd-ali5451
> # --- END: Generated by ALSACONF, do not edit. ---
> alias sound-service-1-0 snd-mixer-oss
> alias sound-service-1-3 snd-pcm-oss
> alias sound-service-1-12 snd-pcm-oss
> alias snd-card-1 snd-usb-audio
> alias sound-slot-1 snd-usb-audio
> 
> options snd major=116 cards_limit=3 device_mode=066 device_gid=0 
> device_uid=0

I don't know if the previous two lines were wrapped in the email, they
should be one. 

> options snd-ali5451 index=0
> options snd-usb-audio index=1
> 
> add options -k snd-card-0
> add options -k snd-card-1
> #-------------------------------------------------------------------------------

This looks fine. 

> I configured also the stupid ali card but my laptop doesn't see my usb card,
> the module snd-usb-audio is loaded and (strange) if I want to restart 
> alsa driver the computer say that snd-usb-audio is busy and doesn't stop it.

What do you see in /proc/asound? Try:
  cat /proc/asound/cards
  cat /proc/asound/devices

> I'm on RH9ccrma kernel.
> Is there anybody who could help me please

It would be interesting to find our why the device is busy. It could be
that somehow you are getting a kernel oops (when something inside the
kernel itself find internal inconsistencies, or segfaults - very bad
:-). Check the contents of /var/log/messages to see if you see something
that has the work "Oops" in it, or something that looks like a stack
trace. 

-- Fernando