You are not logged in.

#1 2022-04-04 14:21:02

dvpw
Member
Registered: 2022-04-04
Posts: 1

Lenovo X1 Nano problem with soundcard

Sound doesn't work correctly on my notebook Lenovo X1 Nano. Only 2 of 4 speakers works.

Sound from top speakers plays very quietly even at maximum volume.

In Alsamixer i can see DAC1 and DAC2. DAC2 it's a bottom speakers and if i mute this channel, only top will work but very quietly and with poor quality

I installed alsa-firmware pulseaudio alsa-utils sof-firmware

As i can see in spec my notebook has ALC3306 sound card, but i see this device as "ALC287" in alsamixer. So i think that the problem in that.

> $ uname -r
5.17.1-arch1-1
> $ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=sofhdadsp
    sof-hda-dsp,
    Default Audio Device
sysdefault:CARD=sofhdadsp
    sof-hda-dsp,
    Default Audio Device
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
> $ pacmd list-cards
1 card(s) available.
    index: 0
    name: <alsa_card.pci-0000_00_1f.3-platform-skl_hda_dsp_generic>
    driver: <module-alsa-card.c>
    owner module: 6
    properties:
        alsa.card = "0"
        alsa.card_name = "sof-hda-dsp"
        alsa.long_card_name = "LENOVO-20UN005PRT-ThinkPadX1NanoGen1"
        alsa.driver_name = "snd_soc_skl_hda_dsp"
        device.bus_path = "pci-0000:00:1f.3-platform-skl_hda_dsp_generic"
        sysfs.path = "/devices/pci0000:00/0000:00:1f.3/skl_hda_dsp_generic/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "a0c8"
        device.product.name = "Tiger Lake-LP Smart Sound Technology Audio Controller"
        device.string = "0"
        device.description = "Tiger Lake-LP Smart Sound Technology Audio Controller"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    profiles:
        HiFi: Play HiFi quality Music (priority 40768, available: unknown)
        off: Off (priority 0, available: unknown)
    active profile: <HiFi>
    sinks:
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink/#0: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink/#1: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink/#2: Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink/#3: Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
    sources:
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_5__sink.monitor/#0: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_4__sink.monitor/#1: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_3__sink.monitor/#2: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output
        alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink.monitor/#3: Monitor of Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones
        alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__source/#4: Tiger Lake-LP Smart Sound Technology Audio Controller Headphones Stereo Microphone
        alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp_6__source/#5: Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone
    ports:
        [Out] HDMI3: HDMI / DisplayPort 3 Output (priority 700, latency offset 0 usec, available: no)
            properties:
                
        [Out] HDMI2: HDMI / DisplayPort 2 Output (priority 600, latency offset 0 usec, available: no)
            properties:
                
        [Out] HDMI1: HDMI / DisplayPort 1 Output (priority 500, latency offset 0 usec, available: no)
            properties:
                
        [Out] Speaker: Speaker (priority 100, latency offset 0 usec, available: unknown)
            properties:
                
        [Out] Headphones: Headphones (priority 200, latency offset 0 usec, available: no)
            properties:
                
        [In] Mic2: Headphones Stereo Microphone (priority 200, latency offset 0 usec, available: no)
            properties:
                
        [In] Mic1: Digital Microphone (priority 100, latency offset 0 usec, available: unknown)
            properties:
> $ pacmd list-sink-inputs
2 sink input(s) available.
    index: 38
    driver: <protocol-native.c>
    flags: START_CORKED
    state: RUNNING
    sink: 3 <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink>
    volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    muted: no
    current latency: 25.25 ms
    requested latency: 18.75 ms
    sample spec: float32le 2ch 48000Hz
    channel map: front-left,front-right
                 Stereo
    resample method: copy
    module: 8
    client: 2 <Firefox>
    properties:
        media.name = "AudioCallbackDriver"
        application.name = "Firefox"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "35"
        application.process.id = "896"
        application.process.user = "dm"
        application.process.host = "dm"
        application.process.binary = "firefox"
        application.language = "C"
        application.process.machine_id = "a5c3dd374dd447b99d71b7dc9c70761d"
        application.process.session_id = "1"
        application.icon_name = "firefox"
        module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 52
    driver: <protocol-native.c>
    flags: START_CORKED
    state: RUNNING
    sink: 3 <alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink>
    volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    muted: no
    current latency: 119.00 ms
    requested latency: 75.01 ms
    sample spec: float32le 2ch 44100Hz
    channel map: front-left,front-right
                 Stereo
    resample method: speex-float-1
    module: 8
    client: 2 <Firefox>
    properties:
        media.name = "Big in Japan — Ummo"
        application.name = "Firefox"
        native-protocol.peer = "UNIX socket client"
        native-protocol.version = "35"
        application.process.id = "896"
        application.process.user = "dm"
        application.process.host = "dm"
        application.process.binary = "firefox"
        application.language = "C"
        application.process.machine_id = "a5c3dd374dd447b99d71b7dc9c70761d"
        application.process.session_id = "1"
        application.icon_name = "firefox"
        module-stream-restore.id = "sink-input-by-application-name:Firefox"

And also there is dmesg - https://pastebin.com/feZcCFUK

Last edited by dvpw (2022-04-04 14:52:34)

Offline

#2 2022-11-21 13:59:30

Impse
Member
Registered: 2022-11-21
Posts: 1

Re: Lenovo X1 Nano problem with soundcard

I have the same problem judging from eg identical values of the fields alsa.card_name and alsa.driver_name.
Where you able to find a solution?

Offline

Board footer

Powered by FluxBB