From owner-freebsd-mobile Wed Mar 15 13: 6:19 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id CA4FF37BC48 for ; Wed, 15 Mar 2000 13:06:12 -0800 (PST) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id XAA82547; Wed, 15 Mar 2000 23:06:00 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200003152106.XAA82547@zibbi.mikom.csir.co.za> Subject: Re: No PC-CARD Slots; Device Not Configured In-Reply-To: <200003150741.AAA81106@harmony.village.org> from Warner Losh at "Mar 15, 2000 00:41:14 am" To: imp@village.org (Warner Losh) Date: Wed, 15 Mar 2000 23:06:00 +0200 (SAT) Cc: freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Wound up being impatient, and rewrote it. Turns out I didn't have the > cardbus pci card in the unit I sent to be repaired. This is lightly > tested. Looks a lot like the pd6832 version, but is different in a > few subtle ways. I suspect that we always want to do most, if not > all, of what I'm doing here. Will save us some grief no doubt. Maybe > even have a suspend/resume code to do something similar to help > some newer laptops a little before we get acpi. > Ok, I tried your patch and I'm getting a lot further. Pieces of dmesg looks like this: --------------- pcic-pci0: mem 0xea108000-0xea108fff irq 9 at device 10.0 on pci0 pcic-pci1: mem 0xea10c000-0xea10cfff irq 9 at device 10.1 on pci0 ... pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 ... pccard: card inserted, slot 0 pccard: card inserted, slot 1 --------------- Seems a little strange that it thinks there is a card inserted in slot1, seeing that there isn't a slot1. :-) Then when I run pccardd (with "debuglevel 4" in /etc/pccard.conf), I get this and then the machine hangs solid. ------- pccardd[252]: Using I/O addr 0x240, size 64 pccardd[252]: Setting config reg at offs 0x3e0 to 0x41, Reset time = 50 ms pccardd[252]: Assigning I/O window 0, start 0x240, size 0x40 flags 0x5 pccardd[252]: Assign wi0, io 0x240-0x27f, mem 0x0, 0 bytes, irq 9, flags 0 wi0: at port 0x240-0x27f irq 9 slot 0 on pccard0 wi0: Ethernet address: 00:60:1d:f1:45:11 ------- I have booted the machine without the WaveLAN card plugged in and then I only get "pccard: card inserted, slot 1" and not slot 0. I have also tried to run pccardd without the WaveLAN card being plugged in and then the machine would also hang without any messages from pccardd. Is there a way to disable the second slot or tell pccardd to ignore it? It looks like it might be part of my problem. I have the following in my kernel config file: device card device pcic0 at isa? port 0x3e0 iomem 0xd0000 And I have "irq 9" in my /etc/pccard.conf because this is the interrupt that is given to the PCI card. John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message