From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 6 21:50:47 2014 Return-Path: Delivered-To: freebsd-multimedia@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 6E7E5C87 for ; Mon, 6 Jan 2014 21:50:47 +0000 (UTC) Received: from mail.shmtech.biz (unknown [IPv6:2001:41c8:10:8c::4:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E26681D91 for ; Mon, 6 Jan 2014 21:50:46 +0000 (UTC) Received: from panther.domlan.talk2dom.com (92.40.75.91.threembb.co.uk [92.40.75.91]) (authenticated bits=0) by mail.shmtech.biz (8.14.7/8.14.5) with ESMTP id s06LodeT049087 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 6 Jan 2014 21:50:43 GMT (envelope-from misc-freebsd@talk2dom.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=talk2dom.com; s=shmtech1; t=1389045043; bh=QVcyW+lPrbrx4mZe8RgezBTCqOQZ8IOBIjGUW65+oNQ=; h=Date:From:To:Subject:References:In-Reply-To; b=V7oW60Hl5x4Pu/9Sg/jLdElgYhuguk2X37dSWlAkmVhaRNDX0d6RNmcfM6FrZ90sy lbv40IQARDYanP63It6ZlIE5VTIVt4efYOXrivG90XLWMkOOU8dwQ4swFAqYyhJa98 YLKEq2+FWfR7Vkfoe471j8q/nJNY5x9Xom9+5LHA= X-Authentication-Warning: sendmail: Host 92.40.75.91.threembb.co.uk [92.40.75.91] claimed to be panther.domlan.talk2dom.com Message-ID: <52CB252B.8070700@talk2dom.com> Date: Mon, 06 Jan 2014 21:50:35 +0000 From: Dom F User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: pvrxxx port on FreeBSD 9.2? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 21:50:47 -0000 Hello, Is anyone using the multimedia/pvrxxx port on FreeBSD 9.2? I tried to build the port and ran into several problems. After much Google searching I now have cxm and cxm_iic kernel modules. They load but the I2C aspect doesn't seem to work. The PCI card I'm using is an AverMedia AverTv M113 based on the Conexant CX23416. pciconf says: none2@pci0:1:6:0: class=0x040000 card=0xc01a1461 chip=0x00164444 rev=0x01 hdr=0x00 vendor = 'Internext Compression Inc' device = 'iTVC16 (CX23416) MPEG-2 Encoder' class = multimedia subclass = video When I do "kldload cxm", the following appears in /var/log/messages: Jan 6 21:19:02 hairball kernel: cxm0: mem 0xf4000000-0xf7ffffff at device 6.0 on pci1 Jan 6 21:19:02 hairball kernel: cxm_iic0: on cxm0 Jan 6 21:19:02 hairball kernel: iicbb0: on cxm_iic0 Jan 6 21:19:02 hairball kernel: iicbus0: on iicbb0 master-only Jan 6 21:19:02 hairball kernel: could not init tuner Jan 6 21:19:02 hairball kernel: cxm0: could not initialize tuner Jan 6 21:19:02 hairball kernel: iicbus0: detached Jan 6 21:19:02 hairball kernel: iicbb0: detached Jan 6 21:19:02 hairball kernel: cxm_iic0: detached Jan 6 21:19:02 hairball kernel: device_attach: cxm0 attach returned 6 I can't seem to find anyone else having a "could not init tuner" error. From some debugging it looks like the failing function call is: iicbus_start(iicbus, i2c_addr, CXM_I2C_TIMEOUT) in cxm_eeprom_read() inside dev/cxm/cxm_eeprom.c Does anyone have any ideas where to go from here? Thanks, Dominic