From owner-freebsd-mobile Tue Nov 6 21: 9:44 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail4.tor.primus.ca (mx-backup.primus.ca [216.254.136.135]) by hub.freebsd.org (Postfix) with ESMTP id 0D21937B417 for ; Tue, 6 Nov 2001 21:09:40 -0800 (PST) Received: from dialin-135-163.hamilton.primus.ca ([209.90.135.163]) by mail4.tor.primus.ca with esmtp (Exim 2.11 #1) id 161KxY-0003Oy-07; Wed, 7 Nov 2001 00:09:08 -0500 Date: Wed, 7 Nov 2001 00:09:32 -0500 (EST) From: Jason Hunt X-X-Sender: leth@lethargic.dyndns.org To: mobile@FreeBSD.ORG Cc: Trevor Osatchuk , Kevin Oberman , Warner Losh Subject: RE: second pccard slot not working In-Reply-To: <133744861934D411AC3800508B4A89B30C5BFE@comanche.internal.pscl.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This is more or less just my two cents on the issue of the second slot on the pcmcia controller not working, not any kind of resolution or anything. I have a IBM ThinkPad 560E with a Cirrus Logic PD6729 chipset. This laptop contains a single controller with two slots, not two controllers, which got me kind of confused at first as well. My kernel just contains the lines straight from GENERIC. This is the output from dmesg: pcic0: port 0x3e0-0x3e3 \ irq 0 at device 19.0 on pci0 ID is 0x82 ID is 0x82 pcic0: Polling mode pccard0: on pcic0 pccard1: on pcic0 It is seeing two slots (pccard0, pccard1), and first/top slot (slot 0) works, but the second/bottom slot (slot 1) does not. Obviously a lot of changes are being done on the pcic driver now and some things are occasionally broken. :) I did a cvsup last week, November 3rd, and this is when the problem appeared. My previous cvsup sometime in the first week of September, it still worked, so something has been done recently. :) This issue might of even been fixed already, and as far as I know it only affects the Cirrus Logic chipsets, but this is just my speculation from browsing the list. Also from looking through the archives I recall Warner mentioning that you SHOULD be able to just use older files from /usr/src/sys/pccard/ and have it function properly. I think he specified certain .c and .h files, but I can't be for sure about anything. He would know better. :) If your in a scenario where you require both slots, I would suggest using 4.3-RELEASE or a 4.4-STABLE from September (or October?). Fortunately I just use this laptop for playing on, so I'm not too concerned with it personally, as I'm sure it's temperamental. A note to Warner, if you want a guinea pig for this chipset, I'm around. :) On Tue, 6 Nov 2001, Trevor Osatchuk wrote: > Kevin, > > Thanks for the reply, when you say that I would just have to enable the > second controller do you mean the second slot on the first contoller,(i.e. > slot 1 on pcic0) or pcic1? If they are both on pcic0 then I just need to > enable pccard1, correct? How do I do that? > > trev > > -----Original Message----- > From: Kevin Oberman [mailto:oberman@es.net] > Sent: Tuesday, November 06, 2001 4:15 PM > To: Trevor Osatchuk > > > From: Trevor Osatchuk > > Date: Tue, 6 Nov 2001 15:46:11 -0700 > > > > I have 4.4-Release running on a 308d Thinkpad. When I insert a card into > > the first slot, a nic or a compactflash, I see a message in > > /var/log/messages stating that the card was inserted. I can then use the > > nic or mount the flash no problem. However, when I insert a card into the > > second slot nothing happens. I have not compiled a custom kernel, but I > do > > have the source. In the GENERIC kernel it has: > > > > device pcic0 at isa? irq 0 prt 0x3e0 iomem 0xd0000 > > device pcic1 at isa? irq 0 prt 0x3e2 iomem 0xd4000 disable > > > > Does this mean that I have to compile a new kernel and enable the second > > pcic device? From dmesg I get: > > > > pcic0: port 0x3e0-0x3e3 at > > device > > 19.0 on pci0 > > ID is 0x82 > > ID is 0x82 > > pcic0: Polling mode > > pccard0: on pcic0 > > pccard1: on pcic0 > > > > I though that his means two cards on one controller. So, the kernel sees > > two cards, but only enables one? Compile a new kernel? > > You are correct. Each pcic controls two slots and the second > controller is normally for the slots in a docking station or port > expander. > > In any case, the kernel would not need a rebuild. You would just have > to enable the second controller. > > I know that Warner had some problems with the Cirrus Logic CardBus > controller and I also recall that there was a problem with only a > single slot working. I don't recall any details. It's possible that > updating to stable might fix things, but I'm not at all certain. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message