1 |
Hi, |
2 |
|
3 |
After I click on Apply button the Alsa Device Configuration section |
4 |
become enabled, but when I specify hw1,0 in Stereo text field and play |
5 |
a song amarok shows the message: "Audio output unavailable; the device |
6 |
is busy.". |
7 |
|
8 |
/proc/asound/ # ls |
9 |
ASM5X0 Modem card1 cards hwdep oss seq version |
10 |
ICH6 card0 card2 devices modules pcm timers |
11 |
|
12 |
the file ASM5X0 is a symbolic link to card2. |
13 |
|
14 |
/proc/asound/ # cat cards |
15 |
0 [ICH6 ]: ICH4 - Intel ICH6 |
16 |
Intel ICH6 with unknown codec at 0xc8000800, irq 18 |
17 |
1 [Modem ]: ICH-MODEM - Intel ICH6 Modem |
18 |
Intel ICH6 Modem at 0x3400, irq 18 |
19 |
2 [ASM5X0 ]: USB-Audio - AS-M5X0 |
20 |
Gradiente AS-M5X0 at usb-0000:00:1d.1-1, full speed |
21 |
|
22 |
I also tried to specify hw2,0 but the message is the same, device is busy! :( |
23 |
|
24 |
But a good news is that if I do: |
25 |
|
26 |
mpg123 -a /dev/sound/dsp1 music.mp3 |
27 |
|
28 |
... the file is played on my usb device perfectly!!! So, this is the |
29 |
proof that kernel recognize the device and I just don't know how |
30 |
switch alsa default device do /dev/sound/dsp1. |
31 |
|
32 |
Any clue? Thank you, |
33 |
|
34 |
Leandro. |
35 |
|
36 |
2006/10/31, Leandro Melo de Sales <leandroal@×××××.com>: |
37 |
> Hi... The device is configured and I type cat xxx > /dev/sound/dsp1 |
38 |
> and I got an strange sound, but this prove that the device was |
39 |
> recognized by the kernel. I also can control volume of the second |
40 |
> audio device through alsamixer. The question is: how can I specify (on |
41 |
> alsa) that the default device is /dev/sound/dsp1 or something like |
42 |
> that? |
43 |
> I tried to do what you said on Amarok, but the "Alsa Device |
44 |
> Configuration" section is disabled, why? |
45 |
> |
46 |
> []s |
47 |
> Leandro. |
48 |
> |
49 |
> 2006/10/31, Richard Fish <bigfish@××××××××××.org>: |
50 |
> > On 10/30/06, Leandro Melo de Sales <leandroal@×××××.com> wrote: |
51 |
> > > Hi list... |
52 |
> > > |
53 |
> > > I have an usb sound system from Gradiente company (an eletronic |
54 |
> > > device factory) and I plugged it on my system. dmesg command shows |
55 |
> > > this: |
56 |
> > > |
57 |
> > > input: Gradiente AS-M5X0 as /class/input/input3 |
58 |
> > > input: USB HID v1.00 Device [Gradiente AS-M5X0] on usb-0000:00:1d.1-1 |
59 |
> > > |
60 |
> > > But when I play a mp3 media the sound is not forwarded to my usb |
61 |
> > > device, instand, the sound is still played through my integrated |
62 |
> > > laptop device. |
63 |
> > > On windows I use it without problem. So, what do I have to do to |
64 |
> > > forward the sound to my usb device? |
65 |
> > |
66 |
> > Probably windows is disabling any existing sound card or at least |
67 |
> > making the USB the "default" sound device. Unfortunately there is no |
68 |
> > equivalent with alsa currently. |
69 |
> > |
70 |
> > So assuming that you've got the alsa drivers loaded for this device |
71 |
> > (/proc/asound/cards should contain two entries), you can usually |
72 |
> > specify alsa device as "hw1,0". The exact method for doing this |
73 |
> > depends on what app you are using. For example on amarok with the |
74 |
> > xine it is under Configure Amarok... -> Engine -> ALSA Device |
75 |
> > Configuration. If you enter hw1,0 for Stereo there, then 2 channel |
76 |
> > audio should be played on the first pcm of the second sound card. |
77 |
> > |
78 |
> > You should also be able to do this with a .asoundrc file, with an entry like: |
79 |
> > |
80 |
> > pcm.default { |
81 |
> > type hw |
82 |
> > card 1 |
83 |
> > device 1 |
84 |
> > } |
85 |
> > |
86 |
> > The above is really primitive, without any dmix plugin (software |
87 |
> > mixing), so only one app could use the device at a time unless it does |
88 |
> > hardware mixing. Mostly this is just to give you an idea of where to |
89 |
> > look! ;-) |
90 |
> > |
91 |
> > -Richard |
92 |
> > -- |
93 |
> > gentoo-user@g.o mailing list |
94 |
> > |
95 |
> > |
96 |
-- |
97 |
gentoo-user@g.o mailing list |