From patchwork Sun Oct 31 13:16:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anca Emanuel X-Patchwork-Id: 4771 Return-path: Envelope-to: mchehab@gaivota Delivery-date: Mon, 01 Nov 2010 14:43:09 -0400 Received: from mchehab by gaivota with local (Exim 4.72) (envelope-from ) id 1PCzLY-0002nN-Sb for mchehab@gaivota; Mon, 01 Nov 2010 14:43:09 -0400 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.17) for (single-drop); Mon, 01 Nov 2010 14:43:08 -0400 (EDT) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PCXm8-0003kV-A0; Sun, 31 Oct 2010 13:16:45 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755576Ab0JaNQm (ORCPT + 1 other); Sun, 31 Oct 2010 09:16:42 -0400 Received: from mail-vw0-f46.google.com ([209.85.212.46]:43597 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755526Ab0JaNQl (ORCPT ); Sun, 31 Oct 2010 09:16:41 -0400 Received: by vws13 with SMTP id 13so2368816vws.19 for ; Sun, 31 Oct 2010 06:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=dUytblDgGUi3POfd6XXSoBvdtysTFIJYP+Bh7vLnxpA=; b=HmRN6o34zJpIEmb9DersYAM+2oMvIoqcLdxkdggKDEq34VlmrS8we7jIhFAMN3IHIW lhy++LAvMuS68HKsjUuCTTkP+oUzyrb3CTci3KfhNs8fgW0nr+sHR258MpEyQ1m0dlg6 V1GSJLRAQzvXDbaQKnlQgjX9qfGOQEN4bx15s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=YcD9WHFhUxSwj1xc5Md/XJR3zGXlEFULwMa2QNGpXWLpKjFCTQ3AIWlQF4auni8sHc sQGgEoGau89JnB3a0FMgsf07uH3+/3/alP++pkcUlyvPsHpEZi7weFiPrlybVHjGUae+ Y8cWRN1s0iNBDwHDCHsTJfMQHs/oln6iuxVvM= MIME-Version: 1.0 Received: by 10.224.200.137 with SMTP id ew9mr7252526qab.318.1288531000655; Sun, 31 Oct 2010 06:16:40 -0700 (PDT) Received: by 10.229.247.66 with HTTP; Sun, 31 Oct 2010 06:16:40 -0700 (PDT) Date: Sun, 31 Oct 2010 15:16:40 +0200 Message-ID: Subject: Re: Webcam driver not working: drivers/media/video/gspca/ov519.c device 05a9:4519 From: Anca Emanuel To: hdegoede@redhat.com Cc: linux-media@vger.kernel.org, moinejf@free.fr, mchehab@infradead.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab After this patch, I get: [ 182.680032] usb 8-1: new full speed USB device using uhci_hcd and address 3 [ 182.875331] gspca: probing 05a9:4519 [ 183.064309] ov519: I2C synced in 0 attempt(s) [ 183.064314] ov519: starting OV7xx0 configuration [ 183.076312] ov519: Sensor is an OV7660 [ 184.316950] input: ov519 as /devices/pci0000:00/0000:00:1d.3/usb8/8-1/input/input6 [ 184.317142] gspca: video0 created [ 184.334667] gspca: [v4l_id] open [ 184.334673] gspca: open done [ 184.334741] gspca: [v4l_id] close [ 184.334744] gspca: close done But only a green screen in Cheese. Logs attached. diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519 index 6cf6855..47812d1 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c @@ -2561,6 +2561,10 @@ static int ov7xx0_configure(struct sd *sd) PDEBUG(D_PROBE, "Sensor is an OV7648"); sd->sensor = SEN_OV7648; break; + case 0x60: + PDEBUG(D_PROBE, "Sensor is an OV7660"); + sd->sensor = SEN_OV7670; + break; default: PDEBUG(D_PROBE, "Unknown sensor: 0x76%x", low); return -1;