新安装 Debian 8,没有声音

新安装 Debian 8,没有声音

刚刚组装了我的新电脑,但我的问题是没有声音。你能帮忙吗?我将回顾一下到目前为止我所做的事情......

我安装了 Debian 并更新了 BIOS,一切正常。我还 apt-get Updated 和 apt-get Upgrade-distro'd OK 这是我的设置:

 michael@carbon:~$ inxi -Fxz  
 System:    Host: carbon Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)  
            Desktop: Gnome 3.14.4 (Gtk 3.14.5-1+deb8u1) Distro: Debian GNU/Linux 8  
 Machine:   Mobo: ASUSTeK model: H170M-PLUS v: Rev X.0x Bios: American Megatrends v: 0704 date: 02/15/2016  
 CPU:       Quad core Intel Core i5-6600 (-MCP-) cache: 6144 KB  
            flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 26487  
            Clock Speeds: 1: 3301 MHz 2: 3301 MHz 3: 3301 MHz 4: 3301 MHz  
 Graphics:  Card: Intel Device 1912 bus-ID: 00:02.0  
            Display Server: X.Org 1.16.4 drivers: fbdev,vesa,intel Resolution: [email protected]  
            GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)  
            GLX Version: 3.0 Mesa 10.3.2 Direct Rendering: Yes  
 Audio:     Card Intel Device a170 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k3.16.0-4-amd64  
 Network:   Card: Intel Ethernet Connection (2) I219-V driver: e1000e v: 2.3.2-k bus-ID: 00:1f.6  
            IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>  
 Drives:    HDD Total Size: 3032.6GB (2.0% used) ID-1: /dev/sda model: ST3000DM001 size: 3000.6GB temp: 41C  
            ID-2: USB /dev/sdb model: microSD_RDR size: 32.0GB temp: 0C  
 Partition: ID-1: / size: 9.1G used: 4.9G (57%) fs: ext4 dev: /dev/sda2  
            ID-2: /home size: 2.7T used: 4.2G (1%) fs: ext4 dev: /dev/sda4  
            ID-3: swap-1 size: 34.10GB used: 0.00GB (0%) fs: swap dev: /dev/sda3  
 Sensors:   System Temperatures: cpu: 66.0C mobo: 27.8C  
            Fan Speeds (in rpm): cpu: N/A  
 Info:      Processes: 191 Uptime: 3:09 Memory: 1871.2/15963.8MB Init: systemd runlevel: 5 Gcc sys: N/A  
            Client: Shell (bash 4.3.301) inxi: 2.1.28  
 michael@carbon:~$

请注意,我使用的是板载声音,而不是声卡。实际上一切都在船上,只有主板,没有卡。
首先,我检查了我是否有作为 root 的声音,但我没有(顺便说一句,我是“音频”组的成员):

 michael@carbon:~$ id michael  
 uid=1000(michael) gid=1000(michael) groups=1000(michael),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),110(lpadmin),113(scanner),117(bluetooth)
 michael@carbon:~$

Rythmbox 正在播放一首我知道的曲目,音量为 100%。
然后我注意到,在“设置”->“声音”中,当我将耳机插入计算机背面的 3.5 毫米线路输出插座时,会出现一个用于声音输出的设备(当我拔下并插入时,该设备会消失并重新出现)耳机,我知道它可以工作)。该设备称为:“线路输出 - 内置音频”所以我检查了所有设备,但这是我用来排除故障的设备。

测试扬声器...左、右,都没有。
在“应用程序”选项卡下,我确保 Rythmbox 的音量也设置为 100%。

于是我查看了系统日志,Xorg.O.log我注意到以下几行...

 .  
 .  
 .  
 [    63.602] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event8)  
 [    63.602] (II) No input driver specified, ignoring this device.  
 [    63.602] (II) This device may have been added with another device file.  
 [    63.602] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event9)  
 [    63.602] (II) No input driver specified, ignoring this device.  
 [    63.602] (II) This device may have been added with another device file.  
 [    63.602] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event10)  
 [    63.602] (II) No input driver specified, ignoring this device.  
 [    63.602] (II) This device may have been added with another device file.  
 [    63.602] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event11)  
 [    63.602] (II) No input driver specified, ignoring this device.  
 [    63.602] (II) This device may have been added with another device file.  
 [    63.603] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event12)  
 [    63.603] (II) No input driver specified, ignoring this device.  
 [    63.603] (II) This device may have been added with another device file.  
 .  
 .  
 .

我认为这是我的问题的根本原因,但是查看主板附带的 CD,我看到有一个 Linux 驱动程序目录,其中包含一个文件,其中写着“注意:请更新到最新的 Linux 内核以获得主板芯片组和组件支持” ”。这是我所期望的,因为据我了解,Linux 应该使用通用方法支持硬件,而不需要 Windows 所需的特殊驱动程序(尽管我不知道 Debian 是否支持华硕 H170M-PLUS - 它是一个相对较新的主板。 ..?)这条消息说使用最新版本一切都会好起来,这增强了我的信念应该工作。

我想卸载并重新安装模块(Windows 中的设备驱动程序),但不知道该怎么做...

michael@carbon:~$ ls /lib/modules/$(uname -r)  
kernel  modules.alias  modules.alias.bin  modules.builtin  modules.builtin.bin  modules.dep  modules.dep.bin  modules.devname  modules.order  modules.softdep  modules.symbols  modules.symbols.bin  
michael@carbon:~$ ls /lib/modules/$(uname -r)/kernel/drivers/  
acpi  base   bluetooth  cpufreq  dma       firmware  hid    i2c   infiniband  leds   memstick  misc  net      pci   power     ptp   ssb  thermal      uio  vfio   virtio    xen  
ata   bcma   cdrom  crypto   edac      gpio      hv     idle  input       md     message   mmc   nfc      pcmcia    powercap  scsi  staging  thunderbolt  usb  vhost  w1  
atm   block  char   dca  firewire  gpu       hwmon  iio   isdn        media  mfd       mtd   parport  platform  pps   spi   target   tty          uwb  video  watchdog  
michael@carbon:~$  

我真的不知道我在看什么(或者我在寻找什么),但是什么都没有开始“又……”那么有什么需要卸载的呢?

root@carbon:/home/michael# alsactl init  
Found hardware: "HDA-Intel" "Intel ID 2809" "HDA:10ec0887,104386c7,00100302 HDA:80862809,80860101,00100000" "0x1043" "0x86c7"  
Hardware is initialized using a generic method  
root@carbon:/home/michael# lspci -v  
.  
.  
.  
00:1f.3 Audio device: Intel Corporation Device a170 (rev 31)  
    Subsystem: ASUSTeK Computer Inc. Device 86c7  
    Flags: bus master, fast devsel, latency 32, IRQ 139  
    Memory at f7040000 (64-bit, non-prefetchable) [size=16K]  
    Memory at f7020000 (64-bit, non-prefetchable) [size=64K]  
    Capabilities: [50] Power Management version 3  
    Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+  
    Kernel driver in use: snd_hda_intel  
.  
.  
.  

我想尝试卸载并重新安装,但不知道命令或模块。
还是没有声音。

 michael@carbon:~$ lspci -nn  
 .  
 .  
 .  
 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:a170] (rev 31)  
 .  
 .  
 .

8086=Intel 和 a170=PCI 声音,但在页面列表中找不到“a170”Debian 支持的 PCI 设备。这可能是我的问题吗?

只是重新启动以确保我所做的一切都没有产生任何效果。
还在为这个苦苦挣扎。如何让系统识别到“Line Out - 内置音频”,但没有声音输出?
有什么想法下一步要尝试什么吗?

答案1

我假设您已经检查了声音首选项中的所有音量级别!pavucontrol可能有助于更详细地检查级别。

鉴于您拥有最新的硬件,您可以尝试更新的内核,来自Debian 向后移植:

echo "deb http://ftp.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
apt-get update
apt-get -t jessie-backports install linux-image-4.5.0-0.bpo.2-amd64

(如果您需要固件模块,请将contrib和添加non-free到第一行 - 查找/etc/apt/sources.list型号 - 并安装向后移植的固件包)。

答案2

正如所建议的,问题是主板架构太新了。我在延迟几个月后安装了最新版本的 Debian Jessie,它像平常一样开箱即用。

相关内容