View Full Version : Build in sound card problem, Intel HD Audio
wissam
2005-01-02, 03:09 AM CST
I have fedora core 3 and my motherboard is Intel 915PBL that has Intel HD audio build in, and since Intel support for Linux drivers is not that good, they did not include install instructions for their beta driver i downloaded the file from:
???http://downloadfinder.intel.com/scripts-df/filter_results.asp?strOSs=101&strTypes=BIO%2CDRV%2CSAP%2CUTL&ProductID=1677&OSFullName=Red+Flag*+Linux*+Desktop+4.1&submit=Go%21
and the file name is intel-hda-1.1.3b-alsa-1.0.5.sh
so what should I do with this file
terr9898
2005-01-02, 04:08 AM CST
Judging by the .sh file, I would do the following:
1) Change to the root user
2) Change permissions of the file to executable, such as chmod 755 intel*.sh
3) Run the script, such as ./intel-hda-1.1.3b-alsa-1.0.5.sh
You really should read all documentation provided with the driver
ftp://aiedownload.intel.com/df-support/7760/ENG/IntelReadme_HD_Audio_1.5_Beta.pdf
Section 5.1 is what you need.
wissam
2005-01-02, 08:17 AM CST
the problem is that my ISP does not support FTP, so I can not open the documentation file
wissam
2005-01-02, 08:36 AM CST
[root@localhost ~]# chmod 755 intel*.sh
[root@localhost ~]# ./intel-hda-1.1.3b-alsa-1.0.5.sh
and this is the result:
Detected exact codec : 808626688086e402
Target system must have kernel source 2.6.9-1.681_FC3 install
[root@localhost ~]#
does this has something to do with it:
[root@localhost ~]# uname -r
2.6.9-1.681_FC3smp
[root@localhost ~]#
where is the problem ?
chrisman81
2005-01-17, 11:07 PM CST
I had the same problem. When I did "uname -r" I got the same thing, "2.6.9-1.681_FC3smp"
I was doing it manually as indicated in the document, IntelReadme_HD_Audio_1.5_Beta.pdf, but I don't have the following files, which are needed:
cp: cannot stat `snd-serial-u16550.ko': No such file or directory
cp: cannot stat `snd-serialmidi.ko': No such file or directory
Any idea where I can get them?
Thanks in advance.
Sivel
2005-01-19, 12:02 AM CST
I'm getting similar problems
...
/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/kbuild/../acore/memalloc.c:54: error: initializer element is not constant
/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/kbuild/../acore/memalloc.c:54: error: (near initialization for `__param_arr_enable.num')
make[3]: *** [/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/kbuild/../acore/memalloc.o] Error 1
make[2]: *** [/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/kbuild/../acore] Error 2
make[1]: *** [_module_/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/kbuild] Error 2
make[1]: Leaving directory `/lib/modules/2.6.10-1.741_FC3smp/build'
make: *** [compile] Error 2
./build.sh install
/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver/pci
find /lib/modules/2.6.10-1.741_FC3smp/kernel/sound -name 'snd*.*o' | xargs rm -fmake[1]: Entering directory `/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/acore'
mkdir -p /lib/modules/2.6.10-1.741_FC3smp/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.10-1.741_FC3smp/kernel/sound/acore
cp: cannot stat `snd-hwdep.ko': No such file or directory
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-rtctimer.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/tmp/audio.xX7192/azx-alsa-idbo-driver-1.1.3b/alsa-driver-1.0.5/acore'
make: *** [install-modules] Error 1
hoggieii
2005-01-19, 02:21 AM CST
Recently acquired an intel D915GVMB board which has the same audio. The issue with Fedora Core 2 is that the version of alsa shipped and the one on yum is only 1.0.3a. The Azalia driver - read Intel HD Audio Driver - got added in 1.0.6. Since I've always had problems with getting Intel's version of drivers working, I wasted no time in download the latest alsa (www.alsa-project.org)
- current 1.0.8 and compiled them in the time honoured "./configure --prefix=/usr; make; make install" as root. The order of build and install is Drivers, Lib, OSS-compat & Utils. Then I ran alsaconf - let it amend /etc/modprobe.conf - to my relief the card was picked up first time and now works great. Since you would of overwritten the existing alsa lib, its wise to ensure that yum and up2date don't try to upgrade your alsa lib.
Sivel
2005-01-19, 11:01 AM CST
alright so I grabbed all the packages and installled them. No problems during the install.
So I try to run 'alsamixer' and I get the error 'alsamixer: function snd_ctl_open failed for default: No such device'
so I go back and run './snddevices' then try again, and get the same error. So I recompile and install the packages and still same error message.
I ran 'strace -eopen alsamixer' and this is what I get
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/usr/lib/libncurses.so.5", O_RDONLY) = 3
open("/lib/libasound.so.2", O_RDONLY) = 3
open("/lib/tls/libm.so.6", O_RDONLY) = 3
open("/lib/libdl.so.2", O_RDONLY) = 3
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
open("/etc/alsa/alsa.conf", O_RDONLY) = 3
open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC0", O_RDWR) = -1 ENODEV (No such device)
open("/dev/snd/controlC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/aloadC0", O_RDONLY) = -1 ENODEV (No such device)
open("/dev/snd/controlC0", O_RDWR) = -1 ENODEV (No such device)
alsamixer: function snd_ctl_open failed for default: No such device
any ideas or suggestions?
I ran alsaconf and I get 'No supported PnP or PCI card found. Would you like to probe legacy ISA sound card/chips' I select yes and it also detects nothing.
hoggieii
2005-01-20, 02:01 AM CST
OK. I'd like to know the output from the following commands (as root):
lspci (list of PCI devices attached)
uname -r (Kernel you are running)
modprobe soundcore (check that this vital module is in your kernel)
chrisman81
2005-01-20, 08:38 PM CST
I am having the same problem. Here is the output when I run the above:
# lspci
00:00.0 Host bridge: Intel Corp. 915G/P/GV Processor to I/O Controller
00:01.0 PCI bridge: Intel Corp. 915G/P/GV PCI Express Root Port
00:1b.0 Class 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc: Unknown device 5b70
06:05.0 FireWire (IEEE 1394): Agere Systems (former Lucent Microelectronics) FW323 (rev 61)
06:08.0 Ethernet controller: Intel Corp. 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller (rev 01)
# uname -r
2.6.10-1.741_FC3smp
# modprobe soundcore
#
I am new to all this, so any help would be great. Thanks in advance.
Sivel
2005-01-20, 10:00 PM CST
# /sbin/lspci
00:00.0 Host bridge: Intel Corp. 915G/P/GV Processor to I/O Controller
00:01.0 PCI bridge: Intel Corp. 915G/P/GV PCI Express Root Port
00:1b.0 Class 0403: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definit ion Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHC I Controller (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corp. 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (re v 03)
00:1f.1 IDE interface: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Contr oller (rev 03)
00:1f.2 IDE interface: Intel Corp. 82801FR/FRW (ICH6R/ICH6RW) SATA Controller (r ev 03)
00:1f.3 SMBus: Intel Corp. 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B62 [Radeon X600 (PCIE)]
01:00.1 Display controller: ATI Technologies Inc: Unknown device 5b72
06:05.0 FireWire (IEEE 1394): Agere Systems (former Lucent Microelectronics) FW3 23 (rev 61)
06:08.0 Ethernet controller: Intel Corp. 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Eth ernet Controller (rev 01)
# uname -r
2.6.10-1.741_FC3smp
# /sbin/modprobe soundcore
#
# /sbin/modinfo soundcore
filename: /lib/modules/2.6.10-1.741_FC3smp/kernel/sound/soundcore.ko
description: Core sound module
author: Alan Cox
license: GPL
alias: char-major-14-*
vermagic: 2.6.10-1.741_FC3smp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends:
srcversion: 4CCBC38AF44D1461882C573
hoggieii
2005-01-21, 02:25 AM CST
You may find the following useful:
http://sourceforge.net/mailarchive/message.php?msg_id=7197488
and..
http://sourceforge.net/mailarchive/message.php?msg_id=7310771
Apart from this I'm out of ideas.
chrisman81
2005-01-22, 12:49 PM CST
i finally got mine to work. im not exactly sure what the problem was....maybe i was still trying to install the old drivers, but i dont think so....the only thing i did different this time around was that I ran ./configure with no prefix. give that a try and see what happens.
Sivel
2005-01-24, 10:24 AM CST
awsome...thanks a ton. I don't know why I didn't think about compiling with no prefixes. Worked perfectly. Just had to grab a copy of the newest xmms so I could get mp3 support
hoggieii
2005-01-25, 02:38 AM CST
Be aware that the redhat/fedora systems traditionally require --prefix=/usr as opposed to the default --prefix=/usr/local. The actual problem to do with installation was an error on my original post:
./configure --prefix=usr
should have been:
./configure --prefix=/usr
Twinkle
2005-02-09, 08:30 PM CST
I believe I have this same audio card... /proc/pci contains:
Bus 0, device 27, function 0:
Class 0403: PCI device 8086:2668 (rev 3).
IRQ 185.
Non-prefetchable 64 bit memory at 0xb0000000 [0xb0003fff].
I downloaded and installed:
alsa-driver-1.0.8
alsa-lib-1.0.8
alsa-oss-1.0.8
alsa-utils-1.0.8
using "(nice ./configure && nice make && nice make install) |& tee make.log" on each (note, the default prefix appears to be /usr, since nothing got installed in /usr/local). alsaconf ran, detected my card, and modified my /etc/modprobe.conf file, but when I rebooted (just to be sure), the sound card still did not work. At first, /dev/dsp did not even exist (I think it disappears every time I reboot). I ran the snddevices script, which generated many /dev nodes, including /dev/dsp as a link to (major 14, minor 3) /dev/dsp0, but /dev/dsp still won't open. I'm running Fedora Core 3, what am I doing wrong?
:confused:
maturus2523
2005-02-16, 09:10 PM CST
I followed hoggieii's instructions about half way down the page with not a single error and it even found my sound card and i rebooted and it still doesn't work, any suggestions?
Twinkle
2005-02-19, 11:35 AM CST
I've checked my logs, etc. When something first tries to use sound, the following modules are loaded:
snd_azx 19552 0
snd_hda_codec 44544 1 snd_azx
snd_pcm_oss 52000 0
snd_mixer_oss 22016 1 snd_pcm_oss
snd_pcm 87300 3 snd_azx,snd_hda_codec,snd_pcm_oss
snd_timer 27524 1 snd_pcm
snd 56292 6 snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,sn d_pcm,snd_timer
soundcore 13408 1 snd
snd_page_alloc 13956 2 snd_azx,snd_pcm
It is at this time, I believe, that I get the following logs in /var/log/messages:
Feb 14 21:15:45 [machine] kernel: ALSA /usr/src/alsa/alsa-driver-1.0.8/pci/azx/azx.c:395: azx_get_response timeout
Feb 14 21:15:45 [machine] last message repeated 2 times
Feb 14 21:15:45 [machine] kernel: ALSA /usr/src/alsa/alsa-driver-1.0.8/pci/azx/hda_codec.c:416: hda_codec: no AFG node found
Feb 14 21:15:45 [machine] kernel: ALSA /usr/src/alsa/alsa-driver-1.0.8/pci/azx/azx.c:395: azx_get_response timeout
Feb 14 21:15:45 [machine] last message repeated 5 times
Feb 14 21:15:45 [machine] gpm: gpm startup succeeded
Feb 14 21:15:45 [machine] kernel: ALSA /usr/src/alsa/alsa-driver-1.0.8/pci/azx/azx.c:395: azx_get_response timeout
Feb 14 21:15:45 [machine] last message repeated 36 times
Feb 14 21:15:45 [machine] kernel: ALSA /usr/src/alsa/alsa-driver-1.0.8/pci/azx/hda_codec.c:416: hda_codec: no AFG node found
Feb 14 21:15:45 [machine] kernel: ALSA /usr/src/alsa/alsa-driver-1.0.8/pci/azx/azx.c:782: azx: no codecs initialized
Feb 14 21:15:45 [machine] kernel: Intel HDA: probe of 0000:00:1b.0 failed with error -6
Does anyone else see these messages? I'm sure I have this sound card, due to the PCI device ID match. Why does azx_get_response timeout?
Twinkle
2005-02-19, 04:30 PM CST
In alsa-driver-1.0.8/pci/azx/azx.c, around line 187, there is the following line:
#define USE_CORB_RIRB
When I changed this line to:
#undef US_CORB_RIRB
the timeout messages disappeared and now sound works! Things were a little flaky at first, but they seem to have stabilized. Of course, I did have to bring up the mixer and unmute the sound source labelled "Front".
Furthermore, comments in the source code implied that Intel prefers that this modification not be done, that the CORB/RIRB routines be used instead, but at least it works for me.
tlanglois
2005-05-08, 07:47 AM CDT
I had the exact same problem on a Vaio vgn-s3xp. Following the indiactions found in this thread (including changing the line in azx.c as indicated above) did not solve the problem.
Then I tried version 1.0.9rc3 and ... it worked !
Thibault
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.