Skip to content

zro404/bootspkr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BootSpkr

A Linux kernel module that plays a melody through the PC speaker during boot.

Uses the legacy x86 PIT (8253/8254) and PC speaker interface to generate tones directly from kernel space.

This project exists mostly for fun and as a learning exercise covering:

  • Kernel Workqueues
  • Hardware I/O ports
  • PIT programming
  • PC speaker control

Features

  • Plays a hardcoded melody on module load
  • Asynchronous playback
  • Uses the classic PC speaker interface
  • No userspace daemon required

Building

make

Installation

sudo make install

The install target:

  • Installs the module
  • Updates module dependencies
  • Configures automatic loading at boot

Usage

Load immediately:

sudo modprobe bootspkr

Unload:

sudo rmmod bootspkr

About

A Linux kernel module that plays a melody through the PC speaker during boot.

Topics

Resources

License

Stars

Watchers

Forks

Contributors