From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 17 13:19:47 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 B585216A422 for ; Fri, 17 Feb 2006 13:19:47 +0000 (GMT) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27CD543D6A for ; Fri, 17 Feb 2006 13:19:44 +0000 (GMT) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (i223101.ppp.asahi-net.or.jp [61.125.223.101]) by mail.asahi-net.or.jp (Postfix) with ESMTP id F3231200D7 for ; Fri, 17 Feb 2006 22:19:42 +0900 (JST) Date: Fri, 17 Feb 2006 22:21:01 +0900 From: Watanabe Kazuhiro To: freebsd-mobile In-Reply-To: <43F35D89.9070608@umc.ua> References: <43F35D89.9070608@umc.ua> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20060217131942.F3231200D7@mail.asahi-net.or.jp> Subject: Re: [ptmdm] - PCTel HSP MicroModem driver for FreeBSD 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: Fri, 17 Feb 2006 13:19:47 -0000 Hi! At Wed, 15 Feb 2006 18:57:45 +0200, Oleksandr Tatmanyants wrote: > Feb 15 17:56:49 tats kernel: amrmdm0: at device 31.6 on pci0 > Feb 15 17:56:49 tats kernel: amrmdm0: could not find ioport base reg. > Feb 15 17:56:49 tats kernel: device_attach: amrmdm0 attach returned 6 > > Here is scanpci -v > > pci bus 0x0000 cardnum 0x1f function 0x06: vendor 0x8086 device 0x24c6 > Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem > Controller (snip) > BASE0 0x00000001 addr 0x00000000 I/O > BASE1 0x00000001 addr 0x00000000 I/O It seems that the kernel does not allocate resources to the modem controller. I think it's not the driver's problem. I don't know what to do in this situation... but if available, try to set the BIOS parameter such as "PnP OS" to "No". The following is the result of my -current PC (for reference). | scorpio# pciconf -lv (snip) | none1@pci0:13:0: class=0x070300 card=0x0001134d chip=0x7891134d rev=0x02 hdr=0x00 | vendor = 'PCTEL Inc.' | device = 'PCT 789T HSP MicroModem 56' | class = simple comms | subclass = generic modem (snip) | scorpio# foreach i (0x10 0x14 0x18 0x1c 0x20 0x24) | foreach? echo -n "$i "; pciconf -r pci0:13:0 $i | foreach? end | 0x10 0000ec01 # BASE0 - I/O, addr=0xec00 | 0x14 00000000 # BASE1 | 0x18 00000000 # BASE2 | 0x1c 00000000 # BASE3 | 0x20 00000000 # BASE4 | 0x24 00000000 # BASE5 | scorpio# kldload ./ptmdm.ko | ptmdm0: port 0xec00-0xec3f irq 12 at device 13.0 on pci0 | ptmdm0: [GIANT-LOCKED] | ptmdm0: type Virtual 16550A | scorpio# And I'm not familiar with ACPI, the following is a part of dmesg with verbose logging. | found-> vendor=0x134d, dev=0x7891, revid=0x02 | bus=0, slot=13, func=0 | class=07-03-00, hdrtype=0x00, mfdev=0 | cmdreg=0x0001, statreg=0x0210, cachelnsz=0 (dwords) | lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) | intpin=a, irq=12 | powerspec 2 supports D0 D2 D3 current D0 | map[10]: type 4, range 32, base 0000ec00, size 6, enabled | pcib0: matched entry for 0.13.INTA (src \\_SB_.PCI0.ISA_.LNKB:0) | pcib0: slot 13 INTA routed to irq 12 via \\_SB_.PCI0.ISA_.LNKB --- Watanabe Kazuhiro (CQG00620@nifty.ne.jp)