[PlanetCCRMA] Tascam 428

Eric Princen eprincen@boatertalk.com
Thu Aug 18 12:39:02 2005


OK. I think we are slowly getting somewhere...

I rebooted to have it at normal startup. No audio plays. I don't have
speakers connected to the onboard audio, so it may be playing there
since the 428 isn't yet recognized.

I added usbmidi and audio to /etc/hostplug/blacklist

root@studio ~]# cat /etc/modprobe.conf
alias usb-controller2 uhci-hcd
alias eth0 sk98lin
alias char-major-81 bttv
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias ieee1394-controller ohci1394
alias scsi_hostadapter ata_piix

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

options snd-card-1 snd-intel8x0
options snd-intel8x0 index=1

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

Should I remove the oss stuff?

[root@studio ~]# ls /proc/asound/
Bt878  card0  card1  card2  cards  devices  hwdep  ICH5  meminfo
modules  oss  pcm  seq  timers  USX2Y  version

[root@studio ~]# cat /proc/asound/pcm
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

[root@studio ~]# usx2yloader

[root@studio ~]# cat /proc/asound/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

[root@studio ~]# /etc/init.d/alsasound restart
Shutting down sound driver                                 [  OK  ]
Starting sound driver snd-usb-usx2y                        [  OK  ]
Starting sequencer                                         [  OK  ]
Starting sequencer driver snd-seq-oss                      [  OK  ]
Restoring sound driver settings                            [  OK  ]

[root@studio ~]# cat /proc/asound/pcm

[root@studio ~]# ls /proc/asound/
card0  cards  devices  hwdep  meminfo  modules  oss  pcm  seq  timers
USX2Y  version

/var/log/messages reads:
Aug 18 13:17:40 studio kernel: usbcore: deregistering driver
snd-usb-usx2y
Aug 18 13:17:41 studio kernel:
ALSA /usr/src/rpm/BUILD/alsa-driver-1.0.9b/usb/usbmidi.c:178: urb status
-108
Aug 18 13:17:41 studio kernel:
ALSA /usr/src/rpm/BUILD/alsa-driver-1.0.9b/usb/usbmidi.c:163:
usb_submit_urb: -90
Aug 18 13:17:42 studio kernel: usbcore: registered new driver
snd-usb-usx2y

> Well, the card needs the firmware to work at all. If the firmware is not
> loaded it will do nothing. 

Yup. I thought it was loaded because the USB light is lit on the unit.
Perhaps I got lucky. I haven't cycled power on the unit itself. Perhaps
that wasn't the best test... :-)

> > 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.
> 
> Most usb soundcards don't have a mixer at all so that is not surprising.
> Did you try to send anything to the outputs? 

I tried using XMMS with the ALSA plugin. It sees the 428 by this time,
but I can't get anything to play.

> > /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
> 
> Oh wait, this is usbmidi, the OSS midi subsystem. Make sure you
> blacklist it in /etc/hostplug/blacklist (you don't want it to load
> instead of the ALSA one). Add two lines, one saying "usbmidi" and
> another saying "audio" (just in case, I seem to remember that is the
> name of the OSS usb audio driver).

Even thought hotplug blacklists usbmidi, I still get those messages on
an alsasound restart. On a hotplug, /var/log/messages gives me:

Aug 18 13:30:40 studio kernel: usbcore: deregistering driver
snd-usb-usx2y
Aug 18 13:30:41 studio kernel: usbcore: registered new driver
snd-usb-usx2y
Aug 18 13:30:52 studio kernel: usb 9-1: USB disconnect, address 2
Aug 18 13:30:57 studio kernel: usb 9-1: new full speed USB device using
uhci_hcd and address 3
Aug 18 13:30:58 studio /etc/hotplug/usb/tascam_fpga:
calling /usr/bin/usx2yloader for /proc/bus/usb/009/003
Aug 18 13:30:58 studio /etc/hotplug/usb/tascam_fpga:
starting /usr/bin/us428control for /proc/bus/usb/009/003
Aug 18 13:30:58 studio /etc/hotplug/usb/tascam_fpga: leaving

[root@studio ~]# ps axf | grep 428
 4692 pts/1    S+     0:00  |               \_ grep 428

us428control is not running after the hotplug.

If I unplug the 428's usb and power, then power it up, then plug in the
USB, the firmware is not loaded. It takes a manual usx2yloader to have
that happen.