如何使旧笔记本电脑上的音频正常工作?

如何使旧笔记本电脑上的音频正常工作?

我正在尝试在东芝 Satellite U200。Ubuntu 运行得很好,只是没有音频。

我已经遵循了声音故障排除页面,结果如下:

  • 我检查了音频设置无数次:它没有静音,音量为 100%。我可以看到面板上的指示器,它似乎是活动的,没有静音。
  • pacmd如果我使用和命令,则会列出接收器list-sinks。但是输出如下:

    $ pacmd
    Welcome to PulseAudio! Use "help" for usage information.
    >>> list-sinks
    1 sink(s) available.
      * index: 0
        name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9959
        volume: 0: 153% 1: 153%
                0: 11,00 dB 1: 11,00 dB
                balance 0,00
        base volume:  89%
                     -3,00 dB
        volume steps: 65537
        muted: no
        current latency: 0,00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        [...]
        used by: 0
        linked by: 0
        configured latency: 0,00 ms; range is 0,50 .. 341,33 ms
        card: 0 <alsa_card.pci-0000_00_1b.0>
        module: 5
        properties:
            [...]
            alsa.name = "AD1981 Analog"
            alsa.id = "AD1981 Analog"
            [...]
            alsa.long_card_name = "HDA Intel at 0x44080000 irq 43"
            alsa.driver_name = "snd_hda_intel"
            device.bus_path = "pci-0000:00:1b.0"
            sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
            device.bus = "pci"
            device.vendor.id = "8086"
            device.vendor.name = "Intel Corporation"
            device.product.id = "27d8"
            device.product.name = "NM10/ICH7 Family High Definition Audio Controller"
            [...]
            module-udev-detect.discovered = "1"
            device.icon_name = "audio-card-pci"
        ports:
            analog-output-speaker: Altoparlanti (priority 10000, latency offset 0 usec, available: unknown)
                properties:
                    device.icon_name = "audio-speakers"
            analog-output-headphones: Cuffie analogiche (priority 9000, latency offset 0 usec, available: no)
                properties:
                    device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>
    

    我不太喜欢state: SUSPENDED,也不喜欢used by: 0linked by: 0以及最后的,available: unknown然而我真的不确定所有这些输出意味着什么。

  • 播放测试声音时,我听不到任何声音,即使使用 也是如此sudo。该用户不在该audio组中,我已将该用户添加到该组中,但没有任何变化。

  • 我尝试登录访客会话,但音频也不起作用。
  • 声卡被 Ubuntu 识别并且aplay -l显示出来。
  • find /lib/modules/uname -r| grep snd确实找到了大量模块,因此驱动程序似乎就在那里。
  • 输出lspci

    $ lspci -v | grep -A7 -i "audio"
    00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
        Subsystem: Toshiba America Info Systems Device 0001
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at 44080000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
    $ sudo lspci -v | grep -A7 -i "audio"
    00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)
        Subsystem: Toshiba America Info Systems Device 0001
        Flags: bus master, fast devsel, latency 0, IRQ 43
        Memory at 44080000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
    
  • 我不明白声卡是否受支持。我可以ICH7情报名单,但我找不到NM10/ICH7。此外,似乎ICH7设备使用了snd-intel8x0驱动程序,我有:

    $ find /lib/modules/`uname -r` | grep snd-intel8x0
    /lib/modules/3.13.0-24-generic/kernel/sound/pci/snd-intel8x0.ko
    /lib/modules/3.13.0-24-generic/kernel/sound/pci/snd-intel8x0m.ko
    

有人知道如何解决这个问题吗?


页面上提到,在某些东芝笔记本电脑上不是静音耳机有时会自动静音主音量。我尝试了很多静音/取消静音各种频道的组合,但都没有用。

稍后在同一页面上建议执行以下操作:

$ sudo iecset audio on

我收到以下回复:

control "IEC958 Playback Default" (index -1) not found

我不知道这是否有用,但内置麦克风工作正常。我可以录制声音,但无法播放。


我刚刚注意到,在执行时alsa force-reload,它说无法卸载某些模块:

$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-si3054 snd-hda-codec-analog snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer (failed: modules still loaded: snd-hda-codec-si3054 snd-hda-codec-analog snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer).
Loading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-hda-codec-si3054 snd-hda-codec-analog snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer.
$ echo $?
1

答案1

我遇到了和你同样的问题。我发现了以下内容:

https://bbs.archlinux.org/viewtopic.php?id=175110

因此我采用了以下步骤:

  1. 将“blacklist i82975x_edac”添加到 /etc/modprobe.d/alsa-base-blacklist.conf

  2. sudo modprobe -r i82975x_edac

  3. sudo alsa 强制重新加载

我确实看到了这个:

(失败:模块仍已加载:snd-hda-codec-analog snd-hda-codec snd-hwdep snd-pcm snd-page-alloc snd-timer)

但现在声音确实起作用了。

答案2

那些在使用这种类型的声卡时遇到问题的人:

Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller 

您不应该卸载任何东西。只需更改 alsa 设置中的默认输出设备即可。它通常设置为扬声器,因此将其更改为模拟耳机,您的问题就应该解决了。我在几台不同的机器上都遇到过这个问题,这个解决方案一直有效。

相关内容