Tiny Core Extensions > TCE Q&A Forum

ALSA and external USB Sound Card (UCA222)

(1/3) > >>

TaoTePuh:
I would like to pass the sound of my notebook digitally (optical) to my hi-fi system.

Now I have the following hardware : UCA222
http://www.behringer.com/EN/Products/UCA222.aspx

The hardware is recognized somehow, but it does not work (no sound) and ALSA plays always on the built-in sound card.

Can someone help me?

Some informations :

dmesg

--- Code: ---usb 4-1: new full speed USB device using uhci_hcd and address 2
input: Burr-Brown from TI               USB Audio CODEC  as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.3/input/input4
generic-usb 0003:08BB:2902.0001: input: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-0000:00:1d.2-1/input3
usbcore: registered new interface driver snd-usb-audio

--- End code ---

lsusb

--- Code: ---Bus 004 Device 002: ID 08bb:2902 Texas Instruments Japan

--- End code ---

Juanito:
Do the inputs/outputs show up in alsamixer?

tinypoodle:
Hint:

--- Code: ---alsamixer -c 0
alsamixer -c 1

--- End code ---
to switch between cards.

Also, did you run 'alsaconf' after connecting the USB card?
The '-L' option might be useful.

--- Code: ----L|--log file  logging on the specified file (for debugging purpose only)

--- End code ---

aus9:
hi

if you prefer internal not to load.FIRST...you might be better off setting up the internal as index=1 so when you plug in the usb, index=0 is available and is grabbed by the usb device

or if you prefer not to load internal AT all....blacklist its module as per the wiki

Either technique starts the same way with TC 3x series in that you run (with usb device NOT installed)


--- Code: ---lsmod | grep snd
--- End code ---
to find out your modules for your internal and add that to your bootloader to blacklist it

b) if you never use internal ....you do no more....and plug in usb and enjoy the benefits

c) otherwise you add some lines to your bootlocal to create index=1 for your internal sound device.

http://wiki.tinycorelinux.com/Setting+up+Sound


2) which alsamixer setting are you referring to you for digital out....spdif ?

TaoTePuh:
Thanks, you guys are great as always!

As expected, it was a hard- and software problem and it sits between my ears ...

After blacklisting all sound modules and loading the UCA222 manually as default (index 0) - I had the sound on the external device (ear phones and optical / spdif).

Meanwhile, I remembered that you can drive the sound devices separately out from mpd :

mpd.conf

--- Code: ---audio_output {
        type            "alsa"
        name            "My ALSA Device 0"
        device          "hw:0,0"        # optional
...
}

audio_output {
        type            "alsa"
        name            "My ALSA Device 1"
        device          "hw:1,0"        # optional
...
}

--- End code ---

Now I have "only" two problems left :

1.) Is it possible to run/configure ALSA in such a way that the sound will always be transmitted on multiple devices at the same time - without consideration of the program (so even if I play a song with vlc or something ...) ?
Currently my ALSA only plays on the default device (index=0).

2.) Currently alsamixer only shows me the mixer controls for PCM, but the device still has a lot more inputs and outputs. I thought I must read and understand the following, but now I am stuck ...
http://www.kernel.org/doc/Documentation/sound/alsa/ALSA-Configuration.txt - paragraph: Module snd-usb-audio

Navigation

[0] Message Index

[#] Next page

Go to full version