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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
05-06-2003, 08:13 AM
|
#16
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Download the 2.4.20 kernel source and have a look at file:/usr/src/linux-2.4.20/Documentation/sound/ESS1868.
|
|
|
05-06-2003, 07:16 PM
|
#17
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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?
|
|
|
05-06-2003, 07:32 PM
|
#18
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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 07:34 PM.
|
|
|
05-06-2003, 07:50 PM
|
#19
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
05-06-2003, 08:28 PM
|
#20
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
should /usr/src/linux-2.4.20/Documentation/sound/ESS1868 exist on my harddrive, because it doesnt
|
|
|
05-06-2003, 08:43 PM
|
#21
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
05-06-2003, 09:11 PM
|
#22
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
and where might i find a 2.4.20 kernel source to download?
|
|
|
05-06-2003, 09:49 PM
|
#24
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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
|
|
|
05-06-2003, 10:50 PM
|
#25
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
05-06-2003, 10:52 PM
|
#26
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
05-07-2003, 06:36 AM
|
#27
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Rep:
|
An SB Live card costs about $30 USD.
|
|
|
05-07-2003, 05:44 PM
|
#28
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
So if i buy a SBLive, will it auto detect it or must i still install isapnp or something?
|
|
|
05-07-2003, 07:01 PM
|
#29
|
Member
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805
Rep:
|
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*.
|
|
|
05-07-2003, 07:37 PM
|
#30
|
Member
Registered: Mar 2003
Location: Boston Area
Distribution: Ubuntu (Edgy)
Posts: 247
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|