GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kotc/ppsp: PP-Speaker is a linux kernel alsa driver (parallel port audio, covox)

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
Kbuild
Kbuild
 
 
Kconfig
Kconfig
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
ppsp-clean.sh
ppsp-clean.sh
 
 
ppsp.c
ppsp.c
 
 
ppsp.h
ppsp.h
 
 
ppsp_input.c
ppsp_input.c
 
 
ppsp_input.h
ppsp_input.h
 
 
ppsp_lib.c
ppsp_lib.c
 
 
ppsp_mixer.c
ppsp_mixer.c
 
 

Repository files navigation

// SPDX-License-Identifier: GPL-2.0-or-later

PP-Speaker driver for Linux

Copyright (C) 2022-2022 ariel/KotCzarny ([email protected])

Home page: https://github.com/kotc/ppsp

Small FAQ:

Q: What is it? A: Alsa driver for parallel port connected audio dongle, commonly called covox. Code started from PC-Speaker driver and was improved for usability.

Q: What works? A: Most things you would expect out of audio driver. Plays U8/S16, mono/stereo, 8kHz-48kHz streams. There is also softvol mixer implemented.

Q: How to use it? A: - adjust kernel headers/config location

  • run make to produce snd-ppsp.ko, At the moment it expects alsa already enabled in kernel .config: (PCSPKR_PLATFORM, X86, HIGH_RES_TIMERS, INPUT, SND_PCM)
  • insmod the module (adjusting i/o port if it is not 0x378), you will have new audio device in the system
  • confirm with lsmod, dmesg and aplay -l
  • you can use it just like any other sound card

Q: What still needs to be done? A: Improve audio quality, remove some known bugs, test on more configurations. Currently it was only tested via native and VirtualBox running on Dell E6440 with PR02X dock and some primitive covox clone.

Known bugs:

  • bug related to alsa period buffer
  • sometimes audio plays garbled, pausing/restarting stream few times helps
  • softvol and downmixer are crude and unoptimized

Params:

  • pp_port: Port number of the parallel port (default: 0x378). (int)
  • hr_thr: Enable half-rate mode above this freq, for slow machines (default: 24000). (int)
  • allow_vol_boost: Allow volume over 100%. (default: 0) (int)
  • index: Index value for ppsp soundcard. (int)
  • id: ID string for ppsp soundcard. (charp)

About

PP-Speaker is a linux kernel alsa driver (parallel port audio, covox)

Topics

alsaaudiocovoxdriverlinuxlinux-kernelparallel-portsoundcard

Resources

Readme
GPL-2.0 license
Activity

Stars

4 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.