LinuxQuestions.org
Review your favorite Linux distribution.
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 02-21-2010, 02:05 PM   #1
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Rep: Reputation: 30
Audio has been lost on Slackware 13.0 32-bit


Using Xfce 4.6.1
reference:
http://www.linuxquestions.org/questi...k-13.0-783056/
Audio worked fine until I rebooted.
Now, no audio at all.
I have run alsaconf, then alsamixer and lastly alsactl store
All applications ran without any indication of error and all indication
of success.

Still no audio. When I attempt to run mixer (as user) from the XFCE menu,
I get the following error popup:
Quote:
GStreamer was unable to detect any sound devices. Some sound system specific GStreamer packages may be missing. It may also be a permissions problem.
and mixer fails to load.
If I attempt to run mixer from a console emulator, I get nothin
as user.
If I attempt to run mixer as root, I get this:
Quote:
<unknown program name>(13822)/: KUniqueApplication: Cannot find the D-Bus session server

<unknown program name>(13821)/: KUniqueApplication: Pipe closed unexpectedly.
Please advise.
thanks
tim
 
Old 02-22-2010, 12:42 AM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
Check that the user you are logging in as is in the audio group. Type "groups" on the command line to make sure "audio" shows up. If the sound doesn't work as root, then it is something else.

Don't rule out file system corruption due to bad disks and the like. You may end up having to reinstall those packages. I've had some weird unexplained stuff happen to me that turned out to be hard disk errors.

Kernel modules might not be loading.

Lastly, your sound card may have gone bad or needs to be reseated on the motherboard. I've had this too. And it was no end of trouble getting that one figured out.

I say some of these less likely things because it sounds like you've done your due diligence on the standard stuff.

Hope this helps.
 
Old 02-22-2010, 10:35 AM   #3
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by meetscott View Post
Check that the user you are logging in as is in the audio group. Type "groups" on the command line to make sure "audio" shows up. If the sound doesn't work as root, then it is something else.
Audio is there as a group.
Quote:
Originally Posted by meetscott View Post
Don't rule out file system corruption due to bad disks and the like. You may end up having to reinstall those packages. I've had some weird unexplained stuff happen to me that turned out to be hard disk errors.
How would I reinstall packages (pointers to docs and relevant discussions)?
Quote:
Originally Posted by meetscott View Post
Kernel modules might not be loading.
And how to I check which modules have loaded?
Quote:
Originally Posted by meetscott View Post
Lastly, your sound card may have gone bad or needs to be reseated on the motherboard. I've had this too. And it was no end of trouble getting that one figured out.
There should also be a way to test the card directly?
(I suspect the OS, not the hardware, but I am a hardware dunce)
Quote:
Originally Posted by meetscott View Post
I say some of these less likely things because it sounds like you've done your due diligence on the standard stuff.

Hope this helps.
Well, this is a highly annoying happenstance but the analysis should thoroughly re-acquaint me with slack - I've returned
after some years ....
thanks very much.
tim
 
Old 02-22-2010, 11:15 AM   #4
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Use a live distro to check your hardware and effect repairs... your favourite one thats all singing and dancing and you know works great on that box...
 
Old 02-22-2010, 12:05 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
How would I reinstall packages (pointers to docs and relevant discussions)?
I would think it unlikely that you would need to do this but try out slackpkg just in case.
Quote:
And how to I check which modules have loaded?
'lsmod | grep snd'
Quote:
There should also be a way to test the card directly?
(I suspect the OS, not the hardware, but I am a hardware dunce)
Rather than rely on gstreamer try to play a wav with 'aplay' and report errors here. You might also 'echo [somerandomcharacters] > /dev/dsp' and see if the speakers click.
[/QUOTE]
 
1 members found this post helpful.
Old 02-22-2010, 12:50 PM   #6
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
I would think it unlikely that you would need to do this but try out slackpkg just in case.

'lsmod | grep snd'
Output follows:
Code:
tim@bart:~$ lsmod | grep snd
snd_seq_dummy           2464  0
snd_seq_oss            29792  0
snd_seq_midi_event      5980  1 snd_seq_oss
snd_seq                47984  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6088  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            37728  0
snd_mixer_oss          14300  1 snd_pcm_oss
snd_hda_codec_realtek   188544  1
snd_hda_intel          23624  0
snd_hda_codec          53788  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6816  1 snd_hda_codec
snd_pcm                68128  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              19108  2 snd_seq,snd_pcm
snd                    50820  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               5824  1 snd
snd_page_alloc          7972  2 snd_hda_intel,snd_pcm
Quote:
Originally Posted by dive View Post
Rather than rely on gstreamer try to play a wav with 'aplay' and report errors here. You might also 'echo [somerandomcharacters] > /dev/dsp' and see if the speakers click.
Done as user `tim', permission is denied with no further messages.
Done as root, I definitely get clicks. So sound card is working?
Some permissions have gone awry?
Thank you.
 
Old 02-22-2010, 12:52 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by Tim Johnson View Post
How would I reinstall packages
upgradepkg --reinstall followed by the filename of the package.
 
Old 02-22-2010, 01:13 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Tim Johnson View Post
Done as user `tim', permission is denied with no further messages.
Done as root, I definitely get clicks. So sound card is working?
Some permissions have gone awry?
Thank you.
what is output if 'ls -l /dev/dsp'?
 
Old 02-22-2010, 01:36 PM   #9
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
what is output if 'ls -l /dev/dsp'?
Code:
crw-rw---- 1 root audio 14, 3 2010-02-22 07:17 /dev/dsp
Same (as far as I can see) whether user or root.
 
Old 02-22-2010, 01:49 PM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Permissions are ok.

Have you recently added yourself to audio group? If so you need to logout of X, all consoles, then log back in again.

You might also want to try running '/etc/rc.d/rc.messagebus reload'
 
Old 02-22-2010, 02:45 PM   #11
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
Permissions are ok.

Have you recently added yourself to audio group? If so you need to logout of X, all consoles, then log back in again.
I have not. It appears that root is the only member of that group.
Quote:
Originally Posted by dive View Post
You might also want to try running '/etc/rc.d/rc.messagebus reload'
I did, and the only response was:
Code:
Reloading system message bus configuration...
I.E. not obvious error messages.
Now when I invoke 'kmix' as user from a console I get a blank window,
but not the error message. Same errors tho' when invoked as root
or from the XFCE menu.
 
Old 02-22-2010, 03:04 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Quote:
Originally Posted by Tim Johnson View Post
I have not. It appears that root is the only member of that group.
Add your user to audio with 'gpasswd -a tim audio' as root and see if it helps. You will probably need to log out and in again as I mentioned above.
 
1 members found this post helpful.
Old 02-22-2010, 04:15 PM   #13
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
Add your user to audio with 'gpasswd -a tim audio' as root and see if it helps. You will probably need to log out and in again as I mentioned above.
Done. And rebooted. And solved.
Do you have any idea what may have caused this?
thanks
 
Old 02-22-2010, 04:58 PM   #14
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Not really, but I think you should probably check your 'groups' command as tim to see if any others are amiss. It's useful to be in these:

users tty floppy audio video cdrom plugdev power netdev scanner

You can add single groups with gpasswd or all supplimentary groups at once with usermod.
 
1 members found this post helpful.
Old 02-22-2010, 05:22 PM   #15
Tim Johnson
Member
 
Registered: Oct 2004
Location: Palmer, Alaska
Distribution: ubuntu 10.04, Slack 13.0/32-bit
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
Not really, but I think you should probably check your 'groups' command as tim to see if any others are amiss. It's useful to be in these:

users tty floppy audio video cdrom plugdev power netdev scanner

You can add single groups with gpasswd or all supplimentary groups at once with usermod.
Understood. Will do. Thanks again.
tim
 
  


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
10.3 32 Bit Realtek HD Audio Fixed - but will 64 bit version work 1kyle SUSE / openSUSE 1 06-26-2008 05:36 PM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Laptop and Netbook 2 11-16-2006 09:20 PM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Hardware 1 11-16-2006 05:31 PM

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

All times are GMT -5. The time now is 11:18 PM.

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