From owner-freebsd-mobile@FreeBSD.ORG Thu Dec 30 21:17:31 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 044AB16A4D0 for ; Thu, 30 Dec 2004 21:17:31 +0000 (GMT) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E84343D2D for ; Thu, 30 Dec 2004 21:17:30 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id iBULHTOL009048 for ; Thu, 30 Dec 2004 16:17:29 -0500 (EST) (envelope-from mike@sentex.net) Received: from avscan1.sentex.ca ([127.0.0.1]) by localhost (avscan1.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08502-05 for ; Thu, 30 Dec 2004 16:17:29 -0500 (EST) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id iBULHTlu009033 for ; Thu, 30 Dec 2004 16:17:29 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id iBULHNxf059468 for ; Thu, 30 Dec 2004 16:17:23 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.0.14.0.20041230161833.05a71598@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14 Date: Thu, 30 Dec 2004 16:18:39 -0500 To: freebsd-mobile@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at avscan1b Subject: resetting a cardbus device X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 21:17:31 -0000 I am working with a cardbus modem that is somewhat buggy. Unfortunately, I dont have much documentation for its AT Command set (its a GPRS modem) and at&f or atz does not seem to reset it properly when it goes "wonky". The only way is to pull it out and put it back in. Unfortunately, I want to remotely deploy this device so I cant physically do that. A reboot seems to work, but thats not the greatest thing to do either. dmesg shows cbb0: mem 0xe6400000-0xe6400fff irq 12 at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0xe6405000-0xe6405fff irq 5 at device 10.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 sio4: at port 0x3e8-0x3ef irq 12 function 0 config 32 on pccard0 sio4: type 16550A sio4: unable to activate interrupt in fast mode - using normal mode This is a RELENG_5 box from 5.3-STABLE FreeBSD 5.3-STABLE #0: Wed Dec 22 Thanks in advance, ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike