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.
I've had a variety of sound issues since updates in the last 2 weeks. I have 2 cards:
1. cmipci ( cmedia8738 ) for speaker and music use
2. snd_hda_intel ( onboard ati sb realtek ) for headset/skype use
I normally blacklist the the snd_hda_intel driver so that the cmedia card is the first to load. If I only have the cmipci module loaded, then amarok/music plays fine but something like vlc/movies won't work - vlc complains it can't find the configured card ( even though it's in KDE settings -> multimedia -> phonon ).
If I then manually load snd_hda_intel, it kills the cmipci driver/module ( KDE immediately pops up a message asking if it can remove the cmipci interfaces as they are no longer available ) but I can now redirect vlc output to my headset connected to this interface.
Previously both sound interfaces worked fine ( with the cmipci loaded first ). DMesg output:
snd_cmipci 0000:05:02.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
check the output with "aplay -L" (capital ell). Your can then check the output with "speaker-test" to see where the audio is going. Some on-board audio use jack auto sensing which can get confused - e.g. front and back get swapped:
Code:
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
sysdefault:CARD=Intel
HDA Intel, STAC92xx Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, STAC92xx Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
speaker-test -Dplug:front -c4 -twav
speaker-test 1.0.25
Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 4 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 524288
Period size range from 32 to 262144
Using max buffer size 524288
Periods = 4
was set period_size = 131072
was set buffer_size = 524288
0 - Front Left
1 - Front Right
3 - Rear Right
2 - Rear Left
Time per period = 10.945377
0 - Front Left
1 - Front Right
3 - Rear Right
^C
(select front etc channel as appropriate).
This will tell you what, if anything, is going where. Then, see the thread below to set up multiple sound cards. You have been lucky in the past. Running multiple sound devices is not quite as easy as just loading modules.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.