Using USB-Audio

07/13/08

Permalink 09:14:19 pm, by neilb Email , 349 words, 10351 views   English (US)
Categories: Developing for the Eee, Cool Eee

Using USB-Audio

Setting up an external usb device for use with the eeepc music manager (aka amarok) can be challenging. The following steps should work. Unfortunately, you will need to use the command line.

Ensure your usb audio player is plugged in and powered up. I have an m-audio audiophile.

m-audio audiophile usb

Type control-t to bring up the terminal to enter commands.

Into the terminal window, type:


cat /proc/asound/cards

This will list the target cards that can be used by the music manager. Your usb device should be listed. If not, check cabling and that the device is powered up and working. If the device is not listed in this list none of the following steps will work. I’ll assume that you only have the standard device and your usb device. Therefore your card should also be numbered card 1.

Now edit the file ~/.asoundrc. BTW the ~ is a short cut for your home directory.

If you have a favourite editor use that, otherwise type the following into the terminal window:

kate ~/.asoundrc

Kate is an easy to use visual editor. Add the following lines.


pcm.intel8x0 {
type plug
slave.pcm "hw:0"
}

ctl.intel8x0 {
type hw
card 0
}

pcm.usb-audio {
type plug
slave.pcm "hw:1"
}

ctl.usb-audio {
type hw
card 1
}

This associates card 1 with the name usb-audio. If your card is not card 1, then change each of the two 1s in the pcm.usb-audio and ctl.usb-audio sections.

Now save the file and start up the music manager (if it was already running, restart it).

Select the Setting/Configure Music Manager… dialog and the engine tab.

If the xine engine is not in use, select it and hit the apply button. If alsa is not the selected output plugin, then select it from the drop-down and hit apply.

In the stereo field, type:

usb-audio

and hit apply.

Eeepc Music Manager Engine Settings

Your usb-audio device should now be the target of your eeepc music manager. You should now be able to enjoy music via your usb-audio device.

To change back, use default as the stereo field value. If you run into problems, delete the ~/.asoundrc file.

Pingbacks:

No Pingbacks for this post yet...

This post has 827 feedbacks awaiting moderation...

Digital Annealing Eee PC Blog


October 2014
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Choose skin

Linkblog

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 2

powered by b2evolution free blog software