From owner-freebsd-hardware@FreeBSD.ORG Sat Jan 24 22:26:56 2004 Return-Path: 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 75F3716A4CE for ; Sat, 24 Jan 2004 22:26:56 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB24B43D2F for ; Sat, 24 Jan 2004 22:26:54 -0800 (PST) (envelope-from garycor@comcast.net) Received: from comcast.net (pcp04278597pcs.union01.nj.comcast.net[68.39.97.186]) by comcast.net (sccrmhc12) with SMTP id <200401250626530120027p3le> (Authid: garycor); Sun, 25 Jan 2004 06:26:53 +0000 Message-ID: <40136254.7000708@comcast.net> Date: Sun, 25 Jan 2004 01:29:40 -0500 From: Gary Corcoran User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Rick C. Petty" References: <20040125044712.GA20903@megan.kiwi-computer.com> In-Reply-To: <20040125044712.GA20903@megan.kiwi-computer.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hardware@freebsd.org Subject: Re: Conexant HCF 56k PCI modem help X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 06:26:56 -0000 Rick, > For a project, our customer wants to use these 56k PCI modems from > Creative. Although not my first choice, I did some research and discovered > that the modems use a Conexant Systems, Inc. (vendor id 0x14F1) SmartHCF > 56k chip (device id 0x1059). It is not a "winmodem"; the HCF family is > "Controllerless" vs. the HSF "software" chipsets. I can't help you directly with your problem, but perhaps a clarification might help you or someone else understand the problem better. If the modem you have is "controllerless", then it *IS* a "winmodem". It needs a "windows" (or equivalent) driver to emulate the missing controller. If it's both controllerless *and* DSP-less, then it's a "softmodem". That is, a softmodem is one that does *everything* (except the actual Analog-to-Digital and Digital -to-Analog conversions) in software. So a softmodem needs realtime Digital Signal Processing code (as well as the controller emulation code) that runs on your host CPU. Gary > Under a vanilla 5.2-RELEASE, pciconf showed: > > none9@pci1:7:0: class=0x078000 card=0x1059 chip=0x105914F1 rev=0x08 hdr=0x00 > vendor = 'Conexant Systems, Inc.' > device = 'HCF 56k Data/Fax/Voice Modem (Worldwide)' > class = simple comms > > I started by adding the following entry to the top of src/dev/puc/pucdata.c: > > { "HCF 56k Data/Fax/Voice Modem (Worldwide)", > NULL, > { 0x14F1, 0x1059, 0x148D, 0x1059 }, > { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF }, > { > { PUC_PORT_TYPE_UART, 0x10, 0x00, 0, 0 }, > }, > }, > > and the kernel detected the device (puc0) an bootup, but was unable to > attach because it "could not get resource". That last line in the struct > was pure guesswork, based on many other entries. I tried it with > PUC_PORT_TYPE_COM and had the same error. Digging through puc.c I tried > adding PUC_FLAGS_ALTRES to the flags and it found the device, although > sometimes would hang on boot [I guessed various numbers for the "bar" > parameter with varying levels of bootability], so I tried another > approach.. > > Further internet investigation revealed a linux driver from linuxant: > http://www.linuxant.com/drivers/hcf/downloads-license.php > > They provide two versions of their drivers-- one binary-only "full" version > (at a "modest price") and a free (limited) version with source code. The > code generates a few [linux] kernel modules via some shims to access the > binary-only modules. I am hoping someone else of more kernel/driver/puc(4) > experience has the time to help get this ported... please let me know > ASAP. > > Alternatively, if someone could suggest a better solution (PCI-only) for > not much more than US$25/ea. that works well in FreeBSD 5.x I would be > quite grateful! Thanks in advance, > > -- Rick C. Petty > Senior Software Engineer > KIWI Computer