topic title: internal PC speaker
Posts: 10
delix02
Joined: 07 Oct 2017
#1
as the first problem has been fixed so extremly fast, I hope you have some suggestions for the second one as well.

I'm using antiX16 on a Wyse thin client with no other sound output option than the internal PC speaker and it works out-of-the-box without any problems.
Now I installed antiX17 on a Fujitsu Esprimo P5615 PC with the following hardware components according to the PC info output :
Audio: Card NVidia MCP51 High Def. Audio driver snd_hda_intel
Graphics: NVidia GeForce 7300 LE

this system has no external speaker and I'm using the headphone output channel if I need the sound.
However, occasionally I would prefer to use the internal PC speaker as output channel but I can't get the output redirected to the speaker.

Is there a configuration option in ALSA, pulseaudio or elsewhere to get the internal PC speaker as the output channel on this PC as it is on the Wyse thin client ?
Posts: 850
fatmac
Joined: 26 Jul 2012
#2
Use F6 in alsamixer to change soundcards.

(You may have to make it permanent, if there are 2 soundcards in the machine.)
SamK
Posts: 1,028
SamK
Joined: 21 Aug 2011
#3
delix02 wrote:Is there a configuration option in ALSA, pulseaudio or elsewhere to get the internal PC speaker as the output channel on this PC...
Check if the PC speaker/beeper has been disabled.

Look for the file /etc/modprobe.d/pc-speaker.conf
It contains the following

Code: Select all

# file /etc/modprobe.d/pc-speaker.conf
#
# The line below disables the audible beeping in the console (and
# also in X-windows?)  If you want the beeping enabled then
# comment out the line below and then run:
#
#     sudo modprobe snd-pcsp

blacklist snd-pcsp
Posts: 10
delix02
Joined: 07 Oct 2017
#4
thanks for the replies.

So, this is what I tried so far :
-- the blacklist command in the file is commented
-- the driver module snd-pcspkr is loaded by

Code: Select all

modprobe snd-pcspkr
in the /etc/rc.local file
-- loading the snd-pcsp with

Code: Select all

modprobe snd-pcsp
results in the error message
modprobe: FATAL: Module snd-pcsp not found in directory /lib/modules/4.10.5-antix.1-amd64-smp
-- the package beep is installed

I can beep around now.
In alsamixer is see the attached diagram.
If I start for example Youtube I get no sound.

I found
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://fitzcarraldoblog.wordpress.com/2016/09/27/to-beep-or-not-to-beep-that-is-the-question/"
linktext was:"https://fitzcarraldoblog.wordpress.com/ ... -question/"
====================================

but can't get a solution for the problem.

The next step was the installation of the antiX version of pulseaudio.
I wanted to use pavucontrol but

Code: Select all

pactl list
returned only 1 soundcard.
So, still the same situation.

Actually, I don't understand enough of the sound system to get a clue what's going on, but at the moment two facts are confusing :
-- the redirection is working on the thin client out-of-the-box
-- I can beep from a terminal but get no sound for a browser or any other app

Any idea what is missing on my system ? Is it a specific hardware problem of my PC ?
Posts: 10
delix02
Joined: 07 Oct 2017
#5
I received the info that the PC speaker is/was working out-of-the-box on the same Esprimo model with antiX15 (!).
This is encouraging and hope this helps to find a solution.
Posts: 1,139
masinick
Joined: 26 Apr 2008
#6
This has to be one of the most confusing areas to configure across a variety of Linux-based distributions.  Whether using alsamixer, pulse audio, or some kind of"jack" interface, it's difficult to consistently figure out which is the right one to use on each distribution.

Even with as many years as I've been working on various distributions, I occasionally run into issues configuring sound.  It would be wonderful if one of the interfaces worked properly, not only on our distribution, but others in a consistent way.

I hope at least knowing about these possible sources will help find one that works.  I don't think I've had any sound related issues with antiX or MX recently, but if I do come across issues, I look for the one that allows me to test out the sound - the system beep, the audio sound when running a Web-based application (such as YouTube), and whatever else I may be using where I'm expecting sound output.  I always start with whatever the distribution I'm using presents when I want to do something with"sound", and if it doesn't work, then I go through a progression of possible interfaces until I locate the one that works.

That may be unnecessary here, but I thought I'd mention it anyway for"distro-hoppers" that may encounter their sound interfaces working differently on the same physical hardware using a different distribution.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#7
Possibly it's working, but you're unable to hear anything because the default sound level is too low.
Indeed, your screenshot indicates volume level for headphones channel is"00"

Image
FWIW, on many machines, at first liveboot I must bump the tray icon slider (same as adjusting"master" channel in alsamixer, I reckon)
nearly to the top, in order to hear the ControlCenter::"sound test" output.
Posts: 1,308
BitJam
Joined: 31 Aug 2009
#8

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://forum.ts.fujitsu.com/forum/viewtopic.php?t=12401"
linktext was:"This thread"
====================================
says the internal speaker should be engaged automatically when there is nothing plugged into the front or rear audio jack.   If nothing is plugged in and you still get no sound from the internal speaker then maybe there is a problem with the switch in one of the audio jacks.