speakers doesn't work after use headphones on MacBook

Asked by Massimiliano Maniscalco

On my MacBook late 2007, I installed Ubuntu 10.10 and sound works. I tried speakers and headphones and they both works (just the left speaker has a lower volume, but this bug is already know I suppose).
It happened that I was listening music by headphones then I switched off my laptop without removing them from the jack-port. Later I started again my MacBook (without headphones) and booted Ubuntu and sound didn't work anymore. I tried to had a look at sound preference and I did some test, but nothing. It was completely mute. Finally I tried to connect the headphones and the sound worked! When I removed and tried speakers they worked again.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you give the output of:

wget -O alsa-info.sh http://alsa-project.org/alsa-info.sh && bash ./alsa-info.sh

Thanks

Revision history for this message
Massimiliano Maniscalco (massi-neptune) said :
#2

--2011-03-15 11:20:12-- http://alsa-project.org/alsa-info.sh
Risoluzione di alsa-project.org... 77.48.224.243
Connessione a alsa-project.org|77.48.224.243|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 302 Found
Posizione: http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh [segue]
--2011-03-15 11:20:13-- http://git.alsa-project.org/?p=alsa-driver.git;a=blob_plain;f=utils/alsa-info.sh
Risoluzione di git.alsa-project.org... 77.48.224.243
Riutilizzo della connessione esistente a alsa-project.org:80.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: non specificato [text/plain]
Salvataggio in: "alsa-info.sh"

    [ <=> ] 27.247 131K/s in 0,2s

2011-03-15 11:20:14 (131 KB/s) - "alsa-info.sh" salvato [27247]

ALSA Information Script v 0.4.60
--------------------------------

This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.

  dmesg
  lspci
  lsmod
  aplay
  amixer
  alsactl
  /proc/asound/
  /sys/class/sound/
  ~/.asoundrc (etc.)

See './alsa-info.sh --help' for command line options.

Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!

Your ALSA information is located at http://www.alsa-project.org/db/?f=89b3be90fbe4303b02878694b2f30ea2714a9c78

Please inform the person helping you.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

Run:

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

add this line:

ptions snd-hda-intel model=mbp3

Save the new file, close gedit and reboot to test

Source:
http://ubuntuforums.org/showthread.php?t=1299429

Revision history for this message
Massimiliano Maniscalco (massi-neptune) said :
#4

Thanks actionparsnip, that solved my question.