* USB Audio - assertion
@ 2002-07-05 12:51 tapio laxström
2002-07-05 14:24 ` Patrick Shirkey
0 siblings, 1 reply; 3+ messages in thread
From: tapio laxström @ 2002-07-05 12:51 UTC (permalink / raw)
To: alsa-devel
Hi!
Seems like USB Audio driver doesn't want to be on /dev/mixer0 ;)
(ecasound thru /dev/dsp0 works fine but xmms, which wants to use mixer,
fails).
I didn't check the code; is it just buggy assertion or something else?
Current cvs version seems to work fine with my Emagic EMI 2|6 (on
/dev/dsp1).
---clip---
[root@zappa asound]# insmod snd-usb-audio ; insmod snd-maestro3
Using /lib/modules/2.4.19-pre8/kernel/sound/usb/snd-usb-audio.o
Using /lib/modules/2.4.19-pre8/kernel/sound/pci/snd-maestro3.o
[root@zappa asound]# cat cards
0 [card0 ]: USB-Audio - USB Audio Driver
EMAGIC GmbH Emagic EMI 2|6
1 [card1 ]: Allegro - ESS Allegro PCI
ESS Allegro PCI at 0x1400, irq 5
[root@zappa asound]# xmms
xmms: simple.c:1376: snd_mixer_selem_get_playback_volume: Assertion
`(unsigned int) channel < s->str[0].channels' failed.
Aborted
[root@zappa asound]# rmmod snd-usb-audio ; rmmod snd-maestro3
[root@zappa asound]# insmod snd-maestro3 ; insmod snd-usb-audio
Using /lib/modules/2.4.19-pre8/kernel/sound/pci/snd-maestro3.o
Using /lib/modules/2.4.19-pre8/kernel/sound/usb/snd-usb-audio.o
[root@zappa asound]# xmms
[root@zappa asound]# cat cards
0 [card0 ]: Allegro - ESS Allegro PCI
ESS Allegro PCI at 0x1400, irq 5
1 [card1 ]: USB-Audio - USB Audio Driver
EMAGIC GmbH Emagic EMI 2|6
--
best regards
--
tapio laxström
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB Audio - assertion
2002-07-05 12:51 USB Audio - assertion tapio laxström
@ 2002-07-05 14:24 ` Patrick Shirkey
2002-07-05 15:20 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Patrick Shirkey @ 2002-07-05 14:24 UTC (permalink / raw)
To: tapio laxström; +Cc: alsa-devel
tapio laxström wrote:
> Hi!
>
> Seems like USB Audio driver doesn't want to be on /dev/mixer0 ;)
Possibly your card doesn't have mixer properties. The quattro doesn't. I
don't know exactly how to get round that with xmms though. You could try
the native alsa plugin available from their site.
> (ecasound thru /dev/dsp0 works fine but xmms, which wants to use mixer,
> fails).
>
> I didn't check the code; is it just buggy assertion or something else?
>
> Current cvs version seems to work fine with my Emagic EMI 2|6 (on
> /dev/dsp1).
>
> ---clip---
> [root@zappa asound]# insmod snd-usb-audio ; insmod snd-maestro3
> Using /lib/modules/2.4.19-pre8/kernel/sound/usb/snd-usb-audio.o
> Using /lib/modules/2.4.19-pre8/kernel/sound/pci/snd-maestro3.o
> [root@zappa asound]# cat cards
> 0 [card0 ]: USB-Audio - USB Audio Driver
> EMAGIC GmbH Emagic EMI 2|6
> 1 [card1 ]: Allegro - ESS Allegro PCI
> ESS Allegro PCI at 0x1400, irq 5
> [root@zappa asound]# xmms
> xmms: simple.c:1376: snd_mixer_selem_get_playback_volume: Assertion
> `(unsigned int) channel < s->str[0].channels' failed.
> Aborted
> [root@zappa asound]# rmmod snd-usb-audio ; rmmod snd-maestro3
> [root@zappa asound]# insmod snd-maestro3 ; insmod snd-usb-audio
> Using /lib/modules/2.4.19-pre8/kernel/sound/pci/snd-maestro3.o
> Using /lib/modules/2.4.19-pre8/kernel/sound/usb/snd-usb-audio.o
> [root@zappa asound]# xmms
> [root@zappa asound]# cat cards
> 0 [card0 ]: Allegro - ESS Allegro PCI
> ESS Allegro PCI at 0x1400, irq 5
> 1 [card1 ]: USB-Audio - USB Audio Driver
> EMAGIC GmbH Emagic EMI 2|6
>
>
> --
> best regards
> --
> tapio laxström
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Bringing you mounds of caffeinated joy.
> http://thinkgeek.com/sf
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
>
--
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/guide/
========================================
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: USB Audio - assertion
2002-07-05 14:24 ` Patrick Shirkey
@ 2002-07-05 15:20 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2002-07-05 15:20 UTC (permalink / raw)
To: Patrick Shirkey; +Cc: tapio laxström, alsa-devel
At Fri, 05 Jul 2002 23:24:06 +0900,
Patrick Shirkey wrote:
>
> tapio laxström wrote:
> > Hi!
> >
> > Seems like USB Audio driver doesn't want to be on /dev/mixer0 ;)
>
> Possibly your card doesn't have mixer properties. The quattro doesn't. I
> don't know exactly how to get round that with xmms though. You could try
> the native alsa plugin available from their site.
emi2|6 should have mixer controls but likely they are named in a
different manner from the conventional cards.
please note that usbaudio driver creates the mixer elements
automatically by parsing the topology, hence the naming might not be
perfect.
anyway, i also recommend to use alsa output plugin.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-05 15:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-05 12:51 USB Audio - assertion tapio laxström
2002-07-05 14:24 ` Patrick Shirkey
2002-07-05 15:20 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.