From owner-freebsd-mobile@FreeBSD.ORG Sun Mar 25 07:00:13 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 2214316A400 for ; Sun, 25 Mar 2007 07:00:13 +0000 (UTC) (envelope-from cstjean@cs.kent.edu) Received: from mscan1.cs.kent.edu (mscan1.cs.kent.edu [131.123.35.8]) by mx1.freebsd.org (Postfix) with ESMTP id D2D2813C458 for ; Sun, 25 Mar 2007 07:00:12 +0000 (UTC) (envelope-from cstjean@cs.kent.edu) Received: from localhost (localhost.localdomain [127.0.0.1]) by mscan1.cs.kent.edu (8.12.11.20060308/8.12.10) with ESMTP id l2P6fYBF004756 for ; Sun, 25 Mar 2007 02:41:34 -0400 Received: from mscan1.cs.kent.edu ([127.0.0.1]) by localhost (mscan1.cs.kent.edu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04048-08 for ; Sun, 25 Mar 2007 02:41:33 -0400 (EDT) Received: from neptune.cs.kent.edu (neptune.cs.kent.edu [131.123.35.13]) by mscan1.cs.kent.edu (8.12.11.20060308/8.12.11) with ESMTP id l2P6fXtL004746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 25 Mar 2007 02:41:33 -0400 Received: (from cstjean@localhost) by neptune.cs.kent.edu (8.13.1/8.13.1/Submit) id l2P6fXaT006911 for freebsd-mobile@freebsd.org; Sun, 25 Mar 2007 02:41:33 -0400 Date: Sun, 25 Mar 2007 02:41:33 -0400 From: "Craig St. Jean" To: freebsd-mobile@freebsd.org Message-ID: <20070325064132.GA6682@neptune.cs.kent.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cs.kent.edu Subject: 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: Sun, 25 Mar 2007 07:00:13 -0000 Hello all, I have been googling for about an hour and cannot find a solution to this problem. Someone else posted about their Samsung cardbus not working with a similar situation as mine, however I have different hardware so am posting a new message. The problem overall: inserting a device does not do anything. With cardbus debugging on, I receive this after insertion: Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V But then nothing else. Note that I do have a supported card that I'm plugging in. I believe it is a 32-bit card, and from what I've read, most people having this problem have tested 16-bit cards which have worked successfully (I don't have any to test though). Anyone have any ideas? I've seen some people resolve a similar issue by using pciconf -wb (device - pci6:4:0 in my case) (some hex) (some number), but I don't understand exactly what the hex digits meant or the number or how it solved their issue. == dmesg (stripped) == pcib5: at device 30.0 on pci0 pci6: on pcib5 cbb0: at device 4.0 on pci6 cbb0: Found memory at de006000 cbb0: Secondary bus is 0 cbb0: Setting primary bus to 6 cbb0: Secondary bus set to 7 subbus 8 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V Status is 0x30000026 Status is 0x30000820 cbb0: card inserted: event=0x00000000, state=30000820 cbb0: cbb_power: 3V cbb0: cbb_power: 0V Note that status 0x30000820 means card inserted, 0x30000026 means card ejected. == pciconf -l (stripped) == pcib5@pci0:30:0: class=0x060401 card=0xff001179 chip=0x24488086 rev=0xe2 hdr=0x01 cbb0@pci6:4:0: class=0x060700 card=0xff001179 chip=0x8039104c rev=0x00 hdr=0x02 none2@pci6:4:1: class=0x0c0010 card=0xff001179 chip=0x803a104c rev=0x00 hdr=0x00 none3@pci6:4:2: class=0x018000 card=0xff001179 chip=0x803b104c rev=0x00 hdr=0x00 none4@pci6:4:3: class=0x080501 card=0xff001179 chip=0x803c104c rev=0x00 hdr=0x00 == sysctl dev.cbb == dev.cbb.0.%desc: PCI-CardBus Bridge dev.cbb.0.%driver: cbb dev.cbb.0.%location: slot=4 function=0 dev.cbb.0.%pnpinfo: vendor=0x104c device=0x8039 subvendor=0x1179 subdevice=0xff00 class=0x060700 dev.cbb.0.%parent: pci6 dev.cbb.0.pribus: 6 dev.cbb.0.secbus: 7 dev.cbb.0.subbus: 8