LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-28-2004, 09:13 PM   #1
ak4me
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Rep: Reputation: 0
Installing Debian 3.0r2, and ES1370 sound card question


Debian GNU/Linux 3.0r2 using the 2.4 kernel and
Ensoniq AudioPCI / SoundBlaster PCI (ES1370)



I installed Debian (w/ KDE) once before and received messages referring to the sound card not being found in KDE. I was installing Debian a second time, and noticed a module in kernel/drivers/sound module/es1470 .....

Do I select this module and install it during installation, or do I not, ... and is there a better way to get this soundcard to work??? Very confused about this.
 
Old 03-28-2004, 11:50 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Re: Installing Debian 3.0r2, and ES1370 sound card question

Quote:
Originally posted by ak4me
Debian GNU/Linux 3.0r2 using the 2.4 kernel and
Ensoniq AudioPCI / SoundBlaster PCI (ES1370)



I installed Debian (w/ KDE) once before and received messages referring to the sound card not being found in KDE. I was installing Debian a second time, and noticed a module in kernel/drivers/sound module/es1470 .....

Do I select this module and install it during installation, or do I not, ... and is there a better way to get this soundcard to work??? Very confused about this.
Looks like you should just have to load the module by putting it on a line in the file /etc/modules after install or there should be a es1370 option during install at least there is in the config on my Woody box.

Code:
stephen@SleepyTux:~$ grep ES1370 /boot/config-2.4.18-bf2.4
CONFIG_SOUND_ES1370=m
 
Old 03-29-2004, 01:14 PM   #3
ak4me
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I'm a serious newbee here..... how do I check to see if my kernel is loading the ES1470 module or not?
 
Old 03-29-2004, 04:42 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by ak4me
I'm a serious newbee here..... how do I check to see if my kernel is loading the ES1470 module or not?
Uh that would be ES1370 right?? To check if a module is loaded use lsmod in a console window it will give you output similar to this.
Code:
>$ lsmod
Module                  Size  Used by
snd_pcm_oss            48516  0
snd_mixer_oss          15936  4 snd_pcm_oss
nvidia               2070376  12
apm                    15268  2
snd_emu10k1            63172  3
snd_rawmidi            19648  1 snd_emu10k1
snd_pcm                83520  2 snd_pcm_oss,snd_emu10k1
snd_timer              20928  1 snd_pcm
snd_seq_device          6596  2 snd_emu10k1,snd_rawmidi
snd_ac97_codec         54724  1 snd_emu10k1
snd_page_alloc          9540  2 snd_emu10k1,snd_pcm
snd_util_mem            3456  1 snd_emu10k1
snd_hwdep               7296  1 snd_emu10k1
snd                    46468  10 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep
uhci_hcd               28360  0
ohci_hcd               16064  0
ehci_hcd               22784  0
evdev                   8256  0
videodev                7680  0
via686a                17028  0
i2c_sensor              2496  1 via686a
i2c_isa                 1984  0
i2c_core               18304  3 via686a,i2c_sensor,i2c_isa
nls_iso8859_15          4608  0
sidewinder             10496  0
emu10k1_gp              2496  0
joydev                  9152  0
gameport                3840  2 sidewinder,emu10k1_gp
sound                  75496  0
soundcore               7584  5 snd,sound
parport_pc             25248  1
lp                      8964  0
parport                36032  2 parport_pc,lp
tulip                  38368  0
crc32                   4096  1 tulip
Then you look for the name of the module you want to see loaded in the list. If it is not there then use su to become root and then modprobe es1370 should load the module you can use lsmod again to confirm the loading and hopefully see a 1 on the line beside it meaning it is in use and while still root edit the /etc/modules file to put the module name on a line by itself save the file and it will be loaded everytime you boot.
 
Old 03-30-2004, 12:15 AM   #5
ak4me
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Stephen,

Yes, your correct, es1370. I logged in as root and entered the command lsmod. I received the following:

Module Size Used by Not tainted

(I'm guessing NO modules are installed???)

I then entered modprobe es1370 and received this:

es1370: version v0.37 time 10:28:23 April 14 2002
PCI: Found IRQ5 for device 00:09.0
es1370: Found adapter at io 0xe800 irq5
es1370: Features: joystick off, line in, mic impedance 0


I then entered the command lsmod again, and received this:

Module Size Used by Not tainted
es1370 27312 0 [unused]
gameport 1308 0 [es1370]
soundcore 3236 4 [es1370]


Does this mean the kennel is not loading the module during boot? Further, is this what I need to do to get the sound card recognized? Thanks again for your time.

(BTW, during the installation of Debian there was an option of adding modules to the kernel. Should I have added es1370? Would it be better to reinstall the OS, or would adding the line in /etc/modules do the same thing?)

Last edited by ak4me; 03-30-2004 at 12:19 AM.
 
Old 03-30-2004, 01:18 AM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by ak4me
Stephen,

Yes, your correct, es1370. I logged in as root and entered the command lsmod. I received the following:

Module Size Used by Not tainted

(I'm guessing NO modules are installed???)



That is a strange one you would expect to see at least a couple there.


Quote:
I then entered modprobe es1370 and received this:

es1370: version v0.37 time 10:28:23 April 14 2002
PCI: Found IRQ5 for device 00:09.0
es1370: Found adapter at io 0xe800 irq5
es1370: Features: joystick off, line in, mic impedance 0


I then entered the command lsmod again, and received this:

Module Size Used by Not tainted
es1370 27312 0 [unused]
gameport 1308 0 [es1370]
soundcore 3236 4 [es1370]
Good the module loads without error you should put an entry for it in the /etc/modules.

Quote:
Does this mean the kennel is not loading the module during boot? Further, is this what I need to do to get the sound card recognized? Thanks again for your time.
Yes that is right it is not loaded at the moment at boot until you make the change in the file mentioned above then it will get loaded. Your sound card should be recognized the soundcore module is using it. Have you added yourself to the audio group yet? If not then as root adduser user_name audio and you may want to add yourself to the video, floppy, cdrom and src groups if you are not already a member to check logged in as your normal user use the groups command. Once you have added yourself to the groups you would have to logout and back into whatever shell/desktop you are using for the change to take effect you should then try to play a test sound.

Quote:

(BTW, during the installation of Debian there was an option of adding modules to the kernel. Should I have added es1370? Would it be better to reinstall the OS, or would adding the line in /etc/modules do the same thing?)
Yes that is what you are supposed to do if you want them inserted into the kernel eg. not loaded as a module. There is no need to reinstall it just means any support that is not built into the kernel that you need you will have to keep adding them to the /etc/modules to have them loaded.
 
Old 03-30-2004, 08:48 AM   #7
ak4me
LQ Newbie
 
Registered: Mar 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Okay, I edited /etc/modules and its loading during boot. Thank you for the suggestion of adding myself to the audio group, etc. as I would have becomes stuck and would have wondered why sound wasn't working!

I just tried playing a CD, and although it doesn't sound as "clear" as it does in Windows NT, it does play and that's more than good enough for me. (I'm not a gamer.)

I guess I can see situations where someone might want to load a few modules instead of having them built into the kernel. One situation would be if you upgrade perennials often, or something like that.

Well thank you again, I sincerely appreciate you taking the time to help me out with this.
 
  


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
Problem installing Debian woody 3.0r2 on a 200GB HDD pavlidisd Debian 10 11-27-2004 11:04 AM
Debian 3.0r2 harley51 Debian 4 08-28-2004 07:51 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
How install Kernel 2.6.5 in Debian 3.0r2 velan Debian 11 04-18-2004 12:52 AM
Wierd ES1370/BTTV sound issue dudaman Linux - General 2 02-21-2002 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:28 AM.

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