lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Nov 2007 20:40:42 +0100
From:	Thierry Merle <thierry.merle@...e.fr>
To:	Mauro Carvalho Chehab <mchehab@...radead.org>
CC:	Markus Hirschmann <mh@...tro.de>, jayakumar.video@...il.com,
	Christian Magnusson <mag@....cx>, dtor@...l.ru,
	linux-kernel@...r.kernel.org
Subject: Re: Problems using quickcam_messenger on ARM (FYI)

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ