Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no sound in debian 10 on thinkpad t440p with pulseaudio #13

Closed
thewh1teagle opened this issue Jun 1, 2020 · 5 comments
Closed

no sound in debian 10 on thinkpad t440p with pulseaudio #13

thewh1teagle opened this issue Jun 1, 2020 · 5 comments
Assignees
Milestone

Comments

@thewh1teagle
Copy link

thewh1teagle commented Jun 1, 2020

I installed beep

sudo apt-get install beep

and run it like that

beep

not sound, no errors.

this is the output of beep --debug

[user@deb beep] $ beep --debug
beep: Verbose: beep_drivers_register 0x5583d70fa600 (console)
beep: Verbose: beep_drivers_register 0x5583d70fa660 (evdev)
beep: Verbose: evdev driver_detect 0x5583d70fa660 (nil)
beep: Verbose: b-lib: opened /dev/input/by-path/platform-pcspkr-event-spkr as 3
beep: Verbose: beep: using driver 0x5583d70fa660 (name=evdev, fd=3, dev=/dev/input/by-path/platform-pcspkr-event-spkr)
beep: Verbose: 1 times 200 ms beeps (100 ms delay between, 0 ms delay after) @ 440 Hz
beep: Verbose: evdev driver_begin_tone 0x5583d70fa660 440
beep: Verbose: evdev driver_end_tone 0x5583d70fa660
beep: Verbose: evdev driver_end_tone 0x5583d70fa660
beep: Verbose: evdev driver_fini 0x5583d70fa660

that's what happening when i modprobe pcspkr

sudo modprobe -r pcspkr
sudo modprobe pcspkr

dmesg
[  759.562893] input: PC Speaker as /devices/platform/pcspkr/input/input29
@ndim
Copy link
Member

ndim commented Jun 1, 2020

beep has nothing to do with pulseaudio or any other audio parts of a PC whatsoever. beep solely controls the PC speaker beep, which on classic PC motherboards used to be a speaker connected to the motherboard with a cable, and later, a piezo buzzer connected to with a cable or directly soldered onto the motherboard.

The output of beep --verbose you are posting shows that beep works as intented.

On systems with integrated sound like e.g. laptops, the output of the PC speaker circuitry is usually internally mixed together with the PCM sound from the sound card part of the laptop (that is where pulseaudio works) so that both PC speaker and PCM sound come out of the same physical laptop speakers. In that case, you might need to use software like alsamixer or similar to unmute the PC speaker in the mixer hardware.

These days, there also might be PC motherboards which do not have the piezo speaker soldered onto or any speaker connected to it, or laptops where the PC speaker circuit is not connected to the audio mixer circuit. However, if you have any beeps during early boot in BIOS/Firmware, there should be a connection.

In any case, beep itself cannot help here directly, as both your audio mixer harder and whether a speaker is physically connected to your motherboard exceed beep's responsibility.

However, beep should document this more clearly, which I will do (and use this issue ticket to track).

@ndim ndim self-assigned this Jun 1, 2020
@thewh1teagle
Copy link
Author

thewh1teagle commented Jun 1, 2020

It's laptop, thinkpad t440p.
the beep sound works in bios.
I changed beep volume in alsamixer to 100% and still no sound.
in addition, the beep itself worked for me in some other distro called "core linux".

@thewh1teagle
Copy link
Author

thewh1teagle commented Jun 1, 2020

I solved the problem using alsamixer.
first i need to find the correct card ( switched with f6 )
then i have to switch loopback in alsamixer to enabled.
unmute beep by press m button and volume up beep.
then, the last important thing -
i figured out that beep not work if the microfone volume below 0% -
so i turn it to 1% in alsamixer and then it works!!

@ndim
Copy link
Member

ndim commented Jun 1, 2020

Thank you very much for your description of the fix. I will use that as an example in the documentation. (All my thinkpads are much older and not in working order, so I cannot check on those.)

Do your alsamixer settings survive a reboot?

Reopening the issue as I still need to write that documentation. Other people will run into this and I want them to find help in the documentation.

@ndim ndim reopened this Jun 1, 2020
@thewh1teagle
Copy link
Author

alsamixer settings saved after reboot :)

@ndim ndim changed the title no sound in debian 10 with pulseaudio no sound in debian 10 on thinkpad t440p with pulseaudio Sep 23, 2020
@ndim ndim added this to the v1.5.0 milestone Sep 24, 2021
@ndim ndim modified the milestones: v1.5.0, v1.4.10 Dec 25, 2021
@ndim ndim closed this as completed in 03a5cc8 Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants