From owner-freebsd-hardware Wed Nov 6 0:52:16 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53C1337B401 for ; Wed, 6 Nov 2002 00:52:13 -0800 (PST) Received: from t-mta2.odn.ne.jp (mfep2.odn.ne.jp [143.90.131.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8937343E6E for ; Wed, 6 Nov 2002 00:52:11 -0800 (PST) (envelope-from aab10490@pop16.odn.ne.jp) Received: from pop16.odn.ne.jp ([61.116.115.160]) by t-mta2.odn.ne.jp with ESMTP id <20021106085209750.LRTK.789.t-mta2.odn.ne.jp@mta2.odn.ne.jp>; Wed, 6 Nov 2002 17:52:09 +0900 Message-ID: <3DC83FF5.A1337A9F@pop16.odn.ne.jp> Date: Wed, 06 Nov 2002 17:38:29 +0900 From: WATANABE Kiyoshi X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.6.2-RELEASE i386) X-Accept-Language: en, ja MIME-Version: 1.0 To: =?iso-8859-1?Q?Braulio_Jos=E9_Solano_Rojas?= Cc: freebsd-hardware@freebsd.org Subject: Re: Intel PCI Modem Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 31 Oct 2002 11:04:18 -0600, Braulio Jos$Bi (BSolano Rojas wrote: > > I have an "Intel V92 HaM Data Fax Voice" Modem. It is a hardware based > modem. Mi pnpbios recognizes it as "Simple COMM. controler IRQ12". AFAIK, Intel HaM (Host Accelerated Modem) is a sort of what is called Winmodem. > And if I do pciconf -l: > none0@pci0:9:0: class=0x078000 card=0x00000000 chip=0x40001813 rev=0x02 hdr=0x00 !! When subclass is 0x80 (defined as PCIS_SIMPLECOMM_OTHER), in most cases it means that the device is either Winmodem or IrDA. There are binary+source Intel HaM modem drivers for linux at: http://developer.intel.com/design/modems/support/drivers_linux.htm Intel-v92ham.tgz -- Intel MD563X-HaM V.92 chipset Intel-536ep.tgz -- Intel 536EP V.92 chipset If you have experience in writing device driver, I think it is not so difficult to port it to FreeBSD. It will take much time though. On Wed, 6 Nov 2002 00:42:05 -0600, Braulio José Solano Rojas wrote: > Hello! > > On Monday, November 04, 2002 John Baldwin wrote: > > > > On 04-Nov-2002 Braulio José Solano Rojas wrote: > > > Hi! > > > > > > On Thursday, October 31, 2002 John Baldwin wrote: > > >> > > >> On 31-Oct-2002 Braulio José Solano Rojas wrote: > > >> > Hello! > > >> > > > >> > I have an "Intel V92 HaM Data Fax Voice" Modem. It is a hardware based > > >> > modem. Mi pnpbios recognizes it as "Simple COMM. controler IRQ12". > > >> > > > >> > I would like to hack sio.c in order to get it working. Therefore I > > > think I > > >> > should add an entry to pci_ids[] like: > > >> > {hex x, "Intel V92 HaM Data Fax Voice", hex y} > > >> > > > >> > But I do not know what are hex x and hex y, or if it is going to work. > > >> > > >> The 'x' is 0x40001813. To get the 'y', you need to do a boot -v > > >> and send the output here. > > > I have tried with these: > > > {0x40001813, "Creatix V.90 HaM Modem", 0x10} > > > {0x40001813, "Creatix V.90 HaM Modem", 0x14} > > > > > > If I do a boot -v I get this: > > > found -> vendor=0x1813, dev=0x4000, revid=0x02 > > > class=07-80-00, ndrtype=0x00, mfdev=0 > > > subordinatebus=0 secondarybus=0 > > > intpin=a, irq=12 > > > map[10]: type 1, range 32, base df000000, size 12 > > > map[14]: type 1, range 32, base 000d8000, size 8 > > > > > > I also have added to my kernel configuration file option > > > PCI_ENABLE_IO_MODES. > > > > You want to use the 0x14 version. Does it work? > > No it does not work. > I have tried with: > device sio2 at isa? port IO_COM3 irq 12 > on my kernel configuration file and with: > device sio2 at pci? port IO_COM3 irq 12 > without success. > > > > May be, I should add this modem to src/sys/dev/puc/pucdata.c. > > > > Unless it has multiple serial ports on it I would just stick it > > in sio_pci.c. > > Where is this file? I can not find it. > > Do I have to add something more than > {0x40001813, "Creatix V.90 HaM Modem", 0x14}in sio.c? > If yes, what and where? > Is the entry for sio2 in my kernel configuration file fine? > > I appreciate your help. > > Best regards, > > Braulio Solano -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message