LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2016, 02:46 PM   #1
CloudCobra
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Rep: Reputation: Disabled
Question Installing Intel Corporation 82801G AC'97 Audio Controller


Just started getting my feet wet with Linux to save an older, but usable computer. Had no problems installing Linux and getting the sound to work on my others, but this Gateway GT5622 is driving me nuts.

Linux says the computer doesn't have a sound card. Fine, but the computer also has integrated sound. So I installed the System Profiler and Benchmark and it gives me a (null) for the Audio Adapter. Rather strange, because after some usage of the command line it spits out the following:

00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
Subsystem: Elitegroup Computer Systems Device 2107
Flags: medium devsel, IRQ 17
I/O ports at c000 [size=256]
I/O ports at bc00 [size=64]
Memory at fe93b800 (32-bit, non-prefetchable) [size=512]
Memory at fe93b400 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>

Huh, okay...so I go to the Realtek website and download the audiopack-4.06a.tar and try to install it. Now the commandline shouts at me:

"The file /lib/modules/3.13.0-85-generic/build/include/linux/version.h does not exist."

Oh, common. You're really making me get a new kernel to compile it? Fine! I get the latest kernel 4.6.0-rc3, compile it, make modules, install modules, etc. Reboot the system. Trying again.

"/lib/modules/4.6.0-rc3/source/include/linux/version.h does not exist"

Umm, what??? The commandline says it was made...
Checking ls -l /usr/src/

total 40
drwxr-xr-x 2 root root 4096 Apr 14 13:56 alsa
lrwxrwxrwx 1 root root 35 Apr 14 16:56 linux -> /usr/src/linux-4.2.0-040200-generic
drwxr-xr-x 24 root root 4096 Apr 14 13:00 linux-headers-3.13.0-27
drwxr-xr-x 7 root root 4096 Apr 14 13:00 linux-headers-3.13.0-27-generic
drwxr-xr-x 24 root root 4096 Jul 12 2014 linux-headers-3.13.0-30
drwxr-xr-x 7 root root 4096 Jul 12 2014 linux-headers-3.13.0-30-generic
drwxr-xr-x 24 root root 4096 Apr 14 08:32 linux-headers-3.13.0-85
drwxr-xr-x 7 root root 4096 Apr 14 08:32 linux-headers-3.13.0-85-generic
drwxr-xr-x 23 root root 4096 Apr 14 16:32 linux-headers-4.2.0-040200
drwxr-xr-x 6 root root 4096 Apr 14 16:51 linux-headers-4.2.0-040200-generic
drwxr-xr-x 2 root root 4096 Jul 12 2014 ndiswrapper-1.59

So, if I'm reading this correctly there seems to be a link in the linux folder to linux-4.2.0-040200-generic, but the kernel is now 4.6.0-rc3.

By the way, I can't access that linux folder. Whenever I try it says it doesn't exist...What am I forgetting here to get this darn driver to work?

Update:

lspci -nnk | grep -i -A7 audio
00:1e.2 Multimedia audio controller [0401]: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller [8086:27de] (rev 01)
Subsystem: Elitegroup Computer Systems Device [1019:2107]
00:1f.0 ISA bridge [0601]: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge [8086:27b8] (rev 01)
Subsystem: Elitegroup Computer Systems Device [1019:2107]
Kernel driver in use: lpc_ich
00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family) IDE Controller [8086:27df] (rev 01)
Subsystem: Elitegroup Computer Systems Device [1019:2107]
Kernel driver in use: ata_piix

lsmod | grep snd
snd_intel8x0 36864 0
snd_ac97_codec 106496 1 snd_intel8x0
ac97_bus 16384 1 snd_ac97_codec
snd_pcm 94208 2 snd_ac97_codec,snd_intel8x0
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 28672 1 snd_seq_midi
snd_seq 57344 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 24576 2 snd_pcm,snd_seq
snd 69632 7 snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_seq_device
soundcore 16384 1 snd

Can't open alsamixer.

Last edited by CloudCobra; 04-15-2016 at 03:53 PM. Reason: Update
 
Old 04-16-2016, 11:49 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Sorry your having sound issue's. Troubleshooting sound can be a PITA at times.

Is this your machine?
http://www.cnet.com/products/gateway...-series/specs/

-::-Sometimes re-compiling the kernel will make things work that once didn't.-::-

Now that you have kernel 4.2.0 installed try to install the Realtek driver and make sure it installs properly. Read the "ReadMe" file and the "Install" file to ensure you haven't forgotten anything.

Quote:
So, if I'm reading this correctly there seems to be a link in the linux folder to linux-4.2.0-040200-generic, but the kernel is now 4.6.0-rc3.
What is the output of uname -a?

You running Ubuntu?

What does the terminal return when you type 'alsamixer'?
 
Old 04-16-2016, 11:56 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Is this the driver you downloaded?
http://www.realtek.com.tw/Downloads/...PFid=5&PNid=13

If not try that driver provided you have one of the chipsets listed on that page.

If your not sure of your chipset post the output of lspci in code tags.
The code tag icon is the # (pound sign) above the space where you type your message.
 
Old 04-16-2016, 11:58 PM   #4
CloudCobra
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Yeah, that is the right computer specs.

The uname - a output was 4.6.0-rc3.

Couldn't open alsamixer.

I ended up biting the bullet and getting a cheap $20 sound card.

Since I had uninstalled everything Alsa in order to try the older versions to see if that was the case, I couldn't get it to work again.
SO I reinstalled Zorin OS 9 and lo' and behold, after I installed the updates the sound worked!

Still, I wished I could've gotten the integrated sound to work...
 
Old 04-17-2016, 12:14 AM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Glad to hear that the snd card you purchased and a fresh install of Zorin worked.
Congrads!

-::-You still might be able to get the integrated snd crd to work but it's going to take some work.-::-
https://help.ubuntu.com/community/SoundTroubleshooting

For what it's worth I've been there were you were with no sound.
I tried for 3-4 weeks to get my snd crd to work under Open Suse and no matter what I tried I couldn't get the sound to work.

In the future when alsamixer won't work you can install Pulse Audio and have more control over the snd device.
https://www.freedesktop.org/wiki/Software/PulseAudio/
 
  


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
[SOLVED] Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller fu9ar Slackware 5 09-23-2018 05:58 AM
Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller driver vin_akleh Linux - Hardware 11 10-21-2009 09:42 AM
Intel Corporation 82801G (ICH7 Family) Audio device - No mic Hungry ghost Linux - Hardware 1 05-14-2009 07:47 AM
Intel Corporation 82801G (ICH7 Family) LeeroyAtWork Linux - Wireless Networking 3 03-19-2009 12:26 PM
No soundcards found - gentoo - Intel Corporation 82801G (ICH7 Family) nones Linux - Laptop and Netbook 1 10-18-2006 08:21 AM

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

All times are GMT -5. The time now is 10:25 PM.

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