LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-12-2004, 11:01 PM   #1
jakublgz
Member
 
Registered: Apr 2002
Location: Wood Dale IL
Distribution: redhat, slackware
Posts: 110

Rep: Reputation: 15
Question sound support


Dear All,
First of all thanks for reading this. I just installed slackware and compiled new kernel. Everything seems to work fine, even sound card was detected by kernel:

Apr 12 20:30:44 darkstar kernel: ALI 5455 + AC97 Audio, version 0.03-ac, 09:09:45 Apr 7 2004
Apr 12 20:30:44 darkstar kernel: ali_audio: Enabling S/PDIF at sample rate 48000Hz.
Apr 12 20:30:44 darkstar last message repeated 2 times
Apr 12 20:30:44 darkstar kernel: ali_audio: Enabling controller S/PDIF at sample rate 48000Hz.
Apr 12 20:30:44 darkstar kernel: es1371: version v0.32 time 09:09:49 Apr 7 2004
Apr 12 20:30:44 darkstar kernel: Linux Kernel Card Services 3.1.22
Apr 12 20:30:44 darkstar kernel: options: [pci] [cardbus] [pm]
Apr 12 20:30:44 darkstar kernel: PCI: Assigned IRQ 11 for device 00:0a.0
Apr 12 20:30:44 darkstar kernel: yenta 00:0a.0: Preassigned resource 1 busy, reconfiguring...

I also installed KDE 3.2.1 and I can't get my sound mixer to work. KDE does not recognize my sound device... I don't understand why . I gues I will have to go back to the opensound but since kernel found sound device and initilized it why is it not working ?

Part of the DMESg

bash-2.05b# dmesg | grep ali
Initializing CPU#0
Calibrating delay loop... 2641.10 BogoMIPS
calibrating APIC timer ...
Initializing RT netlink socket
smapi::smapi_init, ERROR invalid usSmapiID
mwave: tp3780i::tp3780I_InitializeBoardData: Error: SMAPI is not available on this machine
mwave: mwavedd::mwave_init: Error: Failed to initialize board data
mwave: mwavedd::mwave_init: Error: Failed to initialize
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
[drm] Initialized radeon 1.0.0 20010105 on minor 63
ali_audio: Enabling S/PDIF at sample rate 48000Hz.
ali_audio: Enabling S/PDIF at sample rate 48000Hz.
ali_audio: Enabling S/PDIF at sample rate 48000Hz.
ali_audio: Enabling controller S/PDIF at sample rate 48000Hz.

BSTGRGDS,
Jakub.

Last edited by jakublgz; 04-12-2004 at 11:06 PM.
 
Old 04-13-2004, 12:18 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Try using alsamixer. It's in the alsa-utils package. It's the only mixer I know of that handles ALSA appropriately.
 
Old 04-13-2004, 02:12 AM   #3
jakublgz
Member
 
Registered: Apr 2002
Location: Wood Dale IL
Distribution: redhat, slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Question

Hello
This is the actuall device after lspci:

00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)

This is what I get after running alsamixer:

bash-2.05b# alsamixer

alsamixer: function snd_ctl_open failed for default: No such device

BSTRGDS<
Jakub.
 
Old 04-13-2004, 03:28 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Oh yeah, you have to install the alsa-lib package first. It's always a good idea to install them all.
 
Old 04-13-2004, 03:29 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
First question:

What device is this?
Quote:
mwave: tp3780i::tp3780I_InitializeBoardData: Error: SMAPI is not available on this machine
mwave: mwavedd::mwave_init: Error: Failed to initialize board data
mwave: mwavedd::mwave_init: Error: Failed to initialize
mvavedd would seem to be connected to your sound card in some way, and would further seem to be rather essential (given that "wave" is included, indicating basic audio functionality).

Second question:

I see 3 digital connections being initialized... do you actually have 3 digital connections? Maybe extra initializations are blocking the initialization of the card itself.

Further, I don't see the actual card being initialized (unless that's what's erroring out above).

I suspect that the digital connections (the S/PDIF) are considered separate devices from the actual card, the same way that the gameport on my onboard sound chip is a separate device from the chip itself, and may work even if the sound card itself fails.

Did you compile the module for the card? According to this details page on the ALSA site, you actually need the Intel module, which is not exactly what one would expect.

The fact that the card is detected is meaningless if there's no module for it to load so that the card actually works .
 
Old 04-13-2004, 01:19 PM   #6
jakublgz
Member
 
Registered: Apr 2002
Location: Wood Dale IL
Distribution: redhat, slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Hello Again,
I was stressed out because of all that and installed kernel 2.6.5 ... Here is what happens now:

Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
ALSA device list:
#0: ALI 5451 at 0x8400, irq 5
-----------------------------------------------------------------
Also it looks like system recognized a hardware and I can run both mixers. All volumes are set to almost max and I can hear speakers making some noise but its not playing any wav or mp3 mpg nothing... I compiled ALI into kernel not as a module. There is no any error messages. Can someone explain ?
Thanks,
Jakub.
 
Old 04-13-2004, 01:35 PM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Did you also compile OSS emulation into the kernel?

What media player are you using? If XMMS, is it set to use the ALSA output plugin, or OSS (which won't do you much good if you don't have OSS emulation)? Are all of your input plugins enabled? Did you raise the XMMS volume? Do you have mPlayer or another audio app? Does it play when XMMS may not?

What desktop are you using? If KDE, did you turn on aRTs? Have you tried playing system sounds through your control panel? Or any game that makes sound? Do those work?

Which mixer(s) did you run? If alsamixer, did you also raise the volume on the volume applet on your desktop (KMix, or GNOME Volume Control, or whatever)? Did you also unmute the channels on alsamixer by pressing M on each one (you can raise the volume but they'll still be muted; you can tell because there's little M-M above the channel in the console verson. It's some kind of little radio light on the GUI alsamixer).

That's all the basic checks, and before you say it, yes it's an annoying amount of work for something that ought to work already .
 
Old 04-13-2004, 10:07 PM   #8
jakublgz
Member
 
Registered: Apr 2002
Location: Wood Dale IL
Distribution: redhat, slackware
Posts: 110

Original Poster
Rep: Reputation: 15
Thank you Sir. Case is closed.
LINUX ~*****
Jakub.
 
Old 04-14-2004, 04:59 AM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
I take it that means you fixed it?

If so, you're welcome (even though I'm not a "sir" ). What turned out to be the problem, exactly (for future readers' edification)?
 
  


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
Sound Support Wumpa Tenshi *BSD 8 12-18-2004 09:36 AM
EAX and 5.1 Sound Support... trey85stang Linux - Hardware 0 07-06-2004 04:18 PM
Sound Support in Mandrake 7.2 Ransyd Linux - Newbie 4 05-10-2001 02:06 PM
Sound Support in Mandrake 7.2 Ransyd Linux - Software 1 04-16-2001 06:44 AM
Sound Support in Mandrake 7.2 Ransyd Linux - General 4 04-14-2001 03:53 PM

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

All times are GMT -5. The time now is 03:16 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