[Analog Devices AD1988B, Green Headphone Out, Front] Pulseaudio fails to detect card

Bug #881826 reported by DarkRedman
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Hello, I use pulseaudio 1:1.0-0ubuntu3 on Ubuntu 11.10 sometimes when I'm on the logon screen(GDM) the phone icon on the upper-right corner isn't shown and so doesn't in a session. When I show sound options it seems no hardware is detected it happens sometimes after I booted on Ubuntu.

thank you in advance

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: pulseaudio 1:1.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: manuel 2134 F.... pulseaudio
 /dev/snd/pcmC1D0c: manuel 2134 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xfe020000 irq 20'
   Mixer name : 'Nvidia MCP77/78 HDMI'
   Components : 'HDA:11d4198b,1043829b,00100400 HDA:10de0002,10de0101,00100000'
   Controls : 52
   Simple ctrls : 27
Card1.Amixer.info:
 Card hw:1 'U0x46d0x81b'/'USB Device 0x46d:0x81b at usb-0000:00:02.1-1, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:081b'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Mic',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 6144
   Mono: Capture 1 [0%] [6.00dB] [on]
Date: Wed Oct 26 08:24:36 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PulseSinks: Error: command ['pacmd', 'list-sinks'] failed with exit code 1: Daemon not responding.
PulseSources: Error: command ['pacmd', 'list-sources'] failed with exit code 1: Daemon not responding.
SourcePackage: pulseaudio
Symptom: audio
Symptom_Card: HDA-Intel - HDA NVidia
Symptom_Jack: Green Headphone Out, Front
Title: [System Product Name, Analog Devices AD1988B, Green Headphone Out, Front] Pulseaudio fails to detect card
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/26/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS M3N-HT Deluxe ACPI BIOS Revision 1301
dmi.board.name: M3N-HT DELUXE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.asset.tag: 123456789000
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvrASUSM3N-HTDeluxeACPIBIOSRevision1301:bd08/26/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM3N-HTDELUXE:rvr1.XX:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :
Revision history for this message
Luke Yelavich (themuso) wrote : Re: [Bug 881826] Re: [Analog Devices AD1988B, Green Headphone Out, Front] Pulseaudio fails to detect card

Thanks for your bug report. It appears you are running a kernel from the oneiric-proposed repository. This kernel has not yet been released for general use to everybody yet, so please reboot back into the 3.0.0-12-generic kernel, and see if you still occasionally lose sound with that kernel.

Thanks.

Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :

I never knew that a ubunturelease-proposed repository could have kernel inside.
I just rebooted into the 3.0.0-12-generic kernel and it works ! So it seems to be a bug related to 3.0.0-13 kernel indeed !

Thank you for the information :)

Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :

It happens again but this time I still use the standard kernel !

Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :

Oh and I don't know if this could help but when it happens pulseaudio process has a special state "Ininterruptible".

Revision history for this message
Raymond (superquad-vortex2) wrote :

Simple mixer control 'Headphone',0
  Capabilities: pswitch penum
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]

There is no sound when select Output profile "Headphone" in Sound Preference with ubuntu 11.04 Live CD

Is this related to the absence of "Headphone Playback Volume" by ad1988 ?

The version of alsa driver is too old

There is a patch which add "Headphone Playback Volume" for ad1988/ad1989

http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=356aab7d419822f413af5fe1bc47af40957a23fb

Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :

I'm on Ubuntu 11.10 and that's not related to any profile selection I can't select profile anyway there's alway one output.

I update my Ubuntu everyday and there's no new update about alsa at the moment.

And this is at least relates to the alsa process which is frozen. It happends since three days. It happened before with another kernel but I got back to a standard kernel. And the errors finally occurs again.

If more information are needed to explore the problem, ask me.

But actually it's all I know about the problem.

Revision history for this message
Luke Yelavich (themuso) wrote :
  • unnamed Edit (102 bytes, text/plain; charset=us-ascii)
Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :
Revision history for this message
Luke Yelavich (themuso) wrote :

Oh sorry, forgot that things are different for oneiric, try this. https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS

Revision history for this message
DarkRedman (darkredman-deactivatedaccount) wrote :

That's the kind of awkward bug : I didn't do anything than reboot my computer and the pulseaudio process is in normal status and everything works fine for the sound. But sometimes it would stuck again.

And harware is well detected in sound options.

And I tried the link but there's not .deb package and anyway it seems to be for i868 and not for amd64.

Revision history for this message
Raymond (superquad-vortex2) wrote : Re: [alsa-devel] [RFC] Fix for conflict of HDMI and SPDIF IEC958 controls
Download full text (3.3 KiB)

> > > > > >
> > > > > > how about those hdmi jack and iec958 on ad1989b?
> > > > >
> > > > > On AD codecs, all digital outputs are exposed as a single cloned
> > > > > device with HDA_PCM_TYPE_SPDIF.
> > > >
> > > > how about ad1988b with nvidia codec ?
> > >
> > > Nvidia codec provides devices only with HDA_PCM_TYPE_HDMI, of course.
> > >
> > > > from user point of view , how can they differenitate hdmi jack is
> > digital
> > > > ouput and hdmi output ?
> > >
> > > The device 1 is from AD and the device 3 is from Nvidia codec, as you
> > > can see below. And this is exactly the case the conflict happens as I
> > > mentioned in the original mail.
> >
> > will your fix change the spdif of those motherboard with ad1988b which
> > have iec958 but no hdmi jack ?
>
> It won't change anything unless both SPDIF and HDMI *devices* are
> actually created.
>
>
>
> > > Which is connected to what output, you can't know exactly unless you
> > > compare the obtained ELD. The HD-audio spec isn't good enough to
> > > identify the actual output.
> >
> > it seem that there is no presence detect on this codec
>
> ELD has nothing to do with the presence detect bit.
>

ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_examples

6.1.2. Chipset with 8-channel support, single stream

This configuration is used in MCP77, MCP78, MCP79, MCP7A, and ION.

In the case where multiple HDMI display connectors are present, the audio
stream is broadcast to all HDMI connectors at once. A single ALSA device is
exposed.

ELD and PD information is not available on these chipsets.

In these chipsets, the multiple 2-channel converters are aggregated by the
ALSA driver and exposed as a single 8-channel device. Some chipsets support
2, or 8 channels (MCP77). Other chipsets support 2, 6, or 8 channels
(MCP79).

id = 0x10de0002, .name = "MCP77/78 HDMI", .patch = patch_nvhdmi_8ch_7x },

does it mean that this hdmi codec support 8 channels but no ELD info ?

>
> > Codec: Nvidia MCP77/78 HDMI
> > Address: 3
> > AFG Function Id: 0x1 (unsol 0)
> > Vendor Id: 0x10de0002
> > Subsystem Id: 0x10de0101
> > Revision Id: 0x100000
> > No Modem Function Group found
> > Default PCM:
> > rates [0x0]:
> > bits [0x0]:
> > formats [0x0]:
> > Default Amp-In caps: N/A
> > Default Amp-Out caps: N/A
> > GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
> > Node 0x04 [Audio Output] wcaps 0x211: Stereo Digital
> > Control: name="IEC958 Playback Con Mask", index=1, device=0
> > Control: name="IEC958 Playback Pro Mask", index=1, device=0
> > Control: name="IEC958 Playback Default", index=1, device=0
> > Control: name="IEC958 Playback Switch", index=1, device=0
> > Device: name="HDMI 0", type="HDMI", device=3
> > Converter: stream=0, channel=0
> > Digital:
> > Digital category: 0x0
> > PCM:
> > rates [0xc0]: 48000 88200
> > bits [0xf]: 8 16 20 24
> > formats [0x1]: PCM
> > Node 0x05 [Pin Complex] wcaps 0x400381: Stereo Digital
> > Pincap 0x00000014: OUT Detect
> > Pin Default 0x18560110: [Jack] Digital Out at Int HDMI
> > Conn = Digital, Color = Unknown
> > DefAssociation = 0x1, Sequence = 0x0
> > Misc = NO_PRESENCE
> > Pin-c...

Read more...

Revision history for this message
Takashi Iwai (tiwai) wrote :

At Mon, 15 Oct 2012 21:10:44 +0800,
Raymond Yau wrote:
>
> > > > > > >
> > > > > > > how about those hdmi jack and iec958 on ad1989b?
> > > > > >
> > > > > > On AD codecs, all digital outputs are exposed as a single cloned
> > > > > > device with HDA_PCM_TYPE_SPDIF.
> > > > >
> > > > > how about ad1988b with nvidia codec ?
> > > >
> > > > Nvidia codec provides devices only with HDA_PCM_TYPE_HDMI, of course.
> > > >
> > > > > from user point of view , how can they differenitate hdmi jack is
> > > digital
> > > > > ouput and hdmi output ?
> > > >
> > > > The device 1 is from AD and the device 3 is from Nvidia codec, as you
> > > > can see below. And this is exactly the case the conflict happens as I
> > > > mentioned in the original mail.
> > >
> > > will your fix change the spdif of those motherboard with ad1988b which
> > > have iec958 but no hdmi jack ?
> >
> > It won't change anything unless both SPDIF and HDMI *devices* are
> > actually created.
> >
> >
> >
> > > > Which is connected to what output, you can't know exactly unless you
> > > > compare the obtained ELD. The HD-audio spec isn't good enough to
> > > > identify the actual output.
> > >
> > > it seem that there is no presence detect on this codec
> >
> > ELD has nothing to do with the presence detect bit.
> >
>
> ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_examples
>
> 6.1.2. Chipset with 8-channel support, single stream
>
> This configuration is used in MCP77, MCP78, MCP79, MCP7A, and ION.
>
> In the case where multiple HDMI display connectors are present, the audio
> stream is broadcast to all HDMI connectors at once. A single ALSA device is
> exposed.
>
> ELD and PD information is not available on these chipsets.
>
> In these chipsets, the multiple 2-channel converters are aggregated by the
> ALSA driver and exposed as a single 8-channel device. Some chipsets support
> 2, or 8 channels (MCP77). Other chipsets support 2, 6, or 8 channels
> (MCP79).
>
> id = 0x10de0002, .name = "MCP77/78 HDMI", .patch = patch_nvhdmi_8ch_7x },
>
> does it mean that this hdmi codec support 8 channels but no ELD info ?

Right.

Takashi

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pulseaudio (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 11.10 (oneiric) reached end-of-life on May 9, 2013.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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