LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2013, 05:04 AM   #1
Goodfellas
LQ Newbie
 
Registered: Nov 2013
Distribution: Slackware
Posts: 7

Rep: Reputation: 0
[SOLVED]Slackware - no sound


Good day,
i`ve made a fresh installation of slackware on my pc. I had some problems with sound when i want to listen some music. The music player that i use is audacious. I open the player and show him which sound card use my pc and that was all i have to do to listen some music. The main problem came after that. I install flash player and test it in some browsers. In every browser where i test flash it works perfect but without sound. I decide to test my movies and they don`t have sound to (i use mlayer). I hope that some one can help me to fix that problem because i am fighting with it from three days.
 
Old 11-16-2013, 05:55 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Welcome to LQ!

This is likely to a problem with setting the default sound device.
Please post the output of 'aplay -l'.
 
Old 11-16-2013, 06:20 AM   #3
Goodfellas
LQ Newbie
 
Registered: Nov 2013
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
I fix the problem but still can`t watch movies with sound.

Usage: aplay [OPTION]... [FILE]...

-h, --help help
--version print current version
-l, --list-devices list all soundcards and digital audio devices
-L, --list-pcms list device names
-D, --device=NAME select PCM by name
-q, --quiet quiet mode
-t, --file-type TYPE file type (voc, wav, raw or au)
-c, --channels=# channels
-f, --format=FORMAT sample format (case insensitive)
-r, --rate=# sample rate
-d, --duration=# interrupt after # seconds
-M, --mmap mmap stream
-N, --nonblock nonblocking mode
-F, --period-time=# distance between interrupts is # microseconds
-B, --buffer-time=# buffer duration is # microseconds
--period-size=# distance between interrupts is # frames
--buffer-size=# buffer duration is # frames
-A, --avail-min=# min available space for wakeup is # microseconds
-R, --start-delay=# delay for automatic PCM start is # microseconds
(relative to buffer size if <= 0)
-T, --stop-delay=# delay for automatic PCM stop is # microseconds from xrun
-v, --verbose show PCM structure and setup (accumulative)
-V, --vumeter=TYPE enable VU meter (TYPE: mono or stereo)
-I, --separate-channels one file for each channel
-i, --interactive allow interactive operation from stdin
-m, --chmap=ch1,ch2,.. Give the channel map to override or follow
--disable-resample disable automatic rate resample
--disable-channels disable automatic channel conversions
--disable-format disable automatic format conversions
--disable-softvol disable software volume control (softvol)
--test-position test ring buffer position
--test-coef=# test coefficient for ring buffer position (default 8)
expression for validation is: coef * (buffer_size / 2)
--test-nowait do not wait for ring buffer - eats whole CPU
--max-file-time=# start another output file when the old file has recorded
for this many seconds
--process-id-file write the process ID here
--use-strftime apply the strftime facility to the output file name
--dump-hw-params dump hw_params of the device
--fatal-errors treat all errors as fatal
Recognized sample formats are: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM SPECIAL S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE G723_24 G723_24_1B G723_40 G723_40_1B DSD_U8
Some of these may not be available on selected hardware
The available format shortcuts are:
-f cd (16 bit little endian, 44100, stereo)
-f cdr (16 bit big endian, 44100, stereo)
-f dat (16 bit little endian, 48000, stereo)
 
Old 11-16-2013, 06:23 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Can you type the command that allend suggested exactly as he suggested?

So what can you do (which programs) and what can't you do (which programs)?
 
Old 11-16-2013, 06:23 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Please try again including the ' -l' option to aplay.
 
Old 11-16-2013, 06:47 AM   #6
Goodfellas
LQ Newbie
 
Registered: Nov 2013
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
I already fix the problem with movies.

**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
 
Old 11-16-2013, 06:49 AM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Glad to hear that. Where did the problem lie? How did you fix it? It's always good to share your solution just in case someone else has a similar problem

You can mark the thread as solved then.
 
Old 11-16-2013, 10:20 AM   #8
Bertman123
Member
 
Registered: Jun 2010
Distribution: Slackware Current 64 bit KDE 5
Posts: 380

Rep: Reputation: 77
I used aplay -l to list the audio devices on my system. How could I get a usb headset to be the default audio playback device? I tried setting it up in audio set up through kde mixer, but that hasn't worked.

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: 92HD71B7X Analog [92HD71B7X Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: 92HD71B7X Digital [92HD71B7X Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: LX3000 [Microsoft LifeChat LX-3000], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
 
Old 11-16-2013, 02:34 PM   #9
Goodfellas
LQ Newbie
 
Registered: Nov 2013
Distribution: Slackware
Posts: 7

Original Poster
Rep: Reputation: 0
I solve my problem with installing all alsa.. packages and after that i restart my pc.
 
Old 11-16-2013, 02:40 PM   #10
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Thanks, Goodfellas.

@Bertman123 - you should know better not to hijack a thread. You could do one of the following options:
a) specify the default device in ~/.asoundrc
b) blacklist the HDA intel module (check lsmod which one is loaded) so that it doesn't get loaded.
c) If it's an onboard card that you never use, just disable it in bios (usually it's possible)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sound on Slack 13.37 - solved bobaye Slackware 0 09-08-2012 02:40 PM
a non-slackware question that can (probably) be solved by slackware nass Slackware 6 03-02-2011 03:50 PM
[Solved] Sound problem in Slackware 13 Current KDE 4.3 AuroraZero Slackware 14 04-21-2010 05:42 PM
[SOLVED] Slackware 13 no sound except for root slackwarefan Slackware 5 02-22-2010 03:06 PM
Sound solved. but graphics...? jamyskis Linux - Hardware 9 02-05-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration