Manjaro Linux KDE - no sound - audio

I have a problem with my Manjaro Linux. I have no sound. I have tried everything (I have installed sof-firmware, unmuted soundcard, rebooted alsa). What should I do?
Here is the output of the inxi:
System: Host: cWillNeverDie Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.22.5 Distro: Manjaro Linux Machine: Type: Desktop Mobo: Micro-Star model: MAG Z490 TOMAHAWK (MS-7C80) v: 1.0 serial: <superuser required> UEFI: American Megatrends v: 1.80 date: 04/19/2021 Audio: Device-1: Intel driver: snd_hda_intel Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes Sound Server-2: PulseAudio v: 15.0 running: yes Sound Server-3: PipeWire v: 0.3.38 running: yes

Try to open terminal and run aplay -l. You'll get something like:
card 1: Generic [HD-Audio Generic], device 0: ALC236 Analog [ALC236 Analog]
Take notes each of card numbers and device numbers. For above example: card number 1 and device number 0.
Then run speaker-test -D hw:CardNumb,DeviceNumb -c 2. For above example become:
speaker -D hw:1,0 -c 2
If you get an error mentioning device busy, close all current active windows, wait a moment and run again. Do this for all cards and devices shown from aplay -l.
Take note which card and device that give you a sound.
After that, find on how to create .asoundrc on the internet.
Hope this give a clue how to debug your sound card.

Sorry if this reply is too late. I was having the same problem, tried every input I could find, and nothing worked. Until...
Go to:
audio system settings
playback devices
change to: analog stereo duplex
That fixed it for me, fwiw.

I have the same issue whenever my laptop comes out of sleep mode.
The following workaround works for me:
unplug Headset (if there is any)
switch sound output to another Device (e.g. from monitor to internal speaker)
Then everything works again for me
For proper analysis of the problem have a look into the answer by oprizal

Related

Ubuntu 16.04.3 intel skylake i915 external monitor not detected

My external monitor, connected via HDMI was working fine but now is not being detected (it says 'No video input'). I'm pretty sure I didn't make any changes to make it stop - it was working on the same setup yesterday.
I'm a pretty new linux user and also don't know much about graphics hardware and drivers. Appreciate any help, I'd like to understand what's going on!
I'm running Ubuntu 16.04.3 kernel 4.10.0-33
lshw -c video gives:
*-display
description: VGA compatible controller
product: Sky Lake Integrated Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci#0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:124 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:e000(size=64) memory:c0000-dffff
I've tried booting from grub into kernel 4.8.0 and the monitor still wasn't detected.
I've also tried to no avail:
sudo apt-get update
sudo apt-get install --reinstall xserver-xorg-video-intel xserver-xorg-core
sudo dpkg-reconfigure xserver-xorg
I've also tried running the Intel graphics update tool and this also hasn't solved anything.
EDIT: It seems like I get the 'No video input' probelm if I plug in the HDMI cord before the computer has finished booting.
Pretty much the only answer one can give here based on the available information is, try checking the display cables, and, if that doesn't help, file a bug. Debugging display problems like this can be fairly involved, with several cycles of requesting and providing more information. That doesn't really work all that well here.
The alternatives for filing the bug are Ubuntu Launchpad and drm/i915 upstream. Upstream has the best knowledge about the driver and the hardware, but, depending on the issue, you might be expected to build and run the userspace components or the kernel from upstream git repositories.
I come across the problem and solve it with exactly the same card (i had same lshw -c video) by searching the NVIDIA X-Server settings (search inside apps) on my Ubuntu 16 LTS and activate the NVIDIA drivers for this card (I have a NVIDIA GEFORCE GTX)
After i log out and i have a bad errors display and i was blocked " this computer is running in low display mode" .
I just switch off the computer and restart it...and taatatatat HDMI was working and was able to display on my external Sansumg 27''
I had the exact same issue as OP. lshw not showing HDMI port, nada. Reinstalling xserver* did not work either.
May the gods of stack overflow smile upon you for that EDIT line, because plugging only after boot was complete, it did work for me as well.
This is quite interesting, as I am running 20.04. This issue came out of nowhere, just turned on the computer and voila, it was not working. There had been no updates, no changes that could affect this during previous session.
Would love to know if someone else has bumped into this problem.

How to make audio work in raspbian on qemu

Does anybody know how to enable audio support in raspbian running in qemu ?
lsmod shows nothing.
aplay -l shows no sound cards.
Tried with qemu ac97 and hda intel, running qemu inside ubuntu box.
Thanks in advance.

Raspberry Pi 3 recording sound noises

I'm trying to build a speech to text / speech recognition with my gaming headset (Creative Technology, Ltd Sound Blaster Tactic(3D) Sigma sound card). The usb soundcard is now working, however there's a white noise when i record a sound.
I've tested the mic in my windows machine and it works fine, but when i plug it in RPi 3 suddenly there's a noise. Not sure what's causing it, i've also tried distancing the Power cable and Net cable from the sound card but it's the same.
Can someone help me figure out what's causing it? Thanks in advance!
To record:
pi#raspberrypi:~ $ arecord xtest.wav
To play
pi#raspberrypi:~ $ aplay xtest.wav
Update
Fixed by adding -f option. pi#raspberrypi:~ $ arecord -f cd xtest.wav

Can`t find ttyUSB[id]

I have just started with my Raspberry Pi and I have a project where I want to read data from the USB port. I have installed Java JDK8 and written the program that compiles and run. But I get the message that /dev/ttyUSB1 does not exist.
I just have a cable from the USB port on the Arduino going to the USB port on the RPi and I am using Raspbian Debian Wheezy
When I go to DIR /dev/ and use $ ls, I can only find tty0 up to tty63. I have searched on the internet and some say that you can use ttyAMA0, but this does not work. I have also searched for the same problem, but have not found a answer to my problem.
I have used $ lsusb which gave me 4 devices (001-004) on Bus 001. I can see that, for example, my USB keyboard is listed as Bus 001 Device 004: ID 1532:010b Razer USA, Ltd.
and if I run $ dmesg | grep Manufacturer I get that:
[xxxxxxxxx] usb 1-1.2: Manufacturer: Razer
So my question is why does my usb devices not get listed as ttyUSB[id]? Do I have to manually attach it?
I am a bit noob when it comes to Linux.
Hope someone can help me!
I have some bad news for you. The reason you have no /dev/ttyUSB[n] devices on the RPi (when you connect your Arduino) is because you need the Arduino drivers (FTDI drivers in particular). The unfortunate thing is that these drivers don't yet exist for the Arm platform (which includes the RPi). This is according to the FTDI web page showing support. Note the lack of Linux driver support for Arm.
Apparently on Arm running Linux the only way to program the Arduino is via the serial port interface directly via the GPIO pins. Information on doing this can be found here . You will also have to do something similar on the Arduino side see this information.
Once you have the two devices connected via straight serial then your going to probably run into another SNAFU. By default apparently on the RPi Linux will use the serial port for sending debug/console output. In order to use the serial interface for something that behavior has to be modified. This article discusses that. In particular disabling the kernel from using the serial port for terminal use this would seem to apply:
The following steps (based on a clean 2012-07-15-wheezy-raspbian install
Open a terminal on the Raspberry, or connect to Raspberry Pi through SSH.
Make a backup of the /boot/cmdline.txt file.
sudo cp /boot/cmdline.txt /boot/cmdline_backup.txt
Edit /boot/cmdline.txt file:
sudo vi /boot/cmdline.txt
This file contains:
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 $
Remove the parameters that reference the UART serial port (ttyAMA0):
dwc_otg.lpm_enable=0 console=tty1 $
Comment next line in /etc/inittab:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100
Reboot Raspberry Pi
sudo reboot
If you use a different Linux distro than Debian it would be different but the basics would still apply (modifying the kernel command line)

CubieBoard Sound Driver

I'm using CubieBoard 1(A10), it have an Image of Linux Linaro to Run from MicroSD on its DVD. it has the sound drivers for HDMI and AUX Jack. in the "/proc/asound" there are some folders "Card0, Card1, Sun4iCodec, sun4isndhdmi". and I can Play Sounds and get the output from AUX Jack.
the problem is I need to build the kernel of Linux myself, so when I tried, the drivers would not install. I Included all of the sound Drivers in kernel, I tried every thing I could, but it doesn't included the Driver for AUX Jack or HDMI.
Any Idea how to install it?or how can I get the Drivers?
the kernel version of Image on DVD is: "3.0.57" and the version of kernel I use is: "3.4.67"

Resources