From owner-freebsd-hardware Wed Nov 20 18:21:24 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 CD6B837B401 for ; Wed, 20 Nov 2002 18:21:20 -0800 (PST) Received: from asgard.ecci.ucr.ac.cr (asgard.ecci.ucr.ac.cr [163.178.104.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C0DD43E97 for ; Wed, 20 Nov 2002 18:21:10 -0800 (PST) (envelope-from braulio@bsolano.com) Received: (qmail 1610 invoked from network); 21 Nov 2002 02:27:31 -0000 Received: from unknown (HELO azul) (208.165.59.47) by asgard.ecci.ucr.ac.cr with SMTP; 21 Nov 2002 02:27:31 -0000 Message-ID: <002401c29104$a895c700$2f3ba5d0@azul> From: =?iso-8859-1?Q?Braulio_Jos=E9_Solano_Rojas?= To: "WATANABE Kiyoshi" Cc: , References: <3DC83FF5.A1337A9F@pop16.odn.ne.jp> Subject: Re: Intel PCI Modem Date: Wed, 20 Nov 2002 20:21:08 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 Hi! On Wednesday, November 06, 2002 2:38 AM, WATANABE Kiyoshi wrote: > > 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. I do not have experience on this. However I would like to do it. Where may I find documentation on how to write a FreeBSD driver? Best regards, Braulio Solano > 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