Project

General

Profile

Bug #8970

No sound on multicom xishan

Added by Dan-Simon Myrland almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-01-18
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The error messages are very similar to issue # 5071. In my case I am testing this on OpenIndiana Hipster 2017.10 amd64 on a Multicom Xishan (unsure of the exact model). It has an Intel Haswell-ULT HD Audio Controller.

Dmesg reports a lot of messages similar to this (also during boot):

WARNING: audiohd#0: timeout when get response from codec: wid=9, verb=0x0f02, param=0x0058

I have 2 audio devices:

$ audioctl list-devices
audiohd#0
audiohd#1
$ audioctl show-device -v -d audiohd#0
Device: /dev/sound/audiohd:0mixer
Name = audiohd#0
Config = onboard1 (a)
HW Info = Unknown HD codec: 0x80862807
$ audioctl show-device -v -d audiohd#1
Device: /dev/sound/audiohd:1mixer
Name = audiohd#1
Config = onboard1 (a)
HW Info = Unknown HD codec: 0x10ec0282
$ prtconf -v
...
pci1558,8400, instance #0
System software properties:
name='audiohd_beep' type=int items=1
value=00000001
name='sample-rate' type=int items=1
value=0000bb80
name='sample-bits' type=int items=1
value=00000010
Driver properties:
name='fm-errcb-capable' type=boolean dev=none
name='fm-ereport-capable' type=boolean dev=none
name='ddi-no-autodetach' type=int items=1 dev=none
value=00000001
Hardware properties:
name='acpi-namespace' type=string items=1
value='\_SB_.PCI0.B0D3'
name='assigned-addresses' type=int items=5
value=83001810.00000000.f7d14000.00000000.00004000
name='reg' type=int items=10
value=00001800.00000000.00000000.00000000.00000000.03001810.00000000.00000000.00000000.00004000
name='compatible' type=string items=13
value='pciex8086,a0c.1558.8400.b' + 'pciex8086,a0c.1558.8400' + 'pciex8086,a0c.b' + 'pciex8086,a
0c' + 'pciexclass,040300' + 'pciexclass,0403' + 'pci8086,a0c.1558.8400.b' + 'pci8086,a0c.1558.8400' + 'pci1558,8400'
+ 'pci8086,a0c.b' + 'pci8086,a0c' + 'pciclass,040300' + 'pciclass,0403'
name='model' type=string items=1
value='Mixed Mode device'
name='power-consumption' type=int items=2
value=00000001.00000001
name='devsel-speed' type=int items=1
value=00000000
name='interrupts' type=int items=1
value=00000001
name='subsystem-vendor-id' type=int items=1
value=00001558
name='subsystem-id' type=int items=1
value=00008400
name='unit-address' type=string items=1
value='3'
name='class-code' type=int items=1
value=00040300
name='revision-id' type=int items=1
value=0000000b
name='vendor-id' type=int items=1
value=00008086
name='device-id' type=int items=1
value=00000a0c
name='vendor-name' type=string items=1
value='Intel Corporation'
name='device-name' type=string items=1
value='Haswell-ULT HD Audio Controller'
name='subsystem-name' type=string items=1
value='unknown subsystem'
Device Minor Nodes:
dev=(30,0)
dev_path=/pci@0,0/pci1558,8400@3:sound,mixer0
spectype=chr type=minor
dev_link=/dev/sound/audiohd:0mixer
dev=(30,1)
dev_path=/pci@0,0/pci1558,8400@3:sound,dsp0
spectype=chr type=minor
dev_link=/dev/sound/audiohd:0dsp
dev=(30,3)
dev_path=/pci@0,0/pci1558,8400@3:sound,audio0
spectype=chr type=minor
dev_link=/dev/sound/audiohd:0
dev=(30,4)
dev_path=/pci@0,0/pci1558,8400@3:sound,audioctl0
spectype=chnr type=minor
dev_link=/dev/sound/audiohd:0ctl
.........
pci1558,8400, instance #1
System software properties:
name='audiohd_beep' type=int items=1
value=00000001
name='sample-rate' type=int items=1
value=0000bb80
name='sample-bits' type=int items=1
value=00000010
Driver properties:
name='fm-errcb-capable' type=boolean dev=none
name='fm-ereport-capable' type=boolean dev=none
name='ddi-no-autodetach' type=int items=1 dev=none
value=00000001
Hardware properties:
name='acpi-namespace' type=string items=1
value='\_SB_.PCI0.HDEF'
name='assigned-addresses' type=int items=5
value=8300d810.00000000.f7d10000.00000000.00004000
name='reg' type=int items=10
value=0000d800.00000000.00000000.00000000.00000000.0300d810.00000000.00000000.00000000.00004000
name='compatible' type=string items=13
value='pciex8086,9c20.1558.8400.4' + 'pciex8086,9c20.1558.8400' + 'pciex8086,9c20.4' + 'pciex8086,9c20' + 'pciexclass,040300' + 'pciexclass,0403' + 'pci8086,9c20.1558.8400.4' + 'pci8086,9c20.1558.8400' + 'pci1558,8400' + 'pci8086,9c20.4' + 'pci8086,9c20' + 'pciclass,040300' + 'pciclass,0403'
name='model' type=string items=1
value='Mixed Mode device'
name='power-consumption' type=int items=2
value=00000001.00000001
name='devsel-speed' type=int items=1
value=00000000
name='interrupts' type=int items=1
value=00000001
name='subsystem-vendor-id' type=int items=1
value=00001558
name='subsystem-id' type=int items=1
value=00008400
name='unit-address' type=string items=1
value='1b'
name='class-code' type=int items=1
value=00040300
name='revision-id' type=int items=1
value=00000004
name='vendor-id' type=int items=1
value=00008086
name='device-id' type=int items=1
value=00009c20
name='vendor-name' type=string items=1
value='Intel Corporation'
name='device-name' type=string items=1
value='8 Series HD Audio Controller'
name='subsystem-name' type=string items=1
value='unknown subsystem'
Device Minor Nodes:
dev=(30,16)
dev_path=/pci@0,0/pci1558,8400@1b:sound,mixer1
spectype=chr type=minor
dev_link=/dev/sound/audiohd:1mixer
dev=(30,17)
dev_path=/pci@0,0/pci1558,8400@1b:sound,dsp1
spectype=chr type=minor
dev_link=/dev/sound/audiohd:1dsp
dev=(30,19)
dev_path=/pci@0,0/pci1558,8400@1b:sound,audio1
spectype=chr type=minor
dev_link=/dev/sound/audiohd:1
dev=(30,20)
dev_path=/pci@0,0/pci1558,8400@1b:sound,audioctl1
spectype=chr type=minor
dev_link=/dev/sound/audiohd:1ctl

Related issues

Related to illumos gate - Bug #5071: no sound on ThinkPad X1 Carbon 20A7004HRTNew2014-08-08

Actions
Related to OpenIndiana Distribution - Bug #8110: /hipster: pulseaudio 10.0 dumps core on start and diesClosed2017-04-26

Actions

History

#1

Updated by Dan-Simon Myrland almost 2 years ago

  • Related to Bug #5071: no sound on ThinkPad X1 Carbon 20A7004HRT added
#2

Updated by Dan-Simon Myrland almost 2 years ago

On closer examination this turns out not to be a driver issue as I had suspected, but a pulseaudio issue. audiotest works fine, and if I kill pulseaudio applications like vlc will run (albeit without sound), whereas vlc will not run at all if pulseaudio is running. I still dont know how to fix this though...

#3

Updated by Dan-Simon Myrland almost 2 years ago

  • Related to Bug #8110: /hipster: pulseaudio 10.0 dumps core on start and dies added
#4

Updated by Dan-Simon Myrland almost 2 years ago

Output from /var/adm/messages

Jan 19 21:12:59 omalley pulseaudio1613: [ID 295310 user.error] [(null)] module-device-restore.c: Failed to open volume database '/export/home/dan/.config/pulse/5563fda4d6ca4721a22a83115a5f8b8b-device-volumes': I/O error
Jan 19 21:12:59 omalley pulseaudio1613: [ID 295310 user.error] [(null)] module.c: Failed to load module "module-device-restore" (argument: ""): initialization failed.
Jan 19 21:12:59 omalley pulseaudio1613: [ID 295310 user.error] [(null)] hook-list.c: Assertion '!slot->dead' failed at pulsecore/hook-list.c:83, function pa_hook_slot_free(). Aborting.
Jan 19 21:12:59 omalley pulseaudio1610: [ID 295310 user.error] [(null)] main.c: Daemon startup failed.
Jan 19 21:13:00 omalley drm: [ID 882278 kern.warning] WARNING: [drm:ivybridge_irq_handler:1150] Unclaimed register before interrupt
Jan 19 21:13:00 omalley last message repeated 60 times
Jan 19 21:13:00 omalley audio: [ID 875595 kern.warning] WARNING: audiohd#0: Failed to reset stream 1
Jan 19 21:13:00 omalley audio: [ID 150820 kern.warning] WARNING: audiohd#0: failed starting output, rv = 5
Jan 19 21:13:00 omalley drm: [ID 882278 kern.warning] WARNING: [drm:ivybridge_irq_handler:1150] Unclaimed register before interrupt
Jan 19 21:13:00 omalley last message repeated 61 times
Jan 19 21:13:00 omalley audio: [ID 875595 kern.warning] WARNING: audiohd#0: Failed to reset stream 1
Jan 19 21:13:00 omalley audio: [ID 494254 kern.warning] WARNING: audiohd#0: failed starting input, rv = 5
Jan 19 21:13:00 omalley audio: [ID 301843 kern.warning] WARNING: audiohd#0: open failed (rv 5)
Jan 19 21:13:00 omalley pulseaudio1647: [ID 295310 user.error] [(null)] module.c: Failed to load module "module-solaris" (argument: "device=/dev/audio"): initialization failed.
Jan 19 21:13:00 omalley pulseaudio1647: [ID 295310 user.error] [(null)] module.c: Failed to load module "module-detect" (argument: ""): initialization failed.
Jan 19 21:13:00 omalley pulseaudio1647: [ID 295310 user.error] [(null)] main.c: Module load failed.
Jan 19 21:13:00 omalley pulseaudio1647: [ID 295310 user.error] [(null)] main.c: Failed to initialize daemon.
Jan 19 21:13:13 omalley audio: [ID 301843 kern.warning] WARNING: audiohd#0: open failed (rv 5)

#5

Updated by Dan-Simon Myrland over 1 year ago

Ok, so after some experimentation I have found that there are several unrelated problems here...

The reason I have no sound is that OSS selects the wrong audio device by default (/dev/dsp0), so running
rm /dev/dsp
ln -s /dev/dsp1 /dev/dsp
fixes this issue, and vlc now produces sound.
The audiohd#0 timeout warnings still persist, but they have no practial effect.

However pulseaudio is still broken, so the mate volume controler does not work (you can set the OSS volume manually with audioctl set-control volume), and the sound configuring wizard in mate does not list any audio device.

#6

Updated by Robert Bailey over 1 year ago

You may be running into this bug. https://www.illumos.org/issues/8110
I had this problem also. You need to delete the configuration files ~/.config/pulse
After I did this and rebooted the mate volume control started working.

#7

Updated by Dan-Simon Myrland over 1 year ago

No tried that, didn't solve the issue. Is it possible that pulsaudio somehow tries to connect to audiohd#0 even though /dev/dsp in set to audiohd#1 ..? I tried messing around with the configuration in /etc/pulse/default.pa, for instance changing
load-module module-oss
to
load-module module-oss device="/dev/dsp1"

But it had no effect. It seems like the problem is that pulseaudio hangs, pactl and similar commands for instance give this error: Connection failure: Timeout. Could this be because pulseaudio tries to scan the audio devices and audiohd#0 just hangs forever..? If this is the case, is there a way to force pulseaudio to ignore this device?

Also available in: Atom PDF