LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-19-2010, 12:48 PM   #16
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92

Quote:
Originally Posted by 2handband View Post
Quote:
Originally Posted by afreitascs View Post
If you start Firefox from the console, could not do it a clue?
I don't follow you...
I think what afreitascs is trying to say is that, if you start Firefox from an xterm or KDE Konsole, you might see some error messages that point to where the problem is.

I would check if some process is already using libasound:
Code:
lsof | grep sound
 
Old 06-19-2010, 03:29 PM   #17
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Okay, good idea... no error messages, though. And yes, I've killed all the processes that were using sound, no luck... this is nuts.
 
Old 06-19-2010, 05:23 PM   #18
afreitascs
Member
 
Registered: Aug 2004
Distribution: Debian
Posts: 443

Rep: Reputation: 30
Quote:
Originally Posted by 2handband View Post
I don't follow you...
'm Sorry
I inadvertently wrote Konsole in my language ...
 
Old 06-19-2010, 05:44 PM   #19
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
I'm running out of ideas. Flash sound in Firefox doesn't work at all. In Konqueror it's lottery; sometimes it works and sometimes it doesn't. This is maddening.
 
Old 06-19-2010, 06:00 PM   #20
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Okay, check this out... I uninstalled both flasplayer-plugin and libflashsupport, then re-installed them. So check this out: flash sound now works great in Firefox, but not at all in Konqueror! Any ideas?
 
Old 06-19-2010, 06:06 PM   #21
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by 2handband View Post
libflashsupport,
Umm, what's that? Some broken library to fix some other broken audio library that is required by a third party broken desktop?

Seriously though, are you attempting to use Pulse Audio and Gnome?
 
Old 06-19-2010, 06:09 PM   #22
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
libflashsupport is available through slackbuilds.org and reputed to help solve no sound problems in flash. Anyway, it doesn't seem to matter... I now have no sound in either firefox or konqueror. This is ridiculous. I've never had this much trouble with a new hardware device before...
 
Old 06-19-2010, 07:36 PM   #23
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
libflashsupport is a very poor substitute and is never necessary IMO...are you actually using Gnome and/or pulseaudio? Flash attempts to output to the first audio device through ALSA. Assuming nothing is locking up your sound device (by using OSS compatibility, for example) Flash should output to ALSA by default. You can try switching your sound device to the first slot and see if that makes a difference (see here for information on how to do that). This theoretically should work through .asoundrc as well so I'm not sure why it isn't. I'm not sure if the spaces between . and ! in your lines make a difference but for the record I have always used pcm.!default and ctl.!default.
 
Old 06-19-2010, 07:42 PM   #24
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by T3slider View Post
libflashsupport is a very poor substitute and is never necessary IMO...are you actually using Gnome and/or pulseaudio? Flash attempts to output to the first audio device through ALSA. Assuming nothing is locking up your sound device (by using OSS compatibility, for example) Flash should output to ALSA by default. You can try switching your sound device to the first slot and see if that makes a difference (see here for information on how to do that). This theoretically should work through .asoundrc as well so I'm not sure why it isn't. I'm not sure if the spaces between . and ! in your lines make a difference but for the record I have always used pcm.!default and ctl.!default.
I'd rather eat my own buns than use Gnome or Pulseaudio. I'll uninstall libflashsupport and see what happens.
 
Old 06-19-2010, 07:57 PM   #25
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by T3slider View Post
libflashsupport is a very poor substitute and is never necessary IMO...are you actually using Gnome and/or pulseaudio? Flash attempts to output to the first audio device through ALSA. Assuming nothing is locking up your sound device (by using OSS compatibility, for example) Flash should output to ALSA by default. You can try switching your sound device to the first slot and see if that makes a difference (see here for information on how to do that). This theoretically should work through .asoundrc as well so I'm not sure why it isn't. I'm not sure if the spaces between . and ! in your lines make a difference but for the record I have always used pcm.!default and ctl.!default.
That article you linked to looks like what I'm looking for but there's one problem... I don't have a /etc/modprobe.d/alsa.conf file. I have a /usr/share/alsa/alsa.conf, but ti doesn't look much like what's described in that article. I'll try editing the .asoundrc file, but I'd really rather set up a global solution.
 
Old 06-19-2010, 08:15 PM   #26
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Uninstalling libflashsupport and making those modifications to my .asoundrc file got everything working! I'd still like to get the alsa configuration configured globally if anyone can provide any guidance. Thanks!
 
Old 06-19-2010, 08:16 PM   #27
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by 2handband View Post
That article you linked to looks like what I'm looking for but there's one problem... I don't have a /etc/modprobe.d/alsa.conf file. I have a /usr/share/alsa/alsa.conf, but ti doesn't look much like what's described in that article. I'll try editing the .asoundrc file, but I'd really rather set up a global solution.
Did you run alsaconf as root after you installed the new card?

Quote:
Originally Posted by man alsaconf
Alsaconf is a simple shell script which tries to detect the sound cards on your system and writes a suitable configuration file for ALSA. It
will try to guess what GNU/Linux distribution you're running, and will act accordingly to the standards of that distribution, if specific sup-
port is available.

Alsaconf will write a module-init-tools (or modutils) snippet which can be then used by module-init-tools (or modutils) to load the correct
parameters for your sound card.
---edit---
Add the .conf to the file alsaconf produces in /etc/modprobe.d/ or else you'll get a warning on reboot. This has been fixed in -current with an update to alsa-utils.

Last edited by disturbed1; 06-19-2010 at 08:26 PM.
 
Old 06-19-2010, 09:35 PM   #28
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Yeah; I've run alsaconf several times, actually. I'll run it again and let you know if it gives me a file.
 
Old 06-19-2010, 09:42 PM   #29
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Okay, I just ran it again. The file it messes with is /etc/modprobe.d/sound, and when it's finished the contents of that file are:

Code:
root@lemon:~# cat /etc/modprobe.d/sound 
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
 
Old 06-19-2010, 10:09 PM   #30
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Quote:
Originally Posted by 2handband View Post
Okay, I just ran it again. The file it messes with is /etc/modprobe.d/sound, and when it's finished the contents of that file are:

Code:
root@lemon:~# cat /etc/modprobe.d/sound 
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
Earlier in this thread you wrote The card I want to use IS card 1 and your .asoundrc is pointing to card 1, but you chose card-0 in alsa-conf.

Double check everything matches. You may not even need a .asoundrc. http://alsa.opensrc.org/.asoundrc
 
  


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
No Sound w/ Firefox and Flash rhb327 Slackware 11 03-11-2009 12:40 AM
No sound in Firefox (flash) dude998866 Linux - Software 1 12-08-2007 12:38 PM
No sound in Flash 9 Firefox 1.5.0.7 Stormscape Linux - Software 3 11-04-2006 11:23 AM
Firefox+flash- no sound weijie90 Linux - Software 4 07-03-2006 10:21 PM
sound in flash (firefox) darkleaf Linux - Software 1 06-14-2005 08:26 AM

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

All times are GMT -5. The time now is 02:53 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