Ubuntu

cannot hear sound in LG P1 Express laptop

Reported by Mhatz on 2009-10-25
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
Undecided
Unassigned

Bug Description

 I have an LG P1 Express laptop and I always had this kind of problem. It seems tha ALC883 codec from Realtek can be recognised but I have no sound through speakers. When I connect headphones I can hear sound but low.

I am using ubuntu 9.10 RC, but i had this problem with 8.04, 8.10, 9.04.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: miltermann 2001 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc500000 irq 22'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,00001854,00100002 HDA:11c13026,11c13026,00100700'
   Controls : 29
   Simple ctrls : 18
CheckboxCommand: alsa_record_playback
CheckboxTest: alsa_record_playback_alternates
Date: Sun Oct 25 12:22:40 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate i386 (20091020.3)
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: alsa-driver
Tags: checkbox-bug
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
 (gnome-settings-daemon:2017): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:2017): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:2125): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:2118): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-appearance-properties:2202): Gdk-CRITICAL **: gdk_display_sync: assertion `GDK_IS_DISPLAY (display)' failed

Mhatz (hatzimiltos) wrote :

Please try installing linux-backports-modules-alsa-karmic-generic, and rebooting. Let us know if that solves your problem.

Thanks.

Mhatz (hatzimiltos) wrote :

I did so but still I have no sound from the speakers. But through headphones, I can hear it loud and clear! In previous versions of Ubuntu, the sound was not so clear. Anything else I may post that can be helpful?

Mhatz (hatzimiltos) wrote :

I guess there is no solution to it?

philhachey (philhachey) wrote :

I have had the same problem for over a year now.
If anyone could figure it out that would be amazing.
It would also be the last hurdle that keeps me from running Linux as my #1 OS.

Daniel T Chen (crimsun) wrote :

@Phil
Please use apport-collect -p alsa-base 460330

On Nov 17, 2009 6:20 PM, "philhachey" <email address hidden> wrote:

I have had the same problem for over a year now.
If anyone could figure it out that would be amazing.
It would also be the last hurdle that keeps me from running Linux as my #1
OS.

-- cannot hear sound in LG P1 Express laptop
https://bugs.launchpad.net/bugs/460330 You received t...

Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: phil 3266 F.... mixer_applet2
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xd8500000 irq 22'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,00001854,00100002 HDA:11c13026,11c13026,00100700'
   Controls : 27
   Simple ctrls : 17
DistroRelease: LinuxMint 7
Package: alsa-base 1.0.18.dfsg-1ubuntu8
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_CA.UTF-8
Uname: Linux 2.6.28-11-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Mhatz (hatzimiltos) wrote :

Architecture: i386
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/dsp', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D6c', '/dev/snd/hwC0D1', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D2c', '/dev/snd/pcmC0D6p', '/dev/snd/seq', '/dev/snd/timer', '/dev/sequencer', '/dev/sequencer2'] failed with exit code 1:
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc500000 irq 29'
   Mixer name : 'Realtek ALC883'
   Components : 'HDA:10ec0883,00001854,00100002 HDA:11c13026,11c13026,00100700'
   Controls : 31
   Simple ctrls : 19
CheckboxSubmission: 7b6773fa0ed7e1a9aa786baece638303
CheckboxSystem: 90b928d283473e9c089e730778bbd3da
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate i386 (20091020.3)
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
Uname: Linux 2.6.31-15-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

tags: added: apport-collected
Mhatz (hatzimiltos) wrote :

Guys, after upgrading to kernel 2.6.31-15-generic no soundcard can be identified through the sound preferences!

philhachey (philhachey) wrote :

Today I started my system and heard the startup sound! And then nothing.
Linux is a cruel mistress.

Mhatz (hatzimiltos) wrote :

I did a new fresh installation, with Karmic final release today, and I ve noticed a few things: When I install it with the kernel 2.6.31-14 the soundcard is detected but there is no sound from speakers. After the upgrade to 2.6.31-15 kernel there is no soundcard detected! The odd thing is that when I boot to 2.6.31-14 the soundcard is not detected either (it was detected before)!!!!! Could it be something else? Could it be an update to alsa probably? Any help would be appreciated, I use Linux as my primary OS, I don't want to migrate back to Vista again.

Mhatz (hatzimiltos) wrote :

Ok, fixed the problem with the disappearing of the soundcard. It has to do with an analog modem that resides in the soundcard. When I installed the driver, then the card disappeared. Uninstalling it fixes the problem.

But still no sound from speakers.

Is there something that we can do? I mean how may I test to see where the problem is?

Look at your amixer (in a Terminal) output.

philhachey (philhachey) wrote :

 @mahatz
I did some googleing last night and came across this link:

http://linuxinside.blogspot.com/search/label/alsa

Looks like this guy has it figured out in Karma. I tried some of his tips last night but had no luck in
Mint 7 Gloria.

Let me know how it goes.

Mhatz (hatzimiltos) wrote :
Download full text (3.7 KiB)

@philhachey

Thanx for the info. I have tried all of the above but still no luck. After the new kernel 2.6.31-16, still no sound.

@Daniel T Chen
This is the output:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 30 [97%] [-1.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 253 [99%] [0.40dB]
  Front Right: Playback 253 [99%] [0.40dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [on]
  Front Right: Capture 0 [0%] [-12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [on]
  Front Right: Capture 0 [0%] [-12.00dB] [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Caller ID',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer cont...

Read more...

mdaniel (daniel-majsai) wrote :

Hi,

This was/still is my problem every time a new release came. I had no better luck with other distros like openSuse, but that was sometime ago. I also have a P1 express dual and the following thing should work for you too.

sudo gedit /etc/modprobe.d/alsa-base.conf

Go to the end of the file and add this line:

options snd-hda-intel model=lg

Save the file.
Now with Karmic I had to install linux-backports-modules-alsa-karmic-generic:

sudo apt-get install linux-backports-modules-alsa-karmic-generic

Reboot.
Have Fun!

Kind regards,
mdaniel

philhachey (philhachey) wrote :

Hi, Mdaniel

    I have just done a fresh Karmic install and followed your instructions with no luck.

Could you please let us know if you are using the Raltek ALC883 codec.

mdaniel (daniel-majsai) wrote :

Hi,

One step is missing from my post. Sorry for that.
I also had to remove a package:

sudo apt-get remove sl-modem-daemon

Post reply if it did the trick!

Cheers,
mdaniel

philhachey (philhachey) wrote :

Still no luck.

Could you please post the output of :

~$ aplay -l

mdaniel (daniel-majsai) wrote :

Hey,

Happy New Year.

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

philhachey (philhachey) wrote :

Happy New Year!

Mhatz,

Add the line:
options snd-hda-intel model=laptop-eapd
To the end of /etc/modprobe.d/alsa-base.conf

And it should work!

Best wishes in 2010
-Phil

philhachey (philhachey) wrote :

Mhatz,

Did this work for you?

Mhatz (hatzimiltos) wrote :

Phil,

 Sorry I haven't responded for so long. You are the MAN! It's been three years without sound but YOU GOT IT MAN! Thanks SO MUCH!

My best wishes too!

-Mhatz

Mhatz (hatzimiltos) wrote :

Phil,

 I come up another problem now. Even with headphones on, the speakers still play! Do you have the some thing too?

-Mhatz

philhachey (philhachey) wrote :

Yea same problem here but I never noticed because I never use headphones.

As for the laptop=eapd:

It's the setting for a Clevo M540JE, M550JE that seems to work OK for our model.

I guess that ALSA never made support for certain models with the 883 codec.

Examples can be found in this post:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/106634

Here is where it gets depressing.

This problem has been reported on the ALSA bugtracker:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3544

Notice that the last post is dated 2008-11-09.

Looks like if we want decent working sound we better learn to program.

Mhatz (hatzimiltos) wrote :

Nice research Phil! I wish I had some time to check it out myself but I am too busy to do so. It's sad though, that even though it has been reported as a bug, nobody showed any interest. Anyway, maybe I ll find some time and read the code myself and find out a solution.

Brad Figg (brad-figg) wrote :

Hi Mhatz,

Please, if you are still having issues, test with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p alsa-base 460330

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds .

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

Please let us know your results.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage needs-test-current-image
Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Brad Figg (brad-figg) on 2010-03-31
tags: added: karmic

Hi,

I've experienced the same bug on the same laptop.

My solution was to modify /etc/modprobe.d/alsa-base.conf and add the following line:

options snd-hda-intel model=laptop-eapd enable=1 index=0

Reboot, and with any luck you'll be welcomed with the Ubuntu sounds! I have tried this on 8.10 -> 10.04 Beta 2 and it worked every time.

Oh - I also have reported this bug previously here:

https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/296251

philhachey (philhachey) wrote :

Hey guys,

Just a quick heads up.

I upgraded to ubuntu 10.04 last week and used the same laptop-eapd workaround for sound. Everything was going fine. Until I opened up the sound preferences and noticed there was still some room on the volume slider to increase the volume. So I cranked it up. A few min went by before I heard an electronic feedback sound and then nothing. Nothing in windows either. Although I still get sound from the headphone jack.

I think what happened is the sound card got fried from using the wrong settings. So be careful.

-Phil

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.