From owner-freebsd-drivers@FreeBSD.ORG Fri May 23 12:07:45 2014 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3501C3EA for ; Fri, 23 May 2014 12:07:45 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C396F24FB for ; Fri, 23 May 2014 12:07:44 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id y10so4632643wgg.1 for ; Fri, 23 May 2014 05:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=3n8Rx8uYldRHETb8co8iB1szz0EceHZl86swnDtlu78=; b=PChmKkb6vqK7hzDStuG0nkgb88MkR+Odb0Wh+ceUrUxSYO/oOSR3OXwr1DMx0b1D1l xnDCYleHG0wVqNVdW5WvBes+zINAXxFwNso9zR01H2iJXX6oNCZTqvddDn6fyYVxltVY GNxXCd/GJQpebqOLgJr38+Ts58zTv2nUnlrKRAxy+CndIT0KQid/yXTTlHPSHgoaFIxI rweqM4xNCUUj766CfaYxQrGHepfab4VnW9G6dgVZDJc3SncVpUso4hvys+/ttJ4CH+Vi 2TT16iShWX3wnA3Lwe6dD7a1aNgO55SV0UNsMt3pgNsTOhRM+nyKn7XoaH1kXRu9RfTY qsrg== X-Received: by 10.195.18.8 with SMTP id gi8mr1750919wjd.75.1400846862876; Fri, 23 May 2014 05:07:42 -0700 (PDT) Received: from [172.16.0.95] (websense.cps-intl.org. [81.142.166.81]) by mx.google.com with ESMTPSA id l4sm2635164wiy.0.2014.05.23.05.07.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 May 2014 05:07:42 -0700 (PDT) Message-ID: <537F3A09.6070607@gmail.com> Date: Fri, 23 May 2014 13:07:37 +0100 From: International Centre for Parliamentary Studies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-drivers@freebsd.org Subject: enabling hardware echo cancellation for TE121 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2014 12:07:45 -0000 Hello All Good afternoon. Hope you are well. I have searched high and low to get some answer for the following, and despite trying it for more than two weeks I came up with nothing. So, I'm sending this to you with a hope that someone from the group/list can shed some light on it. I am currently trying to configure a TE121 card that comes with a hardware echo canceller. I have searched as much as I could on the net, but I could not come across any document/email/reference that would enable me to check if the device is enabled or not. As I am using FreeBSD 9.2 (Stable), the people at digium was unable to help me in this as well (they told me they only support linux). Would appreciate someone could please provide me with some pointers, may be the right mailing list to ask the question to, or any other suggestions you may have. Below are some information on the current system, not sure if I have everything ok, but there seem to be no error message (have not actually connected it yet, will do once I confirm everything is working) # uname -a FreeBSD pabx-isdn 9.3-PRERELEASE FreeBSD 9.3-PRERELEASE #0 r265949: Tue May 13 17:45:18 BST 2014 root@pabx-isdn:/usr/obj/usr/src/sys/pabx-isdn amd64 ### extract from dmesgwhen the card actually initializes dahdi: Telephony Interface Registered on major 196 dahdi: Version: 2.4.0-rc5 te12xp0: vendor=d161 device=8000 subvendor=ffffffff te12xp0: port 0xd000-0xd0ff mem 0xf7c20000-0xf7c203ff irq 16 at device 8.0 on pci4 em2: link state changed to UP te12xp0: Setting up global serial parameters for E1 te12xp0: Found a Wildcard TE121 dahdi: Registered tone zone 4 (United Kingdom) te12xp0: Span configured for CCS/HDB3/CRC4 te12xp0: Setting yellow alarm # cat /usr/local/etc/dahdi/system.conf bchan=1-15,17-31 dchan=16 loadzone = uk defaultzone=uk -------------- I tried putting echocanceller=hwec,1-15 but then when restarting dahdi I got the error DAHDI_ATTACH_ECHOCAN failed on channel 1: Invalid argument (22) If you require further information to point me to right location/direction, please let me know and I'll try to provide as much as practically possible, but I sure would like to get this working on FreeBSD rather than any other options. Thanks and regards S Kamal