LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-08-2004, 02:14 PM   #1
Wrack
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Rep: Reputation: 0
No Sound Comes Out..., Ac97


Hello,

I've bought a laptop, and installed debian SID. I installed kernel 2.6.9-686-1 too.

I've a centrino 1.5 GHZ,

My lspci :
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 2 1)
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 21 )
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) US B UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) US B UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) US B UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Contro ller (rev 03)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Contr oller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4 -L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Rad eon 9600 M10]
0000:02:07.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
0000:02:07.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a9)
0000:02:07.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 01)
0000:02:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C /8139C+ (rev 10)
0000:02:09.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI A dapter (rev 04)

So we can see that I've a 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4 -L/ICH4-M) AC'97 Audio Controller (rev 03) card

Now I've loaded a lot of modules :

# lsmod |grep snd
snd_pcm_oss 54024 0
snd_mixer_oss 20192 1 snd_pcm_oss
snd_intel8x0m 18696 1
snd_intel8x0 35276 2
snd_ac97_codec 73200 2 snd_intel8x0m,snd_intel8x0
snd_pcm 98696 3 snd_pcm_oss,snd_intel8x0m,snd_intel8x0
snd_timer 25668 1 snd_pcm
snd_page_alloc 9992 3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport 4512 1 snd_intel8x0
snd_mpu401_uart 7872 1 snd_intel8x0
snd_rawmidi 24900 1 snd_mpu401_uart
snd_seq_device 7976 1 snd_rawmidi
snd 56804 16 snd_pcm_oss,snd_mixer_oss,snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uar t,snd_rawmidi,snd_seq_device
soundcore 10176 2 i810_audio,snd

alsactl power return me that :
Power state for card #0 is D0
Power state for card #1 is D0

I've runed alsaconf, the card was detected properly. But I've still no sound with beep-media-player for example.. And the level in the mixer is not mute..... Does anyone has an idea? Cause i'ts a big probel to watch a DVD without any sound


see ya
 
Old 11-08-2004, 05:54 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
If I interpret your output correctly, your kernel does not run alsa - it runs oss (open sound system), the older sound system for linux. I hope this gets you closer to your goal - I don't know to what degree oss or alsa would support your particular sound devices.

Regards,

Samsara
 
Old 11-09-2004, 01:40 AM   #3
Wrack
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Yeah I want to run alsa. But I've tried to put a lot of module, it's why we can see oss with alsa loaded =)

Doses anyone know which modules I have to load to run with alsa, and put of oss?

thanks,

see ya
 
Old 11-09-2004, 03:20 AM   #4
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
Go to /usr/src/kernel-release/

where kernel-release is the version of the kernel you are using.

In that directory, do a "make menuconfig". Under (I think) devices -> sound it will show you the modules available for oss and alsa. I'm not surprised you're not getting any sound if you have both oss and alsa loaded - intuitively, I would think that they would conflict over the use of output devices!

Samsara
 
Old 11-09-2004, 04:12 AM   #5
Wrack
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
# lsmod |grep snd
snd_intel8x0m 18696 1
snd_intel8x0 35276 2
snd_ac97_codec 73200 2 snd_intel8x0m,snd_intel8x0
snd_pcm 98696 2 snd_intel8x0m,snd_intel8x0
snd_timer 25668 1 snd_pcm
snd_page_alloc 9992 3 snd_intel8x0m,snd_intel8x0,snd_pcm
gameport 4512 1 snd_intel8x0
snd_mpu401_uart 7872 1 snd_intel8x0
snd_rawmidi 24900 1 snd_mpu401_uart
snd_seq_device 7976 1 snd_rawmidi
snd 56804 14 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_devi ce
soundcore 10176 1 snd


Well now we can see that I've no more oss modules loaded... but still no sound...... What else can be possible?

see ya
 
Old 11-11-2004, 01:08 PM   #6
Wrack
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Hello,

On some net sites, I've discovered that perhaps my audio chipset isn't supported by Alsa drivers. So I wanted to put OSS instead of alsa.

My actual lsmod is this one :
n# lsmod
Module Size Used by
sound 84204 0
snd 58084 0
fglrx 230844 9
ipv6 264096 8
ds 18628 4
thermal 13000 0
fan 3812 0
button 6448 0
ac 4644 0
battery 9188 0
usbhid 32576 0
af_packet 22504 2
8139cp 20768 0
uhci_hcd 32944 0
shpchp 101924 0
pciehp 98916 0
pci_hotplug 34448 2 shpchp,pciehp
intel_agp 22592 1
agpgart 34600 1 intel_agp
tsdev 7648 0
mousedev 11576 2
joydev 9856 0
psmouse 21960 0
pcspkr 3464 0
evdev 9504 0
ehci_hcd 32068 0
usbcore 119396 5 usbhid,uhci_hcd,ehci_hcd
i810_audio 37780 0
ac97_codec 18764 1 i810_audio
soundcore 10176 3 sound,snd,i810_audio
eth1394 22024 0
ipw2100 144380 0
firmware_class 10112 1 ipw2100
ieee80211 34212 1 ipw2100
ieee80211_crypt 5768 1 ieee80211
8139too 26240 0
mii 4928 2 8139cp,8139too
crc32 4192 2 8139cp,8139too
ohci1394 35396 0
yenta_socket 21664 0
pcmcia_core 70484 2 ds,yenta_socket
capability 4392 0
commoncap 7008 1 capability
speedstep_centrino 8276 0
freq_table 4004 1 speedstep_centrino
processor 17256 2 thermal,speedstep_centrino
sr_mod 17348 0
sbp2 24872 0
scsi_mod 125676 2 sr_mod,sbp2
ieee1394 114456 3 eth1394,ohci1394,sbp2
ide_cd 42592 1
cdrom 40956 2 sr_mod,ide_cd
rtc 12664 0
ext3 126184 1
jbd 64056 1 ext3
mbcache 9220 1 ext3
ide_generic 1280 0
piix 13216 1
ide_disk 20480 3
ide_core 143088 4 ide_cd,ide_generic,piix,ide_disk
unix 28564 590
fbcon 40416 71
font 8128 1 fbcon
vesafb 6656 1
cfbcopyarea 3936 1 vesafb
cfbimgblt 2880 1 vesafb
cfbfillrect 3584 1 vesafb



So I've loaded i810-audio. But now, in gnome, when I want to run gnome-volume-control, it tells me "Sorry, no mixer elements and/or devices found". Does anyone has an idea?

dmesg |grep i810 :

# dmesg |grep i810
i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM 0xd0000c00 and 0xd0000800, IRQ 10
i810: Intel ICH4 mmio at 0xe0b8ac00 and 0xe0b8c800
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2

does anyone got an idea?
 
Old 11-13-2004, 02:50 AM   #7
Wrack
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Problem found.

Alsa drivers work good.

But, you have to mute "External", cause if you dont mute it, no sound comes out. And when u mute it, problem solved

Thanks all,
 
Old 11-13-2004, 03:45 AM   #8
AlPapone
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Hello, Wrack

It seems I got the same problem. I installed Debian 2.6.8 on my hp nx9110 and alsa too, but still no sound.
I've seen you've solved your problem so please tell me,
what do you mean by mute "External"

Thanks
 
Old 11-13-2004, 03:53 AM   #9
Wrack
LQ Newbie
 
Registered: Nov 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Mhhh first is your card known by alsa? (i.e with alsaconf).

If yes, run alsamixer, and set 100 for master and PCM. Then where should be a "External" part, type 'm' to mute it.

On my laptop, it solved the problem.
 
Old 11-13-2004, 05:02 AM   #10
AlPapone
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Well, I ran alsaconf and he detected my soundcard (ATIIXP150 AC97)
I configured it, snd-atiixp
then he told me he would run alsa start then raise the volme with amixer
but it went wrong, he wrote :

Running update modules...
Loading drivers...
Starting Alsa /etc/initd/alsa alsactl restore failed with message :"alsactl load_state 1134 : no soundcards found"
done
setting default volumes...
saving the mixer setup used for this in /var/lib/alsa/asound.state
/usr/sbin/alsactl : save_state 1061 : no soundcards found

I tried to run amixer but it didn't work.detected
alsamixer gave me : function snd_ctl_open failed for default : no such device

even though alsaconf had detected it.
 
Old 11-15-2004, 02:11 AM   #11
aragonh
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 10
Posts: 2

Rep: Reputation: 0
What version of ALSA do you have AlPapone??

I was having similar problems to Wrack and I only resolved it once I got the latest stable version (1.06) from alsa-project.org. I dowloaded all the modules (except for the firmware and OSS library) and installed it on my laptop. Ran alsaconf and the sound finally worked.
 
Old 11-16-2004, 02:17 PM   #12
AlPapone
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Well,

I don't really know how I guess which version I installed, but I think it's the latest, since
I simply downloaded it with :

aptitude install alsa

and debian managed all that stuff for me. But I'll try to install a newer version.
 
Old 11-19-2004, 07:53 AM   #13
Dr. Doerke
Member
 
Registered: Nov 2004
Location: Charlottetown, Canada
Distribution: SuSE 9.2
Posts: 30

Rep: Reputation: 15
no audio on thinkpad t21

I've just installed mandrake 9.1 on a newly acquired thinkpad t21. I've got no audio out. I'm a linux newbie. Any suggestions?
 
Old 11-25-2004, 02:54 AM   #14
AC97Conquerer
Member
 
Registered: Nov 2004
Location: US
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
AC97 Can suck it

ROFL, I was trying to make my sound work, and I had a Chrono Trigger song playing on XMMS. I was messing around with the settings of the alsamixer. I finally did something, and, BAM! Sound started blasting out of the speakers! LOL It was scary, but it also means that I'm a AC97Conquerer .

NOTICE, I'm using Debian woody 3.0r1!!

Type this into the command prompt: lspci
{
One of my lines says this: Multimedia audio controller: Intel Corp.: Unknown device 24c5 (rev 01)
}

So these are the steps I did to make sure sound WORKED:
1) I compiled to kernel 2.4.22 from 2.4.18
http://newbiedoc.sourceforge.net/system/kernel-pkg.html
For this tutorial you would download the kernel-source-2.4.22 (or something like that)
If you can't find kernel-source-2.4.22 from apt-get, try:
apt-cache search kernel-source OR
if you don't even have the sources....
You can use mine! @ http://home.centurytel.net/ravenz/sources.list

Put those sources this folder on your computer: /etc/apt/sources.list
2) Download the latest ALSA drivers here:
ftp://ftp.alsa-project.org/pub
You'll want to download the latest utils, libs, and drivers that you can download:
ftp://ftp.alsa-project.org/pub/lib
ftp://ftp.alsa-project.org/pub/utils
ftp://ftp.alsa-project.org/pub/driver
3) Read about your soundcard instructions:
http://www.alsa-project.org/alsa-doc/

4) You may want to screw up the instructions. Because when it says this:
"NB. If you are using drivers before 0.9.4 then you need to run
./snddevices
If you use devfs then you should not run the snddevices script" (ALSA)
Just ignore that and do it anyways (if your alsamixer doesn't work). Otherwise you should listen to what they have to say!

5) Now if you have the sound rolling, but you can't hear anything, play around with the alsamixer. Use the keyboard 'm' to turn OFF
Externals. You can find that at the far right of the alsamixer options. And my typing is really slow with the sound on.....I hate myself....
And then you'll want to play around with the other volumes on alsa mixer, like the master. There are 2 master volumes, boost those up using the up arrow
key, and also trying switching them on and off by using 'm' on your keyboard.

6) I hope this helps! And remember, you aren't alone!! I still have problems lol. Email me if you need more help @:
Diablicolic@msn.com

I hope I helped someone! peace out!

-Corey

Last edited by AC97Conquerer; 11-25-2004 at 06:08 PM.
 
Old 11-25-2004, 06:44 AM   #15
Dr. Doerke
Member
 
Registered: Nov 2004
Location: Charlottetown, Canada
Distribution: SuSE 9.2
Posts: 30

Rep: Reputation: 15
Thanks, this did help.. It's one of those, check to see if it's plugged in first, type of problems. I had played with alsa mixer settings but it deserved a second look. Yeh, I had overlooked the crucial one that did the trick. Thks again.
 
  


Reply



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 with AC97 Spartan552 *BSD 13 11-17-2005 01:17 PM
No sound at all with FC4 and on board AC97 sound ATI motherboard janie Fedora 2 10-13-2005 11:50 AM
AC97 No Sound Help tiger7007 Linux - Newbie 12 02-22-2004 07:32 PM
AC97 int. sound slackware 9.0 no sound TheDanLayerOSI Linux - Hardware 1 06-13-2003 04:42 AM
AC97 Sound Help Please KeithKessler Linux - General 0 05-24-2002 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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