From owner-freebsd-mobile@FreeBSD.ORG Sat Mar 31 18:15:11 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0244416A404 for ; Sat, 31 Mar 2007 18:15:11 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mx1.freebsd.org (Postfix) with ESMTP id B712613C455 for ; Sat, 31 Mar 2007 18:15:10 +0000 (UTC) (envelope-from lars@e.0x20.net) Received: by mail.0x20.net (Postfix, from userid 1002) id 2CEE838DD3; Sat, 31 Mar 2007 20:15:09 +0200 (CEST) Date: Sat, 31 Mar 2007 20:15:09 +0200 From: Lars Engels To: "Craig St. Jean" Message-ID: <20070331181509.GF54027@e.0x20.net> References: <20070325064132.GA6682@neptune.cs.kent.edu> <4609A300.8070004@cs.kent.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Clx92ZfkiYIKRjnr" Content-Disposition: inline In-Reply-To: <4609A300.8070004@cs.kent.edu> X-Editor: VIM - Vi IMproved 7.0 X-Operation-System: FreeBSD 5.5-RELEASE User-Agent: Mutt/1.5.11 Cc: imp@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: Toshiba Cardbus X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 18:15:11 -0000 --Clx92ZfkiYIKRjnr Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 27, 2007 at 07:04:32PM -0400, Craig St. Jean wrote: > Success!! My road to getting things working was not easy though. I > actually tried installing Gentoo to see if that worked, however it > did not. After booting Gentoo with pci=3Dassign-busses (or something like > that), it was able to show me the correct subordinate value via lspci > (was previously 7, should have been 9). >=20 > Excited after seeing that, I quickly reinstalled FreeBSD to try to fix > the problem. Going through dmesg one can see that my cardbus is on pci > bus 5 (pcib5). I then did a "pciconf -l | grep pcib5" and saw that the > bus is actually pci0:30:0. Googling has shown me that to change the > subordinate value, you use hex value 0x1a. >=20 > Then the magic: pciconf -wb pci0:30:0 0x1a 9 > FreeBSD proceeded to load up the Atheros drivers and life is once again > happy! >=20 > I hope this helps someone out -- a little tinkering around and one could > probably not need to install Gentoo just to find out the correct values > (I only went that route to see if it even worked with it). Hi Craig, at last I was able to get my cardbus working with 32 bit cards! :) I followed your advises and in the end the needed values for pciconf were= =20 almost the same like yours. Have you added the pciconf command to a start script? Where is the best place to put it, so that the wireless device comes up soon enough? But I have one issue: This all only works with a 7-current kernel from January. I also have a recent current GENERIC kernel which doesn't seem to support the cardbus _and_ pccard bus at all. An old 16-bit wi(4) card was always recognized but with that new kernel even with that card nothing happens when I insert it. dmesg doesn't show anything. Can someone second this? But anyway, thanks a lot, Craig! Lars --Clx92ZfkiYIKRjnr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGDqUtKc512sD3afgRAjuBAKCCgXYlK6H49S6d9cwA4Cmxxy+hagCfVLSp YU1OncKymxUbM7Jv6MsGKwQ= =cv3R -----END PGP SIGNATURE----- --Clx92ZfkiYIKRjnr--