Skip to content
forked from hhfeuer/nvhda

Linux kernel module to toggle Nvidia HDMI audio device on/off on notebooks

License

Notifications You must be signed in to change notification settings

amirpavlo/nvhda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvhda

General info

Linux kernel module to turn on/off Nvidia HD audio device on notebooks. Blatantly copied from Lekensteyn's bbswitch module.

  • Due to a bug regarding re-reading the header type in kernels 4.9 - 4.13, this won't work on these series. Kernels 4.4, 4.14+ are known to work
  • This module will (hopefully) once being superseded by Lukas Wunner's patches https://bugs.freedesktop.org/show_bug.cgi?id=75985#c37

Install

# make
# sudo make install

Install using DKMS

# sudo make -f Makefile.dkms

Uninstall

# sudo make uninstall

or

# sudo make -f Makefile.dkms uninstall

Usage

Since its logic is copied from the bbswitch module, it works like that.

Load Module

# sudo modprobe nvhda

Get status:

# cat /proc/acpi/nvhda

Turn audio on/off:

# sudo tee /proc/acpi/nvhda <<<ON
# sudo tee /proc/acpi/nvhda <<<OFF

Check dmesg for messages.

How it works

See:

ToDo

  • lots of things

About

Linux kernel module to toggle Nvidia HDMI audio device on/off on notebooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 92.1%
  • Makefile 7.9%