LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-02-2005, 12:26 PM   #1
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Soundcard nightmare


lo,

I've been trying for days now to get my soundcard to work. Ive been all over the place, and i've seen alot of people with the same issue, but no resolution!

When i run 'Soundcard Detection' it sees the following:

Vendor: Intel
Model: Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
Module: snd-intel8x0

If i try and click on 'play sound' the button stays depressed and it hangs, making me have to force quit it. CD's wont play and actually cause the CD Player to crash in the same way. Ive installed alsaconf and run that through with no change. Ive reinstalled the drivers too. Should i be using a different module or something?

Im using a laptop - Gateway 7330GZ.

My lspci output is:

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
01:04.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
01:05.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
01:06.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
01:09.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)


My lsmod output is:

Module Size Used by
ndiswrapper 172988 0
i915 22977 1
drm 68821 2 i915
parport_pc 31621 0
lp 16585 0
parport 39049 2 parport_pc,lp
autofs4 22725 2
i2c_dev 13377 0
i2c_core 25409 1 i2c_dev
rfcomm 46041 0
l2cap 33857 5 rfcomm
bluetooth 56645 4 rfcomm,l2cap
sunrpc 139781 1
pcmcia 29905 2
ipt_REJECT 9665 1
ipt_state 5825 3
ip_conntrack 46377 1 ipt_state
iptable_filter 6849 1
ip_tables 24897 3 ipt_REJECT,ipt_state,iptable_filter
dm_mod 59749 0
video 19909 0
button 10577 0
battery 13381 0
ac 8773 0
ohci1394 39177 0
ieee1394 302873 1 ohci1394
yenta_socket 25289 1
rsrc_nonstatic 16705 1 yenta_socket
pcmcia_core 53077 3 pcmcia,yenta_socket,rsrc_nonstatic
uhci_hcd 35409 0
ehci_hcd 38093 0
snd_intel8x0 35969 12
snd_ac97_codec 78393 1 snd_intel8x0
snd_pcm 91973 4 snd_intel8x0,snd_ac97_codec
snd_timer 28357 9 snd_pcm
snd 58149 19 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore 13345 1 snd
snd_page_alloc 13765 2 snd_intel8x0,snd_pcm
b44 26181 0
mii 9409 1 b44
ext3 133193 1
jbd 61785 1 ext3


Any help with this will be greatly appriciated. As i said, ive been searching the net for a resolution to this but am unable to find one. This is my last hope :-)


thanks...
 
Old 09-02-2005, 12:50 PM   #2
hubcapboy
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 23

Rep: Reputation: 15
ok, you're listed as newb, so I'll list some straightforward stuff.

I've just been through a similar process on FC4 after an upgrade from FC3. You've got the module in there, you're good to go on to the next step. chances are at this point that the soundcard is working, but there is likely to be a channel that is muted, or has the volume all the way down. This is where most of the post suggestions stop, but there is a tricky way to make sure you have all of your channels on. fire up:

#alsamixer

which is a commandline control of the volume level on your soundcard directly from Advanced Linux Sound Architecture. This is essential because the kde/gnome/whatever mixers never seem to pick up all the right channels by default. alsamixer will launch in the terminal, and you can use left/right to choose a channel, and up/down to adjust the volumes. use "m" to mute or unmute channels. Turn them ALL up all the way, and unmute them ALL.

now run the soundcard detection again. it takes a few seconds, because it'll play a left/right/both series of bells... when you couldn't hear the sound, you may have thought it was frozen.

post back if it doesn't work
 
Old 09-02-2005, 02:51 PM   #3
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for the suggestions,

started alsamixer, turned everything to full and unmuted everything. Went back in to sound detection and pressed "test sound".. The button stays depressed, nothing happens (i waited 10 minutes!) and the application brings up a "not responding" box when i attempt to close it... so i have to then click on 'force quit'.

The fact that both the soundcard detection program and the CD Player both crash makes me think its a driver issue, or something to that effect....
 
Old 09-02-2005, 03:05 PM   #4
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
i should also mention i get this problem running FC4 and ubuntu.

works fine in windows though.
 
Old 09-02-2005, 04:29 PM   #5
hubcapboy
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 23

Rep: Reputation: 15
wait, doesn't everything work in windows? that drives me nuts too...

this totally sucks... well, I'll tell you the only way I got mine running in FC4 yesterday... I stripped all the sound drivers out of the kernel and only left my ALi driver, and of course soundcore. I got shouted at by a guy for asking if he knew how to do that today, so let me know if you need help. otherwise, the only other stock response is to say run "yum -y update," because then you'll have all the same stuff as me.
 
Old 09-02-2005, 05:17 PM   #6
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
lol, yea if you could let me know how to do that :-)
Im quite new to linux and dont really know how to remove device drivers / kernel modules etc.

im running yum update now... hopefully it magically fixes my problems - comonnnn yum!!!
 
Old 09-02-2005, 07:21 PM   #7
hubcapboy
LQ Newbie
 
Registered: Mar 2005
Distribution: Fedora Core 3
Posts: 23

Rep: Reputation: 15
ok, I like typing so I'll give you the easy run through for fc4.

first though, yum in an incredibly powerful tool, but there are better places to send it to retrieve rpms. Check out fedorafaq.org. it's a very simple page that runs you through some pretty important stuff like how to get java running on your browser, and how to get mp3's going.

particularly of interest is the yum.conf. it's terrific. go to the site and the setup is very easy.

now onto kernels. absolutely the easiest way to do it is to start with a new downloaded kernel. these are available at kernel.org... click on the "F" to the right of the newest stable kernel (it's 2.6.13 today)

this'll give you a download for a .bz2 archive, which is just another way of compressing a folder like zip or tar.gz.

the directory you want to decompress the package to is /usr/src/kernels/ (in previous version of fedora it was just /usr/src/) so you'll want to cd to the directory you downloaded it to, and

#mv linux-2.6.13* /usr/src/kernels/

now we've got to decompress it, to turn it back into a directory. "tar" handles most decompressions, and decompression for .bz2 is

#tar -jxf linux-2.6.13.bz2

(it might take a while)

now, if you "ls" in the kernels directory, there should be a directory named linux-2.6.13. we won't need the bz2 archive anymore, so you can

#rm -f linux-2.6.13.bz2

and then cd into the directory you just created. For the next step you need the package qt-devel, which wasn't included in fedora up to this point, but I believe it is now. to open the kernel configuration, just use

#make xconfig

and it'll open up an easy to use xwindow called qconf with a lot of options. there are a few tricks in there. first you're going to click on "General Setup" on the left, and then double click on the "Local version - append to kernel release" line of text, which will open a text box at the bottom of the top right window (it's hard to see)

what you type on there will be appended to the end of your kernel name, so type something -kosmo (that's my dog's name) and you'll end up with a kernel named 2.6.13-kosmo.

The rest of the options are extensive, and the more boxes you leave checked, the longer your kernel will take to compile. if you're trying to learn, I really suggest you go through all the trees, and figure out what everything is. clicking the little boxes includes/removes each package, with a "check" indicating that it will be compiled into the kernel directly, and a "dot" indicating that it will compile as a module.

The general rule for this is that things that are always going to be connected to your computer, like a video card, or a fixed ethernet card, can be compiled into the kernel, things that you plug and unplug, like a pcmcia network card, usbstorage, etc are compiled as modules, and things you don't have, will never use, or have never heard of (there's a lot of those) will not have to be compiled at all.

a few suggestions of things that you probaby want that are sometimes unchecked or hidden:

-under Device Drivers>Block Devices, you want RAM disk support, and initial RAM disk support. you might think that only live linux cd's etc would need a RAMdisk, but it's needed for the bootstrap process, and if you don't have it, you'll kernel panic on boot. (there are lots of things that will cause a kernel panic while booting if you remove them, but you'l have to figure them out)

-under "Sound" you need sound card support (as a module) (this creates soundcore), and then under Advanced Linux Sound Architecture (alsa...) you want to click on the arrow for PCI devices and find yours. what I was talking about in the previous post (stripping out) is removing all the devices you don't have here, so that there's no chanse it could try to use a different driver.

-if your'e dual booting with windows, and your windows partition is ntfs, you're probably going to want the ability to mount it to read (there's no good write support for ntfs yet) you need to dot ntfs file system support under File systems>Dos/Fat/NT Filesystems.

beyond this, most descriptions have a comment at the end of the description to the tune of "if you've never heard of this, say N" (this means uncheck it, it's from the old kernel config system where you used to have to go through each of these options one by one and type y if you wanted them, n if you didn't, and m if you wanted a module, it was a pain in the ass, because there was no going back) or "you probably want this," or, "you only want this if you're debugging yada yada." The descriptions are quite good, and almost always helpful.

when you've decided what you want and what you don't want, click the save icon at the top (if you don't, it will warn you as you exit) and then close the window. if you want to know where all of your hard unclicking work went, it's saved as a hidden file in the source directory (/usr/src/kernels/linux-2.6.13) as ".config"

in future, if you don't want to have to reclick a new kernel, you can copy this .config into the new source directory and you'll only have to sift through the stuff that is new to that kernel (marked with [NEW])

now we're back to the command prompt, and ready to make the kernel. as of fedora core 3 (I think that released with 2.6.9?) , this is very easy. before that, you had to compile both the kernel image, the modules, then move them both to where they needed to be, and then update your bootloader. the new makefiles do all this for you. all you should have to do is become root, and then compile. if you're logged in as root already, no problem. if not, just type

#su
(and then your password when it prompts you)

#make all

and then anywhere from 2 hours to ten minutes later

#make install

and then

#make modules_install

now if you read your bootloader config (grub is the default bootloader on fedora)

#cat /boot/grub/grub.conf

there should be an entry for your new kernel, which will be easily visible with the new -kosmo (or your dog's name) at the end.

while we're in this config file, look at the "default=" field at the top. that's the entry number (starting at zero) that will boot after the number of seconds noted in the "timeout=" field.

if you want to change any of the stuff in here, until you get used to the terminal, type

#gedit /boot/grub/grub.conf

and it will open in a nice window that looks like a text editor. I'm much faster with a text editor called vi, but it's extremely difficult to use if you never have before. there are lots of guides to it online however.

all you have to do now is reboot with

#shutdown -r now (you have to be root to do that from a terminal as well)

and wait for the grub countdown. hit enter to get a list of available boot methods, and then scroll down to the new kernel and hit enter again.

if it doesn't boot, write down whatever message you get, cycle the power and boot to the original kernel, search for the error on

www.google.com/linux

and add whatever it is you're missing to your kernel, recompile as above, and try again.

when you're confident in your new kernel, you can change the "default=" field in grub.conf to represent your new kernel, and reduce the "timeout=" field so that you don't have to wait as long for it to boot automatically. I wouldn't make it less than a second though, as you always want access to a backup kernel if you need it.

let me know if you get snagged up anywhere.

/g
 
Old 09-02-2005, 09:10 PM   #8
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I have a new kernel now.
Im running version 2.6.12-1.1447_FC4smp now instead of 2.6.11-1.1369

i also performed a yum - y update.

Still same problem. I knew this couldnt be fixed :-) lol
 
Old 09-03-2005, 07:30 PM   #9
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
when i run alsasound restart i get this....

Shutting down sound driver: ERROR: Module snd_intel8x0 is in use
ERROR: Module snd_ac97_codec is in use by snd_intel8x0
ERROR: Module snd_pcm is in use by snd_intel8x0,snd_ac97_codec
ERROR: Module snd_timer is in use by snd_pcm
ERROR: Module snd is in use by snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
done
ALSA driver is already running.


This doesnt look good to me...
 
Old 09-04-2005, 01:32 AM   #10
fought
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Original Poster
Rep: Reputation: 0
solved.

add snd-intel8x0m to your /etc/hotplug/blacklist file, and make sure 'External Amplifier' IS NOT checked. Someone told me to enable it ages ago...and ive had it enabled ever since.
 
Old 12-28-2005, 11:29 PM   #11
cbruno
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
if your chipset is Conexant, then I have a solution

My soundcard detection shows my laptop as having the same sound card as you, hence you may have a Conexant audio/modem chipset as I do.

If so, go to the linuxant website and in there drivers section download the HSF linmodem driver. (I cannot give you the url since im a newbie to this site)

since the winmodem requires there to be an audio driver, this will get your sound going for playing CDs and other routine desktop sound apps.
This hasnt solved the problem of game sound..If I found out more I will post.
 
  


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
Soundcard Driver for ALi M5451 Soundcard (Trident Module) xianzai Linux - Hardware 3 12-15-2006 12:00 PM
Getting CD audio through PCI soundcard NOT motherboard soundcard HalfDiminished Debian 0 01-11-2005 06:59 AM
SuSe 9.1 nightmare with YOU thom Linux - Distributions 3 06-20-2004 09:34 PM
Dependancy Nightmare slooper Linux - Software 2 08-17-2003 03:33 AM
ML 8.2 Nightmare! descras Linux - General 2 08-22-2002 04:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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