LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-27-2006, 08:48 AM   #1
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Rep: Reputation: 15
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
 
Old 01-27-2006, 09:28 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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
 
Old 01-27-2006, 09:36 AM   #3
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
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.
 
Old 01-27-2006, 12:49 PM   #4
Deun
LQ Newbie
 
Registered: Jan 2006
Distribution: Kubuntu 10.4
Posts: 9

Rep: Reputation: 0
Toshiba Satellite 2450-101 sound card

Hi,

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?)

I have also a problem with my sound card. First of all, the file
/etc/modules.conf....
# snd module options
options snd device_mode=0660
# autoloader aliases
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
alias sound-slot-4 snd-card-4
alias sound-slot-5 snd-card-5
alias sound-slot-6 snd-card-6
alias sound-slot-7 snd-card-7
above sound-slot-0 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-1 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-2 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-3 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-4 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-5 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-6 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-7 snd-pcm-oss snd-mixer-oss snd-seq-oss
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
# Load optional modules above their base modules
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss snd-seq-midi
# Cause a script to be run after snd-emu8000-synth module initialization
post-install snd-emu8000-synth /lib/alsa/modprobe-post-install snd-emu8000-synth
# Cause a script to be run after card driver module initialization
post-install snd-ad1816a /lib/alsa/modprobe-post-install snd-ad1816a
post-install snd-ad1848 /lib/alsa/modprobe-post-install snd-ad1848
post-install snd-ali5451 /lib/alsa/modprobe-post-install snd-ali5451
post-install snd-als100 /lib/alsa/modprobe-post-install snd-als100
post-install snd-als4000 /lib/alsa/modprobe-post-install snd-als4000
post-install snd-asihpi /lib/alsa/modprobe-post-install snd-asihpi
post-install snd-atiixp /lib/alsa/modprobe-post-install snd-atiixp
post-install snd-au8810 /lib/alsa/modprobe-post-install snd-au8810
post-install snd-au8820 /lib/alsa/modprobe-post-install snd-au8820
post-install snd-au8830 /lib/alsa/modprobe-post-install snd-au8830
post-install snd-azt2320 /lib/alsa/modprobe-post-install snd-azt2320
post-install snd-azt3328 /lib/alsa/modprobe-post-install snd-azt3328
post-install snd-azx /lib/alsa/modprobe-post-install snd-azx
post-install snd-ca0106 /lib/alsa/modprobe-post-install snd-ca0106
post-install snd-cmi8330 /lib/alsa/modprobe-post-install snd-cmi8330
post-install snd-cmipci /lib/alsa/modprobe-post-install snd-cmipci
post-install snd-cs4231 /lib/alsa/modprobe-post-install snd-cs4231
post-install snd-cs4232 /lib/alsa/modprobe-post-install snd-cs4232
post-install snd-cs4236 /lib/alsa/modprobe-post-install snd-cs4236
post-install snd-cs4281 /lib/alsa/modprobe-post-install snd-cs4281
post-install snd-cs46xx /lib/alsa/modprobe-post-install snd-cs46xx
post-install snd-darla20 /lib/alsa/modprobe-post-install snd-darla20
post-install snd-darla24 /lib/alsa/modprobe-post-install snd-darla24
post-install snd-dt019x /lib/alsa/modprobe-post-install snd-dt019x
post-install snd-emu10k1 /lib/alsa/modprobe-post-install snd-emu10k1
post-install snd-emu10k1x /lib/alsa/modprobe-post-install snd-emu10k1x
post-install snd-ens1370 /lib/alsa/modprobe-post-install snd-ens1370
post-install snd-ens1371 /lib/alsa/modprobe-post-install snd-ens1371
post-install snd-es1688 /lib/alsa/modprobe-post-install snd-es1688
post-install snd-es18xx /lib/alsa/modprobe-post-install snd-es18xx
post-install snd-es1938 /lib/alsa/modprobe-post-install snd-es1938
post-install snd-es1968 /lib/alsa/modprobe-post-install snd-es1968
post-install snd-es968 /lib/alsa/modprobe-post-install snd-es968
post-install snd-fm801 /lib/alsa/modprobe-post-install snd-fm801
post-install snd-gina20 /lib/alsa/modprobe-post-install snd-gina20
post-install snd-gina24 /lib/alsa/modprobe-post-install snd-gina24
post-install snd-gina3g /lib/alsa/modprobe-post-install snd-gina3g
post-install snd-gusclassic /lib/alsa/modprobe-post-install snd-gusclassic
post-install snd-gusextreme /lib/alsa/modprobe-post-install snd-gusextreme
post-install snd-gusmax /lib/alsa/modprobe-post-install snd-gusmax
post-install snd-harmony /lib/alsa/modprobe-post-install snd-harmony
post-install snd-hdsp /lib/alsa/modprobe-post-install snd-hdsp
post-install snd-hdspm /lib/alsa/modprobe-post-install snd-hdspm
post-install snd-ice1712 /lib/alsa/modprobe-post-install snd-ice1712
post-install snd-ice1724 /lib/alsa/modprobe-post-install snd-ice1724
post-install snd-indigo /lib/alsa/modprobe-post-install snd-indigo
post-install snd-indigodj /lib/alsa/modprobe-post-install snd-indigodj
post-install snd-indigoio /lib/alsa/modprobe-post-install snd-indigoio
post-install snd-intel8x0 /lib/alsa/modprobe-post-install snd-intel8x0
post-install snd-interwave /lib/alsa/modprobe-post-install snd-interwave
post-install snd-interwave-stb /lib/alsa/modprobe-post-install snd-interwave-stb
post-install snd-korg1212 /lib/alsa/modprobe-post-install snd-korg1212
post-install snd-layla20 /lib/alsa/modprobe-post-install snd-layla20
post-install snd-layla24 /lib/alsa/modprobe-post-install snd-layla24
post-install snd-layla3g /lib/alsa/modprobe-post-install snd-layla3g
post-install snd-maestro3 /lib/alsa/modprobe-post-install snd-maestro3
post-install snd-mia /lib/alsa/modprobe-post-install snd-mia
post-install snd-mixart /lib/alsa/modprobe-post-install snd-mixart
post-install snd-mona /lib/alsa/modprobe-post-install snd-mona
post-install snd-mpu401 /lib/alsa/modprobe-post-install snd-mpu401
post-install snd-msnd-pinnacle /lib/alsa/modprobe-post-install snd-msnd-pinnacle
post-install snd-mtpav /lib/alsa/modprobe-post-install snd-mtpav
post-install snd-nm256 /lib/alsa/modprobe-post-install snd-nm256
post-install snd-opl3sa2 /lib/alsa/modprobe-post-install snd-opl3sa2
post-install snd-opti92x-ad1848 /lib/alsa/modprobe-post-install snd-opti92x-ad1848
post-install snd-opti92x-cs4231 /lib/alsa/modprobe-post-install snd-opti92x-cs4231
post-install snd-opti93x /lib/alsa/modprobe-post-install snd-opti93x
post-install snd-pc98-cs4232 /lib/alsa/modprobe-post-install snd-pc98-cs4232
post-install snd-pcxhr /lib/alsa/modprobe-post-install snd-pcxhr
post-install snd-pdaudiocf /lib/alsa/modprobe-post-install snd-pdaudiocf
post-install snd-pdplus /lib/alsa/modprobe-post-install snd-pdplus
post-install snd-portman2x4 /lib/alsa/modprobe-post-install snd-portman2x4
post-install snd-powermac /lib/alsa/modprobe-post-install snd-powermac
post-install snd-rme32 /lib/alsa/modprobe-post-install snd-rme32
post-install snd-rme96 /lib/alsa/modprobe-post-install snd-rme96
post-install snd-rme9652 /lib/alsa/modprobe-post-install snd-rme9652
post-install snd-sa11xx-uda1341 /lib/alsa/modprobe-post-install snd-sa11xx-uda1341
post-install snd-sb16 /lib/alsa/modprobe-post-install snd-sb16
post-install snd-sb8 /lib/alsa/modprobe-post-install snd-sb8
post-install snd-sbawe /lib/alsa/modprobe-post-install snd-sbawe
post-install snd-serialmidi /lib/alsa/modprobe-post-install snd-serialmidi
post-install snd-serial-u16550 /lib/alsa/modprobe-post-install snd-serial-u16550
post-install snd-sgalaxy /lib/alsa/modprobe-post-install snd-sgalaxy
post-install snd-sonicvibes /lib/alsa/modprobe-post-install snd-sonicvibes
post-install snd-sscape /lib/alsa/modprobe-post-install snd-sscape
post-install snd-sun-amd7930 /lib/alsa/modprobe-post-install snd-sun-amd7930
post-install snd-sun-cs4231 /lib/alsa/modprobe-post-install snd-sun-cs4231
post-install snd-sun-dbri /lib/alsa/modprobe-post-install snd-sun-dbri
post-install snd-trident /lib/alsa/modprobe-post-install snd-trident
post-install snd-usb-audio /lib/alsa/modprobe-post-install snd-usb-audio
post-install snd-usb-usx2y /lib/alsa/modprobe-post-install snd-usb-usx2y
post-install snd-via82xx /lib/alsa/modprobe-post-install snd-via82xx
post-install snd-vx222 /lib/alsa/modprobe-post-install snd-vx222
post-install snd-vxp440 /lib/alsa/modprobe-post-install snd-vxp440
post-install snd-vxpocket /lib/alsa/modprobe-post-install snd-vxpocket
post-install snd-wavefront /lib/alsa/modprobe-post-install snd-wavefront
post-install snd-ymfpci /lib/alsa/modprobe-post-install snd-ymfpci

Form my point of view all this staff is useless. Do you think I can simply remove that ?
 
Old 01-27-2006, 01:41 PM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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
 
Old 01-28-2006, 10:40 AM   #6
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
i still really need help with this. i can post any files if it will help.
 
Old 01-28-2006, 12:09 PM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
maybe this will help you:
http://alsa.opensrc.org/MultipleCards
Debian-specific 2-nd example

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
 
Old 01-28-2006, 02:55 PM   #8
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
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.
 
Old 01-28-2006, 02:58 PM   #9
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
it seems that commenting it out of the blacklist has the same effect of adding it to /etc/modules. it just causes the sound system to break.

would it be possible to reconfigure the sound somehow to use a different driver that didnt conflict maybe? coz i'm stumped

ill keep googling about that blacklist conflict thingy
 
Old 01-28-2006, 03:30 PM   #10
jimjamjahaa
Member
 
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127

Original Poster
Rep: Reputation: 15
ahhhhhh

*satisfaction*


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.
 
Old 01-28-2006, 03:48 PM   #11
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
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.
 
Old 01-31-2006, 12:00 PM   #12
Deun
LQ Newbie
 
Registered: Jan 2006
Distribution: Kubuntu 10.4
Posts: 9

Rep: Reputation: 0
Unhappy Blacklist and modules changed : Nothing new

Hi,

Well I did like jam.... said :

/etc/modules and add

snd-intel8x0
snd-intel8x0m

Nothing had changed for me

The fun is that under gnome I never have the sound with applications. Only sounds by the system itself. Shall I do something at esd and arts level ?
 
  


Reply



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
'hardware' modem driver doesnt load CrazyHorse Linux - Hardware 10 05-30-2005 03:19 PM
usb modem doesnt work lumbrjackedpcj Linux - Networking 0 08-29-2004 10:40 PM
usb modem doesnt work lumbrjackedpcj Linux - Hardware 0 08-29-2004 01:53 PM
usb modem doesnt work in mandrake 10 xxvm1 Mandriva 2 07-11-2004 11:29 AM
already install modem driver but still doesnt work!!! h_tony11 Linux - Hardware 3 01-21-2003 02:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration