[MLB-WIRELESS] Richoh RL5c475 and IRQ

Ben Grech bgrech at optushome.com.au
Sat Jul 26 11:55:45 EST 2003


Hi Craig,

I'm having a similar problem on my Abit NF7-S motherboard with the same
cradle and an Orinoco Gold card under Windows XP. I came to the conclusion
that the PCI IRQs (and lack of ISA IRQs) mean legacy PCMCIA devices wont
work, since they require ISA interrupts.

> Jul 26 10:20:49 ganesh kernel:     host opts [0]: [pci only] [io 3/6/1]
[mem 3/6/1] [no pci irq] [lat 32/32] [bus 2/2]

This possibly lends weight to my theory above - the Veritech is a PCMCIA
device and needs ISA interrupts. The cradle is being fed PCI interrupt 17
(which is oddly the same one my cradle gets) but the Veritech card can't
make use of this.

PCI interrupts are new to me so I might be babbling, but it seems we've got
similar problems despite the different hardware and software?

Cheers,
Ben.

----- Original Message ----- 
From: "Craig Sanders" <cas at taz.net.au>
To: <melbwireless at wireless.org.au>
Sent: Saturday, July 26, 2003 11:07 AM
Subject: [MLB-WIRELESS] Richoh RL5c475 and IRQ


>
> i can't seem to get pcmcia-cs to recognise which IRQ my Ricoh RL5c475 is
on.
>
> any clues would be appreciated...
>
>
> system is an athlon 2000, Gigabyte 7VA m/b, with 1GB RAM, running debian
> unstable.  kernel is 2.4.21.  pcmcia-cs version is 3.2.2.  hostap version
is
> latest from CVS.
>
> lspci -vv shows:
>
> 00:09.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
>     Subsystem: CARRY Computer ENG. CO Ltd: Unknown device 0101
>     Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
>     Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
>     Latency: 32
>     Interrupt: pin A routed to IRQ 17
>     Region 0: Memory at de005000 (32-bit, non-prefetchable) [size=4K]
>     Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
>     Memory window 0: de000000-de001000 (prefetchable)
>     Memory window 1: de002000-de003000 (prefetchable)
>     I/O window 1: 0000c800-0000cc03
>     BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
>     16-bit legacy interface ports at 0001
>
> /etc/default/pcmcia has:
>
> # Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
> PCMCIA=yes
> PCIC=i82365
> PCIC_OPTS="irq_mode=0 pci_irq_list=17,20"
> #PCIC_OPTS=
> CORE_OPTS=
> CARDMGR_OPTS=
>
>
> 'cardctl ident' shows:
>
> Socket 0:
>   product info: "INTERSIL", "HFA384x/IEEE", "Version 01.02", ""
>   manfid: 0x0156, 0x0002
>   function: 6 (network)
>
> the card is a Veritech VAC2511-D (rebadged Senao).
>
>
> running "/etc/init.d/pcmcia start" shows this:
>
> Jul 26 10:20:48 ganesh kernel: Linux PCMCIA Card Services 3.2.2
> Jul 26 10:20:48 ganesh kernel:   kernel build: 2.4.21 unknown
> Jul 26 10:20:48 ganesh kernel:   options:  [pci] [cardbus] [apm]
> Jul 26 10:20:49 ganesh kernel: Intel ISA/PCI/CardBus PCIC probe:
> Jul 26 10:20:49 ganesh kernel:   Ricoh RL5C475 rev 80 PCI-to-CardBus at
slot 00:09, mem 0xde005000
> Jul 26 10:20:49 ganesh kernel:     host opts [0]: [pci only] [io 3/6/1]
[mem 3/6/1] [no pci irq] [lat 32/32] [bus 2/2]
> Jul 26 10:20:49 ganesh kernel:     *NO* card interrupts, polling interval
= 1000 ms
>
> "no pci irq".  not good.  so, of course, hostap_cs can't talk to the card:
>
> Jul 26 10:20:49 ganesh kernel: cs: memory probe 0xa0000000-0xa0ffffff:
clean.
> Jul 26 10:20:49 ganesh kernel: hostap_crypt: registered algorithm 'NULL'
> Jul 26 10:20:50 ganesh kernel: hostap_cs: CVS (Jouni Malinen
<jkmaline at cc.hut.fi>)
> Jul 26 10:20:50 ganesh kernel: hostap_cs: setting Vcc=33 (constant)
> Jul 26 10:20:50 ganesh kernel: hostap_cs: CS_EVENT_CARD_INSERTION
> Jul 26 10:20:50 ganesh kernel: prism2_config()
> Jul 26 10:20:50 ganesh kernel: hostap_cs: setting Vcc=33 (from config)
> Jul 26 10:20:50 ganesh kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
> Jul 26 10:20:50 ganesh kernel: IO window settings: cfg->io.nwin=1
dflt.io.nwin=1
> Jul 26 10:20:50 ganesh kernel: io->flags = 0x0046, io.base=0x0000, len=64
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x200-0x207 0x330-0x337 0x4d0-0x4d7
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0208-0x032f: clean.
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0338-0x04cf: clean.
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x04d8-0x04ff: clean.
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0800-0x08ff: excluding
0x800-0x807
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0a00-0x0aff: clean.
> Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0c00-0x0cff: clean.
> Jul 26 10:20:50 ganesh kernel: hostap_cs: RequestIRQ: Resource in use
> Jul 26 10:20:50 ganesh kernel: prism2_release
> Jul 26 10:20:50 ganesh kernel: : card already removed or not configured
during shutdown
> Jul 26 10:20:50 ganesh kernel: release - done
> Jul 26 10:20:51 ganesh kernel: prism2_detach
> Jul 26 10:20:51 ganesh kernel: hostap_free_data: ap has not yet been
initialized - skip resource freeing
>
>
> $ cat /proc/interrupts
>            CPU0
>   0:    3965019    IO-APIC-edge  timer
>   1:      25090    IO-APIC-edge  keyboard
>   2:          0          XT-PIC  cascade
>   4:     103959    IO-APIC-edge  serial
>   8:          4    IO-APIC-edge  rtc
>   9:          0    IO-APIC-edge  acpi
>  14:    3082196    IO-APIC-edge  ide0
>  15:    3107495    IO-APIC-edge  ide1
>  16:          2   IO-APIC-level  bttv
>  17:     185254   IO-APIC-level  eth0
>  18:        210   IO-APIC-level  aic7xxx
>  19:     654375   IO-APIC-level  PCnet/PCI II 79C970A
>  21:        162   IO-APIC-level  usb-uhci, usb-uhci, usb-uhci
>  22:          0   IO-APIC-level  VIA8233
> NMI:          0
> LOC:    3964918
> ERR:          0
> MIS:          0
>
> $ lspci
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
> 00:09.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
> 00:0a.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
> 00:0b.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32
LANCE] (rev 16)
> 00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video
Capture (rev 02)
> 00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture
(rev 02)
> 00:0d.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
(rev 24)
> 00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
> 00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
> 00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
> 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
> 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
> 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus
Master IDE (rev 06)
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97
Audio Controller (rev 50)
> 01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
82)
>
> craig
>
>
> To unsubscribe: send mail to majordomo at wireless.org.au
> with "unsubscribe melbwireless" in the body of the message
>


To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message



More information about the Melbwireless mailing list