LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-07-2005, 07:13 PM   #1
one.sick.tzim
LQ Newbie
 
Registered: Mar 2005
Location: /home/one.sick.tzim
Distribution: Fedora Core 4
Posts: 26

Rep: Reputation: 15
Fedora & Sound Blaster


I am running Fedora Core 1 (very recently installed) and am having trouble with my soundcard. I have a SoundBlaster Live! card from about 2002 or so, and for some reason Fedora refuses to detect it. Any ideas?
 
Old 03-07-2005, 08:52 PM   #2
trivas7
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
What version of SB Live are you using? If you are using a later model 24-bit 7.1 it does not use the standard audigy emu10k1 chipset. It uses a different driver, the ca0106. However, sound is choppy & I think I'll be looking for a SB Live 5.1.

If it's a 5.1 I would run kudzu and modprobe emu10k1 to see if Fedora can find the driver. Good luck!
 
Old 03-07-2005, 11:22 PM   #3
one.sick.tzim
LQ Newbie
 
Registered: Mar 2005
Location: /home/one.sick.tzim
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Sorry I am new to Linux (relatively) and that last bit escaped me. As for what flavor of SB I am using... er... its NOT a later model by any means - circa 2001 - 2002 at the latest. I think its 5.1. How do I do this part here: kudzu and modprobe emu10k1 to see if Fedora can find the driver.
 
Old 03-08-2005, 12:20 AM   #4
streich
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
Aside from the obvious:
"modprobe emu10k1"

Alright, first run (that is type at the command line:
lspci > pci
lsmod > mods

And then post with the output of each, if the following doesn't help:
modprobe emu10k1

You may also want to make sure that if your motherboard has a soundcard built in, it is turned off in BIOS as well.
 
Old 03-08-2005, 12:26 AM   #5
one.sick.tzim
LQ Newbie
 
Registered: Mar 2005
Location: /home/one.sick.tzim
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
I tried running

lspci > pci
lsmod > mods
and finally
modproble emu10k1

from the command line as a user and su and got "command not found" all three times.
 
Old 03-08-2005, 01:08 AM   #6
streich
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
Did you run them as root (sorry, I should have mentioned that before). Note that the greater than sign is a redirect of out put. ls > files for instance will create a file called files with the stuff you'd expect ls to print.

lspci should return something like this:
Code:
0000:00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 12)
0000:00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 12)
0000:00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12)
0000:00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 12)
0000:00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 12)
0000:00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 12)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
0000:02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
0000:02:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
0000:02:0a.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)
0000:02:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
0000:02:0b.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
Red section is what your looking for... The numbers at the front will be different for you, as that is where your card is installed in your machine.

lsmod lists currently installed kernel modules (drivers). The relavent part of mine looks like:
Code:
snd_emu10k1            82056  1 
snd_rawmidi            21540  1 snd_emu10k1
snd_pcm                81156  2 snd_pcm_oss,snd_emu10k1
snd_timer              22404  1 snd_pcm
snd_seq_device          8328  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         64720  1 snd_emu10k1
snd_page_alloc          9352  2 snd_emu10k1,snd_pcm
snd_util_mem            5376  1 snd_emu10k1
snd_hwdep               9220  1 snd_emu10k1
emu10k1_gp              4736  0 
gameport                5632  1 emu10k1_gp
A set of similar drivers should show up if your sound card's drivers are installed.

modprobe will load kernel modules that are already installed on your system, but are not currently loaded. modprobe should complain if:
1.) The modules are not on your machine at all
2.) The modules are not installed though they are built

First, let's see if they are loaded and/or installed.

Last edited by streich; 03-08-2005 at 01:26 AM.
 
Old 03-08-2005, 08:12 PM   #7
one.sick.tzim
LQ Newbie
 
Registered: Mar 2005
Location: /home/one.sick.tzim
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
I logged into root via the SU command and tried this three commands again, and still I get "Command not found". Not sure what in the world is going on here. What shell should I be in? I'm in bash at the home, home directory of a user.
 
Old 03-08-2005, 08:54 PM   #8
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It seems that Redhat and Fedora are too lazy to set the path correctly. Usually modprobe is located in /sbin, so type /sbin/modprobe to run it.
 
Old 03-08-2005, 11:19 PM   #9
streich
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
Ah, you did you "su" or "su -" the later gets your root enviroment variables, the former just permissions.
 
Old 03-08-2005, 11:33 PM   #10
one.sick.tzim
LQ Newbie
 
Registered: Mar 2005
Location: /home/one.sick.tzim
Distribution: Fedora Core 4
Posts: 26

Original Poster
Rep: Reputation: 15
Ah! Okay, I used su - instead of su and it worked. Sorta.
lspci > pci and lsmod > mods returned nothing, not even an error message. However modprobe emu10k1 returned the following:

/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sound/emu10k1/emu10k1.o failed
/lib/modules/2.4.22-1.2115.nptl/kernel/drivers/sound/emu10k1/emu10k1.o: insmod emu10k1 failed

Does that help explain anything at all?
 
Old 03-09-2005, 12:00 AM   #11
streich
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
remember what I said about redirect, the file pci (in whatever directory you ran lspci > pci) contains the output and mods (in whatever directory you ran lsmod > mods) will have your current modules.
 
Old 03-09-2005, 12:02 AM   #12
streich
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
Only that:
" You may find more information in syslog or the output from dmesg "
dmesg prints log messages about hardware and their drivers.
 
Old 03-09-2005, 12:05 AM   #13
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I think you already have snd_emu10k1 (alsa version) loaded, so loading up emu10k1 (oss version) will fail. I suggest using the alsa version because you have a much better control on what you can do with it. People will disagree.

I think all you need to do is to use alsamixer to adjust the settings and play a sound file, but I can not be sure because you stated "I'm having trouble with my sound card" does not mean anything without really explaining in detail why you are having trouble. However you could be using the DELL version which will not work with the emu10k1. ALSA has software for the DELL version.

Check in the /proc directory for a directory called asound. Look in the asound directory. If card0 links to your sound card, it is working. I suggest being as a normal user when looking through the /proc directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Alsa && Sound blaster 5.1 DarkNeo Linux - Hardware 12 10-09-2005 05:56 PM
Sound Blaster remote, emu10k1, fedora 4 gonnafail Linux - Hardware 0 09-28-2005 07:03 PM
Fedora Core 2 - Sound Blaster Live! awk-m4 Linux - Hardware 10 07-01-2004 09:59 PM
Sound Blaster Audigy 2 w/ Fedora 1 Darkest Genesis Linux - Hardware 3 05-15-2004 06:48 PM
Sound Blaster Live Value & Slack8.0 milos Linux - Hardware 1 05-05-2002 09:56 PM


All times are GMT -5. The time now is 05:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration