[SOLVED] sound in flash not working for me Slackware 64 14.0
SlackwareThis 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.
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.
alsactl init
Found hardware: "HDA-Intel" "ATI R6xx HDMI" "HDA:1002aa01,00aa0100,00100200" "0x1025" "0x059f"
Hardware is initialized using a generic method
Any idea I could try otherwise?
I made also a file in /etc/modprobe.d named sound.conf containing
Code:
options snd-hda-intel model=auto
to no avail.
Any ideas are welcome!
Thank you
Marcel Geijsberts
Last edited by emgee_1; 10-05-2012 at 06:31 AM.
Reason: solved
I had a similar problem. Run "aplay -l" which should give you a list of available devices and subdevices.
I found a file /etc/asound.conf (of which I do not know who created it...) and there the entries defaults.pcm.ctl.card and defaults.pcm.card are followed by defaults.pcm.device and defaults.pcm.subdevice. Checking these with the output of aplay -l showed that the device and subdevice numbers were not the correct ones, which leads to a failure of "pure alsa". (I hope to remember these thing correctly. In the present machine which is always updated to current, I have no /etc/asound.conf. So, this is from memory...)
Phonon in KDE chooses the devices directly, and therefore does not rely on that mechanism. Which is why the KDE apps work alright.
Obviously, this is just a possibility. But in the fresh install we had exactly these problems...
If it's a laptop, can it be the speakers don't work, but if you plug in a pair of headphones those work?
I'm saying this because there's a kernel bug around that mute internal speakers that seems fixed in yesterday kernel updates...
And I say "seems" because I'm affected too by this bug but I've not yet time to try the new kernel releases.
EDIT: just FYI, I have the speakers muted on this laptop also with the latest kernels
the bug is described here
@ponce : It is indeed a laptop but your suggestions did not change a thing unfortunately
@grave_violin : I created the file .asoundrc in my home dir /home/mg but no sound either unfortunately
@ fsauer : your suggestion looks promising but I do no know how to exactly to implement it:
bash-4.2# cd /etc
bash-4.2# ls -R | grep asound
asound.state
which contains
Code:
state.Generic {
control.1 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.2 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.3 {
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.4 {
iface MIXER
name 'IEC958 Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.5 {
iface PCM
device 3
name ELD
value ''
comment {
access read
type BYTES
count 0
}
}
}
state.Generic_1 {
control.1 {
iface MIXER
name 'Headphone Playback Volume'
value.0 87
value.1 87
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.2 {
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.3 {
iface MIXER
name 'Speaker Playback Volume'
value.0 87
value.1 87
comment {
access 'read write'
type INTEGER
count 2
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.4 {
iface MIXER
name 'Speaker Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.5 {
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.6 {
iface MIXER
name 'Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.7 {
iface MIXER
name 'Internal Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.8 {
iface MIXER
name 'Internal Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.9 {
iface MIXER
name 'Auto-Mute Mode'
value Enabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.10 {
iface MIXER
name 'Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
}
control.11 {
iface MIXER
name 'Internal Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3600
dbvalue.0 0
dbvalue.1 0
}
}
control.12 {
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.13 {
iface MIXER
name 'Capture Volume'
value.0 19
value.1 19
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -1650
dbmax 3000
dbvalue.0 1200
dbvalue.1 1200
}
}
control.14 {
iface MIXER
name 'Master Playback Volume'
value 60
comment {
access 'read write'
type INTEGER
count 1
range '0 - 87'
dbmin -6525
dbmax 0
dbvalue.0 -2025
}
}
control.15 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
This looks to me the settings of my mixer widget in xfce4
I guess I have to create some config file that gives the correct order of the devices but do not yet know how. I guess that it has to do with udev and the way first sound devices are recognized.
Maybe I should try another kernel?
I know that sound worked under sabayon 9 on this laptop which I exchanged gladly for slackware 14.
Maybe the .asoundrc (see post by grave_violin) could be useful for you. As your card 0 is the hdmi one, you should modify the .asoundrc accordingly ("card 1" instead of "card 0").
As you use the default device 0 anyways, this should be ok.
If you want to use the HDMI sound, you have to configure card 0, device 3 subdevice 0, which is exactly what we had to do
Dear fsauer and others, who helped me. It turns indeed out that the solution provided by fsauer is indeed the correct one.
I will take some time to write down the different steps that were tried and finally lead to the solution. Then maybe an entry at the doc project. At least since rc3 or Slackware 14 rc4 we have had no sound.
This is great if your kids are playing games on your laptop but in the end quite annoying. Thank YOU
Sorry to resurrect this old thread, but I'm having a similar problem and the advice here only gets me halfway solved.
I'm using Slackware64-current KDE on an Acer aspire, trying to get HDMI to work when attached but for the system to default to analog when HDMI is not connected.
I have succeeded in setting HDMI as default with /.asoundrc, but that renders analog sound unuseable. There must be a way to have both working properly, but I can't seem to figure it out.
you can use alsa plugin dmix, route, or multi
google combine multiple streams from multiple sound card for alsa. although, you need create dummy control device.
example multi from: http://jackaudio.org/multiple_devices
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.