Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2006 22:21:01 +0900
From:      Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
To:        freebsd-mobile <freebsd-mobile@freebsd.org>
Subject:   Re: [ptmdm] - PCTel HSP MicroModem driver for FreeBSD
Message-ID:  <20060217131942.F3231200D7@mail.asahi-net.or.jp>
In-Reply-To: <43F35D89.9070608@umc.ua>
References:  <43F35D89.9070608@umc.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

At Wed, 15 Feb 2006 18:57:45 +0200,
Oleksandr Tatmanyants wrote:
> Feb 15 17:56:49 tats kernel: amrmdm0: <Intel ICH4> 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: <PCTel PCT789T> 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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060217131942.F3231200D7>