Bug 13708 - Aiptek DV-T300 support is incomplete
Summary: Aiptek DV-T300 support is incomplete
Status: CLOSED CODE_FIX
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: webcam (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: webcam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 22:06 UTC by Balázs Hámorszky
Modified: 2012-06-12 10:23 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.30
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
resolution patch (1.62 KB, patch)
2009-07-04 22:06 UTC, Balázs Hámorszky
Details | Diff
mail thread with the original developer of zr364xx driver (786.29 KB, application/octet-stream)
2009-07-04 22:11 UTC, Balázs Hámorszky
Details
working patch against 2.6.32 (1.71 KB, patch)
2009-12-06 19:27 UTC, Balázs Hámorszky
Details | Diff

Description Balázs Hámorszky 2009-07-04 22:06:56 UTC
Created attachment 22209 [details]
resolution patch

I have a DV-T300, and it's not fully supported at the current state of the kernel. The resolution of the camera differs. I have ported a patch to 2.6.29, that solves the resolution problem, but the driver freezes after a few seconds. With 2.6.30 the driver isn't work at all. Cheese and Ekiga just don't recognize the camera (I have another camera that works flawlessly).
Comment 1 Balázs Hámorszky 2009-07-04 22:11:18 UTC
Created attachment 22210 [details]
mail thread with the original developer of zr364xx driver

I've attached the mail thread with the original developer of zr364xx driver
Comment 2 Andrew Morton 2009-07-20 19:49:22 UTC
It's quite painful to handle patches via bugzilla.  Could you resend it via email please?  Documentation/SubmittingPatches has some details.

Suitable recipients are

Mauro Carvalho Chehab <mchehab@infradead.org>
Andrew Morton <akpm@linux-foundation.org>
linux-media@vger.kernel.org

Thanks.
Comment 3 Balázs Hámorszky 2009-07-20 20:37:11 UTC
I don't have my kernel tree with me (I'm at vacation atm.). The patch
is made with only the -uN options, but I can make a new one on Friday
(if needed).

Thanks for the help!

On Mon, Jul 20, 2009 at 21:49, <bugzilla-daemon@bugzilla.kernel.org> wrote:
> http://bugzilla.kernel.org/show_bug.cgi?id=13708
>
>
> Andrew Morton <akpm@linux-foundation.org> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |akpm@linux-foundation.org
>
>
>
>
> --- Comment #2 from Andrew Morton <akpm@linux-foundation.org>  2009-07-20
> 19:49:22 ---
> It's quite painful to handle patches via bugzilla.  Could you resend it via
> email please?  Documentation/SubmittingPatches has some details.
>
> Suitable recipients are
>
> Mauro Carvalho Chehab <mchehab@infradead.org>
> Andrew Morton <akpm@linux-foundation.org>
> linux-media@vger.kernel.org
>
> Thanks.
>
> --
> Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
Comment 4 Andrew Morton 2009-07-23 23:01:41 UTC
On Mon, 20 Jul 2009 22:37:08 +0200
Bal__zs H__morszky <balihb@gmail.com> wrote:

> I don't have my kernel tree with me (I'm at vacation atm.). The patch
> is made with only the -uN options, but I can make a new one on Friday
> (if needed).
> 

The patch doesn't apply to current kernels and fixing it looks non-trivial.

There's no hurry - please email us a complete (tested, changelogged,
signed-off) patch when you have time to get onto it, thanks.
Comment 5 Balázs Hámorszky 2009-07-24 10:37:56 UTC
Andrew Morton wrote:
> The patch doesn't apply to current kernels and fixing it looks non-trivial.

I've attached a patch against the latest git tree.

> There's no hurry - please email us a complete (tested, changelogged,
> signed-off) patch when you have time to get onto it, thanks.

I can't test it. The patch worked partially with kernel 2.6.29, but I 
can't get it working with 2.6.30. With 2.6.29 the driver dies after a 
few seconds, but with 2.6.30 the programs won't detect the camera.
Also I only ported the patch to later kernels. I'm not the one who made 
it. The patch is originally from the creator of the driver. I also don't 
know how v4l works, so I have no idea how to fix the patch.
Comment 6 Balázs Hámorszky 2009-12-06 19:27:15 UTC
Created attachment 24059 [details]
working patch against 2.6.32

This patch finally works. It should be included in the mainline kernel asap, as currently zr364xx only pseudo support dv-t300. With this patch it is supported completely.

Note You need to log in before you can comment on or make changes to this bug.