From: Thierry Merle <thierry.merle@free.fr>
To: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Markus Hirschmann <mh@durtro.de>,
jayakumar.video@gmail.com, Christian Magnusson <mag@mag.cx>,
dtor@mail.ru, linux-kernel@vger.kernel.org
Subject: Re: Problems using quickcam_messenger on ARM (FYI)
Date: Tue, 13 Nov 2007 20:40:42 +0100 [thread overview]
Message-ID: <4739FDBA.5010102@free.fr> (raw)
In-Reply-To: <1194863992.8662.65.camel@gaivota>
Hi Mauro,
Mauro Carvalho Chehab a écrit :
> Em Ter, 2007-11-06 às 18:25 +0100, Markus Hirschmann escreveu:
>
>> Hello Kernel-Developer,
>>
>> Module quickcam_messenger seems to be broken (tried 2.6.18 and 2.6.22)
>> on 2 different NSLU2 (ARM). Picture is attached. Same kernel and module
>> can be used without any problems on x86 here. I don't have any ARM
>> device beside the NSLU2, so I cannot check.
>>
>> The solution was to use Christian Magnusson's quickcam module.
>> Everything worked without any problem. Webcam is:
>>
>
> Hmm... you're mentioning the quickcam module, but some of your logs are
> related to usbvideo driver.
>
> On a quick glance, I didn't find anything that could explain your
> troubles. It seems to be related to a wrong order at the output format
> (for example, the driver is sending RGB, instead of BGR).
>
> It may also be an issue at the userspace application that is using the
> wrong logic to deal with Big Endian.
>
>
The NSLU2 is based on a IXP420 processor that can change its endianess.
I suppose Markus has installed the debian-arm distribution on his NSLU2
so it is configured as little-endian.
Nevertheless, I took a look at the code of quickcam messenger that is in
usbvideo/
This macro: RGB24_PUTPIXEL puts in memory the following bytes:
*pf++ = (vb);
*pf++ = (vg);
*pf++ = (vr);
vb, vg, vr are blue, green, red values.
Since the driver is still v4l1 this can be normal(?)
Cheers,
Thierry
next prev parent reply other threads:[~2007-11-13 19:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-06 17:25 Problems using quickcam_messenger on ARM (FYI) Markus Hirschmann
2007-11-12 10:39 ` Mauro Carvalho Chehab
2007-11-13 19:40 ` Thierry Merle [this message]
2007-11-13 21:36 ` Markus Hirschmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4739FDBA.5010102@free.fr \
--to=thierry.merle@free.fr \
--cc=dtor@mail.ru \
--cc=jayakumar.video@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mag@mag.cx \
--cc=mchehab@infradead.org \
--cc=mh@durtro.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox