LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-06-2003, 07:13 AM   #16
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58

Download the 2.4.20 kernel source and have a look at file:/usr/src/linux-2.4.20/Documentation/sound/ESS1868.
 
Old 05-06-2003, 06:16 PM   #17
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
hmm, well as i said before i am new to linux. Where could i download the kernel source (i have tried to look on google but im not sure what to look for) and also, how will this file help me?
 
Old 05-06-2003, 06:32 PM   #18
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
it seems to me that before i do anything, i have to learn a bit more about the kernel, how to configure it and how to update/install it. Sure if for now someone can give me step by step instructions for what i need to do to fix my sound that would be great, but can anyone recommend a good kernel newbie guide. I have tried The Kernel HOWTO but i could not follow it If anyone could point me to a good read about kernels, or tell me how to get my sound working , that would be great!

Last edited by DiZASTiX; 05-06-2003 at 06:34 PM.
 
Old 05-06-2003, 06:50 PM   #19
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
SLackware should already have the needed modules in the default install, you don't need to recompile your kernel yet, all you should have to do is load the correct modules and configure the chip with the isapnp tools. The ESS1868 file contains the instructions and an example.
 
Old 05-06-2003, 07:28 PM   #20
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
should /usr/src/linux-2.4.20/Documentation/sound/ESS1868 exist on my harddrive, because it doesnt
 
Old 05-06-2003, 07:43 PM   #21
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
No, the kernel source was left out of slackware 9.0 to save space, thats why I said to download it. You don't need an official slackware kernel source bacause that is just the unmodified kernel source in a slackware package. Just download the 2.4.20 source tarball and extract it to /usr/src/linux-2.4.20.
 
Old 05-06-2003, 08:11 PM   #22
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
and where might i find a 2.4.20 kernel source to download?
 
Old 05-06-2003, 08:11 PM   #23
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
http://www.kernel.org/pub/linux/kernel/
Every kernel version there is, I think.
 
Old 05-06-2003, 08:49 PM   #24
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
Ok i got it off that site, but im gunna need some help understanding it, here is what is in there:

Code:
Documentation for the ESS1868F AudioDrive PnP sound card

The ESS1868 sound card is a PnP ESS1688-compatible 16-bit sound card.

It should be automatically detected by the Linux Kernel isapnp support when you
load the sb.o module. Otherwise you should take care of:

  *  The ESS1868 does not allow use of a 16-bit DMA, thus DMA 0, 1, 2, and 3
     may only be used.

  *  isapnptools version 1.14 does work with ESS1868.  Earlier versions might
     not.

  *  Sound support MUST be compiled as MODULES, not statically linked
     into the kernel.


NOTE: this is only needed when not using the kernel isapnp support!

For configuring the sound card's I/O addresses, IRQ and DMA, here is a
sample copy of the isapnp.conf directives regarding the ESS1868:

(CONFIGURE ESS1868/-1 (LD 1
(IO 0 (BASE 0x0220))
(IO 1 (BASE 0x0388))
(IO 2 (BASE 0x0330))
(DMA 0 (CHANNEL 1))
(INT 0 (IRQ 5 (MODE +E)))
(ACT Y)
))

(for a full working isapnp.conf file, remember the
(ISOLATE)
(IDENTIFY *)
at the beginning and the
(WAITFORKEY)
at the end.)

In this setup, the main card I/O is 0x0220, FM synthesizer is 0x0388, and
the MPU-401 MIDI port is located at 0x0330.  IRQ is IRQ 5, DMA is channel 1.

After configuring the sound card via isapnp, to use the card you must load
the sound modules with the proper I/O information.  Here is my setup:

# ESS1868F AudioDrive initialization

/sbin/modprobe sound
/sbin/insmod uart401
/sbin/insmod sb io=0x220 irq=5 dma=1 dma16=-1
/sbin/insmod mpu401 io=0x330
/sbin/insmod opl3 io=0x388
/sbin/insmod v_midi

opl3 is the FM synthesizer
/sbin/insmod opl3 io=0x388
So my question is...now what...and how lol
 
Old 05-06-2003, 09:50 PM   #25
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Install the isapnptools package from your slackware cd (/slackware/a/isapnptools-1.26-i386-1.tgz), read the docs and look at /etc/isapnp.conf.sample and /etc/isapnp.gone.sample.
 
Old 05-06-2003, 09:52 PM   #26
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
You may want to consider getting a cheap soundblaster pci 128 sound card, isa cards can be a pain to setup but a pci 128 will just work once you load the module.
 
Old 05-07-2003, 05:36 AM   #27
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
An SB Live card costs about $30 USD.
 
Old 05-07-2003, 04:44 PM   #28
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
So if i buy a SBLive, will it auto detect it or must i still install isapnp or something?
 
Old 05-07-2003, 06:01 PM   #29
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
You will have to go into /etc/rc.d/rc.modules and uncomment(remove the #) the line for sblive and then chmod 666 /dev/dsp and chmod 666 /dev/mi*.
 
Old 05-07-2003, 06:37 PM   #30
DiZASTiX
Member
 
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247

Original Poster
Rep: Reputation: 30
well, it would be nice if i got one, but if everytime something didnt work i bought a different one, then i wouldnt learn much would i. I have to at least try to get the one i have working. I got the /slackware/a/isapnptools-1.26-i386-1.tgz from my cd, and found those files ( /etc/isapnp.conf.sample and /etc/isapnp.gone.sample) , but i dont know how to configure them correctly, i guess if i can then my sound might work I just gunna need some help configuring it
 
  


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
Sound server informational message: Error while initializing the sound driver... LA004 Linux - Hardware 4 08-21-2005 08:25 PM
Sound Server Error rapont Slackware 1 07-31-2004 08:40 AM
Sound server fatal error :/ jasonmcneil0 Linux - Newbie 5 10-29-2003 04:22 PM
Sound server error! syncerr Linux - Hardware 1 07-20-2003 11:12 AM
Sound I/O server error Randyland Linux - Newbie 3 08-01-2002 03:58 PM

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

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