Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Using: Mandrake 10.0 Community
Kernel: 2.6.3
Sound hardware: Hercules Muse XL, also have onboard sound which i dont use
I've tried a lot of the stuff on this site but i think my problem is slightly unique. I can't understand why, but my sound won't seem to get going. I want to use the hercules sound card, and mandrake recognised it as CM8738, (from my tireless browsing i've found that other people use this driver with this card and it works).
Well you weren't very descriptive in that message about what the problem excactly is, but some things to try are, make sure the drivers are loaded in your kernel, make sure you have permission to /dev/dsp0 ( maybe its /dev/dsp1 since you have 2 sound cards ), also one that always gets me ever since i started using the alsa drivers is that my PCM volume is muted when i boot. I need to load alsamixer and change the values.
When i boot up linux i get no sound, and i suspect that it may be because linux is trying to use my other sound card. How can i prevent it from doing that and ensuring it only uses my Muse XL?
try doing
cat /dev/urandom > /dev/dsp0
if you dont hear any static, try
cat /dev/urandom > /dev/dsp1
if neither works, check alsamixer, if PCM isn't muted, then your drivers probally arent loaded, your going to probally have to recompile your kernel in order to do that.
If on the other hand you do hear static when you do one of those commands, then create a symlink so /dev/dsp points to one of those devices, ex:
ln -sf /dev/dsp1 /dev/dsp
First, no need to re-compile the kernel to make it work. All you need to do is edit your modules.conf file.
Display whats in your modules.conf. Its usually under /etc directory. Also give us a list what lsmod shows.
Disabling sound can also be done with a motherboard jumper. Check the motherboard manual.
phek, after you set your volume controls. Login as su, sudo, or as root and type "alsactl store". To make sure your settings are set every time you boot up. Add "alsactl restore" in your start up scripts.
firstly -- yes i did get static when testing the second device, but only out of the back two speakers... so i went back into hardware configuration and i changed the driver to cmipci rather than snd-cmipci and i got sound out of the front! i'll try doing that routing technique, but firstly:
-- is there a way to undo it if i need to? if so what is the command?
thanks
I'm also going to check out the 2nd guru's advice on this, see what he has to say:
Ok heres my modules.conf file:
probeall scsi_hostadapter imm ppa
probeall usb-interface usb-uhci
alias sound-slot-1 snd-via82xx
above snd-via82xx snd-pcm-oss
above snd-cmipci snd-pcm-oss
alias eth0 tulip
alias sound-slot-0 snd-cmipci
Add/edit your /etc/modules.conf to look like the lines below.
Quote:
probeall scsi_hostadapter imm ppa
probeall usb-interface usb-uhci
alias eth0 tulip
alias char-major-116 snd
options snd cards_limit=2 device_mode=0666 major=116
alias char-major-14 soundcore
# Hercules Muse XL (CM8738)
alias sound-slot-0 snd-cmipc
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# On-board Sound (VIA82xx)
alias sound-slot-1 snd-via82xx
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
You make want to add hid or ehci-hcd (whatever modules works) to the line that saids "probeall usb-interface usb-uhci".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.