Ok, here's a good news. I believe I have a code change to overcome chip
bug.

A bit of debug description:

I collected couple of more win7 IOMMU traces. It turns out even win7
sometimes does not detect mask in first place. It did about 20
read/writes before reading mask again.

I mirrored those r/w in hda driver, which enabled the mask for me, and
selectively removed unneeded I/Os by trial and error.

The code is in azx_reset function. In my inference, it simply resets the
chip, but the exact timing between resetting the chip, polling reset bit
and setting reset bit is important. I tried playing with the delays, but
found only this combo to be working.

Added code it pretty crude, but I'd like to see a revised version of it
in ubuntu as well as upstream driver. Here is the code added:

        snd_printk(KERN_ERR SFX "GCTL read %x\n",azx_readl(chip, GCTL));
        azx_writel(chip, GCTL, 0x100);
        
        do{
                mytemp = azx_readl(chip, GCTL);          /* mytemp delacred as 
int, just a temperory to hold reads */
                snd_printk(KERN_ERR SFX "GCTL read %x\n",mytemp);
        }while(mytemp != 0x0);
        
        azx_writel(chip, GCTL, 0x1);
        usleep_range(1000, 1200);
        
        mytemp = azx_readw(chip, STATESTS);

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1155202

Title:
  [Intel DZ77SL-50K, Intel PantherPoint HDMI, Digital Out, HDMI] No
  sound at all

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

Bug description:
  I am using ubuntu 10.04

  I expected sound

  Got no sound at all

  I am very new to ubuntu so I have no idea how to find the version of
  the package I am using

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1.1
  ProcVersionSignature: Ubuntu 3.2.0-38.61-generic-pae 3.2.37
  Uname: Linux 3.2.0-38-generic-pae i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: i386
  ArecordDevices: **** List of CAPTURE Hardware Devices ****
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  jan        1750 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf7c30000 irq 45'
     Mixer name : 'Intel PantherPoint HDMI'
     Components : 'HDA:80862806,80860101,00100000'
     Controls      : 7
     Simple ctrls  : 2
  CurrentDmesg: [   24.291482] eth0: no IPv6 routers present
  Date: Thu Mar 14 08:53:13 2013
  InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release i386 
(20120817.3)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: alsa-driver
  Symptom: audio
  Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
  Symptom_Card: Built-in Audio - HDA Intel PCH
  Symptom_DevicesInUse:
   1750  jan       F.... pulseaudio
       PID ACCESS COMMAND
  Symptom_Jack: Digital Out, HDMI
  Symptom_Type: No sound at all
  Title: [, Intel PantherPoint HDMI, Digital Out, HDMI] No sound at all
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/19/2012
  dmi.bios.vendor: Intel Corporation
  dmi.bios.version: SLZ7710H.86A.0055.2012.0319.2140
  dmi.board.name: DZ77SL-50K
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG55115-300
  dmi.chassis.type: 3
  dmi.modalias: 
dmi:bvnIntelCorporation:bvrSLZ7710H.86A.0055.2012.0319.2140:bd03/19/2012:svn:pn:pvr:rvnIntelCorporation:rnDZ77SL-50K:rvrAAG55115-300:cvn:ct3:cvr:

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to