← Back to team overview

kernel-packages team mailing list archive

[Bug 1355984] UdevLog.txt

 

apport information

** Attachment added: "UdevLog.txt"
   https://bugs.launchpad.net/bugs/1355984/+attachment/4176518/+files/UdevLog.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1355984

Title:
  Built in speakers do not work on iMac 14,2 and iMac 14,4

Status in “alsa-driver” package in Ubuntu:
  New
Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  No sound from internal speakers but OK from plugged in headphones. Running Xubuntu 14.04 on partitioned  iMac 14,4 which has Intel HD Audio (S/PDIF DigitalAudio output). Headphones appear to be using analogue output. Both loud and clear using OSX 10.9.4.
  Have tried all fixes found on many Linux distro websites but no success. Also tried installing Lubuntu (no sound at all) Linux Mint 16 & 17 and Ubuntu 13.04, 13.10 (same problem as Xubuntu).
  Have all PulseAudio utils installed, all devices are listed but only analogue volume meter shows outputs when playing but as above nothing from speakers.
  AlsaMixer shows S/PDIF (highlighted), SPDIF 1 & S/PDIF 2 not MM, set at 00 but cannot be adjusted.
  What is the problem? I sense there is a simple solution here, if only to ger the analogue output via the internal speakers. 
  This is reminiscent of problemsI I had with Unbuntu 12.04 on an earlier iMac which were solved simply using AlsaMixer.
  That I have installed Ubuntu on my new iMac shows how much I prefer Linux to OSX, this small problem is spoiling my enjoyment of your great OS.
  Thank you in anticipation.
  Ed Hughes


  I have the same issue on an iMac 14,2. I think the audio hardware in the iMac 14,2 and 14,4 is probably the same. To get the headphones to work I upgraded to the daily ALSA snapshot found here: https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+packages
  Neither the headphones or the internal speakers work with the default configuration so I did this: # echo "options snd-hda-intel model=imac27_122" >> /etc/modprobe.d/imac_local.conf followed by a reboot. This fix works on every other Mac I have tested so far, but for this machine it only fixes the headphone audio. The output of alsa-info.sh is here: http://www.alsa-project.org/db/?f=08cf13552b70232c96fea9293fdd54066243d79a I have downloaded the HDA Analyzer tool but I can't seem to get the internal speakers to work correctly in any consistent way, although they do occasionally work correctly for a few seconds. I can consistently make sound come from the speakers if I chose VREF = 50 or 80 in Node[0x0d]pin but it sounds like I am using a much smaller lower quality speaker when I do that. Here is the text dump for that node configuration:

  Node 0x0d [Pin Complex] wcaps 0x41048b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
    Amp-In vals: [0x00 0x00]
    Pincap 0x00001764: IN Detect Balance
      Vref caps: HIZ 50 GRD 80
    Pin Default 0x400000f0: [N/A] Line Out at Ext N/A
      Conn = Unknown, Color = Unknown
      DefAssociation = 0xf, Sequence = 0x0
    Unsolicited: tag=0x00, enabled=0
    Power: setting=D0, actual=D0
    Delay: 1 samples

  The audio related parts of the output of # sudo lspci -vvnn is:

  00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)
   Subsystem: Intel Corporation Device [8086:7270]
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0, Cache Line Size: 256 bytes
   Interrupt: pin A routed to IRQ 51
   Region 0: Memory at b1c10000 (64-bit, non-prefetchable) [size=16K]
   Capabilities: [50] Power Management version 2
    Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
    Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Address: 00000000fee003f8 Data: 0000
   Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
    DevCap: MaxPayload 128 bytes, PhantFunc 0
     ExtTag- RBE-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
     RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
     MaxPayload 128 bytes, MaxReadReq 128 bytes
    DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
   Capabilities: [100 v1] Virtual Channel
    Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
    Arb: Fixed- WRR32- WRR64- WRR128-
    Ctrl: ArbSelect=Fixed
    Status: InProgress-
    VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
     Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
     Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=01
     Status: NegoPending- InProgress-
    VC1: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
     Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
     Ctrl: Enable+ ID=2 ArbSelect=Fixed TC/VC=04
     Status: NegoPending- InProgress-
   Kernel driver in use: snd_hda_intel

  01:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
   Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0, Cache Line Size: 256 bytes
   Interrupt: pin B routed to IRQ 17
   Region 0: Memory at b1080000 (32-bit, non-prefetchable) [size=16K]
   Capabilities: [60] Power Management version 3
    Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
   Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Address: 0000000000000000 Data: 0000
   Capabilities: [78] Express (v2) Endpoint, MSI 00
    DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited, L1 <64us
     ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
    DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
     RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
     MaxPayload 256 bytes, MaxReadReq 512 bytes
    DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    LnkCap: Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <512ns, L1 <4us
     ClockPM+ Surprise- LLActRep- BwNot-
    LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes Disabled- CommClk+
     ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
    LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    DevCap2: Completion Timeout: Range AB, TimeoutDis+, LTR-, OBFF Not Supported
    DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
    LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete+, EqualizationPhase1+
      EqualizationPhase2+, EqualizationPhase3+, LinkEqualizationRequest+
   Kernel driver in use: snd_hda_intel
  --- 
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  ladmin     1910 F.... pulseaudio
   /dev/snd/controlC0:  ladmin     1910 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2014-08-11 (1 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  MachineType: Apple Inc. iMac14,2
  NonfreeKernelModules: wl
  Package: linux (not installed)
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-33-generic.efi.signed root=UUID=2f77d057-5c9c-42d8-b2c0-18507f43420e ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.13.0-33.58-generic 3.13.11.4
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-33-generic N/A
   linux-backports-modules-3.13.0-33-generic  N/A
   linux-firmware                             1.127.5
  Tags:  trusty trusty
  Uname: Linux 3.13.0-33-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 03/14/2014
  dmi.bios.vendor: Apple Inc.
  dmi.bios.version: IM142.88Z.0118.B02.1403141302
  dmi.board.asset.tag: Base Board Asset Tag#
  dmi.board.name: Mac-27ADBB7B4CEE8E61
  dmi.board.vendor: Apple Inc.
  dmi.board.version: iMac14,2
  dmi.chassis.type: 13
  dmi.chassis.vendor: Apple Inc.
  dmi.chassis.version: Mac-27ADBB7B4CEE8E61
  dmi.modalias: dmi:bvnAppleInc.:bvrIM142.88Z.0118.B02.1403141302:bd03/14/2014:svnAppleInc.:pniMac14,2:pvr1.0:rvnAppleInc.:rnMac-27ADBB7B4CEE8E61:rvriMac14,2:cvnAppleInc.:ct13:cvrMac-27ADBB7B4CEE8E61:
  dmi.product.name: iMac14,2
  dmi.product.version: 1.0
  dmi.sys.vendor: Apple Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1355984/+subscriptions