LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2010, 02:30 PM   #16
slackcracker
LQ Newbie
 
Registered: Feb 2010
Location: Germany
Distribution: Slackware64-current (multilib) + KDE 4 - current
Posts: 13

Rep: Reputation: 1

after my sound was broken again i did this:

remove all other files beginning with sound in /etc/modprobe.d/
only keep sound.conf

edit sound.conf so it looks like this

root@slack64:~# more /etc/modprobe.d/sound.conf
alias sound-slot-0 snd-hda-intel

options snd-hda-intel index=0 id=default

reboot and all is fine hopefully
 
Old 04-17-2010, 06:45 AM   #17
TwinReverb
Member
 
Registered: Sep 2008
Location: Misawa AB, Japan
Distribution: Slackware
Posts: 191
Blog Entries: 2

Rep: Reputation: 40
ok, so tonight none of this helped. i guess i didn't check the website google sent me to when i searched for "64bit flash for linux". somehow i accidentally downloaded the 32bit version.

If your flash plugin doesn't show on aboutlugins, and nothing seems to work, run:

"file ~/.mozilla/plugins/libflashplayer.so"

If it returns "32bit executable", etc, you got the wrong version if you're on Slackware64 (and visa versa).

PEBKAC

Last edited by TwinReverb; 04-17-2010 at 07:04 AM.
 
Old 04-17-2010, 08:17 PM   #18
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Flash for 64 bit linux is trash. To get decent flash on 64 bit Slack, I installed the multilib files and then installed 32 bit browsers (Firefox and google chrome from slackbuilds--the 32 bit chrome now comes with it's own flash plugin).

Nothing else that I tried really worked.

Last edited by damgar; 04-17-2010 at 08:20 PM.
 
Old 04-19-2010, 03:58 PM   #19
slackcracker
LQ Newbie
 
Registered: Feb 2010
Location: Germany
Distribution: Slackware64-current (multilib) + KDE 4 - current
Posts: 13

Rep: Reputation: 1
Quote:
Originally Posted by damgar View Post
Flash for 64 bit linux is trash. ...
Nothing else that I tried really worked.
Ok, that is an solution. I don't know really (maybe 80%) why my sound was broken the last weeks so often, but as long as i use slackware64 i had no problems with flash 64bit. I only use multilib for some programs, where no 64bit is available.


1. check your bios features for sound, try auto

2. check your hardware, to see if the kernel see them, for my intel-hd-onboard-sound ALC888 (ASRock 939N68PV-GLAN) it looks like this

root@slack64:~# lspci
00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)

root@slack64:~# dmesg | grep hd
hda_codec: ALC888: BIOS auto-probing.

root@slack64:~# dmesg | grep HD
HDA Intel 0000:00:07.0: PCI INT A -> Link[LAZA] -> GSI 21 (level, low) -> IRQ 21
HDA Intel 0000:00:07.0: irq 31 for MSI/MSI-X
HDA Intel 0000:00:07.0: setting latency timer to 64

3. check your sounddevices, if you use only alsa (recommended) like me

root@slack64:~# ls -al /dev/dsp
crw-rw---- 1 root audio 14, 3 2010-04-19 19:52 /dev/dsp

root@slack64:~# ls -al /dev/snd/*
crw-rw---- 1 root audio 116, 7 2010-04-19 21:51 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 6 2010-04-19 21:51 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 5 2010-04-19 21:51 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 4 2010-04-19 21:12 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 3 2010-04-19 21:51 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116, 8 2010-04-19 19:52 /dev/snd/seq
crw-rw---- 1 root audio 116, 2 2010-04-19 21:51 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 60 2010-04-19 21:51 ./
drwxr-xr-x 3 root root 200 2010-04-19 19:52 ../
lrwxrwxrwx 1 root root 12 2010-04-19 21:51 pci-0000:00:07.0 -> ../controlC0


4. try playing, to check your sound, and sounddevices by playing

root@slack64:~# mpg123 Test.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.11.0; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: Test.mp3 ...
Title: Artist: Test
Comment: Album: Test
Year: 2010 Genre: Unknown
MPEG 1.0 layer III, VBR, 44100 Hz stereo
^C
[0:04] Decoding of Test.mp3 finished.

root@slack64:~# aplay Front_Center.wav
Playing WAVE 'Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

mplayer and amarok works in most cases, but mpg123 shows me often when sound was broken

5. If no sound try using the programm alsaconf, an choose your soundcard

root@slack64:~# alsaconf

6. But i figured out that sometimes not all or wrong modules was loaded from the kernel. So check the modules loaded by the kernel, here my modules

root@slack64:~# lsmod | grep snd
snd_seq_dummy 1487 0
snd_seq_oss 29991 0
snd_seq_midi_event 5620 1 snd_seq_oss
snd_seq 52679 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 5459 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 39975 0
snd_mixer_oss 16022 1 snd_pcm_oss
snd_hda_codec_realtek 257222 1
snd_hda_intel 21704 5
snd_hda_codec 65095 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6456 1 snd_hda_codec
snd_pcm 72035 4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19512 3 snd_seq,snd_pcm
snd 57492 19 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 5839 1 snd
snd_page_alloc 7145 2 snd_hda_intel,snd_pcm

7. and yes, check your flash version if it is 64bit
root@slack64:~# file /usr/lib64/mozilla/plugins/libflashplayer.so
/usr/lib64/mozilla/plugins/libflashplayer.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped

8. i also tried to remove alsound.state, alsaconf generate a new one
root@slack64:~# rm /etc/asound.state

9. my last solution was to remove all sound modules an rerun alsaconf, after this sound was also ok, because alsaconf load the right modules for you, try this

hopefully this helps

Last edited by slackcracker; 04-19-2010 at 03:59 PM.
 
Old 05-12-2010, 06:17 PM   #20
slackcracker
LQ Newbie
 
Registered: Feb 2010
Location: Germany
Distribution: Slackware64-current (multilib) + KDE 4 - current
Posts: 13

Rep: Reputation: 1
Quote:
Originally Posted by slackcracker View Post
after my sound was broken again i did this:
My Sound was broken again. :-( after a little Update.

I tried to play root@slack64:~# mpg123 Test.mp3 but an Error occured:
[oss.c:182] error: Can't open default sound device!

First i go to http://www.slackware.com/faq/do_faq.php?faq=distro#4
and reading Q: How do I get my sound card to work?

1. looking my configuration with: cat /proc/asound/oss/sndstat
2. changed my /etc/modprobe.d/sound.conf and disabled OSS

root@slack64:~# cat /etc/modprobe.d/sound.conf
#ALSA
alias snd-card-0 snd-hda-intel
#OSS
#alias sound-slot-0 snd-hda-intel

3. after reboot my Audio devices changed, before change my USB Audio (my Webcam) was 0: see bottom
Audio devices:
0: ALC888 Analog (DUPLEX)
1: USB Audio

4. now my alsamixer points to my soundcard!
before it points to my USB Audio (my Webcam) which hasn't volume control, maybe that was the conflict

5. now i have sound again in Flash-Plugin, hope this help

root@slack64:~# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux slack64 2.6.33.3 #2 SMP Fri Apr 30 23:50:51 CDT 2010 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA NVidia at 0xfbf78000 irq 22
USB Device 0x46d:0x805 at usb-0000:00:04.1-1, high speed

Audio devices:
0: ALC888 Analog (DUPLEX)
1: USB Audio

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC888
1: USB Mixer

Edit:
After a Reboot Sound was broken again :-(

Last edited by slackcracker; 05-14-2010 at 05:30 PM.
 
Old 05-14-2010, 05:24 PM   #21
slackcracker
LQ Newbie
 
Registered: Feb 2010
Location: Germany
Distribution: Slackware64-current (multilib) + KDE 4 - current
Posts: 13

Rep: Reputation: 1
First Solution Flash Plugin No Sound

Quote:
Originally Posted by Alien Bob View Post
Please check if this is your problem:
After probing and testing much with Alsa /etc/modprobe.d/sound.conf nothing helps, but i found a first solution for me. :-) Flash-Plugin and Alsa are not the Problem! The Audio Device Order is my problem. How can i fix this better?

My Logitech Usb-Webcam C300 block the first sound-device /dev/dsp, because it is loaded first by the module snd_usb_audio,
then my onboard sound card Realtek ALC888 hda-intel is loaded by the module snd_hda_intel as second device

then it looks like this:
root@slack64:~# cat /proc/asound/oss/sndstat
...
Audio devices:
0: USB Audio
1: ALC888 Analog (DUPLEX)
...

mpg123 can't play on /dev/dsp

----------------------------------------------------------------------------------------------
here my Solution:
1. blacklist snd_usb_audio in /etc/modprobe.d/blacklist.conf (prevent to load the module first)
2. modprobe snd_usb_audio & in /etc/rc.d/rc.local (load the module later)
----------------------------------------------------------------------------------------------

So my sound card is the first audio device and Flash-Plugin works! :-)

then it looks like this:
oot@slack64:~# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux slack64 2.6.33.3 #2 SMP Fri Apr 30 23:50:51 CDT 2010 x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
HDA NVidia at 0xfbf78000 irq 22
USB Device 0x46d:0x805 at usb-0000:00:04.1-1, high speed

Audio devices:
0: ALC888 Analog (DUPLEX)
1: USB Audio

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
31: system timer

Mixers:
0: Realtek ALC888
1: USB Mixer

mpg123 can play now on /dev/dsp

An interesting wiki is here: http://wiki.ubuntuusers.de/Soundkarten_installieren/HDA

Last edited by slackcracker; 05-14-2010 at 05:42 PM.
 
Old 07-09-2010, 10:15 PM   #22
budman85
LQ Newbie
 
Registered: Sep 2005
Location: Montreal Canada
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
SB Live working again

Thanks for the blacklist idea.

Sound was working fine, then one reboot and the HDMI sound onboard soundcard took precedence over the other modules.

A quick way to remove snd modules without rebooting:

lsmod|awk '/snd/{print "modprobe -r "$1}'|sh

Run it a few times, it will unload modules as they no longer have any deps. I use XFCE, so I needed to remove the Mixer app from the panel to free the binding for the Intel sound driver. Then I ran the above again and it removed the remaining modules.

Then I updated /etc/modprobe.d/blacklist.conf
added:
blacklist snd_hda_codec_atihdmi
blacklist snd_hda_intel

Then I reran alsaconf - Bingo!
I readded the mixer to the panel and it now picked up SB Live mixer.

mpg321 now worked fine and sound was all back.

cat /proc/asound/oss/sndstat

Sound Driver:3.8.1a-980706 (ALSA v1.0.21 emulation code)
Kernel: Linux mars 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
SB Live! 5.1 (rev.7, serial:0x80641102) at 0xe800, irq 20

Thanks for the tip.

Rich
 
  


Reply

Tags
flash, hda, intel, onboard, plugin, slackware64, sound


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 13.0 RC2 X86_64 Broadcom bcm4312 problems onebuck Slackware 14 09-16-2009 08:51 AM
Slackware 13.0 X86_64 FireFox 3.5.2 problems within KDE 4.2 onebuck Slackware 12 09-14-2009 07:28 PM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 05:36 PM
flashplugin-nonfree vs adobe-flashplugin - which is the better Firefox plugin? brjoon1021 Ubuntu 11 01-04-2009 08:52 PM
Ubuntu -> Firefox -> FlashPlugin problems Feyd-Rautha Linux - Software 2 02-22-2008 08:49 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration