Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-20-2014, 10:22 AM
|
#1
|
Member
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105
Rep:
|
aplay plays sound but I can't hear it
[Mon Oct 20 -11:15:36 root@vector:/home/gb10]#aplay -D plughw:0 horned_owl-Mike_Koenig-1945374932.wav
Playing WAVE 'horned_owl-Mike_Koenig-1945374932.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Can't hear sound with headphones any help?
It has worked in the past. Thanks.
|
|
|
10-20-2014, 12:13 PM
|
#2
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,894
|
Check your volumes, your mixer, perhaps something is turned way down or muted. Do other files play with sound? "Worked in the past." When? How often? What's changed in your system? You posted in Slackware so that would be the assumption. Like did this work an hour ago and pretty much worked everyday all the time, or do you happen to only listen to sound files once in a blue moon, and there's also been a lot of system changes via updates or software installs since the last time you've done this. Many systems have different output jacks for amplified speakers versus headphones, try them if you have different ones. Verify also that you are on the headphone or speaker output plugs and not the microphone plug.
Last edited by rtmistler; 10-20-2014 at 12:16 PM.
|
|
|
10-22-2014, 07:02 AM
|
#3
|
Member
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105
Original Poster
Rep:
|
Update
The sound use to work all the time. I have unmuted the master and set the vol way up. Checked the plug. Basically still stumped.
|
|
|
10-22-2014, 07:22 AM
|
#4
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Are those headphones USB? Can you hear sound if you use regular speakers?
What is the output of and And what about
Code:
for AUDIODEV in $(lspci -mm | grep -i audio | cut -f1 -d' ') ; do lspci -k -s ${AUDIODEV} ; done
Is there anything in /etc/modprobe.d/ which relates to that kernel driver?
Did you add a ~/.asoundrc which affects the default audio device/
Questions, questions...
Eric
|
|
|
10-22-2014, 07:34 AM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,449
|
Have you tried different headphones? Broken wire in the cable? A soldered connection has failed?
PS - As a normal user you may need to specify the full path to lspci
Code:
for AUDIODEV in $(/sbin/lspci -mm | grep -i audio | cut -f1 -d' ') ; do /sbin/lspci -k -s ${AUDIODEV} ; done
|
|
|
10-22-2014, 11:31 AM
|
#6
|
Member
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105
Original Poster
Rep:
|
Here is aplay -l:
[Wed Oct 22 -12:15:51 gb10@vector:~]$aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
[Wed Oct 22 -12:17:57 gb10@vector:~]$for AUDIODEV in $(lspci -mm | grep -i audio | cut -f1 -d' ') ; do lspci -k -s ${AUDIODEV} ; done
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
Subsystem: ASUSTeK Computer Inc. Device 841b
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
Subsystem: ASUSTeK Computer Inc. Device 843e
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
I will check /etc/modprobe.d.
Did not add to or modify .asoundrc
|
|
|
10-22-2014, 11:43 AM
|
#7
|
Member
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105
Original Poster
Rep:
|
[Wed Oct 22 -12:40:40 gb10@vector:/etc/modprobe.d]$ cat snd-hda-intel.conf
options snd-hda-intel model=auto
[Wed Oct 22 -12:41:23 gb10@vector:/etc/modprobe.d]$cat sound.conf
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.24.2 ---
alias char-major-116 snd
alias char-major-14 snd
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
# --- END: Generated by ALSACONF, do not edit. ---
These are my two sound files in /etc/modprobe directory.
Thanks again.
|
|
|
10-22-2014, 12:33 PM
|
#8
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
What happens if you just execute
Code:
aplay horned_owl-Mike_Koenig-1945374932.wav
Eric
|
|
|
10-24-2014, 07:55 AM
|
#9
|
Member
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105
Original Poster
Rep:
|
[Fri Oct 24 -08:47:18 root@vector:/home/gb10]#aplay horned*
aplay: main:660: audio open error: No such file or directory
|
|
|
10-24-2014, 08:01 AM
|
#10
|
Moderator
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,894
|
Have you like uninstalled and re-installed aplay? Or better yet, can you boot from a LIVE distribution, perhaps even the same distro you have, and get sound working? I do wonder if there is hardware or connection failures. I'd check the system log and see if there are any complaints when you try to play sound files.
Forgetting aplay, can you get ANY system sounds? If you play a movie file with something else, do you hear the audio? If you visit a website like youtube and play a streaming video with audio, do you hear the audio? I think you need to determine if sound is broken on your hardware, your sound drivers, or if aplay itself happens to be the problem here.
And by the way Alien Bob's suggestion was for you to try and play your cited sound file, with no arguments; also meaning that you'd need to run aplay from the directory where that sound file is located, or at the very list give the fully qualified pathname to that sound file when you give it as an argument to aplay.
|
|
|
All times are GMT -5. The time now is 07:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|