From patchwork Fri Jul 6 10:54:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hin-Tak Leung X-Patchwork-Id: 1165001 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 36AE4DF236 for ; Fri, 6 Jul 2012 10:54:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933428Ab2GFKyn (ORCPT ); Fri, 6 Jul 2012 06:54:43 -0400 Received: from nm17-vm0.bullet.mail.ird.yahoo.com ([77.238.189.214]:33691 "HELO nm17-vm0.bullet.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S933038Ab2GFKyc convert rfc822-to-8bit (ORCPT ); Fri, 6 Jul 2012 06:54:32 -0400 Received: from [77.238.189.53] by nm17.bullet.mail.ird.yahoo.com with NNFMP; 06 Jul 2012 10:54:30 -0000 Received: from [212.82.108.237] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 06 Jul 2012 10:54:30 -0000 Received: from [127.0.0.1] by omp1002.mail.ird.yahoo.com with NNFMP; 06 Jul 2012 10:54:30 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 772178.2492.bm@omp1002.mail.ird.yahoo.com Received: (qmail 45690 invoked by uid 60001); 6 Jul 2012 10:54:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1341572070; bh=6eIg8BvmP2rIj3FXbL8OLQBF/apRjB9xLJwlnNXxRV4=; h=X-YMail-OSG:Received:X-RocketYMMF:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ADMroWnN0uGdbWzf9KDveL4Il0CvqH/nX2rfhGRhtjhsIwVPEX6DBFX86XjSlkfJxkOiF17Kyyu21t5q89hjkaSsC+VgHzCY44fD2JGrNnE/RgrcuoU7rcoZIECAadtlqEnkiAgTC/SGUYkW2cIC+KyUcL+eBnoCqkquNi9AXdY= X-YMail-OSG: oa4hfVcVM1nsxpEITLWgSq8BYJ7e1.TOU84TBYNWwUjQ8Ko hoXkHkeLhoSTPv0VcCKaEamIpwknVKkN5h7C.i9ngpF7E6Voh5UbfrJCcvA4 _Hu28YjspCTelQVq2MRa7GpXasB8BGWeyHBSxJ1zSklicREPosuOa65H5Xy4 nSxXIKCxdqe06UQ1NMzD1Yd6C4nA70LqzyHT.Z7CJ4KEkfL95y57H1TqaJqV EwoslKt4diejbCwKHI7Hr0v96j3udzn.86xTSqcKNOSDwn2OY6rR1cEQCV5p iCs3VNkPmD8iEQi.xi2osmx4TpPh9j3kuOcOmYsc3valqYjuHE1HO92LQp9e k3mULZx.g27T0IstjmJ8VO5WSL_vLWXsZQ70cE7BixzvkPWdruQyI8FPZ38v gEo6dhNqbM0jh0HKzzkjpwyIyV3SLh_RrQSg5X3zKvmuB5Gs- Received: from [86.30.137.134] by web29402.mail.ird.yahoo.com via HTTP; Fri, 06 Jul 2012 11:54:30 BST X-RocketYMMF: hintak_leung X-Mailer: YahooMailClassic/15.0.8 YahooMailWebService/0.8.120.356233 Message-ID: <1341572070.43713.YahooMailClassic@web29402.mail.ird.yahoo.com> Date: Fri, 6 Jul 2012 11:54:30 +0100 (BST) From: Hin-Tak Leung Reply-To: htl10@users.sourceforge.net Subject: media_build and Terratec Cinergy T Black. To: Antti Palosaari , mchehab@redhat.com Cc: linux-media@vger.kernel.org MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Firstly, the downloaded linux-media.tar.bz2 has some simple typos, missing 3 brackets: (please feel free to add my signed-off though this is trivial). ------------- ------------ A few comments & issues: - don't realy like the build script trying to clone media_tree, etc had hard-coded remotes - if(0) out'ed the whole git-on-the-fly block inside to make it use an existing symlink'ed checkout - consider offering something similar? - $ lsdvb seems to be doing garbage:(fedora 17's) usb (-1975381336:62 64848224:32767) on PCI Domain:-1965359032 Bus:62 Device:64848416 Function:32767 DEVICE:0 ADAPTER:0 FRONTEND:0 (Realtek RTL2832 (DVB-T)) FE_OFDM Fmin=174MHz Fmax=862MHz lsdvb on mercury is only marginally better with the PCI zero's, but the other numbers swapped: usb (62:-1975379912 32767:-348245472) on PCI Domain:0 Bus:0 Device:0 Function:0 DEVICE:0 ADAPTER:0 FRONTEND:0 (Realtek RTL2832 (DVB-T)) FE_OFDM Fmin=174MHz Fmax=862MHz - 'scandvb' segfault at the end on its own. - "scandvb /usr/share/dvb/dvb-t/uk-SandyHeath" (supposedly where I am) got a few "WARNING: >>> tuning failed!!!" and no list. - 'w_scan -G -c GB' have a few curious WARNING: received garbage data: crc = 0xcc93876c; expected crc = 0xb81bb6c4 return a list of 26, with entries like (which seems to be vaguely correct): BBC ONE;(null):522000:B8C23D0G32M64T8Y0:T:27500:101=2:102,106=eng:0:0:4173:9018:4173:0:100 So I just put it in ~/.mplayer:channels.conf Took me a while to figure out that mplayer wants: mplayer 'dvb://BBC ONE;(null)' rather than anything else - curious about the ';(null)' part. -------- Playing dvb://BBC ONE;(null). dvb_tune Freq: 522000 ERROR IN SETTING DMX_FILTER 9018 for fd 4: ERRNO: 22ERROR, COULDN'T SET CHANNEL 8: Failed to open dvb://BBC ONE;(null). ---------- At this point I am lost :-). --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux/drivers/media/video/v4l2-compat-ioctl32.c~ 2012-07-06 04:45:17.000000000 +0100 +++ linux/drivers/media/video/v4l2-compat-ioctl32.c 2012-07-06 07:35:54.166512279 +0100 @@ -387,7 +387,7 @@ get_user(kp->index, &up->index) || get_user(kp->type, &up->type) || get_user(kp->flags, &up->flags) || - get_user(kp->memory, &up->memory) + get_user(kp->memory, &up->memory)) return -EFAULT; if (V4L2_TYPE_IS_OUTPUT(kp->type)) @@ -471,7 +471,7 @@ put_user(kp->index, &up->index) || put_user(kp->type, &up->type) || put_user(kp->flags, &up->flags) || - put_user(kp->memory, &up->memory) + put_user(kp->memory, &up->memory)) return -EFAULT; if (put_user(kp->bytesused, &up->bytesused) || @@ -481,7 +481,7 @@ copy_to_user(&up->timecode, &kp->timecode, sizeof(struct v4l2_timecode)) || put_user(kp->sequence, &up->sequence) || put_user(kp->reserved2, &up->reserved2) || - put_user(kp->reserved, &up->reserved) + put_user(kp->reserved, &up->reserved)) return -EFAULT; if (V4L2_TYPE_IS_MULTIPLANAR(kp->type)) {