Bug 103263 - Incredibly long internal audio name
Summary: Incredibly long internal audio name
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 17:17 UTC by Bastien Nocera
Modified: 2018-07-30 09:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bastien Nocera 2017-10-13 17:17:12 UTC
pulseaudio-11.1-3.fc26.x86_64

On my CherryTrail machine, the internal audio name is suuuuper long. Is there a way of adding a quirk for this?

Sink #0
        State: IDLE
        Name: alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.analog-stereo
        Description: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 6
        Mute: no
        Volume: front-left: 4681 /   7% / -68.77 dB,   front-right: 4681 /   7% / -68.77 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.analog-stereo.monitor
        Latency: 17399 usec, configured 100136 usec
        Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Intel HDMI/DP LPE Audio"
                alsa.id = "HdmiLpeAudio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "Intel HDMI/DP LPE Audio"
                alsa.long_card_name = "Intel HDMI/DP LPE Audio"
                alsa.driver_name = "snd_hdmi_lpe_audio"
                device.bus_path = "pci-0000:00:02.0-platform-hdmi-lpe-audio"
                sysfs.path = "/devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "22b0"
                device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers"
                device.string = "front:0"
                device.buffering.buffer_size = "17664"
                device.buffering.fragment_size = "4416"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers Analog Stereo"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-output: Analog Output (priority: 9900)
        Active Port: analog-output
        Formats:
                pcm
Comment 1 Tanu Kaskinen 2017-10-15 14:39:09 UTC
If by "internal audio" you mean "not HDMI/DP", then this sink is not actually internal audio at all. This alsa-lib patch should remove the analog-stereo profile from the HDMI card:
http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=996dd33b5f0df06d0b1fdd8f43b7a212c26e2a27

Do you have the silly sink name also if you switch the card profile to HDMI?

The name comes from udev's ID_MODEL_ENC or ID_MODEL property. I guess the kernel driver sets the value somehow. I think this should be reported to the alsa developers:
http://alsa-project.org/main/index.php/Bug_Tracking

If the bug report gets ignored, or the alsa developers think that the current ID_MODEL value is good, then we can work around this in pulseaudio's udev rules.
Comment 2 GitLab Migration User 2018-07-30 09:35:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/40.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.