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 01-23-2006, 06:33 AM   #1
hytechpro
LQ Newbie
 
Registered: Sep 2005
Location: INDIA
Posts: 11

Rep: Reputation: 0
Post Help for Sound driver


Hi all!
I am unable to configure sound driver on fedora core 4 64-bit.
I am having AMD Athlon 64, ASUS A8N-VM board, with NVIDIA GeForce 6100 graphics and SoundMAX ADI AD1986A audio.
Please, help!

Thanx:
Devs
 
Old 01-23-2006, 08:27 AM   #2
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
Have you downloaded (via yum, apt, urpmi or whatever) the ALSA drivers, and tried running the 'alsaconf' program? If not, give it a try; if so, let us know where it failed.
 
Old 01-28-2006, 09:28 AM   #3
dhanar_10
LQ Newbie
 
Registered: Jan 2006
Location: Semarang, Central Java, Indonesia
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 17

Rep: Reputation: 0
Hi,

I have been able to use that card partially. What I did was:
1. Download ALSA 1.0.10 source (driver, lib, utils).
2. Patch the source with this. This patch will disable surround sound, because there is a bug on it.

*** alsa-driver-1.0.10/alsa-kernel/pci/hda/hda_codec.c.orig Mon Dec 12 09:07:41 2005
--- alsa-driver-1.0.10/alsa-kernel/pci/hda/hda_codec.c Fri Dec 9 15:08:04 2005
***************
*** 1770,1788 ****
--- 1770,1790 ----
/* front */
snd_hda_codec_setup_stream(codec, nids[HDA_FRONT], stream_tag, 0, format);
if (mout->hp_nid)
/* headphone out will just decode front left/right (stereo) */
snd_hda_codec_setup_stream(codec, mout->hp_nid, stream_tag, 0, format);
+ #if 0
/* surrounds */
for (i = 1; i < mout->num_dacs; i++) {
if (chs >= (i + 1) * 2) /* independent out */
snd_hda_codec_setup_stream(codec, nids[i], stream_tag, i * 2,
format);
else /* copy front */
snd_hda_codec_setup_stream(codec, nids[i], stream_tag, 0,
format);
}
+ #endif
return 0;
}

/*
* clean up the setting for analog out
***************
*** 1790,1803 ****
--- 1792,1809 ----
int snd_hda_multi_out_analog_cleanup(struct hda_codec *codec, struct hda_multi_out *mout)
{
hda_nid_t *nids = mout->dac_nids;
int i;

+ #if 0
for (i = 0; i < mout->num_dacs; i++)
snd_hda_codec_setup_stream(codec, nids[i], 0, 0, 0);
+ #endif
if (mout->hp_nid)
snd_hda_codec_setup_stream(codec, mout->hp_nid, 0, 0, 0);
+ snd_hda_codec_setup_stream(codec, HDA_FRONT, 0, 0, 0);
+
down(&codec->spdif_mutex);
if (mout->dig_out_nid && mout->dig_out_used == HDA_DIG_ANALOG_DUP) {
snd_hda_codec_setup_stream(codec, mout->dig_out_nid, 0, 0, 0);
mout->dig_out_used = 0;
}

3. Compile, install, and run alsaconf.

I hope this could help you. Sorry for my bad English...
 
Old 01-29-2006, 06:51 AM   #4
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 31
OK, so you have your card running partially. Which parts of it work, and which are failing? Did alsaconf detect your card OK and exit without error? When do things go wrong, and what output do you get when they do?
 
Old 01-30-2006, 06:33 AM   #5
dhanar_10
LQ Newbie
 
Registered: Jan 2006
Location: Semarang, Central Java, Indonesia
Distribution: Ubuntu 7.10 (Gutsy Gibbon)
Posts: 17

Rep: Reputation: 0
Like I said before, the patch will disable surround sound. So, the card will only produce stereo sound. That's what I mean "partially".

If you don't apply the patch, the card will produce sound, but it will produce an irritating high pitch noise also (with arts --> ALSA). With arts --> ESD, it will produce cracking noise too. Maybe you can do some experiments yourself.

The alsaconf finished without error, but if you install alsa-driver without deleting the previous driver the card will be detected twice and you will get no sound. So, I suggest you to delete the previous driver.

To delete the previous driver you have to delete all folders in /lib/modules/`uname -r`/kernel/sound/. Don't delete soundcore.ko.gz file. WARNING: ALWAYS MAKE BACK UP, OK!
 
  


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 driver detected, but no sound browncow Linux - Hardware 2 01-28-2006 09:34 AM
ATI driver/Sound Blaster Audigy 2 ZS driver help reldogz Linux - Newbie 0 09-05-2005 09:08 PM
Sound server informational message: Error while initializing the sound driver... LA004 Linux - Hardware 4 08-21-2005 08:25 PM
sound card help ESS1978 Sound Card - maestro driver fatrandy13 Linux - Hardware 1 05-03-2005 01:43 AM
JMF detect sound driver and capture sound shan0004 Programming 0 01-10-2005 10:58 PM

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

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