LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-02-2005, 03:41 PM   #1
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
discover and sound woes ><


My system is pretty wierd. When i use discover1 i get ethernet working, when i use discover (2.x) i get sound working, but no ethernet. So i basically have to choose between:
discover1: ethernet but no sound
discover (2.x): sound but no ethernet
I tried downloading etherconf to manage ethernet with discover (2.x) but to no avail. I do however get sound if i run alsaconf with discover1 and then alsamixer. How can i get around this? either by making sound work with discover1 or by making ethernet work with discover... It's a real pain in the ass, thanks.

Oh btw, whenever i do apt-get install discover it loads 4 modules and messes with my screen (background and buttons disappear, and if i'm in the console my entier screen goes black, i just see the cursor). Both lspci outputs using discover1 and discover (2.x) are the same so it's prett wierd... thanks again.

EDIT: BTW using nforce2 chipset for both sound and ethernet, without installing anything else, but it worked once like this (then stopped working).

Last edited by bobbens; 01-02-2005 at 03:42 PM.
 
Old 01-03-2005, 04:49 AM   #2
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
Hi.
sorry I dont know much about discover but what happens if you load the modules manually?
for your network: modprobe forcedeth
sound: modprobe snd-intel8x0;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
 
Old 01-03-2005, 07:31 AM   #3
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
loading them manually doesn't do anything, because discover already loads them. I was thinking that the best way to work with this is to get sound working with discover1. If i manually alsaconf to configure alsa every reboot it works, but there should be a way to automatically do this. Every time i run alsaconf it rewrites the mod list, but when discover runs at boot time it overwrites it screwing up the past configuration. What do you think could be a solution?
 
Old 01-03-2005, 08:02 AM   #4
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
I would disable discover, you actually don't need it. So, disable discover and load the modules using /etc/modules.conf. The only disadvantage using this method is that new hardware isn't automatically detected.
 
Old 01-03-2005, 08:15 AM   #5
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
Can you disable it or do you mean apt-get remove discover1? I'll try it, then by running alsaconfig it'll stay permanent, and when i get new hardware i'll just reinstall discover and get it working. Hope this works, thanks.

BTW does discover play an important role in usb hardware detection?
 
Old 01-03-2005, 10:03 AM   #6
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
Well, you actually don't have to reinstall discover when you get new hardware. As I said, the only disadvantage of not using discover is that hardware isn't "automatically" detected an installed. So, when you add new hardware you just have to install it manually (by loading the correct module via '/etc/modules). This way you can actually control which modules are loaded and which are not. Plus, it gives you some insight how Linux actually works. It may be a bit of practice (and a lot of reading), but knowing what a system actually does is an advantage for me. This way it's also easier to troubleshoot things when they don't work.

Try to search (on Google for example) on how to load modules using Debian. It's worth it.
 
Old 01-03-2005, 10:50 AM   #7
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
Thatś wierd, i just rebooted without discover1 and after using alsaconf and my alsa still didn't load at boot time... Might be some program conflict or something like that. About hte modules, i'll try to manually load them, but if i can't get one to load sometime then i'll resort to my discover to do the dirty work for me .
 
Old 01-03-2005, 11:56 AM   #8
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
About the ALSA problem, do you actually save the ALSA settings after configuring them? If I recall correctly there is a program called 'alsastore' (or something like that) that you have to run after you've configured ALSA.
 
Old 01-03-2005, 01:49 PM   #9
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
I thought alsa automatically saved when you logged off, that it was in the shutdown script to automatically save, sorta like saving the mixer settings and things like that. I tried alsastore and alsasave, neither worked. Maybe there is another command.
 
Old 01-03-2005, 03:29 PM   #10
elias4444
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
What typically happens in this situations is that discover AND/OR hotplug are loading the older OSS drivers for your sound card and then trying to load the ALSA drivers on top of it (which, obviously, doesn't work). Both discover and hotplug have a method to "blacklist" specific drivers. For discover, you have to edit the file /etc/discover.conf and add "skip <old oss driver module>" at the end (for me, it's "skip maestro3"). In hotplug, you can edit /etc/hotplug/blacklist and add the name of the old oss driver module at the end of the long list (for me, it's "maestro3").

To figure out which driver name to add to them, type lsmod at the prompt and find the module that has the same name as your alsa driver, but without the "SND_" on the front of it (the alsa drivers typically put snd_ at the beginning of the name now). You can also watch discover and hotplug as the system boots up to try and catch the name in the text that flys by.

Hope that helps. It sure works for me (on multiple systems).

P.S. after doing this, alsaconf will save your settings correctly.
 
Old 01-03-2005, 03:29 PM   #11
McCloud
Member
 
Registered: Sep 2004
Distribution: Debian Etch
Posts: 179

Rep: Reputation: 30
What happens if you store your ALSA settings using the command 'alsactl store' (that is the correct command, I was at work behind a Windows machine when I typed my last reply, so I couldn't check the command)?
 
Old 01-03-2005, 03:46 PM   #12
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Original Poster
Rep: Reputation: 30
That works, i'll check next time i restart, thanks.
 
  


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
Fedora Sound Woes Ekpyrotic Linux - Hardware 6 02-22-2005 02:09 PM
More Debian sound woes... growse Debian 3 05-10-2004 07:11 PM
Sound Woes Igman Linux - Hardware 2 08-18-2003 08:52 PM
sound card woes WMUAsig Linux - Hardware 1 06-22-2003 06:53 PM
sound driver woes cfool Linux - Software 2 05-28-2003 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:49 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