[PlanetCCRMA] tascam us 122 not loadable

Tracey Anne Hytry shakti@bayarea.net
Sun May 16 02:06:02 2004


A while back I set up a couple of usb devices to work on my RH 7.3 machine.  These two were hooked up to an osx machine and I wanted to see if I could make them work in linux for fun.  Both did work, but it was only for a few short tests because all I was trying to see is if off the shelf toys bought for a mac would work on linux also.  Anyway, here's the modules.conf that I somewhat hacked and used(it may not be the best, but it did work).   The devices were an m-audio radium keyboard and a tascam us-122.  The existing pci card is a m-audio 2496.

------------------------------------------

# alternate modules.conf for rose using two usb devices (rose-2-usb-modules.conf)

alias parport_lowlevel parport_pc
alias eth0 tulip
alias usb-controller usb-uhci

# --- ALSA configuration

alias char-major-116 snd
alias char-major-14 soundcore

alias snd-card-0 snd-ice1712
alias snd-card-1 snd-usb-audio
alias snd-card-2 snd-usb-usx2y
alias snd-card-3 snd-virmidi

#--- OSS compatibility alias

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

alias sound-slot-1 snd-card-1

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 sound-slot-2 snd-card-2

alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-12 snd-pcm-oss

alias sound-slot-3 snd-card-3

#--- Options 

options snd major=116 cards_limit=4 device_mode=0666 device_gid=0 device_uid=0

options snd-ice1712 index=0
options snd-usb-audio index=1 vid=0x0763
options snd-usb-usx2y index=2 vid=0x1604
options snd-virmidi index=3

#--- Keep modules from being autocleaned

add options -k snd-card-0
add options -k snd-card-1
add options -k snd-card-2
add options -k snd-card-3

#--- ALSA configuration END

-----------------------------------------------------------------------------

The following is the .asoundrc that I set up:

# .asoundrc on rose, April 2004, by Tracey (asoundrc-usb)

# -------------------------------------------------------

# ice_analog

# Analog Inputs and Outputs

# H/W In/Out 1 = left      H/W In/Out 2 = Right

pcm.ice_analog {
        type plug
        ttable.0.0 1
        ttable.1.1 1
        slave.pcm {
                type hw
                card 0
                device 0
        }
}

# -------------------------------------------------------

# ice_spdif

# SPDIF (iec958) --> Input and Output -->

pcm.ice_spdif {
        type plug
        ttable.0.8 1
        ttable.1.9 1
        slave.pcm {
                type hw
                card 0
                device 0
        }
}

# -------------------------------------------------------

# pcm.dsp0 {      type plug      slave.pcm "hw:0,0" }

# pcm.dsp0 {      type plug      slave.pcm "dmix" }

pcm.dsp0 {      type plug      slave.pcm "hw:0,0" }

# -------------------------------------------------------

# generic ice1712

        pcm.ice1712 {
           type hw
           card 0
        }

        ctl.ice1712 {
           type hw
           card 0
        }

# -------------------------------------------------------

# radium 49 usb keyboard

        pcm.usb-audio {
           type hw
           card 1
        }

        ctl.usb-audio {
           type hw
           card 1
        }

# -------------------------------------------------------

# tascam usb US-122

        pcm.usb-usx2y {
           type hw
           card 2
        }

        ctl.usb-usx2y {
           type hw
           card 2
        }

# -------------------------------------------------------