From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 15 16:57:51 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 6C1C916A44B for ; Wed, 15 Feb 2006 16:57:51 +0000 (GMT) (envelope-from tat@umc.ua) Received: from n2.umc.com.ua (n8.umc.com.ua [80.255.64.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id D12E143D45 for ; Wed, 15 Feb 2006 16:57:48 +0000 (GMT) (envelope-from tat@umc.ua) Received: from diego.umc.com.ua (diego.umc.com.ua [172.20.2.25]) by n2.umc.com.ua (Postfix) with ESMTP id 5B3FE8298C; Wed, 15 Feb 2006 18:57:45 +0200 (EET) Message-ID: <43F35D89.9070608@umc.ua> Date: Wed, 15 Feb 2006 18:57:45 +0200 From: Oleksandr Tatmanyants User-Agent: Thunderbird 1.5 (X11/20060131) MIME-Version: 1.0 To: Watanabe Kazuhiro References: <20060213125301.178B826CC7@mail.asahi-net.or.jp> In-Reply-To: <20060213125301.178B826CC7@mail.asahi-net.or.jp> X-MIMETrack: Itemize by SMTP Server on Domino/UMC/UA(Release 6.5.4FP2 | September 23, 2005) at 15.02.2006 18:57:43, Serialize by Router on Domino/UMC/UA(Release 6.5.4FP2 | September 23, 2005) at 15.02.2006 18:57:45, Serialize complete at 15.02.2006 18:57:45 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: freebsd-mobile 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: Wed, 15 Feb 2006 16:57:53 -0000 Hello, I've got ICH4 modem in my Toshiba Portege R100 and really want to make it working. I've done as you recommended in the end of your letter and after little bit of work manage it to build and load successfully but it ends up with 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 CardVendor 0x1179 card 0x0001 (Toshiba America Info Systems, Card unknown) STATUS 0x0290 COMMAND 0x0000 CLASS 0x07 0x03 0x00 REVISION 0x03 BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x00 BASE0 0x00000001 addr 0x00000000 I/O BASE1 0x00000001 addr 0x00000000 I/O MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x02 INT_LINE 0xff I've fixed unresolved symbols in the following way objcopy --redefine-sym __udelay_R9e7d6bd0=DELAY \ --redefine-sym kmalloc_R93d4cfe6=malloc \ --redefine-sym printk_R1b7d4074=device_printf \ --redefine-sym kfree_R037a0cba=free \ --redefine-sym __const_udelay_Reae3dfd6=DELAY \ --redefine-sym schedule_timeout_R17d59d01=timeout i8xxhal.o tmp.o && mv tmp.o i8xxhal.o The system itself is 6.0-STABLE as of February, 1 2006. Could you please appoint me what can be done to solve this problem. Thank you very much in advance. Watanabe Kazuhiro wrote: > Hi, all. > > I've ported the PCTEL Driver for Linux Version 0.9.7-9 to FreeBSD, > named "ptmdm". > > http://homepage2.nifty.com/dumb_show/unix/PCTel-FreeBSD.en.html > > The ptmdm driver provides support for the modems based on the PCTel > PCT789T chipset. > > This driver set mainly consists of two parts. Binary objects that are > pre-compiled for Linux kernel, and ptmdmsio.c - a wrapper source > mostly derived from ltmdmsio.c in ports/comms/ltmdm. > > > Unfortunately, the ptmdm driver supports the PCT789T chipset only. > But the original Linux driver set also supports other chipsets - > Intel ICH1(i810)/ICH2(i820)/ICH3(i845) (and maybe ICH4(i855)), C-MEDIA > CM8738, SiS 7013 (SiS540 etc.), and VIA VT82C686(ApolloPro133A etc.). > > So I think that we may be able to work these unsupported chipsets on > FreeBSD. These chipsets use diferrent binary objects and initialize > code from the PCTel chipset. > > If you have these hardware and want to work that, you must add a > proper initialize/detection code (refer to the original Linux driver > source) and select appropriate binary objects. > > Good luck! > --- > Watanabe Kazuhiro (CQG00620@nifty.ne.jp) > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- Best regards, Oleksandr Tatmanyants