Gene Heskett wrote:
>> I've got an Audigy Player (emu10k1) and my mainboard (ASUS M2NPV-VM) has
>> onboard sound (via82xx). The Audigy is connected to a 5.1 system,
>> upmixing of stereo signals to 5.1 worked without any configuration at
>> all, I only added the following 3 lines to /etc/modprobe.d/alsa-base (I
>> run Ubuntu) to avoid random index assignment:
> You probably also need at least
> alias snd-card-0 snd-emu10k1
>> options snd-emu10k1 index=0
> alias snd-card-1 snd-via82xx
I didn't post the entire alsa-base file, here are some of the relevant
parts that were automatically created by Ubuntu:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
...
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
$CMDLINE_OPTS && { /sbin/modprobe -Qb snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
$CMDLINE_OPTS && { /sbin/modprobe -Qb snd-seq ; }
...
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options cx88-alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# And then the lines manually added by me:
options snd-emu10k1 index=0
options snd-via82xx index=1
options snd-mpu401 index=2
Do I really have to manipulate the aliases to point to the modules?
If I removed the explicit install emu10k1/via82xx commands from the file
they would be detected and loaded automatically anyway?
>> Sometimes I want to use headphones instead of the 5.1 system, but
>> without having to unplug the front-channel-output of the Audigy. That's
>> why I want the audio output to always go to the Audigy and the onboard
>> sound card as well (obviously no need for synchronization here).
>> So I created .asoundrc in my home directory and figured out it should
>> look something like this:
>>
>> # Create a 8-channel multi device, the first 6 channels map to the
>> Audigy, the other 2 to the onboard sound
>> pcm.multi {
>> type multi;
>> slaves.a.pcm "hw:0,0";
>> slaves.a.channels 6;
>> slaves.b.pcm "hw:1,0";
>> slaves.b.channels 2;
>> bindings.0.slave a;
>> bindings.0.channel 0;
>> bindings.1.slave a;
>> bindings.1.channel 1;
>> bindings.2.slave a;
>> bindings.2.channel 2;
>> bindings.3.slave a;
>> bindings.3.channel 3;
>> bindings.4.slave a;
>> bindings.4.channel 4;
>> bindings.5.slave a;
>> bindings.5.channel 5;
>> bindings.6.slave b;
>> bindings.6.channel 0;
>> bindings.7.slave b;
>> bindings.7.channel 1;
>> }
>>
>> # Create a 6-channel routing device: The 6 channels map directly to the
>> Audigy, the first to channels are also sent to the onboard card
>> pcm.ttable {
>> type route;
>> slave.pcm "multi";
>>
>> ttable.0.0 1
>> ttable.1.1 1
>> ttable.2.2 1
>> ttable.3.3 1
>> ttable.4.4 1
>> ttable.5.5 1
>> ttable.0.6 1
>> ttable.1.7 1
>> }
>>
>> The only application I've got which shows me the virtual devices is
>> Skype, however if I select the ttable-Device and play a test sound, it
>> only plays on the speakers connected to the Audigy. Any ideas about
>> what's wrong with the configuration? Do I need a ctl-Device for the
>> multi/ttable to make it work?
>>
>> My second question is how I can manage to let the ttable-device appear
>> to be a real soundcard and make it the default card (index 0) for all
>> applications using ALSA, somehow I couldn't find any instructions for this..
>>
>> Thanks in advance for any help!
>> Best regards
>> Kevin
>>
>> PS: Another thing that's troubling me: Sometimes when I boot, the Audigy
>> doesn't show up in /proc/asound/cards at all, and the system log says:
>> "EMU10K1_Audigy: probe of 0000:02:0a.0 failed with error -12". Is this
>> just a problem with cards fighting over index numbers or a bug? (See
>> http://lists.debian.org/debian-kernel/2007/06/msg00273.html - I'm using
>> exactly the same set of modules..)
>
> I had the same problem, and finally discovered that the retaining screw was
> pulling the far and of the card partially out of the socket. I finally
> loosened the screw through the pcb, but found it such a precise fit in the
> hole that I had to bend the bracket with a smallish pair of vice-grips in
> order to move the retainer tab to the rear about 30 thousandths of an inch
> allowing a much better alignment that did not jack the far end of the card
> back out of the slot when the screw was installed.
To be honest I don't believe it's a hardware problem.. The card is
equally inserted on both ends and not even the end of any pin is visible..
And if it was a problem with the connection, the card should probably
also stop working sometimes while the machine is running?
Here is the system log of a boot where the card was successfully added:
Sep 16 10:30:09 cube kernel: [ 29.910687] gameport: EMU10K1 is
pci0000:04:08.1/gameport0, io 0x9800, speed 1104kHz
Sep 16 10:30:09 cube kernel: [ 29.965429] nvidia: module license
'NVIDIA' taints kernel.
Sep 16 10:30:09 cube kernel: [ 30.282361] ACPI: PCI Interrupt Link
[APC7] enabled at IRQ 16
Sep 16 10:30:09 cube kernel: [ 30.282374] ACPI: PCI Interrupt
0000:00:05.0[A] -> Link [APC7] -> GSI 16 (level, low) -> IRQ 22
Sep 16 10:30:09 cube kernel: [ 30.282382] PCI: Setting latency timer
of device 0000:00:05.0 to 64
Sep 16 10:30:09 cube kernel: [ 30.282596] NVRM: loading NVIDIA Linux
x86 Kernel Module 1.0-9631 Thu Nov 9 17:38:10 PST 2006
Sep 16 10:30:09 cube kernel: [ 30.323596] input: PC Speaker as
/class/input/input2
Sep 16 10:30:09 cube kernel: [ 30.463395] ACPI: PCI Interrupt Link
[APC1] enabled at IRQ 16
Sep 16 10:30:09 cube kernel: [ 30.463400] ACPI: PCI Interrupt
0000:04:08.0[A] -> Link [APC1] -> GSI 16 (level, low) -> IRQ 22
Sep 16 10:30:09 cube kernel: [ 30.530357] hda: ATAPI 48X DVD-ROM DVD-R
CD-R/RW drive, 2048kB Cache, UDMA(33)
Sep 16 10:30:09 cube kernel: [ 30.530366] Uniform CD-ROM driver
Revision: 3.20
Sep 16 10:30:09 cube kernel: [ 30.658060] usbcore: registered new
interface driver hiddev
Sep 16 10:30:09 cube kernel: [ 30.817994] ACPI: PCI Interrupt Link
[AAZA] enabled at IRQ 22
Sep 16 10:30:09 cube kernel: [ 30.817999] ACPI: PCI Interrupt
0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 17
Sep 16 10:30:09 cube kernel: [ 30.818017] PCI: Setting latency timer
of device 0000:00:10.1 to 64
Sep 16 10:30:09 cube kernel: [ 30.824174] input: HID 04b3:310b as
/class/input/input3
Sep 16 10:30:09 cube kernel: [ 30.824251] input: USB HID v1.00 Mouse
[HID 04b3:310b] on usb-0000:00:0b.0-1
Sep 16 10:30:09 cube kernel: [ 30.824264] usbcore: registered new
interface driver usbhid
Sep 16 10:30:09 cube kernel: [ 30.824268]
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Sep 16 10:30:09 cube kernel: [ 31.273446] fuse init (API version 7.8)
Sep 16 10:30:09 cube kernel: [ 31.330096] lp: driver loaded but no
devices found
and here of a failure (4th/3rd line before the end):
Sep 16 10:23:46 cube kernel: [ 30.052235] gameport: EMU10K1 is
pci0000:04:08.1/gameport0, io 0x9800, speed 1104kHz
Sep 16 10:23:46 cube kernel: [ 30.149238] input: HID 04b3:310b as
/class/input/input2
Sep 16 10:23:46 cube kernel: [ 30.149314] input: USB HID v1.00 Mouse
[HID 04b3:310b] on usb-0000:00:0b.0-1
Sep 16 10:23:46 cube kernel: [ 30.149327] usbcore: registered new
interface driver usbhid
Sep 16 10:23:46 cube kernel: [ 30.149331]
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Sep 16 10:23:46 cube kernel: [ 30.213265] input: PC Speaker as
/class/input/input3
Sep 16 10:23:46 cube kernel: [ 30.256791] ACPI: PCI Interrupt Link
[AAZA] enabled at IRQ 22
Sep 16 10:23:46 cube kernel: [ 30.256796] ACPI: PCI Interrupt
0000:00:10.1[B] -> Link [AAZA] -> GSI 22 (level, low) -> IRQ 17
Sep 16 10:23:46 cube kernel: [ 30.256813] PCI: Setting latency timer
of device 0000:00:10.1 to 64
Sep 16 10:23:46 cube kernel: [ 30.575063] cannot find the slot for
index 0 (range 0-2)
Sep 16 10:23:46 cube kernel: [ 30.575071] EMU10K1_Audigy: probe of
0000:04:08.0 failed with error -12
Sep 16 10:23:46 cube kernel: [ 30.728867] fuse init (API version 7.8)
Sep 16 10:23:46 cube kernel: [ 30.787946] lp: driver loaded but no
devices found
Other than that, is there anything wrong with my
multi/ttable-configurations?
Best regards!
Kevin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user