Just built my new computer, but my problem is I have no sound. Can you help please? I'll run through what I have done so far...

I installed Debian and updated the BIOS OK. I also apt-get updated and apt-get upgrade-distro'd OK Here's my setup: 

```
 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: 1920x1080@0.00hz  
            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:~$

```

Notice I am using the onboard sound, not a soundcard. Actually everything is onboard, the's only the mobo, no cards.  

First I checked if I had sound as root, but I don't (BTW I am a member of group 'audio'): 

```
 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 is playing a track I know, and the volume is 100%.  

Then I noticed, in Settings -> Sound, when I plug the headphones into the 3.5mm line-out socket on the back of the computer a device appears for sound output (it goes away and re-appears when I unplug and plug-in headphones, which I know work). The device is called: *"Line Out - Built-in Audio"* so I've checked all the devices, but that's the one I'm using to troubleshoot. 

Test the speakers... left and right, both nothing.  

Under the "applications" tab I made sure Rythmbox has volume set to 100% there too. 

So I looked at the System Log, *Xorg.O.log* and I noticed the following lines... 

```
 .  
 .  
 .  
 [    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.  
 .  
 .  
 .

```

I think that's the root cause of my problem, but looking at the CD that came with the mobo, I saw there's a directory for linux drivers that contains a file saying "Note: Please update to the latest Linux Kernel for motherboard chipset and components support." This is what I expect because, as I understand it, Linux should support the hardware using generic methods, without special drivers required by Windows (although I don't know whether Debian supports an Asus H170M-PLUS - it is a relatively new mobo...?) This message saying use the latest version and all will be OK, reinforces my belief is *should* work. 

I'd like to uninstall and re-install the modules (aka device drivers in Windows) but not sure what to do... 

```
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:~$  

```

I don't really know what I'm looking at there (or what I'm looking for), but there's nothing starting with *"snd..."* so what is there to uninstall? 

```
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  
.  
.  
.  

```

I'd like to try un-installing and re-installing, but don't know the commands or the module.  

Still no sound. 

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

```

8086=Intel and a170=PCI sound, but "a170" is NOT found on the page listing [PCI devices supported by debian](https://wiki.debian.org/DeviceDatabase/PCI). Could that be my problem? 

Just rebooted to make sure nothing I have done has had any effect.  

Still struggling with this one. How can "Line Out - Built-in Audio" be recognized by the system, but not have sound output?  

Any ideas what to try next?