LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2006, 04:38 PM   #1
superlisa
LQ Newbie
 
Registered: Aug 2005
Location: Cheltenham, England
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
Unhappy missing sound channels, and i can't compile alsa


I've been running Linux for a year and a half now, and have so far managed to survive it without posting for help here. I even got through some hardcore X and network issues all by myself over the last couple of days... but I'm totally stumped on this one!

In short, I have really, bad sound. It comes out mono. I've been using XMMS and mpg123 to test it. When I run alsamixer, I am shown four sliders (Front, Front Mic, Line, Mic) but only Front works. I'm on a new computer, and I don't know if this is chip-specific or anything, but shouldn't I have a Master and a PCM, at least? It's a 5.1 card (as far as I can tell) and I'm using a 2.1 system (which I'll be upgrading within the next month).

I'm running Slackware 10.2. I compiled this kernel, which is 2.6.16.1. All the relevant alsa and oss drivers (including snd-hda-intel), are compiled as modules, as instructed.

Code:
root@linty:/# lsmod
Module                  Size  Used by
snd_pcm_oss            46368  - 
snd_mixer_oss          16264  - 
snd_hda_intel          14360  - 
snd_hda_codec         124360  - 
snd_pcm                78668  - 
snd_timer              20268  - 
snd                    44612  - 
snd_page_alloc          8400  -
What's with the above output?? Shouldn't those modules be used by something?

My suspsicion is that all my problems because I'm using alsa packages which I got from slapt-get, which are compiled for 2.4. But the following happens when I try to compile alsa myself (sources from alsa-project.org):

Code:
make[1]: Entering directory `/usr/src/linux-2.6.16.1'
  CC [M]  /home/lisa/alsa-driver-1.0.9b/acore/hwdep.o
In file included from /home/lisa/alsa-driver-1.0.9b/include/adriver.h:677,
                 from /home/lisa/alsa-driver-1.0.9b/include/sound/driver.h:42,
                 from /home/lisa/alsa-driver-1.0.9b/acore/hwdep.c:22:
include/linux/pci.h:460: error: syntax error before numeric constant
make[4]: *** [/home/lisa/alsa-driver-1.0.9b/acore/hwdep.o] Error 1
make[3]: *** [/home/lisa/alsa-driver-1.0.9b/acore] Error 2
make[2]: *** [_module_/home/lisa/alsa-driver-1.0.9b] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.1'
make: *** [compile] Error 2
Have I unearthed a bug in something?
Is there any way of getting around all of this?

Here's some more information for your enjoyment;

Code:
root@linty:/# amixer info
Card default 'Intel'/'HDA Intel at 0x301c0000 irq 17'
  Mixer name    : 'Realtek ALC880'
  Components    : 'HDA:10ec0880'
  Controls      : 17
  Simple ctrls  : 10

root@linty:/# amixer scontrols
Simple mixer control 'Front',0
Simple mixer control 'Front Mic',0
Simple mixer control 'Line',0
Simple mixer control 'Mic',0
Simple mixer control 'Capture',0
Simple mixer control 'Capture',1
Simple mixer control 'Capture',2
Simple mixer control 'Input Source',0
Simple mixer control 'Input Source',1
Simple mixer control 'Input Source',2

root@linty:/# cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x301c0000 irq 17

root@linty:/# cat /proc/asound/oss/sndstat 
Sound Driver:3.8.1a-980706 (ALSA v1.0.11rc2 emulation code)
Kernel: Linux linty 2.6.16.1 #9 SMP PREEMPT Mon Apr 3 19:56:44 GMT+1 2006 i686
Config options: 0

Installed drivers: 
Type 10: ALSA emulation

Card config: 
HDA Intel at 0x301c0000 irq 17

Audio devices:
0: ALC880 Analog (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: Realtek ALC880
I'd like my nice music back, please!

Thanks guys.

Last edited by superlisa; 04-03-2006 at 04:43 PM.
 
Old 04-03-2006, 04:43 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
after you build the 2.6 kernel you need to re-run alsaconf as root
 
Old 04-03-2006, 04:44 PM   #3
superlisa
LQ Newbie
 
Registered: Aug 2005
Location: Cheltenham, England
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
I forgot to mention that I'd done that. Makes no difference at all.
 
Old 04-03-2006, 05:01 PM   #4
superlisa
LQ Newbie
 
Registered: Aug 2005
Location: Cheltenham, England
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
Oh. I fixed it.

I had the bass dial on my speakers turned all the way down.

Maybe I should go outside once in a while and cultivate some common sense.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel / Alsa Sound compile question deleshai Slackware 8 12-09-2004 07:40 AM
ALSA Surround - Rear channels mmelin Linux - General 0 08-01-2004 04:18 PM
SBlive! stereo channels w/ALSA kodon Slackware 1 07-17-2004 09:58 PM
Don't know how to share channels with ALSA borrrden Linux - Hardware 14 05-07-2004 01:28 PM
ALSA drivers work well, sound channels mixed up (INTEL AD1981A ICH4) fritex Linux - Software 6 05-30-2003 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration