Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-2007, 03:55 AM
André Hänsel
 
Posts: n/a
Default ISA-PnP and IRQ

Hi,

I'm trying to get an "Audio Excel AV310" with CMI8330A chipset to work.

My problem was:
modprobe snd-cmi8330
FATAL: Error inserting snd_cmi8330
(/lib/modules/2.6.8-3-686/kernel/sound/isa/snd-cmi8330.ko): No such
device

So I read around a bit and found out, that apperently I have to
configure the card using pnpdump and isapnp.

So I built this:
----------
# (DEBUG)
(READPORT 0x0273)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

(CONFIGURE CMI0001/16777472 (LD 0

(IO 0 (SIZE 8) (BASE 0x0530))
(IO 1 (SIZE 8) (BASE 0x0388))
(INT 0 (IRQ 12 (MODE +E)))
(DMA 0 (CHANNEL 0))

(NAME "CMI0001/16777472[0]{CMI8330. Audio Adapter}")
(ACT Y)
))

#(CONFIGURE CMI0001/16777472 (LD 1

#(IO 0 (SIZE 2) (BASE 0x0330))
#(INT 0 (IRQ 9 (MODE +E)))
#(NAME "CMI0001/16777472[1]{CMI8330. Audio Adapter}")
#(ACT Y)
#))

#(CONFIGURE CMI0001/16777472 (LD 2

#(IO 0 (SIZE 8) (BASE 0x0200))
#(NAME "CMI0001/16777472[2]{CMI8330. Audio Adapter}")
#(ACT Y)
#))

#(CONFIGURE CMI0001/16777472 (LD 3

#(IO 0 (SIZE 16) (BASE 0x0220))
#(INT 0 (IRQ 5 (MODE +E)))
#(DMA 0 (CHANNEL 1))
#(DMA 1 (CHANNEL 5))

#(NAME "CMI0001/16777472[3]{CMI8330. Audio Adapter}")
#(ACT Y)
#))

(WAITFORKEY)
----------

Now I have two questions:

1. Does anyone know why running isapnp with the above does not solve my
initial problem?
2. When I uncomment the second LD-block in the configuration, isapnp
tells me that the IRQ is in use. Of course it is in use, almost all
IRQs are in use. What about IRQ sharing or something... since in
Windows it works!

Regards,
André

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-26-2007, 12:31 AM
imotgm
 
Posts: n/a
Default Re: ISA-PnP and IRQ

On Wed, 24 Jan 2007 20:55:46 -0800, André Hänsel
wrote:

> Hi,
>
> I'm trying to get an "Audio Excel AV310" with CMI8330A chipset to work.
>
> My problem was:
> modprobe snd-cmi8330
> FATAL: Error inserting snd_cmi8330
> (/lib/modules/2.6.8-3-686/kernel/sound/isa/snd-cmi8330.ko): No such
> device
>
> So I read around a bit and found out, that apperently I have to
> configure the card using pnpdump and isapnp.
>
> So I built this:
> ----------
> # (DEBUG)
> (READPORT 0x0273)
> (ISOLATE PRESERVE)
> (IDENTIFY *)
> (VERBOSITY 2)
> (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING
>
> (CONFIGURE CMI0001/16777472 (LD 0
>
> (IO 0 (SIZE 8) (BASE 0x0530))
> (IO 1 (SIZE 8) (BASE 0x0388))
> (INT 0 (IRQ 12 (MODE +E)))
> (DMA 0 (CHANNEL 0))
>
> (NAME "CMI0001/16777472[0]{CMI8330. Audio Adapter}")
> (ACT Y)
> ))
>
> #(CONFIGURE CMI0001/16777472 (LD 1
>
> #(IO 0 (SIZE 2) (BASE 0x0330))
> #(INT 0 (IRQ 9 (MODE +E)))
> #(NAME "CMI0001/16777472[1]{CMI8330. Audio Adapter}")
> #(ACT Y)
> #))
>
> #(CONFIGURE CMI0001/16777472 (LD 2
>
> #(IO 0 (SIZE 8) (BASE 0x0200))
> #(NAME "CMI0001/16777472[2]{CMI8330. Audio Adapter}")
> #(ACT Y)
> #))
>
> #(CONFIGURE CMI0001/16777472 (LD 3
>
> #(IO 0 (SIZE 16) (BASE 0x0220))
> #(INT 0 (IRQ 5 (MODE +E)))
> #(DMA 0 (CHANNEL 1))
> #(DMA 1 (CHANNEL 5))
>
> #(NAME "CMI0001/16777472[3]{CMI8330. Audio Adapter}")
> #(ACT Y)
> #))
>
> (WAITFORKEY)
> ----------
>
> Now I have two questions:
>
> 1. Does anyone know why running isapnp with the above does not solve my
> initial problem?
> 2. When I uncomment the second LD-block in the configuration, isapnp
> tells me that the IRQ is in use. Of course it is in use, almost all
> IRQs are in use. What about IRQ sharing or something... since in
> Windows it works!


ISA cards can't share an IRQ with PCI cards. You need to reserve the IRQ
for your ISA device in BIOS. Below is a clip from instructions for
reserving the IRQ for an ISA SCSI card in an Award BIOS. You'll have to
change the particulars for your own device, but the "pattern" should be
useable.

================================================== =======================

The following is for an Award bios; Phoenix, Ami, and others will have
something similar.

On boot-up, hit [Delete] to enter bios;
Choose "PnP/PCI Configurations" from the menu; [Enter]
Choose "IRQ Resources" [Enter}
Choose "IRQ xx -assigned to" (where xx=the irq you set on the card
dip-switch). [Enter]
From the pop-up menu, choose "Legacy ISA" [Enter] [Esc]
Choose "Reset Configuration Data" [Enter]
From the pop-up menu, choose "Both" [Enter] [Esc]
Choose "Save & Exit Setup" [Enter]
Pop-up "Save To CMOS & Exit (Y/N)"
Enter "Y" [Enter]

================================================== ==================

Your information above indicates IRQ 12 for LD 0, IRQ 9 for LD 1, and IRQ
5 for LD 3. Most cards would require only one of these blocks to be
un-commented, so choose the IRQ from that block. If more than one block
must be un-commented, to activate additional features of the card, then
the IRQ of each block used must also be reserved. Your card documentation
should indicate if this is so. It is possible that you need all three IRQ
numbers reserved, to fully activate this card.

HTH

--
imotgm
"Lost? Lost? I've never been lost... Been a tad confused for a
month or two, but never lost."
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:36 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.