LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   elementary OS (https://www.linuxquestions.org/questions/elementary-os-112/)
-   -   Sound on Asus all-in-one (https://www.linuxquestions.org/questions/elementary-os-112/sound-on-asus-all-in-one-4175631249/)

Vsupercat 06-05-2018 03:22 AM

Sound on Asus all-in-one
 
Hello,
I'm a Linux newbie. I installed Elementary OS on my new Asus all-in-one PC, in dual boot with Windows.

The problem is that the audio, under Elementary, isn't working.

I tried to stop and restart Alsa but without success.

Can you help me?

Thank you very much

Vsupercat

RandomTroll 06-05-2018 06:44 AM

what does
Code:

amixer
report?

Vsupercat 06-05-2018 12:58 PM

Hello RandomTroll, this is the report:

amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',4
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 39 [62%] [12.00dB] [on]
Front Right: Capture 39 [62%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]

RandomTroll 06-05-2018 11:31 PM

Quote:

Originally Posted by Vsupercat (Post 5864016)
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]

This one is off. If you expect to hear on the headphone jack, it's off.


Quote:

Originally Posted by Vsupercat (Post 5864016)
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]

I don't know what IEC958 is, but it's off, and it mentions playback. Try turning it on.

Quote:

Originally Posted by Vsupercat (Post 5864016)
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'

Try disabling this.

You may find the alsamixer interface easier to deal with.

Vsupercat 06-06-2018 11:49 AM

I did it but no results... :-(

Now the report is:

amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',4
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 38 [60%] [11.25dB] [on]
Front Right: Capture 38 [60%] [11.25dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
veruccia@veruccia-ZN270IE:~$

RandomTroll 06-07-2018 02:39 AM

You didn't change anything. Run
Code:

alsamixer
as root and turn all the volumes up. Headphone jack is still off as is IEC958 0 (whatever that is).

Vsupercat 06-07-2018 12:25 PM

Quote:

Originally Posted by RandomTroll (Post 5864576)
You didn't change anything. Run
Code:

alsamixer
as root and turn all the volumes up. Headphone jack is still off as is IEC958 0 (whatever that is).

Done and still no sound. :-|

amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',4
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 63 [100%] [30.00dB] [on]
Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]

RandomTroll 06-07-2018 05:03 PM

Hmmmm... sorry. Does it beep? What happens if you
Code:

echo -e "\a"
?
Code:

lspci | grep Audio
? What program do you use to make sound? Have you tried mplayer?

Vsupercat 06-08-2018 12:26 PM

Hello there!
It doesn't beep nor any other sound. I tried the system test sound and Chromium. Mplayer gives a skin error, so it isn't usable.:(

Typing
Code:

echo -e "\a"
no results. Typing
Code:

lspci | grep Audio
the result is: 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31)


Thanks again!

RandomTroll 06-09-2018 02:07 AM

Quote:

Originally Posted by Vsupercat (Post 5865144)
Mplayer gives a skin error, so it isn't usable.

Skins are optional; I don't use one. mplayer gives more-complete error reports, why I asked about it. What other audio apps do you have? play? aplay? What does
Code:

lsmod | grep snd
return?
Code:

grep snd /var/log/messages
?

The built-in audio chip of my computer started working erratically (It's 7 years old) so I bought a USB audio adaptor for $0.56 (on the Bay of e, from China) and it's worked since.

Vsupercat 06-09-2018 06:30 AM

Mplayer doesn't open at all, because of that skin error... I'm using the default Elementary Player, called Music.

Here are the reports:

Code:

lsmod | grep snd
lsmod | grep snd
snd_hda_codec_hdmi 49152 1
snd_hda_codec_realtek 98304 1
snd_hda_codec_generic 73728 1 snd_hda_codec_realtek
snd_hda_intel 40960 4
snd_hda_codec 126976 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core 81920 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 98304 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
snd_seq 65536 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_seq,snd_pcm
snd 81920 19 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec _generic,snd_seq_device,snd_hda_codec_realtek,snd_pcm
soundcore 16384 1 snd


Code:

grep snd /var/log/messages
grep snd /var/log/messages
grep: /var/log/messages: File o directory non esistente




The USB audio adapter sounds like a great idea! I haven't understood if you have to connect external loudspeakers or if it is possible to use it as a new sound card (sorry, I'm really newbie, LOL!)

RandomTroll 06-09-2018 01:34 PM

Quote:

Originally Posted by Vsupercat (Post 5865397)
Mplayer doesn't open at all, because of that skin error... I'm using the default Elementary Player, called Music.

So what does it report?

Quote:

Originally Posted by Vsupercat (Post 5865397)
Here are the reports:

Code:

lsmod | grep snd

You load all the audio modules you need - maybe more...

Quote:

Originally Posted by Vsupercat (Post 5865397)
Code:

grep snd /var/log/messages
grep snd /var/log/messages
grep: /var/log/messages: File o directory non esistente

Portuguese? Do you know where your log files are? Run
Code:

locate syslog
then grep snd on it and messages in the same directory. Perhaps the names are in Portuguese.

Quote:

Originally Posted by Vsupercat (Post 5865397)
The USB audio adapter sounds like a great idea! I haven't understood if you have to connect external loudspeakers or if it is possible to use it as a new sound card (sorry, I'm really newbie, LOL!)

You'd need external speakers. I was confessing my ineptness as well as the possibility that hardware can fail. If you have a new computer you probably don't have my problem.

Vsupercat 06-10-2018 02:31 AM

Hello!
Music doesn't show any error, it looks like working, but no sound at all...

The configured language on the system is Italian.

Quote:

Run
Code:

locate syslog
then grep snd on it and messages in the same directory.
If I understood correctly what you are telling me, this is the result (I mean, no result...):
Code:

veruccia@veruccia-ZN270IE:~$ grep snd /var/log/syslog
Code:

veruccia@veruccia-ZN270IE:~$ grep messages /var/log/syslog
I was thinking that perhaps this OS doesn't have the driver for the sound port? I found some topics about this sound port not working, but they are about Ubuntu. For instance: https://askubuntu.com/questions/9985...d-audio/998530

RandomTroll 06-10-2018 08:09 AM

Quote:

Originally Posted by Vsupercat (Post 5865734)
Music doesn't show any error, it looks like working, but no sound at all...

That's a good sign.

Quote:

Originally Posted by Vsupercat (Post 5865734)
Code:

veruccia@veruccia-ZN270IE:~$ grep messages /var/log/syslog

I meant grep snd on messages, which should be in the same directory as syslog.

Quote:

Originally Posted by Vsupercat (Post 5865734)

So does pavucontrol work for you?

What happens if you run
Code:

play SomeAudioFile.mp3
?
Code:

play -v 100 SomeAudioFile.mp3
?

Vsupercat 06-11-2018 01:08 PM

Sorry, no file Messages found! Not even translated.

Pavucontrol didn't work.

Code:

play SomeAudioFile.mp3
gives this result:
Code:

play FAIL formats: no handler for file extension `mp3'
Code:

play Korg-01W-XFade-Bass-C2.wav

Korg-01W-XFade-Bass-C2.wav:

 File Size: 956k      Bit Rate: 1.41M
  Encoding: Signed PCM   
  Channels: 2 @ 16-bit 
Samplerate: 44100Hz     
Replaygain: off       
  Duration: 00:00:05.42 

In:100%  00:00:05.42 [00:00:00.00] Out:239k  [      |      ]        Clip:0   
Done.

Code:

play -v 100 Korg-01W-XFade-Bass-C2.wav

Korg-01W-XFade-Bass-C2.wav:

 File Size: 956k      Bit Rate: 1.41M
  Encoding: Signed PCM   
  Channels: 2 @ 16-bit 
Samplerate: 44100Hz     
Replaygain: off       
  Duration: 00:00:05.42 

In:100%  00:00:05.42 [00:00:00.00] Out:239k  [    =|-    ] Hd:0.0 Clip:535k
play WARN sox: `alsa' output clipped 160336 samples; decrease volume?
play WARN sox: `Korg-01W-XFade-Bass-C2.wav' balancing clipped 374265 samples; decrease volume?
Done.

Thanks again!


All times are GMT -5. The time now is 12:58 AM.