Ok, after reading Jim McCloskey's posts on the UA-1EX here is what I 
tried (keep in mind I am still a Linux newbie somewhat):

UA-1EX with Advanced Driver Switch = OFF
System is Mandriva 2007.0 PWP, kernel 2.6.17-6mdv running on a Compaq 
nx9010 laptop.

# modprobe snd-usb-audio

Jan 11 20:29:15 nx9010 kernel: usbcore: registered new driver snd-usb-audio

#alsaconf
Jan 11 20:40:29 nx9010 kernel: ACPI: PCI interrupt for device 
0000:00:06.0 disab
led

Has ACPI (Power Management) disabled the interrupt for the built-in 
sound card:

Let's look at MCC...
Description: ‎M5451 PCI South Bridge Audio
Media class: ‎MULTIMEDIA_AUDIO
Connection
Bus: ‎PCI
Bus PCI #: ‎0
PCI device #: ‎6
PCI function #: ‎0
Vendor ID: ‎0x10b9
Device ID: ‎0x5451
Sub vendor ID: ‎0x103c
Sub device ID: ‎0x0850
Driver
Module: ‎snd-ali5451
Alternative drivers: ‎trident

Looks like it because no sound from either the built in soundcard or the 
UA-1EX.

Unplug UA-1EX and plug back in after 10 seconds:

Jan 11 20:47:22 nx9010 kernel: usb 2-2: new full speed USB device using 
uhci_h
cd and address 3
Jan 11 20:47:22 nx9010 kernel: usb 2-2: configuration #1 chosen from 1 
choice
Jan 11 20:47:22 nx9010 kernel: usbcore: registered new driver snd-usb-audio

And MCC identifies UA-1EX correctly as a USB Sound Device:
Identification
Vendor: ‎EDIROL
Description: ‎UA-1EX
Media class: ‎Audio|Control Device
Connection
Bus: ‎USB
Bus PCI #: ‎2
PCI device #: ‎3
Vendor ID: ‎0x0582
Device ID: ‎0x0097
Sub vendor ID: ‎0x0000
Sub device ID: ‎0x0000
Misc
Module: ‎snd-usb-audio

And yes!  There is now sound output from the UA-1EX!  Sounds great into 
Koss Porta-Pro headphones.

Reboot and no sound!

Unplug and plug back in after 10 seconds:

Jan 11 21:42:36 nx9010 kernel: usb 2-2: USB disconnect, address 2
Jan 11 21:42:48 nx9010 kernel: usb 2-2: new full speed USB device using 
uhci_hcd
 and address 3
Jan 11 21:42:48 nx9010 kernel: usb 2-2: configuration #1 chosen from 1 
choice

Note no load of snd-usb-audio.

# lsmod | grep snd_usb_audio
snd_usb_audio          74496  0
snd_usb_lib            15072  1 snd_usb_audio
snd_hwdep               7556  1 snd_usb_audio
snd_pcm                70116  4 
snd_usb_audio,snd_pcm_oss,snd_ali5451,snd_ac97_codec
snd                    46500  14 
snd_usb_audio,snd_rawmidi,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_ali5451,snd_ac97_codec,snd_pcm,snd_timer
 

usbcore               113472  6 
snd_usb_audio,snd_usb_lib,ndiswrapper,ehci_hcd,uhci_hcd

so driver seems to be loaded...

but sound still only thru built in sound card.

Try unloading snd-usb-audio module...
# modprobe -r snd-usb-audio
Jan 11 21:49:49 nx9010 kernel: usbcore: deregistering driver snd-usb-audio

Now load again...
# modprobe snd-usb-audio
Jan 11 21:50:48 nx9010 kernel: usbcore: registered new driver snd-usb-audio

Does the UA-1EX output sound now...No!

But MCC still shows it as a USB Sound Device:
Identification
Vendor: ‎EDIROL
Description: ‎UA-1EX
Media class: ‎Audio|Control Device
Connection
Bus: ‎USB
Bus PCI #: ‎2
PCI device #: ‎3
Vendor ID: ‎0x0582
Device ID: ‎0x0097
Sub vendor ID: ‎0x0000
Sub device ID: ‎0x0000
Misc
Module: ‎snd-usb-audio

Stop and restart ALSA:
# /etc/rc.d/init.d/alsa stop
Doing alsactl to store mixer settings...                        [  OK  ]
Shutting down ALSA sound driver (version 1.0.12):               [  OK  ]
Jan 11 22:14:40 nx9010 kernel: usbcore: deregistering driver snd-usb-audio
Jan 11 22:14:40 nx9010 kernel: ACPI: PCI interrupt for device 
0000:00:06.0 disab
led

# /etc/rc.d/init.d/alsa start
Starting ALSA version 1.0.12: ali5451 ali5451.                  [  OK  ]

No sound from either built-in card or UA-1EX as shutting down ALSA for 
some reason caused ACPI to disable the interrupt for the built-in sound 
card.

So it doesn't look like ALSA remembered to load snd-usb-audio into its 
configuration as the UA-1EX does not output sound still.

So issues appear to be:

1 - config ALSA for the 2 sound cards and make sure it remembers this 
configuration
    (where does Mandriva keep the Alsa config file and how does one edit 
it?).
     .

2 - make sure Mandriva 2007 always loads ali5451 and snd-usb-audio at 
start up and does not "clean them up".

3 - Why does ACPI disable the built-in sound card's interrupt?


Am I on the right track?  Maybe someone can help me...

Thanks,
Dan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to