if i load the module for my modem, then the sound doesnt work.... !?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
if i load the module for my modem, then the sound doesnt work.... !?
greets. just actually managed to get my dial up modem connected which is great.
to get the modem to work, i have to
# modprobe snd-intel8x0m
# slmodemd --alsa -c UK hw:1
and then i can dial out and connect.
my question is 2 fold. firstly, how do i make it so i can dial out all the time, instead of having to type that. i know about adding modules to /etc/modules, but this leads on to my second question/problem:
when i add snd-intel8x0m to /etc/modules and boot up, it breaks my sound. i get an error when i log in. however when i dont add it in, and then modprobe it later, the sound and modem will function side by side. how rare.
anyhoo, i need the helps of you good people. thanks
Hi!
You will need to setup your sound card(s) properly - with the modem you now have two of them
You need to tell alsa which one is the first an which one is second.
I'll paste in my config-file for reference since I have the same card.
I run Gentoo - so the place for this file is probably different on your (?) distribution - this also takes care of automatically loading the needed modules.
on Gentoo this file is here:
/etc/modules.d/alsa
-------------------------------------------------------------
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Ex
# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
alias snd-card-0 snd-intel8x0
alias snd-card-1 snd-intel8x0m
## OSS/Free portion
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
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
## OSS/Free portion - card #2
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
options snd cards_limit=2
ok laptop is toshiba satellite 3000 x4, and i am running debian. just booting to try and find that file..... will edit
ok, i have an alsa folder in /usr/share, and in there there is an alsa.conf file, which is massive in comparison to the one you posted. not sure wether its the right file
i did have a modules.d in a really obscure location, but it had nothing in it. i also got a modprobe.d, but that didnt have the right things in it either
Last edited by jimjamjahaa; 01-27-2006 at 09:56 AM.
I guess the file to modify is /etc/modutils/alsa-base on a debian sarge. But not sure. I did not find in it a limit for number of sound cards (that we could fix to one - well I don't care about this modem, do you?)
there is every soundcard alsa supports in it - to load the modules a soundcard needs - one of them is yours and should not be removed - if not sure - leave as is, a few lines more do not hurt - plus it will probably be overwritten anyway, should you install a newer version of whichever deb-package this belongs to
and if the modem module breaks your sound - I read about this on debian-related mailing lists - it could be that hotplug thinks the modem is your soundcard (or vice versa - the point is, it does not work then)
If this is the case, you should add it to a hotplug blacklist file - you will need to google a little or seach through your /etc
looking in /etc/hotplug/blacklist, it seems snd-intel8x0m is already blacklisted. it says that it often causes conflicts or something like that. any ideas? what should i do with it? i have commented it out and am rebooting to see what the effect is.
there is nothing quite like solving a problem thats been bugging you for days. it seems it was all down to conflicts between the 2 modules, you were quite right. the system was loading the modem first, and then thinking that it was the sound card.
the solution i found was to comment out the blacklist for snd-intel8x0m, then edit /etc/modules and add
snd-intel8x0
snd-intel8x0m
so that it loads the real sound card first. well, at least thats how i understand it works. to be honest, i dont care, because both the modules load now, and the sound is not broken.
huzzah!
now, i just need to know how to automate the process of slmodemd. i think it has something to do with adding a script in to a certain directory but im not sure.
omg, the end is in sight! i can finally smell victory.
Last edited by jimjamjahaa; 01-28-2006 at 03:33 PM.
Yeah - cool - I was just about to shut down my system to get the Knoppix LiveCD up to see how Debian actually does stuff like this - I think I'll do it anyway - maybe memory comes back from when I was running Debian, which is 3 years ago now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.