Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound not working with laptop speakers,only with external
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Thu Mar 16, 2006 2:25 am    Post subject: Sound not working with laptop speakers,only with external Reply with quote

Can anyone tell me why I have sound working on my laptop but only working when I plug in some external speakers to the earphones jack? How can I make it work, also with the internal speakers?
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Thu Mar 16, 2006 8:33 pm    Post subject: Alsamixer Reply with quote

Try running

alsamixer

in a terminal. There should be a level for your internal speaker, that is either muted or turned down. Otherwise you might need to recompile your kernel. But since the headphone jack is working it should be good.
_________________
Immanuel doesnt pun cuz he Kant!
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Thu Mar 16, 2006 8:40 pm    Post subject: Reply with quote

in alsamixer, there's only 2 volume bars that I can mute/unmute, and they are already unmuted and at 100%.

should I recompile the kernel with which changes?
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Thu Mar 16, 2006 8:58 pm    Post subject: hardware Reply with quote

try

lspci

look for your audio hardware, then hit up menuconfig for your kernel and make sure your chipset is being compiled in (static or module however you like). I am no expert, but it sounds as if alsa is using your card in some generic mode and once you get the proper module in there you'll be able to access the rest of the features.
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Thu Mar 16, 2006 9:55 pm    Post subject: Reply with quote

but i'm using the alsa-driveres package and not compiling them in the kernel or module...
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Thu Mar 16, 2006 10:01 pm    Post subject: alsa-driveres? Reply with quote

Maybe you mean alsa-drivers?

In which case I'm sure you still need to compile in the necessary kernel stuff.

Follow this guide:

http://www.gentoo.org/doc/en/alsa-guide.xml

and also from the handbook for kernel recompilation:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7


(EDIT: upon looking at the alsa guide I am fairly certain you meant alsa-drivers, which as you'll notice the author of the guide almost certainly seems to recommend the other method of making the choice using make menuconfig. And I've always compiled mine in static, as sound is pretty much something I've never had to unload.)
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Fri Mar 17, 2006 8:08 pm    Post subject: Re: alsa-driveres? Reply with quote

th0th696 wrote:
Maybe you mean alsa-drivers?

In which case I'm sure you still need to compile in the necessary kernel stuff.

Follow this guide:

http://www.gentoo.org/doc/en/alsa-guide.xml

and also from the handbook for kernel recompilation:

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7


(EDIT: upon looking at the alsa guide I am fairly certain you meant alsa-drivers, which as you'll notice the author of the guide almost certainly seems to recommend the other method of making the choice using make menuconfig. And I've always compiled mine in static, as sound is pretty much something I've never had to unload.)


yes, I meant alsa-drivers, it was just a typo... I've followed that guide when installing them for the first time and there is nothing I have to set on th kernel if I'm emerging alsa-drivers, nothing but sound support which is on...

Code:
nazbox nazgulled # cd /usr/src/linux
nazbox linux # grep SOUND .config
CONFIG_SOUND=y
# CONFIG_SOUND_PRIME is not set
nazbox linux # grep SND .config
# CONFIG_SND is not set


just like it says in the handbook...
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Fri Mar 17, 2006 8:25 pm    Post subject: guide Reply with quote

Ya I figured that out once I looked over the guide again (notice my post-edit). But I also understand it's still not working for you? In which case I would take another route. I mean it's possible you are forgetting to set up something, but it seems more likely that alsa-drivers does not support your card fully for some reason or another. And the only solution I can think of is to recompile support for your card directly into the kernel. You might post what chipset you are using as well, as someone might have had the same problems as you.
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Sat Mar 18, 2006 12:40 am    Post subject: Reply with quote

Code:
00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
        Subsystem: LG Electronics, Inc. Unknown device 0031
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at b8000000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Sun Mar 26, 2006 3:25 pm    Post subject: Reply with quote

nope, the same thing happened... the sound only played with earbuds/external speaker plugged in...
Back to top
View user's profile Send private message
evillase
n00b
n00b


Joined: 20 Nov 2005
Posts: 12

PostPosted: Wed May 24, 2006 10:30 pm    Post subject: Reply with quote

I am having the same problem, my laptop sound works when i plug in my headphones, when i unplug them i hear nothing.

my laptop speakers do work, they are not muted, and i am using the kernel audio drivers.

for the intel ac'97 audio.

also it worked before in gentoo. now it does not. ( i recently reformatted the harddrive and reinstalled windows and gentoo on it)

this is my sound card:
Multimidia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)

are there any solutions to this?
Back to top
View user's profile Send private message
evillase
n00b
n00b


Joined: 20 Nov 2005
Posts: 12

PostPosted: Wed May 24, 2006 11:03 pm    Post subject: Reply with quote

fixed it by turning on acpid

dont ask why, i do not know.
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Thu May 25, 2006 1:11 pm    Post subject: Reply with quote

what did you do exactly? what's acpid? what should I do to try what you did to see if it works on mine?
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Fri May 26, 2006 2:00 pm    Post subject: Reply with quote

well, I've read about ti and I believe it's already installed... at least cat /proc/acpi/info outputed it's version so I believe it's enabled in the knerle? (2.6)

Anyway, I tried to add it to the default runlevel, reboot and it didn't work... what did you do exactly?
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Thu Jun 15, 2006 3:20 pm    Post subject: Reply with quote

does anyone knows/understands what evillase did?
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Thu Jun 15, 2006 3:41 pm    Post subject: Reply with quote

That doesn't make sense.

Most (all??) laptops use the same physical analog circuit for the internal speakers and headphone jack. The jack has a feature that physically disconnects the path to the speakers when headphones (or external speakers) are plugged in.

If you get sound from one but not the other it indicates a hardware problem, and has nothing to do with software.

acpid is the ACPI daemon. ACPI stands for Advanced Configuration and Power Interface. It is a standardized method of allowing Linux talk to the computer's hardware. It usually deals with batterys, fans, thermal sensors, and other vital system stuff. It does not deal with sound.
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Thu Jun 15, 2006 3:50 pm    Post subject: Reply with quote

maybe he did:
Code:
# emerge acpid
# /etc/init.d/acpid start

_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Thu Jun 15, 2006 4:07 pm    Post subject: Reply with quote

davjel wrote:
maybe he did:
Code:
# emerge acpid
# /etc/init.d/acpid start


That won't solve the original poster's problem unless 1) he has a sound chip that uses digital signaling to switch from speakers to headphone jack and 2) he has some kind of custom ACPI module that controls the process. That is not very likely.

Much more likely is that he has a faulty TRS headphone jack...not uncommon, particularly in laptops where cheap sound components are the norm.

However, with almost any recent laptop, he should certainly have ACPI runnig.
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Thu Jun 15, 2006 5:48 pm    Post subject: Reply with quote

I don't think it's faulty hardware cause a friend of mine has the same exact model has I have and the same problem exists. But I have installed ubuntu on her laptop not gentoo as I'm running on mine. Either way, the sound only plays with something plugged in to the earphone jack.

I guess I'll just have to deal with it..
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Thu Jun 15, 2006 6:12 pm    Post subject: Reply with quote

1)What make and model laptop do you have?
2)Do you have windows installed? If so, does it work properly in Windows?
3)Please post the output of lspci, lsusb, and lsmod.
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Fri Jun 16, 2006 2:13 pm    Post subject: Reply with quote

1) It's an LG LW-65 Express (Website Link)

2) Yes, it works just fine on windows

3)

lspci
Code:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 04)
00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 5652
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 Fast Ethernet Controller (rev 10)
06:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:00.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital (SD) Controller
06:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)


lsusb
Code:
Bus 005 Device 002: ID 043e:9802 LG Electronics USA, Inc.
Bus 005 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 006: ID 1005:b113 Apacer Technology, Inc. Handy Steno 2.0 (256MB)
Bus 001 Device 001: ID 0000:0000


lsmod
Code:
Module                  Size  Used by
snd_pcm_oss            35488  0
snd_mixer_oss          15360  1 snd_pcm_oss
snd_seq_dummy           3716  0
snd_seq_oss            29696  0
snd_seq_midi_event      6528  1 snd_seq_oss
snd_seq                44880  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7436  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_intel          15124  1
snd_hda_codec         129200  1 snd_hda_intel
snd_pcm                70020  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              19588  2 snd_seq,snd_pcm
snd                    45376  12 snd_pcm_oss,snd_mixer_oss,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc          8584  2 snd_hda_intel,snd_pcm
ipw2200               101572  0
ieee80211              28744  1 ipw2200
ieee80211_crypt         5760  1 ieee80211
fglrx                 441356  7
intel_agp              18844  1
agpgart                26960  2 fglrx,intel_agp
Back to top
View user's profile Send private message
brucebertrand
Tux's lil' helper
Tux's lil' helper


Joined: 06 Feb 2004
Posts: 83
Location: D.C.

PostPosted: Sat Jun 17, 2006 5:49 am    Post subject: Reply with quote

See this:
http://www.enterprisetoday.net/lg/lg-ls70express-suse10.html

It looks like the hda-intel alsa module is undergoing lots of revision and improvement.
There were quite a few fixes between alsa 1.0.10 and 1.0.11

First off, make sure you're using the latest version of ALSA. This might mean using emerge alsa blah blah... with the ~x86 flag rather than the kernel drivers.
You might have to just wait for the problem to be fixed in the alsa driver (perhaps file a bug report if one doesn't already exist).

Also, as stated earlier in this thread, I doubt that acpi has anything to do with it (but, as it seems I was wrong about the connector...), you certainly should set up th ACPI kernel modules and daemon.
http://gentoo-wiki.com/ACPI
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Sat Jun 17, 2006 12:50 pm    Post subject: Reply with quote

I guess I'll just have to wait for better alsa drivers then... and yes I already have ACPI compiled in the kernel.
Back to top
View user's profile Send private message
Roi
n00b
n00b


Joined: 06 Oct 2005
Posts: 49

PostPosted: Mon Jun 26, 2006 6:31 pm    Post subject: Reply with quote

Nazgulled,

I have LG LS70 Express and I have the exact same problem that you have.
My "Via-Deloroza" is discribed here : https://forums.gentoo.org/viewtopic-t-425427.html

So I've checked the live CD of Kanoppix (ver. 4) and it gave me full sound functionality.
With Kanoppix Live CD ver.5 I have the same problem - only sound through the HP jack - wired.

Kannoppix ver.4 uses alsa-driver-1.0.9b and (I think) Kernel-2.6.12, so I downgraded both. No joy.
Still the same problem, but I do remember that in my first gentoo install - that was with the built-in alsa modules -
with kernel 2.6.12, I did have an output from my speakers.

Can someone please advise on this??
Back to top
View user's profile Send private message
Nazgulled
Guru
Guru


Joined: 04 Aug 2005
Posts: 485

PostPosted: Wed Oct 18, 2006 12:24 am    Post subject: Reply with quote

Anyone has any updates on this?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum