View previous topic :: View next topic |
Author |
Message |
timmy! n00b


Joined: 05 Nov 2004 Posts: 49 Location: Aberdeen, UK
|
Posted: Sat Nov 27, 2004 9:07 pm Post subject: ALSA, USB MP3+ soundcard and NIGHTMARES! |
|
|
Hey.
Ok, I now officially wish I'd stuck to 2.4. I have been having absolutely NO luck getting my sound working under ALSA -- with a Creative MP3+, snd-usb-audio just isn't having any of it. I have error messages coming out of my ears, and a different one every time (for each different installation; I've recompiled my kernel at least 4 times today in accordance with the instructions given on various howtos).
I'm running 2.6.9-gentoo-r6 and the latest ALSA stuff (1.0.6). I've searched the forums and tried everything that's posted, and I'm at my wits' end. Is there some kind of magic log file that you guys can point me to that will tell me exactly what the problem is and how to fix it (I wish!)? Like I say I've tried compiling with drivers and support in the kernel, then entirely modularised, then a bit of both, then none at all... and still nothing!!
**Addendum: Incidentally, I've got usb-audio support in the kernel switched off. And I should note that I'm not getting anything at all when the system boots or I reload alsasound -- just an error about not being able to find the default card. |
|
Back to top |
|
 |
gentsquash l33t

Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Sun Nov 28, 2004 1:54 am Post subject: |
|
|
To check, did you come across the excellent
http://www.gentoo.org/doc/en/migration-to-2.6.xml?style=printable
? It suggests doing `make menuconfig' from scratch, not using
the ".config" from 2.4. It has a section
Quote: |
Configuring the ALSA modules |
and a snippet of `make menuconfig';
Quote: |
(the following are required for ALSA):
Code: | Device Drivers --->
Sound --->
<*> Sound card support
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> OSS Mixer API
[*] OSS Sequencer API |
(and dont forget to select your soundcard from the submenus!)
|
Sound is working on my desktop machine. (I'll find out tonight if
it will work on the laptop...) _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
 |
BeetleJuice n00b


Joined: 29 Apr 2002 Posts: 67 Location: Austria
|
Posted: Sun Nov 28, 2004 8:11 am Post subject: |
|
|
Disable "USB Audio Support" in USB Support. In Alsa set
Code: |
<*> Advanced Linux Sound Architecture
<*> Sequencer support
< > Sequencer dummy client
<*> OSS Mixer API
<*> OSS PCM (digital audio) API
[*] OSS Sequencer API
<*> USB Audio/MIDI driver
|
ALSA doesnt need to find a soundcard at boot time, it justs register snd-usb-audio and youre fine.
Code: |
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
usbcore: registered new driver snd-usb-audio
usbcore: registered new driver snd-usb-usx2y
ALSA device list:
No soundcards found.
|
If you use rhythmbox or totem compile with the xine backend, gstreamer is just too buggy.
I use a SBLive! 24-bit USB and works fine, be sure to set the mixer levels with alsamixer. |
|
Back to top |
|
 |
timmy! n00b


Joined: 05 Nov 2004 Posts: 49 Location: Aberdeen, UK
|
Posted: Sun Nov 28, 2004 11:28 am Post subject: |
|
|
Thanks guys...
But do you see what I mean? Two conflicting (well sorta) sets of advice. Incidentally I did try both of those (modularised and built-in), and with USB audio support disabled (and then I tried enabled just for the hell of it), but still no joy.
Can anyone confirm that if I'm running 2.6 all I technically need is alsa-utils (and the OSS stuff if you want backwards compatibility)? I read in the Gentoo Wiki HOWTO that on 2.6 you don't need to install alsa-lib, however it's a dep for -utils, so I'm confused... |
|
Back to top |
|
 |
BeetleJuice n00b


Joined: 29 Apr 2002 Posts: 67 Location: Austria
|
Posted: Sun Nov 28, 2004 4:53 pm Post subject: |
|
|
Perhaps you could post some of the error messages, a 'dmesg' log?
Do you have "weird" sound, no sound at all?
I compiled kernel 2.6.9-nitro4 with the alsa options above, alsa-libs-1.0.7 alsa-oss-1.0.7, alsa-utils-1.0.7 if that is of any help.
The kernel only provides the drivers for alsa, you need alsa-lib for userspace utils IIRC. |
|
Back to top |
|
 |
timmy! n00b


Joined: 05 Nov 2004 Posts: 49 Location: Aberdeen, UK
|
Posted: Sun Nov 28, 2004 5:22 pm Post subject: |
|
|
Will post an error log as soon as I'm next booted into linux.
There's no sound at all though. Initialising the soundcard just fails saying it can't find the default device or words to that effect. |
|
Back to top |
|
 |
|