[PlanetCCRMA] Tascam 428

Eric Princen eprincen@boatertalk.com
Thu Aug 18 11:57:01 2005


I made the mix a bit more complicated. I re-enabled my onboard audio and
set it to card 1. I can easily turn it back off. I thought maybe having
it there would cause the subsystem to recognize a valid playback device.

On Thu, 2005-08-18 at 10:22 -0700, Fernando Lopez-Lezcano wrote:
> There is usually more stuff when you plug in a usb card. Strange. I
> can't remember but things like registering it with snd-usb-audio and so
> on. 

[snip]

> Strange again. I would guess that for some reason the firmware was not
> loaded. Alsa does recognize the device but there are no audio streams
> available. What happens if you try to load the firmware manually? I
> imagine that it would be something like:
>   /usr/bin/usx2yloader

That could be something... I ran it. This is now what I get:

[root@studio asound]# cat pcm
00-00: US-X2Y Audio : US-X2Y Audio #0 : playback 1 : capture 1
00-01: US-X2Y Audio : US-X2Y Audio #1 : capture 1
01-00: Intel ICH : Intel ICH5 : playback 1 : capture 1
01-01: Intel ICH - MIC ADC : Intel ICH5 - MIC ADC : capture 1
01-02: Intel ICH - MIC2 ADC : Intel ICH5 - MIC2 ADC : capture 1
01-03: Intel ICH - ADC2 : Intel ICH5 - ADC2 : capture 1
01-04: Intel ICH - IEC958 : Intel ICH5 - IEC958 : playback 1
02-00: Bt87x Digital : Bt87x Digital : capture 1
02-01: Bt87x Analog : Bt87x Analog : capture 1

> Come to think of it, that must be the problem. I see above that hotplug
> runs /usr/bin/us428control, instead of usx2yloader. I don't know why
> that would be.

us428control does not run until I manually run usx2yloader. Interesting.

That said, audio still does not work. :-) If I run kmix, it only sees
the Intel ICH and Bt878. It doesn't see the 428 at all.

If at this time, I do this:

[root@studio asound]# /etc/init.d/alsasound restart
Shutting down sound driverERROR: Module snd is in use
                                                           [  OK  ]
ALSA driver already running
Starting sound driver snd-usb-audio                        [  OK  ]
Starting sequencer                                         [  OK  ]
Starting sequencer driver snd-seq-oss                      [  OK  ]
Restoring sound driver settings /usr/sbin/alsactl: load_state:1236: No
soundcards found...
                                                           [FAILED]

Then the card links disappear in /proc/asound and the files look like
this:

[root@studio asound]# ls
cards  devices  hwdep  meminfo  modules  oss  pcm  seq  timers  version
[root@studio asound]# cat pcm
[root@studio asound]# cd ..
[root@studio proc]# cd asound/
[root@studio asound]# ls
cards  devices  hwdep  meminfo  modules  oss  pcm  seq  timers  version
[root@studio asound]# cat pcm
[root@studio asound]# cat cards
--- no soundcards ---
[root@studio asound]# cat devices
  1:       : sequencer
 33:       : timer
[root@studio asound]# cat hwdep
[root@studio asound]# cat modules
[root@studio asound]#           

/var/log/messages says:

Aug 18 12:52:09 studio kernel: usbcore: deregistering driver
snd-usb-usx2y
Aug 18 12:52:09 studio kernel:
ALSA /usr/src/rpm/BUILD/alsa-driver-1.0.9b/usb/usbmidi.c:178: urb status
-108
Aug 18 12:52:09 studio kernel:
ALSA /usr/src/rpm/BUILD/alsa-driver-1.0.9b/usb/usbmidi.c:163:
usb_submit_urb: -90
Aug 18 12:52:09 studio kernel: usbcore: deregistering driver
snd-usb-audio
Aug 18 12:52:10 studio kernel: usbcore: registered new driver
snd-usb-audio

Question about /etc/modprobe.conf:

Should it read

alias snd-card-0 snd-usb-audio
options snd-usb-audio index=0

or should it read

alias snd-card-0 snd-usb-usx2y
options snd-usb-usx2y index=0

???

> -- Fernando
> 
> >  33:       : timer
> >  57: [1- 1]: digital audio capture
> >  56: [1- 0]: digital audio capture
> >  32: [1- 0]: ctl
> > 
> > [root@studio asound]# cat pcm
> > 01-00: Bt87x Digital : Bt87x Digital : capture 1
> > 01-01: Bt87x Analog : Bt87x Analog : capture 1
> > 
> > [root@studio asound]# cat version
> > Advanced Linux Sound Architecture Driver Version 1.0.9b.
> > Compiled on Jul 11 2005 for kernel 2.6.12-0.21.rdt.rhfc4.ccrmasmp (SMP).
> > 
> > root@studio asound]# cat oss/sndstat
> > Sound Driver:3.8.1a-980706 (ALSA v1.0.9b emulation code)
> > Kernel: Linux studio.internal 2.6.12-0.21.rdt.rhfc4.ccrmasmp #1 SMP Mon
> > Jul 11 16:37:45 EDT 2005 i686
> > Config options: 0
> > 
> > Installed drivers:
> > Type 10: ALSA emulation
> > 
> > Card config:
> > TASCAM US-X2Y (1604:8001 if 0 at 009/003)
> > Brooktree Bt878 at 0xf7eff000, irq 185
> > 
> > Audio devices:
> > 1: Bt87x Digital
> > 
> > Synth devices: NOT ENABLED IN CONFIG
> > 
> > Midi devices: NOT ENABLED IN CONFIG
> > 
> > Timers:
> > 7: system timer
> > 
> > Mixers:
> > 0: mixer00
> > 1: Bt87x
> > 
> > Pretty stumped at the moment due to lack of knowledge of the innards of
> > the sound system.
>