Bug#626043: gpsk31: Add hint for loading snd_pcm_oss kernel module
Package: gpsk31
Version: 0.5-4
Severity: wishlist
Tags: patch
When the sound device /dev/dsp does not exists gpsk31 reports the following error message on stderr:
$ ls -la /dev/dsp
ls: cannot access /dev/dsp: No such file or directory
$ gpsk31
init_audio: can't open /dev/dsp
Cannot initialize audio device: /dev/dsp -1
$ gpsk31 -v
gpsk31 version 0.5
This can be fixed when ALSA sound device exists with loading the snd_pcm_oss kernel module. The attached patch adds a hint to the user how to she/he can try to fix it herself/himself.
$ gpsk31
init_audio: can't open /dev/dsp
Hint: you might want to try to load snd_pcm_oss kernel module
Cannot initialize audio device: /dev/dsp -1
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.38-1-686 (SMP w/1 CPU core)
Locale: LANG=hu_HU.UTF-8, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gpsk31 depends on:
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user interface
ii libpango1.0-0 1.28.3-1+squeeze2 Layout and rendering of internatio
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
gpsk31 recommends no packages.
gpsk31 suggests no packages.
-- no debconf information
Reply to: