Skip to contentSkip to conversation

USB Audio - assertion

DISCUSSION tapio laxström 3 participants 3 messages Jul 5, 2002

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · tapio laxström

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.

Quoted 47 lines

(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
Signature · 14 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Signature · 12 lines
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
#2 lore raw

At Fri, 05 Jul 2002 23:24:06 +0900,

Quoted 9 lines · Patrick Shirkey
Quoted 3 lines · tapio laxström

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